Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test became flaky in 6 #18

Closed
DarthGandalf opened this issue Nov 17, 2020 · 1 comment
Closed

Test became flaky in 6 #18

DarthGandalf opened this issue Nov 17, 2020 · 1 comment

Comments

@DarthGandalf
Copy link
Collaborator

make -j20 -l20 test TEST_VERBOSE=0                                                                                                                                                                                                                                                
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t                                                                                                               
GLib-LOG **: posix_spawn avoided (fd close requested)  at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 555.                                                                                                                                                                   
===(       1;0   1/38  0/4  0/7  0/2   0/10 )===========================GLib-LOG **: posix_spawn avoided (fd close requested)  at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 555.                                                                                           
===(       2;0   1/38  1/4  0/7  0/2   0/10 )===========================GLib-LOG **: posix_spawn avoided (fd close requested)  at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 555.                                                                                           
===(       4;0   1/38  1/4  1/7  0/2   1/10 )===========================GLib-LOG **: posix_spawn avoided (fd close requested)  at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 555.                                                                                           
        Gtk3::init() called at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 2296                                                                                                                                                                                              
        Gtk3::__ANON__() called at /usr/lib64/perl5/vendor_perl/5.30.3/Gtk3.pm line 513                                                                                                                                                                                           
        Gtk3::import("Gtk3", "-init") called at t/4_select.t line 11                                                                                                                                                                                                              
        main::BEGIN() called at t/4_select.t line 11                                                                                                                                                                                                                              
        eval {...} called at t/4_select.t line 11                                                                                                                                                                                                                                 
===(       5;3   1/38  1/4  1/7  1/2   1/10 )===========================LOG **: Name com.canonical.AppMenu.Registrar does not exist on the session bus                                                                                                                            
# PNG of the shown window:                                                                                                                                                                                                                                                        
# iVBORw0KGgoAAAANSUhEUgAAASwAAADIAQAAAAB6pOH4AAAABGdBTUEAALGPC/xhBQAAACBjSFJN                                                                                                                                                                                                    
# AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAd2KE6QAAAAHdElN                                                                                                                                                                                                    
# RQfkCxEWLDWpXYKQAAAAHklEQVRYw+3BMQEAAADCoPVPbQdvoAAAAAAAAADgNx54AAEXKN2ZAAAA                                                                                                                                                                                                    
# JXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTExLTE3VDIyOjQ0OjUzKzAwOjAwhU5YPQAAACV0RVh0ZGF0                                                                                                                                                                                                    
# ZTptb2RpZnkAMjAyMC0xMS0xN1QyMjo0NDo1MyswMDowMPQT4IEAAAAASUVORK5CYII=                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                  
#   Failed test 'middle pixel should be green'                                                                                                                                                                                                                                    
#   at t/2_transparent.t line 58.                                                                                                                                                                                                                                                 
#     Structures begin differing at:                                                                                                                                                                                                                                              
#          $got->[1] = '0'                                                                                                                                                                                                                                                        
#     $expected->[1] = '1'                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                  
#   Failed test 'there is red background'                                                                                                                                                                                                                                         
#   at t/2_transparent.t line 71.                                                                                                                                                                                                                                                 
#          got: '0'                                                                                                                                                                                                                                                               
#     expected: '1'                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                  
#   Failed test 'there is blue outside'                                                                                                                                                                                                                                           
#   at t/2_transparent.t line 82.                                                                                                                                                                                                                                                 
#          got: '0'                                                                                                                                                                                                                                                               
#     expected: '1'                                                                                                                                                                                                                                                               
# Looks like you failed 3 tests of 4.                                                                                                                                                                                                                                             
t/2_transparent.t .. Dubious, test returned 3 (wstat 768, 0x300)                                                                                                                                                                                                                  
Failed 3/4 subtests                                                                                                                                                                                                                                                               
t/3_zoom.t ......... ok

Sometimes it still passes though

@DarthGandalf
Copy link
Collaborator Author

This is due to HARNESS_OPTIONS=j20 which was set. Looks like parallel creation several X11 windows can confuse the test. I'll just disable that parallelism on my side.

DarthGandalf added a commit to DarthGandalf/gentoo that referenced this issue Dec 22, 2020
Disabling parallel test due to carygravel/gtk3-imageview#18

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Jan 18, 2021
Disabling parallel test due to carygravel/gtk3-imageview#18

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: #18766
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant