[Avocado-devel] Test counter is not working.

Wei, Jiangang weijg.fnst at cn.fujitsu.com
Wed May 11 04:20:34 UTC 2016


On Wed, 2016-05-11 at 00:15 -0300, Julio Faracco wrote:
> Hi Wei,
> 
> I ran a git-bisect here...
> This commit introduces the error to me.
> 
> commit 5973e898f0df1179bc1bff425d06f93fdcc44c31
> Author: Lukáš Doktor <ldoktor at redhat.com>
> Date:   Tue Apr 26 06:37:52 2016 +0200
> 
> I was reading the documentation and the commit info and it makes sense
> since it is a big change to test IDs. I wonder if this behaviour is
> normal, if it is a bug or it will be changed in the future too.
Hi

I revert local repo and try to reproduce it.
But no error like you met. 

[root at localhost avocado]# git reset --hard
5973e898f0df1179bc1bff425d06f93fdcc44c31
HEAD is now at 5973e89 avocado: Implement serialized test ids
[root at localhost avocado]# scripts/avocado run
type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-reboot type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-shutdown type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-stop_continue
JOB ID     : 252037e35d46ce56a888c425d652eba1856b946b
JOB
LOG    : /root/avocado/job-results/job-2016-05-11T12.09-252037e/job.log
TESTS      : 3
 (1/3)
type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-reboot: PASS
 (2/3)
type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-shutdown: PASS
 (3/3)
type_specific.io-github-autotest-qemu.balloon_check.balloon_enlarge.balloon-stop_continue: PASS
RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
JOB
HTML   : /root/avocado/job-results/job-2016-05-11T12.09-252037e/html/results.html
TIME       : 216.08 s

Maybe there's some the implicit conditions that can trigger the error.
You have to investigate it by yourself.
If it's a bug, you can push a PR to fix it.

Wei


> 
> Btw, I can run a stable version here (0.34.0).
> 
> I haven't changed anything inside avocado framework (a trash in my
> master branch, for example... nothing...  clean...).
> 
> --
> Julio Cesar Faracco
> 
> 
> 2016-05-10 23:35 GMT-03:00 Wei, Jiangang <weijg.fnst at cn.fujitsu.com>:
> > Hi,
> >
> > On Tue, 2016-05-10 at 22:37 -0300, Julio Faracco wrote:
> >> Hi guys,
> >>
> >> I often follow the discussions and planning tool of Avocado{-VT} by
> >> trello and mailing list. But not so hard as I wish....
> >> However, is there some new feature being developed?
> >>
> >> I pull recently the last commits and I'm having a strange issue.
> >> The test counter does not increase.
> > what's the id of last commits?
> > I haven't reproduce it with 101bf36ab1c9c7258b15a66ab60abc99db0089cd.
> >
> >>
> >> $ ./avocado run type_specific.io-github-autotest-qemu.qemu_img
> >> JOB ID     : 50719fa60bd6b48f1629d1296407b8f755bc9fb0
> >> JOB LOG    : /home/jfaracco/avocado/job-results/job-2016-05-10T16.47-50719fa/job.log
> >> TESTS      : 21
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.check: PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size_default:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size.cluster_512:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size.cluster_1024:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size.cluster_4096:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size.cluster_1M:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.non-preallocated.cluster_size.cluster_2M:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size_default:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size.cluster_512:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size.cluster_1024:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size.cluster_4096:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size.cluster_1M:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.create.preallocated.cluster_size.cluster_2M:
> >> PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.convert.to_qcow2.cluster_size_default:
> >> ERROR
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.convert.to_qcow2.cluster_size_2048:
> >> ERROR
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.convert.to_raw: ERROR
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.convert.to_qed: ERROR
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.snapshot: PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.info: PASS
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.rebase: ERROR
> >>  (0/21) type_specific.io-github-autotest-qemu.qemu_img.commit: ERROR
> >> RESULTS    : PASS 15 | ERROR 6 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
> >> JOB HTML   : /home/jfaracco/avocado/job-results/job-2016-05-10T16.47-50719fa/html/results.html
> >> TIME       : 185.66 s
> >>
> >> The counter is always 0.
> >>
> >> Am I missing something?
> >>
> >> --
> >> Julio Cesar Faracco
> >>
> >> _______________________________________________
> >> Avocado-devel mailing list
> >> Avocado-devel at redhat.com
> >> https://www.redhat.com/mailman/listinfo/avocado-devel
> >>
> >>
> >
> >
> >
> 
> 







More information about the Avocado-devel mailing list