[Pkg-nagios-devel] Bug#628351: nagios-plugin-check-multi: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat May 28 14:11:17 UTC 2011


Source: nagios-plugin-check-multi
Version: 0.24-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110528 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[2]: Entering directory `/build/user-nagios-plugin-check-multi_0.24-2-amd64-Ih0Mid/nagios-plugin-check-multi-0.24/plugins/t'
> /usr/bin/perl check_multi.t
> 1..86
> --------------------------------------------------------------------------------
> Version: check_multi_v386_2010-09-29-21:41
> configure  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib/nagios-plugin-check-multi' '--disable-maintainer-mode' '--disable-dependency-tracking' '--libexecdir=/usr/lib/nagios/plugins' '--docdir=/usr/share/doc/nagios-plugin-check-multi' '--localstatedir=/var/cache/nagios3' 'build_alias=x86_64-linux-gnu'
> --------------------------------------------------------------------------------
> ok 1 - check_multi version - RC3
> ok 2 - output correct
> ok 3 - environment variables assignment via command - RC0
> not ok 4 - output correct
> #   Failed test 'output correct'
> #   at check_multi.t line 67.
> #                   'OK - 2 plugins checked, 2 ok
> # [ 1] echo Hello World
> # [ 2] env DEB_BUILD_MULTIARCH=x86_64-linux-gnu
> #  DEB_HOST_MULTIARCH=x86_64-linux-gnu
> #  MULTI_1=Hello World
> #  MULTI_1_LABEL=OK
> #  MULTI_1_NAME=echo
> #  MULTI_1_RC=0
> #  MULTI_1_RC_LABEL=OK
> #  MULTI_1_STATE=0
> #  MULTI_2_NAME=env
> #  MULTI_HOSTADDRESS=127.0.0.1
> #  MULTI_HOSTNAME=localhost
> #  MULTI_LABEL_echo=OK
> #  MULTI_PPID=18830
> #  MULTI_STATE_echo=0
> #  MULTI_TIMEOUT=60
> #  MULTI_action_mouseover=0
> #  MULTI_cancel_before_global_timeout=0
> #  MULTI_checkresults_dir=./tmp/checkresults
> #  MULTI_child_interval=0.0
> #  MULTI_cmdfile_update_interval=86400
> #  MULTI_collapse=1
> #  MULTI_config_dir=./tmp/config
> #  MULTI_cumulate_ignore_zero=1
> #  MULTI_cumulate_max_rows=5
> #  MULTI_dont_be_paranoid=1
> #  MULTI_echo=Hello World
> #  MULTI_eml_elements=name,rc,output,error,plugin,command,performance,starttime,endtime,runtime,type
> #  MULTI_empty_output_is_unknown=1
> #  MULTI_exec_open3=0
> #  MULTI_extended_perfdata=0
> #  MULTI_extinfo_in_status=0
> #  MULTI_feed_passive_autocreate=1
> #  MULTI_feed_passive_dir=./tmp/feed_passive
> #  MULTI_feed_passive_dir_permissions=0750
> #  MULTI_file_extension=cmd
> #  MULTI_ignore_missing_cmd_file=0
> #  MULTI_illegal_chars=
> #  MULTI_image_path=/nagios/images
> #  MULTI_indent= 
> #  MULTI_indent_label=1
> #  MULTI_libexec=/usr/lib/nagios/plugins
> #  MULTI_livestatus=/var/cache/nagios3/rw/live
> #  MULTI_loose_perfdata=1
> #  MULTI_name=
> #  MULTI_no_checks_rc=3
> #  MULTI_notes_url=
> #  MULTI_objects_cache=/var/cache/nagios3/objects.cache
> #  MULTI_objects_cache_delimiter=,
> #  MULTI_persistent=0
> #  MULTI_plugin_path=/usr/lib/nagios/plugins
> #  MULTI_pnp_url=/pnp4nagios
> #  MULTI_pnp_version=0.6
> #  MULTI_report=5
> #  MULTI_send_nsca=/usr/sbin/send_nsca
> #  MULTI_send_nsca_cfg=/etc/send_nsca.cfg
> #  MULTI_send_nsca_delim=;
> #  MULTI_send_nsca_port=5667
> #  MULTI_send_nsca_srv=localhost
> #  MULTI_send_nsca_timeout=10
> #  MULTI_service_definition_template=
> #  MULTI_service_definition_template_default=# service '$SERVICEDESC$' for host '$HOSTNAME$'
> #  MULTI_signal_rc=3
> #  MULTI_signals=ARRAY(0x13eb278)
> #  MULTI_snmp_community=public
> #  MULTI_snmp_port=161
> #  MULTI_status_dat=/var/cache/nagios3/status.dat
> #  MULTI_style_plus_minus=style='color:#4444FF;line-height:0.3em;font-size:1.5em;cursor:crosshair'
> #  MULTI_tag_notes_link=
> #  MULTI_target=_self
> #  MULTI_test=0
> #  MULTI_timeout=10
> #  MULTI_tmp_dir=./tmp
> #  MULTI_tmp_dir_permissions=0750
> #  MULTI_tmp_etc=./tmp/etc
> #  MULTI_uid=1001
> #  MULTI_user=user
> #  MULTI_verbose=0'
> #     doesn't match '/^OK - 2 plugins checked, 2 ok\n\[ 1\] echo Hello World\n\[ 2\] env MULTI_1=Hello World\n MULTI_1_LABEL=OK\n MULTI_1_NAME=echo\n MULTI_1_RC=0\n MULTI_1_RC_LABEL=OK\n MULTI_1_STATE=0\n MULTI_2_NAME=env\n.*$/s'
> ok 5 - environment variables assignment via eeval - RC0
> #   Failed test 'output correct'
> not ok 6 - output correct
> #   at check_multi.t line 92.
> #                   'OK - 2 plugins checked, 2 ok
> # [ 1] echo Hello World
> # [ 2] env DEB_BUILD_MULTIARCH=x86_64-linux-gnu
> #  DEB_HOST_MULTIARCH=x86_64-linux-gnu
> #  MULTI_1=Hello World
> #  MULTI_1_LABEL=OK
> #  MULTI_1_NAME=echo
> #  MULTI_1_RC=0
> #  MULTI_1_RC_LABEL=OK
> #  MULTI_1_STATE=0
> #  MULTI_2_NAME=env
> #  MULTI_HOSTADDRESS=127.0.0.1
> #  MULTI_HOSTNAME=localhost
> #  MULTI_LABEL_echo=OK
> #  MULTI_PPID=18848
> #  MULTI_STATE_echo=0
> #  MULTI_TIMEOUT=60
> #  MULTI_action_mouseover=0
> #  MULTI_cancel_before_global_timeout=0
> #  MULTI_checkresults_dir=./tmp/checkresults
> #  MULTI_child_interval=0.0
> #  MULTI_cmdfile_update_interval=86400
> #  MULTI_collapse=1
> #  MULTI_config_dir=./tmp/config
> #  MULTI_cumulate_ignore_zero=1
> #  MULTI_cumulate_max_rows=5
> #  MULTI_dont_be_paranoid=1
> #  MULTI_echo=Hello World
> #  MULTI_eml_elements=name,rc,output,error,plugin,command,performance,starttime,endtime,runtime,type
> #  MULTI_empty_output_is_unknown=1
> #  MULTI_exec_open3=0
> #  MULTI_extended_perfdata=0
> #  MULTI_extinfo_in_status=0
> #  MULTI_feed_passive_autocreate=1
> #  MULTI_feed_passive_dir=./tmp/feed_passive
> #  MULTI_feed_passive_dir_permissions=0750
> #  MULTI_file_extension=cmd
> #  MULTI_ignore_missing_cmd_file=0
> #  MULTI_illegal_chars=
> #  MULTI_image_path=/nagios/images
> #  MULTI_indent= 
> #  MULTI_indent_label=1
> #  MULTI_libexec=/usr/lib/nagios/plugins
> #  MULTI_livestatus=/var/cache/nagios3/rw/live
> #  MULTI_loose_perfdata=1
> #  MULTI_name=
> #  MULTI_no_checks_rc=3
> #  MULTI_notes_url=
> #  MULTI_objects_cache=/var/cache/nagios3/objects.cache
> #  MULTI_objects_cache_delimiter=,
> #  MULTI_persistent=0
> #  MULTI_plugin_path=/usr/lib/nagios/plugins
> #  MULTI_pnp_url=/pnp4nagios
> #  MULTI_pnp_version=0.6
> #  MULTI_report=5
> #  MULTI_send_nsca=/usr/sbin/send_nsca
> #  MULTI_send_nsca_cfg=/etc/send_nsca.cfg
> #  MULTI_send_nsca_delim=;
> #  MULTI_send_nsca_port=5667
> #  MULTI_send_nsca_srv=localhost
> #  MULTI_send_nsca_timeout=10
> #  MULTI_service_definition_template=
> #  MULTI_service_definition_template_default=# service '$SERVICEDESC$' for host '$HOSTNAME$'
> #  MULTI_signal_rc=3
> #  MULTI_signals=ARRAY(0x22fe278)
> #  MULTI_snmp_community=public
> #  MULTI_snmp_port=161
> #  MULTI_status_dat=/var/cache/nagios3/status.dat
> #  MULTI_style_plus_minus=style='color:#4444FF;line-height:0.3em;font-size:1.5em;cursor:crosshair'
> #  MULTI_tag_notes_link=
> #  MULTI_target=_self
> #  MULTI_test=0
> #  MULTI_timeout=10
> #  MULTI_tmp_dir=./tmp
> #  MULTI_tmp_dir_permissions=0750
> #  MULTI_tmp_etc=./tmp/etc
> #  MULTI_uid=1001
> #  MULTI_user=user
> #  MULTI_verbose=0'
> #     doesn't match '/^OK - 2 plugins checked, 2 ok\n\[ 1\] echo Hello World\n\[ 2\] env MULTI_1=Hello World\n MULTI_1_LABEL=OK\n MULTI_1_NAME=echo\n MULTI_1_RC=0\n MULTI_1_RC_LABEL=OK\n MULTI_1_STATE=0\n MULTI_2_NAME=env\n.*$/s'
> ok 7 - valid name option - RC0
> ok 8 - output correct
> ok 9 - invalid name option - RC3
> ok 10 - output correct
> ok 11 - default report option - RC0
> ok 12 - output correct
> ok 13 - report option 0 (all states shown) - RC0
> ok 14 - output correct
> ok 15 - report option 1 (non-OK service names in state list) - RC1
> ok 16 - output correct
> ok 17 - report option 2 (HTML) - RC0
> ok 18 - output correct
> ok 19 - report option 4 [error messages - stderr] - RC3
> ok 20 - output correct
> ok 21 - report option 8 (check_multi perfdata) - RC0
> ok 22 - output correct
> ok 23 - perfdata plugin specified by command [ tag::plugin ] - RC0
> ok 24 - output correct
> ok 25 - perfdata plugin specified by eeval [ tag::plugin ] - RC0
> ok 26 - output correct
> ok 27 - report option 8 (check_multi perfdata) - RC0
> ok 28 - output correct
> ok 29 - report option 32 (classical perfdata) - RC0
> ok 30 - output correct
> ok 31 - report option 64 (state in front of output) - RC0
> ok 32 - output correct
> ok 33 - report option 143 (HTML performance output with PNP 0.4 link) - RC0
> ok 34 - output correct
> ok 35 - report option 143 (HTML performance output with PNP 0.6 link) - RC0
> ok 36 - output correct
> ok 37 - report option 256 (XML output) - RC0
> ok 38 - output correct
> ok 39 - report option 16384 - encode commands - RC0
> ok 40 - output correct
> ok 41 - report option 32768 - hide OK states - RC1
> ok 42 - output correct
> ok 43 - report option 32768+2 - hide OK states in HTML mode - RC1
> ok 44 - output correct
> ok 45 - decode encoded command - RC0
> ok 46 - output correct
> ok 47 - recursive (check_multi calls check_multi) - RC0
> ok 48 - output correct
> ok 49 - discards invalid perfdata - RC0
> ok 50 - output correct
> ok 51 - perfdata with warning / critical number - RC0
> ok 52 - output correct
> ok 53 - perfdata with warning / critical range 1: - RC0
> ok 54 - output correct
> ok 55 - perfdata with warning / critical range ~:1 - RC0
> ok 56 - output correct
> ok 57 - perfdata with warning / critical range @:1 - RC0
> ok 58 - output correct
> ok 59 - perfdata with warning / critical range 1:10;@10:20 - RC0
> ok 60 - output correct
> ok 61 - accepting loose perfdata - RC0
> ok 62 - output correct
> ok 63 - accepting loose perfdata with trailing semicolon - RC0
> ok 64 - output correct
> ok 65 - overloading commands - RC0
> ok 66 - output correct
> ok 67 - reading custom variable - RC0
> ok 68 - output correct
> ok 69 - testing signal handler - RC0
> ok 70 - output correct
> ok 71 - custom output for header line - RC0
> ok 72 - output correct
> ok 73 - changes child check attributes - RC0
> ok 74 - output correct
> ok 75 - cumulates data like top - RC0
> ok 76 - output correct
> ok 77 - timeout check: child one killed, child two cancelled - RC3
> ok 78 - output correct
> ok 79 - object cache macro check - non existing objects.cache file - RC3
> ok 80 - output correct
> ok 81 - object cache macro check - invalid object name - RC3
> ok 82 - output correct
> ok 83 - object cache macro check - hostgroup and services - RC0
> ok 84 - output correct
> ok 85 - object cache macro check - nested macros - RC0
> ok 86 - output correct
> # Looks like you failed 2 tests of 86.
> make[2]: *** [test] Error 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/28/nagios-plugin-check-multi_0.24-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-nagios-devel mailing list