I: pbuilder: network access will be disabled during build I: Current time: Sat Jun 20 18:03:34 +14 2020 I: pbuilder-time-stamp: 1592625814 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libmonitoring-plugin-perl_0.40-1.dsc] I: copying [./libmonitoring-plugin-perl_0.40.orig.tar.gz] I: copying [./libmonitoring-plugin-perl_0.40-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Thu Jul 26 18:30:26 2018 +14 gpgv: using RSA key 4644409808C171E05531DDEE054CB8F31343CF44 gpgv: issuer "carnil@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./libmonitoring-plugin-perl_0.40-1.dsc dpkg-source: info: extracting libmonitoring-plugin-perl in libmonitoring-plugin-perl-0.40 dpkg-source: info: unpacking libmonitoring-plugin-perl_0.40.orig.tar.gz dpkg-source: info: unpacking libmonitoring-plugin-perl_0.40-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/22155/tmp/hooks/D01_modify_environment starting debug: Running on jtx1c. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/22155/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/22155/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=4fd236afbc4d4fd0974fe9a89f1b53b4 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=22155 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.7MfdgEuLkl/pbuilderrc_FARK --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7MfdgEuLkl/b2 --logfile b2/build.log libmonitoring-plugin-perl_0.40-1.dsc' SUDO_GID=111 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:8000/ I: uname -a Linux i-capture-the-hostname 4.19.0-9-arm64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) aarch64 GNU/Linux I: ls -l /bin total 3328 -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash -rwxr-xr-x 1 root root 71648 Mar 1 2019 date -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd -rwxr-xr-x 1 root root 55672 Mar 1 2019 df -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 18260 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln -rwxr-xr-x 1 root root 34932 Jul 27 2018 login -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 26024 Jan 10 2019 more -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Jun 20 18:03 sh -> bash lrwxrwxrwx 1 root root 4 Jun 19 22:26 sh.distrib -> dash -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty -rwsr-xr-x 1 root root 42472 Jan 10 2019 su -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch -rwxr-xr-x 1 root root 18260 Mar 1 2019 true -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/22155/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 10), libclass-accessor-perl, libconfig-tiny-perl, libmath-calc-units-perl, libparams-validate-perl, perl dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libclass-accessor-perl; however: Package libclass-accessor-perl is not installed. pbuilder-satisfydepends-dummy depends on libconfig-tiny-perl; however: Package libconfig-tiny-perl is not installed. pbuilder-satisfydepends-dummy depends on libmath-calc-units-perl; however: Package libmath-calc-units-perl is not installed. pbuilder-satisfydepends-dummy depends on libparams-validate-perl; however: Package libparams-validate-perl is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libb-hooks-op-check-perl{a} libbsd0{a} libclass-accessor-perl{a} libconfig-tiny-perl{a} libcroco3{a} libdevel-callchecker-perl{a} libdynaloader-functions-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libmath-calc-units-perl{a} libmodule-implementation-perl{a} libmodule-runtime-perl{a} libncurses6{a} libparams-classify-perl{a} libparams-validate-perl{a} libpipeline1{a} libsigsegv2{a} libsub-name-perl{a} libtool{a} libtry-tiny-perl{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 45 newly installed, 0 to remove and 0 not upgraded. Need to get 18.5 MB of archives. After unpacking 64.2 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB] Get: 2 http://deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB] Get: 3 http://deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB] Get: 4 http://deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB] Get: 5 http://deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB] Get: 6 http://deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1240 kB] Get: 7 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB] Get: 10 http://deb.debian.org/debian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.5 kB] Get: 11 http://deb.debian.org/debian buster/main armhf gettext-base armhf 0.19.8.1-9 [118 kB] Get: 12 http://deb.debian.org/debian buster/main armhf libsigsegv2 armhf 2.12-2 [32.1 kB] Get: 13 http://deb.debian.org/debian buster/main armhf m4 armhf 1.4.18-2 [190 kB] Get: 14 http://deb.debian.org/debian buster/main armhf autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main armhf autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main armhf automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main armhf autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main armhf libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main armhf dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB] Get: 24 http://deb.debian.org/debian buster/main armhf dwz armhf 0.12-3 [72.0 kB] Get: 25 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB] Get: 26 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB] Get: 27 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB] Get: 28 http://deb.debian.org/debian buster/main armhf libcroco3 armhf 0.6.12-3 [133 kB] Get: 29 http://deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [79.8 kB] Get: 30 http://deb.debian.org/debian buster/main armhf gettext armhf 0.19.8.1-9 [1242 kB] Get: 31 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main armhf libb-hooks-op-check-perl armhf 0.22-1+b1 [11.0 kB] Get: 35 http://deb.debian.org/debian buster/main armhf libsub-name-perl armhf 0.21-1+b3 [13.0 kB] Get: 36 http://deb.debian.org/debian buster/main armhf libclass-accessor-perl all 0.51-1 [23.2 kB] Get: 37 http://deb.debian.org/debian buster/main armhf libconfig-tiny-perl all 2.23-1 [15.9 kB] Get: 38 http://deb.debian.org/debian buster/main armhf libdynaloader-functions-perl all 0.003-1 [12.6 kB] Get: 39 http://deb.debian.org/debian buster/main armhf libdevel-callchecker-perl armhf 0.008-1 [15.5 kB] Get: 40 http://deb.debian.org/debian buster/main armhf libmath-calc-units-perl all 1.07-2 [24.7 kB] Get: 41 http://deb.debian.org/debian buster/main armhf libparams-classify-perl armhf 0.015-1+b1 [24.2 kB] Get: 42 http://deb.debian.org/debian buster/main armhf libmodule-runtime-perl all 0.016-1 [19.4 kB] Get: 43 http://deb.debian.org/debian buster/main armhf libtry-tiny-perl all 0.30-1 [23.3 kB] Get: 44 http://deb.debian.org/debian buster/main armhf libmodule-implementation-perl all 0.09-1 [12.9 kB] Get: 45 http://deb.debian.org/debian buster/main armhf libparams-validate-perl armhf 1.29-1+b1 [65.6 kB] Fetched 18.5 MB in 2s (8754 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_armhf.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../04-libpipeline1_1.5.1-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_armhf.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic1:armhf (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_armhf.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../11-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_armhf.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.176-1.1_armhf.deb ... Unpacking libelf1:armhf (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_armhf.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_armhf.deb ... Unpacking libicu63:armhf (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../27-libcroco3_0.6.12-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-3) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_armhf.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../33-libb-hooks-op-check-perl_0.22-1+b1_armhf.deb ... Unpacking libb-hooks-op-check-perl (0.22-1+b1) ... Selecting previously unselected package libsub-name-perl. Preparing to unpack .../34-libsub-name-perl_0.21-1+b3_armhf.deb ... Unpacking libsub-name-perl (0.21-1+b3) ... Selecting previously unselected package libclass-accessor-perl. Preparing to unpack .../35-libclass-accessor-perl_0.51-1_all.deb ... Unpacking libclass-accessor-perl (0.51-1) ... Selecting previously unselected package libconfig-tiny-perl. Preparing to unpack .../36-libconfig-tiny-perl_2.23-1_all.deb ... Unpacking libconfig-tiny-perl (2.23-1) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../37-libdynaloader-functions-perl_0.003-1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../38-libdevel-callchecker-perl_0.008-1_armhf.deb ... Unpacking libdevel-callchecker-perl (0.008-1) ... Selecting previously unselected package libmath-calc-units-perl. Preparing to unpack .../39-libmath-calc-units-perl_1.07-2_all.deb ... Unpacking libmath-calc-units-perl (1.07-2) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../40-libparams-classify-perl_0.015-1+b1_armhf.deb ... Unpacking libparams-classify-perl (0.015-1+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../41-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../42-libtry-tiny-perl_0.30-1_all.deb ... Unpacking libtry-tiny-perl (0.30-1) ... Selecting previously unselected package libmodule-implementation-perl. Preparing to unpack .../43-libmodule-implementation-perl_0.09-1_all.deb ... Unpacking libmodule-implementation-perl (0.09-1) ... Selecting previously unselected package libparams-validate-perl. Preparing to unpack .../44-libparams-validate-perl_1.29-1+b1_armhf.deb ... Unpacking libparams-validate-perl (1.29-1+b1) ... Setting up libpipeline1:armhf (1.5.1-2) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:armhf (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libtry-tiny-perl (0.30-1) ... Setting up libmagic1:armhf (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libconfig-tiny-perl (2.23-1) ... Setting up libmath-calc-units-perl (1.07-2) ... Setting up libicu63:armhf (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:armhf (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up libb-hooks-op-check-perl (0.22-1+b1) ... Setting up libsub-name-perl (0.21-1+b3) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:armhf (0.0.6-3) ... Setting up libclass-accessor-perl (0.51-1) ... Setting up libbsd0:armhf (0.9.1-2) ... Setting up libelf1:armhf (0.176-1.1) ... Setting up libxml2:armhf (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libdevel-callchecker-perl (0.008-1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:armhf (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up libparams-classify-perl (0.015-1+b1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up libmodule-implementation-perl (0.09-1) ... Setting up po-debconf (1.0.21) ... Setting up libparams-validate-perl (1.29-1+b1) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/libmonitoring-plugin-perl-0.40/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package libmonitoring-plugin-perl dpkg-buildpackage: info: source version 0.40-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Salvatore Bonaccorso dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -ffile-prefix-map=/build/libmonitoring-plugin-perl-0.40=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/libmonitoring-plugin-perl-0.40=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Monitoring::Plugin Writing MYMETA.yml and MYMETA.json dh_auto_build make -j4 make[1]: Entering directory '/build/libmonitoring-plugin-perl-0.40' cp lib/Monitoring/Plugin/Getopt.pm blib/lib/Monitoring/Plugin/Getopt.pm cp lib/Monitoring/Plugin/Performance.pm blib/lib/Monitoring/Plugin/Performance.pm cp lib/Monitoring/Plugin/Functions.pm blib/lib/Monitoring/Plugin/Functions.pm cp lib/Monitoring/Plugin/Range.pm blib/lib/Monitoring/Plugin/Range.pm cp lib/Monitoring/Plugin.pm blib/lib/Monitoring/Plugin.pm cp lib/Monitoring/Plugin/ExitResult.pm blib/lib/Monitoring/Plugin/ExitResult.pm cp lib/Monitoring/Plugin/Threshold.pm blib/lib/Monitoring/Plugin/Threshold.pm cp lib/Monitoring/Plugin/Config.pm blib/lib/Monitoring/Plugin/Config.pm Manifying 8 pod documents make[1]: Leaving directory '/build/libmonitoring-plugin-perl-0.40' dh_auto_test make -j4 test TEST_VERBOSE=1 make[1]: Entering directory '/build/libmonitoring-plugin-perl-0.40' PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t # running `/usr/bin/perl -Ilib t/check_stuff.pl -r 99 ` # output: 'STUFF UNKNOWN - invalid number supplied for the -r option # ' # running `/usr/bin/perl -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 11` # output: 'STUFF OK - sample result was 11 # ' # running `/usr/bin/perl -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 0` # output: 'STUFF WARNING - sample result was 0 # ' # running `/usr/bin/perl -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 15.8` # output: 'STUFF CRITICAL - sample result was 15.8 # ' t/check_stuff.t ....................... 1..14 ok 1 - exits(3) with no args ok 2 - UNKNOWN with no args ok 3 - exits(3) with -V arg ok 4 - looks like there's a version ok 5 - exits(3) with -h arg ok 6 - looks like there's something helpful ok 7 - exits(3) with -r 99 ok 8 - UNKNOWN (warning: invalid -r) with -r 99 ok 9 - exits(0) with -w 10:15 -c~:15 -r 11 ok 10 - looks OK with -w 10:15 -c~:15 -r 11 ok 11 - exits(1) with -w 10:15 -c~:15 -r 0 ok 12 - looks WARNING with -w 10:15 -c~:15 -r 0 ok 13 - exits(2) with -w 10:15 -c~:15 -r 15.8 ok 14 - looks CRITICAL with -w 10:15 -c~:15 -r 15.8 ok # # using Monitoring::Plugin revision 0.40 # warn if < 10, critical if > 25 t/Monitoring-Plugin-01.t .............. 1..15 ok 1 - use Monitoring::Plugin; ok 2 - An object of class 'Monitoring::Plugin' isa 'Monitoring::Plugin' ok 3 - shortname explicitly set correctly ok 4 - shortname should default on new ok 5 - shortname set correctly on new ok 6 - shortname uses plugin name as default ok 7 - shortname is not overriden by default ok 8 - Perfdata correct ok 9 - Perfdata correct when no uom specified ok 10 - Output okay. -1 = WARNING ok 11 - Output okay. 1 = WARNING ok 12 - Output okay. 20 = OK ok 13 - Output okay. 25 = OK ok 14 - Output okay. 26 = CRITICAL ok 15 - Output okay. 30 = CRITICAL ok t/Monitoring-Plugin-02.t .............. 1..103 ok 1 - use Monitoring::Plugin; ok 2 - OK => 0 ok 3 - WARNING => 1 ok 4 - CRITICAL => 2 ok 5 - UNKNOWN => 3 ok 6 - DEPENDENT => 4 ok 7 - shortname() is TEST_PLUGIN ok 8 - plugin_exit(OK, $msg) returned 0 ok 9 - plugin_exit(OK, $msg) output matched "TEST_PLUGIN OK.*test the first" ok 10 - plugin_exit("OK", $msg) returned 0 ok 11 - plugin_exit("OK", $msg) output matched "TEST_PLUGIN OK.*test the first" ok 12 - plugin_exit("OK", $msg) stringified matched "TEST_PLUGIN OK.*test the first" ok 13 - plugin_exit(WARNING, $msg) returned 1 ok 14 - plugin_exit(WARNING, $msg) output matched "TEST_PLUGIN WARNING.*test the second" ok 15 - plugin_exit("WARNING", $msg) returned 1 ok 16 - plugin_exit("WARNING", $msg) output matched "TEST_PLUGIN WARNING.*test the second" ok 17 - plugin_exit("WARNING", $msg) stringified matched "TEST_PLUGIN WARNING.*test the second" ok 18 - plugin_exit(CRITICAL, $msg) returned 2 ok 19 - plugin_exit(CRITICAL, $msg) output matched "TEST_PLUGIN CRITICAL.*test the third" ok 20 - plugin_exit("CRITICAL", $msg) returned 2 ok 21 - plugin_exit("CRITICAL", $msg) output matched "TEST_PLUGIN CRITICAL.*test the third" ok 22 - plugin_exit("CRITICAL", $msg) stringified matched "TEST_PLUGIN CRITICAL.*test the third" ok 23 - plugin_exit(UNKNOWN, $msg) returned 3 ok 24 - plugin_exit(UNKNOWN, $msg) output matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 25 - plugin_exit("UNKNOWN", $msg) returned 3 ok 26 - plugin_exit("UNKNOWN", $msg) output matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 27 - plugin_exit("UNKNOWN", $msg) stringified matched "TEST_PLUGIN UNKNOWN.*test the fourth" ok 28 - plugin_exit(DEPENDENT, $msg) returned 4 ok 29 - plugin_exit(DEPENDENT, $msg) output matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 30 - plugin_exit("DEPENDENT", $msg) returned 4 ok 31 - plugin_exit("DEPENDENT", $msg) output matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 32 - plugin_exit("DEPENDENT", $msg) stringified matched "TEST_PLUGIN DEPENDENT.*test the fifth" ok 33 - plugin_exit('-1', $msg) returned 3 ok 34 - plugin_exit('-1', $msg) output matched "UNKNOWN.*testing code -1" ok 35 - plugin_exit('7', $msg) returned 3 ok 36 - plugin_exit('7', $msg) output matched "UNKNOWN.*testing code 7" ok 37 - plugin_exit(undef, $msg) returned 3 ok 38 - plugin_exit(undef, $msg) output matched "UNKNOWN.*testing code undef" ok 39 - plugin_exit('', $msg) returned 3 ok 40 - plugin_exit('', $msg) output matched "UNKNOWN.*testing code ''" ok 41 - plugin_exit('string', $msg) returned 3 ok 42 - plugin_exit('string', $msg) output matched "UNKNOWN.*testing code 'string'" ok 43 - plugin_exit('', $msg) output matched "CRITICAL.*" ok 44 - plugin_exit(undef, $msg) output matched "CRITICAL.*" ok 45 - plugin_exit('3', $msg) output matched "CRITICAL.*3" ok 46 - plugin_die('die you dog') returned UNKNOWN ok 47 - plugin_die('die you dog') output matched "UNKNOWN.*die you dog" ok 48 - plugin_die('') returned UNKNOWN ok 49 - plugin_die('') output matched "UNKNOWN.*" ok 50 - plugin_die(undef) returned UNKNOWN ok 51 - plugin_die(undef) output matched "UNKNOWN.*" ok 52 - plugin_die(OK, $msg) returned 0 ok 53 - plugin_die(OK, $msg) output matched "OK.*test the first" ok 54 - plugin_die($msg, OK) returned 0 ok 55 - plugin_die($msg, OK) output matched "OK.*test the first" ok 56 - plugin_die("OK", $msg) returned 0 ok 57 - plugin_die("OK", $msg) output matched "OK.*test the first" ok 58 - plugin_die("OK", $msg) stringified matched "OK.*test the first" ok 59 - plugin_die($msg, "OK") returned 0 ok 60 - plugin_die($msg, "OK") output matched "OK.*test the first" ok 61 - plugin_die($msg, "OK") stringified matched "OK.*test the first" ok 62 - plugin_die(WARNING, $msg) returned 1 ok 63 - plugin_die(WARNING, $msg) output matched "WARNING.*test the second" ok 64 - plugin_die($msg, WARNING) returned 1 ok 65 - plugin_die($msg, WARNING) output matched "WARNING.*test the second" ok 66 - plugin_die("WARNING", $msg) returned 1 ok 67 - plugin_die("WARNING", $msg) output matched "WARNING.*test the second" ok 68 - plugin_die("WARNING", $msg) stringified matched "WARNING.*test the second" ok 69 - plugin_die($msg, "WARNING") returned 1 ok 70 - plugin_die($msg, "WARNING") output matched "WARNING.*test the second" ok 71 - plugin_die($msg, "WARNING") stringified matched "WARNING.*test the second" ok 72 - plugin_die(CRITICAL, $msg) returned 2 ok 73 - plugin_die(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 74 - plugin_die($msg, CRITICAL) returned 2 ok 75 - plugin_die($msg, CRITICAL) output matched "CRITICAL.*test the third" ok 76 - plugin_die("CRITICAL", $msg) returned 2 ok 77 - plugin_die("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 78 - plugin_die("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 79 - plugin_die($msg, "CRITICAL") returned 2 ok 80 - plugin_die($msg, "CRITICAL") output matched "CRITICAL.*test the third" ok 81 - plugin_die($msg, "CRITICAL") stringified matched "CRITICAL.*test the third" ok 82 - plugin_die(UNKNOWN, $msg) returned 3 ok 83 - plugin_die(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 84 - plugin_die($msg, UNKNOWN) returned 3 ok 85 - plugin_die($msg, UNKNOWN) output matched "UNKNOWN.*test the fourth" ok 86 - plugin_die("UNKNOWN", $msg) returned 3 ok 87 - plugin_die("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 88 - plugin_die("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 89 - plugin_die($msg, "UNKNOWN") returned 3 ok 90 - plugin_die($msg, "UNKNOWN") output matched "UNKNOWN.*test the fourth" ok 91 - plugin_die($msg, "UNKNOWN") stringified matched "UNKNOWN.*test the fourth" ok 92 - plugin_die(DEPENDENT, $msg) returned 4 ok 93 - plugin_die(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 94 - plugin_die($msg, DEPENDENT) returned 4 ok 95 - plugin_die($msg, DEPENDENT) output matched "DEPENDENT.*test the fifth" ok 96 - plugin_die("DEPENDENT", $msg) returned 4 ok 97 - plugin_die("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 98 - plugin_die("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 99 - plugin_die($msg, "DEPENDENT") returned 4 ok 100 - plugin_die($msg, "DEPENDENT") output matched "DEPENDENT.*test the fifth" ok 101 - plugin_die($msg, "DEPENDENT") stringified matched "DEPENDENT.*test the fifth" ok 102 - shortname() is 'MONITORING-PLUGIN-02' ok 103 - message begins with 'MONITORING-PLUGIN-02 OK' ok t/Monitoring-Plugin-03.t .............. 1..61 ok 1 - use Monitoring::Plugin; ok 2 - use Monitoring::Plugin::Functions; ok 3 - shortname() is MP_CHECK_MESSAGES_03 ok 4 - Code test 1 returned CRITICAL ok 5 - Code test 2 returned WARNING ok 6 - Code test 3 returned OK ok 7 - (critical, warning) code is CRITICAL ok 8 - (critical, warning) message is A B C ok 9 - (critical, warning, ok) code is CRITICAL ok 10 - (critical, warning, ok) message is A B C ok 11 - (critical, warning, $ok) code is CRITICAL ok 12 - (critical, warning, $ok) message is A B C ok 13 - (warning) code is WARNING ok 14 - (warning) message is D E F ok 15 - (warning, ok) code is WARNING ok 16 - (warning, ok) message is D E F ok 17 - (ok) code is OK ok 18 - (ok) message is G H I ok 19 - ($ok) code is OK ok 20 - ($ok) message is G H I ok 21 - joined '+' (critical, warning) message is A+B+C ok 22 - joined '' (warning) message is DEF ok 23 - joined undef (ok) message is G H I ok 24 - (critical, warning, ok) code is CRITICAL ok 25 - join_all ' :: ' (critical, warning, ok) message is A B C :: D E F :: G H I ok 26 - (critical, warning, $ok) code is CRITICAL ok 27 - join_all ' :: ' (critical, warning, $ok) message is A B C :: D E F :: G H I ok 28 - (critical, warning) code is CRITICAL ok 29 - join_all ' :: ' (critical, warning) message is A B C :: D E F ok 30 - (warning, ok) code is WARNING ok 31 - join_all ' :: ' (critical, warning, ok) message is D E F :: G H I ok 32 - (warning, $ok) code is WARNING ok 33 - join_all ' :: ' (critical, warning, $ok) message is D E F :: G H I ok 34 - (warning) code is WARNING ok 35 - join_all ' :: ' (critical, warning) message is D E F ok 36 - (CRITICAL, WARNING) code is CRITICAL ok 37 - (CRITICAL, WARNING) message is A B C ok 38 - (CRITICAL) code is CRITICAL ok 39 - (CRITICAL) message is A B C ok 40 - (WARNING) code is WARNING ok 41 - (WARNING) message is D E F ok 42 - (WARNING, OK) code is WARNING ok 43 - (WARNING, OK) message is D E F ok 44 - (OK) code is OK ok 45 - (OK) message is G H I ok 46 - (critical, warning) code is CRITICAL ok 47 - (critical, warning) message is A B C ok 48 - (critical) code is CRITICAL ok 49 - (critical) message is A B C ok 50 - (warning) code is WARNING ok 51 - (warning) message is D E F ok 52 - (warning, ok) code is WARNING ok 53 - (warning, ok) message is D E F ok 54 - (ok) code is OK ok 55 - (ok) message is G H I ok 56 - () code is OK ok 57 - () message is '' ok 58 - add_message dies on invalid code ok 59 - add_message dies on invalid code ok 60 - add_message dies on UNKNOWN code ok 61 - add_message dies on DEPENDENT code ok t/Monitoring-Plugin-04.t .............. 1..30 ok 1 - use Monitoring::Plugin; ok 2 - constructor DOESN'T die without usage ok 3 - add_arg() dies if you haven't instantiated with usage ok 4 - getopts() dies if you haven't instantiated with usage ok 5 - Monitoring::Plugin->can('opts') ok 6 - 'Getopt object is defined' isa 'Monitoring::Plugin::Getopt' ok 7 - warning opt is accessible ok 8 - critical opt is accessible ok 9 - Monitoring::Plugin->can('perfdata') ok 10 - Monitoring::Plugin->can('threshold') ok 11 - check_threshold dies if called with no args ok 12 - check_threshold OK when called implicitly ok 13 - check_threshold WARNING ok 14 - check_threshold CRITICAL ok 15 - check_threshold CRITICAL with hash param ok 16 - check_threshold OK when called implicitly ok 17 - check_threshold WARNING ok 18 - check_threshold CRITICAL ok 19 - check_threshold CRITICAL with hash param ok 20 - check_threshold explicit OK ok 21 - check_threshold explicit WARNING ok 22 - check_threshold explicit CRITICAL ok 23 - everything is now UNKNOWN ok 24 - everything is now UNKNOWN ok 25 - everything is now UNKNOWN ok 26 - everything is now UNKNOWN ok 27 - check_threshold works (WARNING) after explicit set_thresholds ok 28 - and again ok 29 - and again ok 30 - now OK ok t/Monitoring-Plugin-05.t .............. 1..4 ok 1 - use Monitoring::Plugin; ok 2 ok 3 - use Monitoring::Plugin; ok 4 ok t/Monitoring-Plugin-Functions-01.t .... 1..116 ok 1 - use Monitoring::Plugin::Functions; ok 2 - use Monitoring::Plugin; ok 3 - Version number for Monitoring::Plugin the same as Functions: 0.40 ok 4 - use Monitoring::Plugin::Threshold; ok 5 - Version number for Monitoring::Plugin::Threshold the same as Functions: 0.40 ok 6 - use Monitoring::Plugin::Getopt; ok 7 - Version number for Monitoring::Plugin::Getopt the same as Functions: 0.40 ok 8 - use Monitoring::Plugin::Performance; ok 9 - Version number for Monitoring::Plugin::Performance the same as Functions: 0.40 ok 10 - use Monitoring::Plugin::Range; ok 11 - Version number for Monitoring::Plugin::Range the same as Functions: 0.40 ok 12 - get_shortname ok ok 13 - %ERRORS defined ok 14 - OK => 0 ok 15 - WARNING => 1 ok 16 - CRITICAL => 2 ok 17 - UNKNOWN => 3 ok 18 - DEPENDENT => 4 ok 19 - plugin_exit(OK, $msg) returned 0 ok 20 - plugin_exit(OK, $msg) output matched "OK.*test the first" ok 21 - plugin_exit("OK", $msg) returned 0 ok 22 - plugin_exit("OK", $msg) output matched "OK.*test the first" ok 23 - plugin_exit("OK", $msg) stringified matched "OK.*test the first" ok 24 - plugin_exit(WARNING, $msg) returned 1 ok 25 - plugin_exit(WARNING, $msg) output matched "WARNING.*test the second" ok 26 - plugin_exit("WARNING", $msg) returned 1 ok 27 - plugin_exit("WARNING", $msg) output matched "WARNING.*test the second" ok 28 - plugin_exit("WARNING", $msg) stringified matched "WARNING.*test the second" ok 29 - plugin_exit(CRITICAL, $msg) returned 2 ok 30 - plugin_exit(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 31 - plugin_exit("CRITICAL", $msg) returned 2 ok 32 - plugin_exit("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 33 - plugin_exit("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 34 - plugin_exit(UNKNOWN, $msg) returned 3 ok 35 - plugin_exit(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 36 - plugin_exit("UNKNOWN", $msg) returned 3 ok 37 - plugin_exit("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 38 - plugin_exit("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 39 - plugin_exit(DEPENDENT, $msg) returned 4 ok 40 - plugin_exit(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 41 - plugin_exit("DEPENDENT", $msg) returned 4 ok 42 - plugin_exit("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 43 - plugin_exit("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 44 - plugin_exit('-1', $msg) returned 3 ok 45 - plugin_exit('-1', $msg) output matched "UNKNOWN.*testing code -1" ok 46 - plugin_exit('7', $msg) returned 3 ok 47 - plugin_exit('7', $msg) output matched "UNKNOWN.*testing code 7" ok 48 - plugin_exit(undef, $msg) returned 3 ok 49 - plugin_exit(undef, $msg) output matched "UNKNOWN.*testing code undef" ok 50 - plugin_exit('', $msg) returned 3 ok 51 - plugin_exit('', $msg) output matched "UNKNOWN.*testing code ''" ok 52 - plugin_exit('string', $msg) returned 3 ok 53 - plugin_exit('string', $msg) output matched "UNKNOWN.*testing code 'string'" ok 54 - plugin_exit('', $msg) output matched "CRITICAL.*" ok 55 - plugin_exit(undef, $msg) output matched "CRITICAL.*" ok 56 - plugin_exit('3', $msg) output matched "CRITICAL.*3" ok 57 - plugin_exit(CRITICAL, $msg) output matched "CRITICAL - MSG # LONGOUTPUT" ok 58 - plugin_exit(CRITICAL, $msg) output matched "CRITICAL # LONGOUTPUT" ok 59 - plugin_exit(CRITICAL, $msg) output matched "CRITICAL # LONGOUTPUT" ok 60 - plugin_die('die you dog') returned UNKNOWN ok 61 - plugin_die('die you dog') output matched "UNKNOWN.*die you dog" ok 62 - plugin_die('') returned UNKNOWN ok 63 - plugin_die('') output matched "UNKNOWN.*" ok 64 - plugin_die(undef) returned UNKNOWN ok 65 - plugin_die(undef) output matched "UNKNOWN.*" ok 66 - plugin_die(OK, $msg) returned 0 ok 67 - plugin_die(OK, $msg) output matched "OK.*test the first" ok 68 - plugin_die($msg, OK) returned 0 ok 69 - plugin_die($msg, OK) output matched "OK.*test the first" ok 70 - plugin_die("OK", $msg) returned 0 ok 71 - plugin_die("OK", $msg) output matched "OK.*test the first" ok 72 - plugin_die("OK", $msg) stringified matched "OK.*test the first" ok 73 - plugin_die($msg, "OK") returned 0 ok 74 - plugin_die($msg, "OK") output matched "OK.*test the first" ok 75 - plugin_die($msg, "OK") stringified matched "OK.*test the first" ok 76 - plugin_die(WARNING, $msg) returned 1 ok 77 - plugin_die(WARNING, $msg) output matched "WARNING.*test the second" ok 78 - plugin_die($msg, WARNING) returned 1 ok 79 - plugin_die($msg, WARNING) output matched "WARNING.*test the second" ok 80 - plugin_die("WARNING", $msg) returned 1 ok 81 - plugin_die("WARNING", $msg) output matched "WARNING.*test the second" ok 82 - plugin_die("WARNING", $msg) stringified matched "WARNING.*test the second" ok 83 - plugin_die($msg, "WARNING") returned 1 ok 84 - plugin_die($msg, "WARNING") output matched "WARNING.*test the second" ok 85 - plugin_die($msg, "WARNING") stringified matched "WARNING.*test the second" ok 86 - plugin_die(CRITICAL, $msg) returned 2 ok 87 - plugin_die(CRITICAL, $msg) output matched "CRITICAL.*test the third" ok 88 - plugin_die($msg, CRITICAL) returned 2 ok 89 - plugin_die($msg, CRITICAL) output matched "CRITICAL.*test the third" ok 90 - plugin_die("CRITICAL", $msg) returned 2 ok 91 - plugin_die("CRITICAL", $msg) output matched "CRITICAL.*test the third" ok 92 - plugin_die("CRITICAL", $msg) stringified matched "CRITICAL.*test the third" ok 93 - plugin_die($msg, "CRITICAL") returned 2 ok 94 - plugin_die($msg, "CRITICAL") output matched "CRITICAL.*test the third" ok 95 - plugin_die($msg, "CRITICAL") stringified matched "CRITICAL.*test the third" ok 96 - plugin_die(UNKNOWN, $msg) returned 3 ok 97 - plugin_die(UNKNOWN, $msg) output matched "UNKNOWN.*test the fourth" ok 98 - plugin_die($msg, UNKNOWN) returned 3 ok 99 - plugin_die($msg, UNKNOWN) output matched "UNKNOWN.*test the fourth" ok 100 - plugin_die("UNKNOWN", $msg) returned 3 ok 101 - plugin_die("UNKNOWN", $msg) output matched "UNKNOWN.*test the fourth" ok 102 - plugin_die("UNKNOWN", $msg) stringified matched "UNKNOWN.*test the fourth" ok 103 - plugin_die($msg, "UNKNOWN") returned 3 ok 104 - plugin_die($msg, "UNKNOWN") output matched "UNKNOWN.*test the fourth" ok 105 - plugin_die($msg, "UNKNOWN") stringified matched "UNKNOWN.*test the fourth" ok 106 - plugin_die(DEPENDENT, $msg) returned 4 ok 107 - plugin_die(DEPENDENT, $msg) output matched "DEPENDENT.*test the fifth" ok 108 - plugin_die($msg, DEPENDENT) returned 4 ok 109 - plugin_die($msg, DEPENDENT) output matched "DEPENDENT.*test the fifth" ok 110 - plugin_die("DEPENDENT", $msg) returned 4 ok 111 - plugin_die("DEPENDENT", $msg) output matched "DEPENDENT.*test the fifth" ok 112 - plugin_die("DEPENDENT", $msg) stringified matched "DEPENDENT.*test the fifth" ok 113 - plugin_die($msg, "DEPENDENT") returned 4 ok 114 - plugin_die($msg, "DEPENDENT") output matched "DEPENDENT.*test the fifth" ok 115 - plugin_die($msg, "DEPENDENT") stringified matched "DEPENDENT.*test the fifth" ok 116 - Caught exception ok t/Monitoring-Plugin-Functions-02.t .... 1..37 ok 1 - use Monitoring::Plugin::Functions; ok 2 - Code test 1 returned CRITICAL ok 3 - Code test 2 returned WARNING ok 4 - Code test 3 returned OK ok 5 - (critical, warning) code is CRITICAL ok 6 - (critical, warning) message is A B C ok 7 - (critical, warning, ok) code is CRITICAL ok 8 - (critical, warning, ok) message is A B C ok 9 - (critical, warning, $ok) code is CRITICAL ok 10 - (critical, warning, $ok) message is A B C ok 11 - (warning) code is WARNING ok 12 - (warning) message is D E F ok 13 - (warning, ok) code is WARNING ok 14 - (warning, ok) message is D E F ok 15 - (ok) code is OK ok 16 - (ok) message is G H I ok 17 - ($ok) code is OK ok 18 - ($ok) message is G H I ok 19 - joined '+' (critical, warning) message is A+B+C ok 20 - joined '' (warning) message is DEF ok 21 - joined undef (ok) message is G H I ok 22 - (critical, warning, ok) code is CRITICAL ok 23 - join_all ' :: ' (critical, warning, ok) message is A B C :: D E F :: G H I ok 24 - (critical, warning, $ok) code is CRITICAL ok 25 - join_all ' :: ' (critical, warning, $ok) message is A B C :: D E F :: G H I ok 26 - (critical, warning) code is CRITICAL ok 27 - join_all ' :: ' (critical, warning) message is A B C :: D E F ok 28 - (warning, ok) code is WARNING ok 29 - join_all ' :: ' (critical, warning, ok) message is D E F :: G H I ok 30 - (warning, $ok) code is WARNING ok 31 - join_all ' :: ' (critical, warning, $ok) message is D E F :: G H I ok 32 - (warning) code is WARNING ok 33 - join_all ' :: ' (critical, warning) message is D E F ok 34 - check_messages dies without message args ok 35 - check_messages dies without 'critical' message ok 36 - check_messages dies without 'warning' message ok 37 - check_messages ok with 'critical' and 'warning' messages ok t/Monitoring-Plugin-Functions-03.t .... 1..8 ok 1 - use Monitoring::Plugin::Functions; ok 2 - Moved up to WARNING ok 3 - Still at WARNING ok 4 - Now at CRITICAL ok 5 - This is OK ok 6 - This is still OK, not UNKNOWN ok 7 - Use WARNING in this list ok 8 - Return UNKNOWN if no parameters ok t/Monitoring-Plugin-Functions-04.t .... 1..8 ok 1 - use Monitoring::Plugin::Functions; ok 2 - Moved up to WARNING ok 3 - Still at WARNING ok 4 - Now at CRITICAL ok 5 - This is OK ok 6 - This is UNKNOWN ok 7 - Use WARNING in this list ok 8 - Return UNKNOWN if no parameters ok t/Monitoring-Plugin-Getopt-01.t ....... 1..81 ok 1 - use Monitoring::Plugin::Getopt; ok 2 - constructor ok ok 3 - warning set to 3 ok 4 - critical set to 10 ok 5 - timeout set to 12 ok 6 - perfdata set to default of 1 ok 7 - constructor ok ok 8 - perfdata set to 0 ok 9 - constructor ok [extra-opts] test_plugin -w 3 --critical 10 -v -v -v ok 10 - Verbose set to level 3 ok 11 - constructor ok [extra-opts] test_plugin -w 3 --critical 10 --verbose --verbose --verbose ok 12 - Verbose set to level 3 (longhand) ok 13 - constructor ok ok 14 - getopts died on missing args ok 15 - usage message ok 16 - missing arguments ok 17 - verbose set to 0 ok 18 - constructor ok ok 19 - getopts died on missing args ok 20 - usage message ok 21 - missing argument: critical ok 22 - no missing argument: warning ok 23 - warning set to 0 ok 24 - critical undef ok 25 - timeout set to default ok 26 - verbose set to true ok 27 - constructor ok ok 28 - warning 5 (default) ok 29 - critical set to 27 ok 30 - timeout set to 17 ok 31 - verbose set to true ok 32 - constructor ok ok 33 - getopts died on usage ok 34 - usage message ok 35 - no missing arguments ok 36 - constructor ok ok 37 - getopts died on usage ok 38 - usage message ok 39 - no missing arguments ok 40 - constructor ok ok 41 - getopts died on version ok 42 - version info includes plugin name ok 43 - version info includes version ok 44 - version info includes url ok 45 - no usage message ok 46 - no missing arguments ok 47 - constructor ok ok 48 - getopts died on version ok 49 - version info includes plugin name ok 50 - version info includes version ok 51 - version info includes url ok 52 - no usage message ok 53 - no missing arguments ok 54 - constructor ok ok 55 - getopts died on help ok 56 - help includes plugin name ok 57 - help includes version ok 58 - help includes url ok 59 - help includes licence ok 60 - help includes blurb ok 61 - help includes usage message ok 62 - help includes default options 1 ok 63 - help includes default options 2 ok 64 - help includes custom option 1 ok 65 - help includes custom option 2 ok 66 - help includes custom option 3 ok 67 - no missing arguments ok 68 - constructor ok ok 69 - getopts died on help ok 70 - help includes plugin name ok 71 - help includes version ok 72 - help includes url ok 73 - help includes licence ok 74 - help includes blurb ok 75 - help includes usage message ok 76 - help includes default options 1 ok 77 - help includes default options 2 ok 78 - help includes custom option 1 ok 79 - help includes custom option 2, with expanded args ok 80 - help includes custom option 3 ok 81 - no missing arguments ok t/Monitoring-Plugin-Getopt-02.t ....... 1..14 ok 1 - use Monitoring::Plugin::Getopt; ok 2 - constructor ok ok 3 - default timeout set to 18 ok 4 - constructor ok ok 5 - getopts died on help ok 6 - help timeout changed to 18 ok 7 - constructor ok ok 8 - timeout changed to 25 ok 9 - constructor ok ok 10 - timeout changed to 10 ok 11 - constructor ok ok 12 - timeout changed to 2 ok 13 - loop timed out ok 14 - default timeout handler ok ok t/Monitoring-Plugin-Getopt-03.t ....... ok 1 - use Monitoring::Plugin::Getopt; ok 2 - 00_basic ok 3 - 00_noextra ok 4 - 01_override1 ok 5 - 02_override2 ok 6 - 05_disk1 ok 7 - 05_disk2 ok 8 - 05_disk3 ok 9 - 05_disk4 ok 10 - 05_disk5 ok 11 - 05_disk6 ok 12 - 05_disk7 ok 13 - 09_funnystuff ok 14 - 12_nosection_implicit ok 15 - 13_nosection_explicit_dies (Invalid section 'check_no_section' in config file 't/npg03/plugins.ini') ok 16 - 14_badsection_dies (Invalid section 'bad_section' in config file 't/npg03/plugins.ini') ok 17 - 15_badsection_catch (Invalid section 'bad_section' in config file 't/npg03/plugins.ini') ok 18 - 15_badsection_catch 1..18 ok t/Monitoring-Plugin-Getopt-04.t ....... 1..15 ok 1 - use Monitoring::Plugin::Getopt; ok 2 - constructor ok ok 3 - getopts died on help ok 4 - warning ok ok 5 - critical ok ok 6 - x|y|z ok ok 7 - long ok ok 8 - hostname ok ok 9 - avatar ok ok 10 - disk multiline ok ok 11 - limit multiline ok ok 12 - dirport ok ok 13 - enablesomething ok ok 14 - testtimeout ok ok 15 - verbosity ok ok t/Monitoring-Plugin-Performance-02.t .. 1..3 ok 1 - use Monitoring::Plugin::Performance; ok 2 - use_die correctly set on import ok 3 - use Monitoring::Plugin::Performance; MONITORING-PLUGIN-PERFORMANCE-02 OK - Test OK exit ok # # using Monitoring::Plugin::Performance revision 0.40 t/Monitoring-Plugin-Performance.t ..... 1..231 ok 1 - use Monitoring::Plugin::Performance; ok 2 - value okay 382 ok 3 - label okay / ok 4 - uom okay MB ok 5 - perfoutput okay (/=382MB;15264;15269;0;32768) ok 6 - threshold warning okay (15264) ok 7 - threshold critical okay (15269) ok 8 - rrdlabel okay ok 9 - clean_label okay ok 10 - perfoutput okay (/=382MB;15264;15269;0;32768) ok 11 - threshold warning okay (15264) ok 12 - threshold critical okay (15269) ok 13 - value okay 218 ok 14 - label okay /var ok 15 - uom okay MB ok 16 - perfoutput okay (/var=218MB;9443;9448) ok 17 - threshold warning okay (9443) ok 18 - threshold critical okay (9448) ok 19 - rrdlabel okay ok 20 - clean_label okay ok 21 - perfoutput okay (/var=218MB;9443;9448) ok 22 - threshold warning okay (9443) ok 23 - threshold critical okay (9448) ok 24 - value okay 218 ok 25 - label okay /var/long@:-/filesystem/name/and/bad/chars ok 26 - uom okay MB ok 27 - perfoutput okay (/var/long@:-/filesystem/name/and/bad/chars=218MB;9443;9448) ok 28 - threshold warning okay (9443) ok 29 - threshold critical okay (9448) ok 30 - rrdlabel okay ok 31 - clean_label okay ok 32 - perfoutput okay (/var/long@:-/filesystem/name/and/bad/chars=218MB;9443;9448) ok 33 - threshold warning okay (9443) ok 34 - threshold critical okay (9448) ok 35 - value okay 36 ok 36 - label okay page file ok 37 - uom okay % ok 38 - perfoutput okay ('page file'=36%;80;90) ok 39 - threshold warning okay (80) ok 40 - threshold critical okay (90) ok 41 - rrdlabel okay ok 42 - clean_label okay ok 43 - perfoutput okay ('page file'=36%;80;90) ok 44 - threshold warning okay (80) ok 45 - threshold critical okay (90) ok 46 - value okay 5 ok 47 - label okay data ok 48 - uom okay ok 49 - perfoutput okay (data=5;;) ok 50 ok 51 ok 52 - rrdlabel okay ok 53 - clean_label okay ok 54 - perfoutput okay (data=5;;) ok 55 ok 56 ok 57 - label okay ok 58 - rrd label okay ok 59 - value okay ok 60 - uom okay ok 61 - warn okay ok 62 - crit okay ok 63 - min undef ok 64 - max undef ok 65 - label okay ok 66 - rrd label okay ok 67 - value okay ok 68 - uom okay ok 69 - warn okay ok 70 - crit okay ok 71 - Errors correctly ok 72 - Errors on empty string ok 73 - One bad piece of data - only one returned ok 74 - label okay for different numeric ok 75 - value okay ok 76 - uom okay ok 77 - Warning range has been set ok 78 - warn okay ok 79 - Critical range has been set ok 80 - warn okay ok 81 - One bad piece of data - only one returned ok 82 - label okay for different numeric ok 83 - value okay ok 84 - uom okay ok 85 - Warning range has been set ok 86 - warn okay ok 87 - Critical range has been set ok 88 - warn okay ok 89 - label okay ok 90 - value okay ok 91 - uom okay ok 92 - warn okay ok 93 - crit okay ok 94 - label okay ok 95 - value okay with 0 as string ok 96 - uom empty ok 97 - warn okay ok 98 - crit okay ok 99 - label okay ok 100 - label okay ok 101 - label okay ok 102 - value okay ok 103 - uom empty ok 104 - warn okay ok 105 - crit okay ok 106 - parse correctly with linefeed at end (nagiosgraph) ok 107 - label okay ok 108 - value okay ok 109 - uom okay ok 110 - warn okay ok 111 - crit okay ok 112 - label okay ok 113 - value okay ok 114 - uom okay ok 115 - warn okay ok 116 - crit okay ok 117 - changing / to _ ok 118 - Warning range has been set ok 119 - replacing bad characters ok 120 - shortening rrd label ok 121 - label okay ok 122 - value okay ok 123 - uom okay ok 124 - Warning range has been set ok 125 - Critical range has been set ok 126 - warn okay ok 127 - crit okay ok 128 - label okay ok 129 - value okay ok 130 - uom okay ok 131 - Warning range has been set ok 132 - Critical range has been set ok 133 - warn okay ok 134 - crit okay ok 135 - label okay ok 136 - value okay ok 137 - uom okay ok 138 - Warning range has been set ok 139 - Critical range has not been set ok 140 - warn okay ok 141 - label okay ok 142 - value okay ok 143 - uom okay ok 144 - Warning range has been set ok 145 - Critical range has been set ok 146 - warn okay ok 147 - crit okay ok 148 - label okay ok 149 - value okay ok 150 - uom okay ok 151 - Warning range has been set ok 152 - Critical range has been set ok 153 - warn okay ok 154 - warn okay ok 155 - label okay for scientific notation ok 156 - value okay ok 157 - uom okay ok 158 - Warning range has not been set ok 159 - Critical range has not been set ok 160 - label okay for scientific notation in warnings and criticals ok 161 - value okay ok 162 - uom okay ok 163 - Warning range has been set ok 164 - warn okay ok 165 - Critical range has been set ok 166 - warn okay ok 167 - label okay for numeric with commas instead of periods ok 168 - value okay ok 169 - uom okay ok 170 - Warning range has been set ok 171 - warn okay ok 172 - Critical range has been set ok 173 - warn okay ok 174 - label okay for different numeric ok 175 - value okay ok 176 - uom okay ok 177 - Warning range has been set ok 178 - warn okay ok 179 - Critical range has been set ok 180 - warn okay ok 181 - label okay for numeric with commas instead of periods ok 182 - value okay ok 183 - uom okay ok 184 - Warning range has been set ok 185 - warn okay ok 186 - Critical range has been set ok 187 - warn okay ok 188 - Ignored time=1800,600,300,0,3600, but allowed other=45.6 ok 189 - value okay ok 190 - uom okay ok 191 ok 192 ok 193 - value okay ok 194 - uom okay ok 195 - warn okay ok 196 - crit okay ok 197 - min ok ok 198 - max ok ok 199 - label okay ok 200 - rrd label okay ok 201 - value okay ok 202 - uom okay ok 203 - warn okay ok 204 - crit okay ok 205 - min ok ok 206 - max ok ok 207 ok 208 ok 209 - value okay ok 210 - uom okay ok 211 ok 212 ok 213 - min ok ok 214 - max ok ok 215 - label okay ok 216 - rrd label okay ok 217 - value okay ok 218 - uom okay ok 219 - warn okay ok 220 - crit okay ok 221 - min ok ok 222 - max ok ok 223 ok 224 ok 225 - value okay ok 226 - uom okay ok 227 ok 228 - crit okay ok 229 - min ok ok 230 - max ok ok 231 - Fails parsing correctly ok # # using Monitoring::Plugin::Range revision 0.40 # 'garbage in' checks -- you should see 7 invalid range definition warnings here: invalid range definition ':' at t/Monitoring-Plugin-Range.t line 28. invalid range definition '1:~' at t/Monitoring-Plugin-Range.t line 28. invalid range definition 'foo' at t/Monitoring-Plugin-Range.t line 28. invalid range definition '1-10' at t/Monitoring-Plugin-Range.t line 28. invalid range definition '10:~' at t/Monitoring-Plugin-Range.t line 28. invalid range definition '1-10:2.4' at t/Monitoring-Plugin-Range.t line 28. invalid range definition '1,10' at t/Monitoring-Plugin-Range.t line 28. # range: 0..6 inclusive # range : -7..23, inclusive # range : 0..5.75, inclusive # range : negative infinity .. -95.99, inclusive # range 10..infinity , inclusive # range 123456789012345..infinity , inclusive # range: <= zero # range: OUTSIDE 0..657.8210567 # range: 1..1 inclusive (equals one) t/Monitoring-Plugin-Range.t ........... 1..151 ok 1 - use Monitoring::Plugin::Range; ok 2 - ':' should not be a valid range ok 3 - '1:~' should not be a valid range ok 4 - 'foo' should not be a valid range ok 5 - '1-10' should not be a valid range ok 6 - '10:~' should not be a valid range ok 7 - '1-10:2.4' should not be a valid range ok 8 - '1,10' should not be a valid range ok 9 - An object of class 'Monitoring::Plugin::Range' isa 'Monitoring::Plugin::Range' ok 10 - '6' is valid range ok 11 - Start correct ok 12 - Not using negative infinity ok 13 - End correct ok 14 - Not using positive infinity ok 15 - Stringification back to original ok 16 - -1 should not be in the range (line 61) ok 17 - 0 should be in the range (line 61) ok 18 - 4 should be in the range (line 61) ok 19 - 6 should be in the range (line 61) ok 20 - 6.1 should not be in the range (line 61) ok 21 - 79.999999 should not be in the range (line 61) ok 22 - '-7:23' is valid range ok 23 - Start correct ok 24 - Not using negative infinity ok 25 - End correct ok 26 - Not using positive infinity ok 27 - Stringification back to original ok 28 - -23 should not be in the range (line 82) ok 29 - -7 should be in the range (line 82) ok 30 - -1 should be in the range (line 82) ok 31 - 0 should be in the range (line 82) ok 32 - 4 should be in the range (line 82) ok 33 - 23 should be in the range (line 82) ok 34 - 23.1 should not be in the range (line 82) ok 35 - 79.999999 should not be in the range (line 82) ok 36 - ':5.75' is valid range ok 37 - Start correct ok 38 - Not using negative infinity ok 39 - End correct ok 40 - Not using positive infinity ok 41 - Stringification to simplification ok 42 - -1 should not be in the range (line 103) ok 43 - 0 should be in the range (line 103) ok 44 - 4 should be in the range (line 103) ok 45 - 5.75 should be in the range (line 103) ok 46 - 5.7501 should not be in the range (line 103) ok 47 - 6 should not be in the range (line 103) ok 48 - 6.1 should not be in the range (line 103) ok 49 - 79.999999 should not be in the range (line 103) ok 50 - '~:-95.99' is valid range ok 51 - Using negative infinity ok 52 - End correct ok 53 - Not using positive infinity ok 54 - Stringification back to original ok 55 - -1001341 should be in the range (line 125) ok 56 - -96 should be in the range (line 125) ok 57 - -95.999 should be in the range (line 125) ok 58 - -95.99 should be in the range (line 125) ok 59 - -95.989 should not be in the range (line 125) ok 60 - -95 should not be in the range (line 125) ok 61 - 0 should not be in the range (line 125) ok 62 - 5.7501 should not be in the range (line 125) ok 63 - 79.999999 should not be in the range (line 125) ok 64 - -1001341 should be in the range (line 128) ok 65 - -96 should be in the range (line 128) ok 66 - -95.999 should be in the range (line 128) ok 67 - -95.99 should be in the range (line 128) ok 68 - -95.989 should not be in the range (line 128) ok 69 - -95 should not be in the range (line 128) ok 70 - 0 should not be in the range (line 128) ok 71 - 5.7501 should not be in the range (line 128) ok 72 - 79.999999 should not be in the range (line 128) ok 73 - '10:' is valid range ok 74 - Start correct ok 75 - Not using negative infinity ok 76 - Using positive infinity ok 77 - Stringification back to original ok 78 - -95.999 should not be in the range (line 144) ok 79 - -1 should not be in the range (line 144) ok 80 - 0 should not be in the range (line 144) ok 81 - 9.91 should not be in the range (line 144) ok 82 - 10 should be in the range (line 144) ok 83 - 11.1 should be in the range (line 144) ok 84 - 123456789012346 should be in the range (line 144) ok 85 - -95.999 should not be in the range (line 149) ok 86 - -1 should not be in the range (line 149) ok 87 - 0 should not be in the range (line 149) ok 88 - 9.91 should not be in the range (line 149) ok 89 - 10 should be in the range (line 149) ok 90 - 11.1 should be in the range (line 149) ok 91 - 123456789012346 should be in the range (line 149) ok 92 - '123456789012345:' is valid range ok 93 - Start correct ok 94 - Not using negative infinity ok 95 - Using positive infinity ok 96 - Stringification back to original ok 97 - -95.999 should not be in the range (line 169) ok 98 - -1 should not be in the range (line 169) ok 99 - 0 should not be in the range (line 169) ok 100 - 123456789012344.91 should not be in the range (line 169) ok 101 - 123456789012345 should be in the range (line 169) ok 102 - 123456789012345.61 should be in the range (line 169) ok 103 - 123456789012346 should be in the range (line 169) ok 104 - '~:0' is valid range ok 105 - Using negative infinity ok 106 - End correct ok 107 - Not using positive infinity ok 108 - Will alert on outside of range ok 109 - Stringification back to original ok 110 - 0.5 - alert ok 111 - -10 - no alert ok 112 - 0 - no alert ok 113 - -123456789012345 should be in the range (line 190) ok 114 - -1 should be in the range (line 190) ok 115 - 0 should be in the range (line 190) ok 116 - 0.001 should not be in the range (line 190) ok 117 - 123456789012345 should not be in the range (line 190) ok 118 - "@0:657.8210567" is a valid range ok 119 - Start correct ok 120 - Not using negative infinity ok 121 - End correct ok 122 - Not using positive infinity ok 123 - Will alert on inside of range ok 124 - Stringification to simplified version ok 125 - 32.88 - alert ok 126 - -2 - no alert ok 127 - 657.8210567 - alert ok 128 - 0 - alert ok 129 - -134151 should be in the range (line 215) ok 130 - -1 should be in the range (line 215) ok 131 - 0 should not be in the range (line 215) ok 132 - 0.001 should not be in the range (line 215) ok 133 - 657.8210567 should not be in the range (line 215) ok 134 - 657.9 should be in the range (line 215) ok 135 - 123456789012345 should be in the range (line 215) ok 136 - "1:1" is a valid range ok 137 - Start correct ok 138 - Not using negative infinity ok 139 - End correct ok 140 - Not using positive infinity ok 141 - Stringification to simplified version ok 142 - 0.5 - alert ok 143 - 1 - no alert ok 144 - 5.2 - alert ok 145 - -1 should not be in the range (line 237) ok 146 - 0 should not be in the range (line 237) ok 147 - 0.5 should not be in the range (line 237) ok 148 - 1 should be in the range (line 237) ok 149 - 1.001 should not be in the range (line 237) ok 150 - 5.2 should not be in the range (line 237) ok 151 - "2:1" is rejected ok # # using Monitoring::Plugin::Threshold revision 0.40 # threshold: critical if > 80 # threshold: warn if less than 5 or more than 33. # threshold: warn if more than 30; critical if > 60 # threshold: critical if > 25 # threshold: warn if OUTSIDE {10..25} , critical if > 25 # warn if INSIDE {10..25} , critical if < 10 # threshold mutator: warn if more than 30; critical if > 60 t/Monitoring-Plugin-Threshold.t ....... 1..93 ok 1 - use Monitoring::Plugin::Threshold; ok 2 - use Monitoring::Plugin::Functions; ok 3 - two undefs ok 4 - warning not set ok 5 - critical not set ok 6 - two empty strings ok 7 - warning not set ok 8 - critical not set ok 9 - Threshold ('', '80') set ok 10 - Warning not set ok 11 - Critical strat set correctly ok 12 - Critical end set correctly ok 13 - not forever ok 14 - -1 - CRITICAL ok 15 - 4 - OK ok 16 - 79.999999 - OK ok 17 - 80 - OK ok 18 - 80.1 - CRITICAL ok 19 - 102321 - CRITICAL ok 20 - Threshold ('5:33', '') set ok 21 - Warning start set ok 22 - Warning end set ok 23 - Critical not set ok 24 - -1 - WARNING ok 25 - 4 - WARNING ok 26 - 4.999999 - WARNING ok 27 - 5 - OK ok 28 - 14.21 - OK ok 29 - 33 - OK ok 30 - 33.01 - WARNING ok 31 - 10231 - WARNING ok 32 - Threshold ('~:30', '~:60') set ok 33 - Warning end set ok 34 - Critical end set ok 35 - Critical starts at negative infinity ok 36 - -1 - OK ok 37 - 4 - OK ok 38 - 29.999999 - OK ok 39 - 30 - OK ok 40 - 30.1 - WARNING ok 41 - 50.90 - WARNING ok 42 - 59.9 - WARNING ok 43 - 60 - WARNING ok 44 - 60.00001 - CRITICAL ok 45 - 10231 - CRITICAL ok 46 - Threshold ('', '~:25') set (~:25) ok 47 - Warning not set ok 48 - Critical end set ok 49 - Critical starts at negative infinity ok 50 - -1 - OK ok 51 - 4 - OK ok 52 - 10 - OK ok 53 - 14.21 - OK ok 54 - 25 - OK ok 55 - 25.01 - CRITICAL ok 56 - 31001 - CRITICAL ok 57 - Threshold ('10:25', '~:25') set ok 58 - Warning start set ok 59 - Warning end set ok 60 - Critical end set ok 61 - -1 - WARNING ok 62 - 4 - WARNING ok 63 - 9.999999 - WARNING ok 64 - 10 - OK ok 65 - 14.21 - OK ok 66 - 25 - OK ok 67 - 25.01 - CRITICAL ok 68 - 31001 - CRITICAL ok 69 - -1 - CRITICAL ok 70 - 4 - CRITICAL ok 71 - 9.999999 - CRITICAL ok 72 - 10 - WARNING ok 73 - 14.21 - WARNING ok 74 - 25 - WARNING ok 75 - 25.01 - OK ok 76 - 31001 - OK ok 77 - same threshold object after $t->set_thresholds ok 78 - Threshold ('0:45', '0:90') set ok 79 - Warning start ok ok 80 - Warning end ok ok 81 - Critical start ok ok 82 - Critical end ok ok 83 - Threshold from ranges ('50', '70:90') set ok 84 - Warning start ok ok 85 - Warning end ok ok 86 - Critical start ok ok 87 - Critical end ok ok 88 - Threshold from string + range ('~:20', '90:') set ok 89 - Warning start ok (infinity) ok 90 - Warning end ok ok 91 - Critical start ok ok 92 - Critical end ok (infinity) ok 93 - sweet, made it to the end. ok All tests successful. Files=18, Tests=1002, 10 wallclock secs ( 0.38 usr 0.08 sys + 9.92 cusr 0.70 csys = 11.08 CPU) Result: PASS make[1]: Leaving directory '/build/libmonitoring-plugin-perl-0.40' create-stamp debian/debhelper-build-stamp dh_testroot dh_prep dh_auto_install make -j4 install DESTDIR=/build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl AM_UPDATE_INFO_DIR=no PREFIX=/usr make[1]: Entering directory '/build/libmonitoring-plugin-perl-0.40' Manifying 8 pod documents Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Config.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/ExitResult.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Getopt.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Functions.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Range.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Performance.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/perl5/Monitoring/Plugin/Threshold.pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Range.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Config.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Threshold.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::ExitResult.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Getopt.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Functions.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin::Performance.3pm make[1]: Leaving directory '/build/libmonitoring-plugin-perl-0.40' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libmonitoring-plugin-perl' in '../libmonitoring-plugin-perl_0.40-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../libmonitoring-plugin-perl_0.40-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/22155/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/22155/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/22155 and its subdirectories I: Current time: Sat Jun 20 18:04:43 +14 2020 I: pbuilder-time-stamp: 1592625883