Strange periodic failures of the commandtest case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm getting periodic failures of the 'commandtest' case where the diff
is

> DAEMON:no
--
< DAEMON:yes

For test cases 'test3' through to 'test15', except 'test'4. Tests 1,
2, 4, 16, 17, 18 are all unaffected. I can never reproduce it when
I run just that one test case manually, but the automated builds
I'm doing hit it > 50% of the time so it is clearly some kind of race
condition. The line of code that's getting confused is this

    fprintf(log, "DAEMON:%s\n", getpgrp() == getsid(0) ? "yes" : "no");

but I'm not clear how this can be going wrong. Ideas ?

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]