Re: [libvirt] Build failed in Jenkins: libvirt-syntax-check #2465

2014-07-09 Thread Pádraig Brady
On 07/08/2014 03:38 PM, Eric Blake wrote:
 [adding bug-gnulib]
 
 On 07/08/2014 08:05 AM, Guido Günther wrote:
 On Tue, Jul 08, 2014 at 03:49:02PM +0200, Jenkins CI wrote:
 0.43 prohibit_empty_lines_at_EOF
 prohibit_error_without_use
 grep: write error
 grep: write error
 /bin/sed: couldn't write 25 items to stdout: Broken pipe

 I've disabled notifications to the list until I'm clear what the
 problem is. Sorry for the noise.
 
 That was not the cause of the buildbot reporting failure, but it IS
 noisy.  I suspect it is because your buildbot is running in an
 environment with SIGPIPE ignored (and sadly, there is NO way from shell
 to turn SIGPIPE back to normal if the shell inherits it as ignored).
 Since this noise is occurring in a stock 'make syntax-check' from
 gnulib, we ought to patch gnulib to work around noisy tools that don't
 tolerate SIGPIPE being ignored.

Note anything python 2 based could have this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=887194

Until that's fixed you need workarounds with sub processes.
Search for SIGPIPE here for example:
http://www.pixelbeat.org/libs/subProcess.py

Pádraig.

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

[libvirt] Build failed in Jenkins: libvirt-syntax-check #2465

2014-07-08 Thread Jenkins CI
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/2465/

--
[...truncated 148 lines...]
0.43 prohibit_empty_lines_at_EOF
prohibit_error_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.48 prohibit_error_without_use
prohibit_exit_in_tests
0.53 prohibit_exit_in_tests
prohibit_fork_wrappers
0.72 prohibit_fork_wrappers
prohibit_getenv
0.63 prohibit_getenv
prohibit_gethostby
0.61 prohibit_gethostby
prohibit_gethostname
0.62 prohibit_gethostname
prohibit_getopt_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.45 prohibit_getopt_without_use
prohibit_gettext_markup
0.66 prohibit_gettext_markup
prohibit_gettext_noop
0.62 prohibit_gettext_noop
prohibit_hash_pjw_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 60 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.43 prohibit_hash_pjw_without_use
prohibit_have_config_h
0.65 prohibit_have_config_h
prohibit_ignore_value_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.50 prohibit_ignore_value_without_use
prohibit_include_public_headers_brackets
0.60 prohibit_include_public_headers_brackets
prohibit_include_public_headers_quote
0.44 prohibit_include_public_headers_quote
prohibit_int_ijk
0.84 prohibit_int_ijk
prohibit_internal_functions
0.78 prohibit_internal_functions
prohibit_intprops_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.40 prohibit_intprops_without_use
prohibit_inttostr_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.43 prohibit_inttostr_without_use
prohibit_libgen
0.83 prohibit_libgen
prohibit_long_lines
0.56 prohibit_long_lines
prohibit_long_options_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.44 prohibit_long_options_without_use
prohibit_loop_iijjkk
0.80 prohibit_loop_iijjkk
prohibit_loop_var_decl
0.46 prohibit_loop_var_decl
prohibit_magic_number_exit
0.98 prohibit_magic_number_exit
prohibit_mixed_case_abbreviations
0.49 prohibit_mixed_case_abbreviations
prohibit_mkstemp
0.58 prohibit_mkstemp
prohibit_newline_at_end_of_diagnostic
0.61 prohibit_newline_at_end_of_diagnostic
prohibit_nonreentrant
27.36 prohibit_nonreentrant
prohibit_openat_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.43 prohibit_openat_without_use
prohibit_path_max_allocation
0.62 prohibit_path_max_allocation
prohibit_posixver_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.42 prohibit_posixver_without_use
prohibit_raw_allocation
0.68 prohibit_raw_allocation
prohibit_readdir
0.56 prohibit_readdir
prohibit_readlink
0.63 prohibit_readlink
prohibit_return_as_function
0.61 prohibit_return_as_function
prohibit_reversed_compare_failure
0.49 prohibit_reversed_compare_failure
prohibit_risky_id_promotion
0.65 prohibit_risky_id_promotion
prohibit_root_dev_ino_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.40 prohibit_root_dev_ino_without_use
prohibit_safe_read_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 43 items to stdout: Broken pipe
sed: couldn't write 60 items to stdout: Broken pipe
0.38 prohibit_safe_read_without_use
prohibit_same_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 1 item to stdout: Broken pipe
sed: couldn't write 60 items to stdout: Broken pipe
0.39 prohibit_same_without_use
prohibit_select
0.64 prohibit_select
prohibit_semicolon_at_eol_in_python
0.30 prohibit_semicolon_at_eol_in_python
prohibit_setuid
0.64 prohibit_setuid
prohibit_signal_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 60 items to stdout: Broken pipe
0.42 prohibit_signal_without_use
prohibit_sprintf
0.65 prohibit_sprintf
prohibit_stddef_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.40 prohibit_stddef_without_use
prohibit_stdio--_without_use
grep: write error
grep: write error
/bin/sed: couldn't write 25 items to stdout: Broken pipe
sed: couldn't write 1 item to stdout: Broken pipe
0.40 

Re: [libvirt] Build failed in Jenkins: libvirt-syntax-check #2465

2014-07-08 Thread Guido Günther
On Tue, Jul 08, 2014 at 03:49:02PM +0200, Jenkins CI wrote:
 0.43 prohibit_empty_lines_at_EOF
 prohibit_error_without_use
 grep: write error
 grep: write error
 /bin/sed: couldn't write 25 items to stdout: Broken pipe

I've disabled notifications to the list until I'm clear what the
problem is. Sorry for the noise.
Cheers,
 -- Guido

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


Re: [libvirt] Build failed in Jenkins: libvirt-syntax-check #2465

2014-07-08 Thread Ján Tomko
On 07/08/2014 04:05 PM, Guido Günther wrote:
 On Tue, Jul 08, 2014 at 03:49:02PM +0200, Jenkins CI wrote:
 0.43 prohibit_empty_lines_at_EOF
 prohibit_error_without_use
 grep: write error
 grep: write error
 /bin/sed: couldn't write 25 items to stdout: Broken pipe
 
 I've disabled notifications to the list until I'm clear what the
 problem is. Sorry for the noise.

It wasn't just noise, there was a failure at the end:
 spec_indentation
 cppi: libvirt.spec.in: line 771: not properly indented
 cppi: libvirt.spec.in: line 773: not properly indented
 cppi: libvirt.spec.in: line 788: not properly indented
 cppi: libvirt.spec.in: line 790: not properly indented
 maint.mk: incorrect preprocessor indentation
 make: *** [sc_spec_indentation] Error 1
 Build step 'Execute shell' marked build as failure

I already cleaned it up after myself.

Jan



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Build failed in Jenkins: libvirt-syntax-check #2465

2014-07-08 Thread Eric Blake
[adding bug-gnulib]

On 07/08/2014 08:05 AM, Guido Günther wrote:
 On Tue, Jul 08, 2014 at 03:49:02PM +0200, Jenkins CI wrote:
 0.43 prohibit_empty_lines_at_EOF
 prohibit_error_without_use
 grep: write error
 grep: write error
 /bin/sed: couldn't write 25 items to stdout: Broken pipe
 
 I've disabled notifications to the list until I'm clear what the
 problem is. Sorry for the noise.

That was not the cause of the buildbot reporting failure, but it IS
noisy.  I suspect it is because your buildbot is running in an
environment with SIGPIPE ignored (and sadly, there is NO way from shell
to turn SIGPIPE back to normal if the shell inherits it as ignored).
Since this noise is occurring in a stock 'make syntax-check' from
gnulib, we ought to patch gnulib to work around noisy tools that don't
tolerate SIGPIPE being ignored.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list