I: pbuilder: network access will be disabled during build I: Current time: Tue Apr 25 22:23:48 -12 2023 I: pbuilder-time-stamp: 1682504628 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. 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: Signature made Wed Jul 25 16:30:26 2018 -12 gpgv: using RSA key 4644409808C171E05531DDEE054CB8F31343CF44 gpgv: issuer "carnil@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmonitoring-plugin-perl_0.40-1.dsc: no acceptable signature found 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/2066297/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='f6b71a02d30644599efa1ebd450f754d' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2066297' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.iFUaBDSe/pbuilderrc_BEVz --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iFUaBDSe/b1 --logfile b1/build.log libmonitoring-plugin-perl_0.40-1.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/2066297/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: amd64 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 ... 19596 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} bsdextrautils{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} libclass-accessor-perl{a} libconfig-tiny-perl{a} libdebhelper-perl{a} libdevel-callchecker-perl{a} libdynaloader-functions-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libmath-calc-units-perl{a} libmodule-implementation-perl{a} libmodule-runtime-perl{a} libparams-classify-perl{a} libparams-validate-perl{a} libpipeline1{a} libsub-name-perl{a} libsub-override-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 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After unpacking 73.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 11 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 24 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.2 [687 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 libb-hooks-op-check-perl amd64 0.22-2+b1 [10.5 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libsub-name-perl amd64 0.26-2+b1 [12.6 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 libclass-accessor-perl all 0.51-2 [22.7 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 libconfig-tiny-perl all 2.28-2 [16.4 kB] Get: 35 http://deb.debian.org/debian bookworm/main amd64 libdynaloader-functions-perl all 0.003-3 [12.7 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 libdevel-callchecker-perl amd64 0.008-2 [15.8 kB] Get: 37 http://deb.debian.org/debian bookworm/main amd64 libmath-calc-units-perl all 1.07-2.1 [24.9 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 libparams-classify-perl amd64 0.015-2+b1 [23.1 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libmodule-runtime-perl all 0.016-2 [19.6 kB] Get: 40 http://deb.debian.org/debian bookworm/main amd64 libtry-tiny-perl all 0.31-2 [22.6 kB] Get: 41 http://deb.debian.org/debian bookworm/main amd64 libmodule-implementation-perl all 0.09-2 [12.6 kB] Get: 42 http://deb.debian.org/debian bookworm/main amd64 libparams-validate-perl amd64 1.31-1 [64.4 kB] Fetched 19.0 MB in 0s (51.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../22-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libb-hooks-op-check-perl:amd64. Preparing to unpack .../30-libb-hooks-op-check-perl_0.22-2+b1_amd64.deb ... Unpacking libb-hooks-op-check-perl:amd64 (0.22-2+b1) ... Selecting previously unselected package libsub-name-perl:amd64. Preparing to unpack .../31-libsub-name-perl_0.26-2+b1_amd64.deb ... Unpacking libsub-name-perl:amd64 (0.26-2+b1) ... Selecting previously unselected package libclass-accessor-perl. Preparing to unpack .../32-libclass-accessor-perl_0.51-2_all.deb ... Unpacking libclass-accessor-perl (0.51-2) ... Selecting previously unselected package libconfig-tiny-perl. Preparing to unpack .../33-libconfig-tiny-perl_2.28-2_all.deb ... Unpacking libconfig-tiny-perl (2.28-2) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../34-libdynaloader-functions-perl_0.003-3_all.deb ... Unpacking libdynaloader-functions-perl (0.003-3) ... Selecting previously unselected package libdevel-callchecker-perl:amd64. Preparing to unpack .../35-libdevel-callchecker-perl_0.008-2_amd64.deb ... Unpacking libdevel-callchecker-perl:amd64 (0.008-2) ... Selecting previously unselected package libmath-calc-units-perl. Preparing to unpack .../36-libmath-calc-units-perl_1.07-2.1_all.deb ... Unpacking libmath-calc-units-perl (1.07-2.1) ... Selecting previously unselected package libparams-classify-perl:amd64. Preparing to unpack .../37-libparams-classify-perl_0.015-2+b1_amd64.deb ... Unpacking libparams-classify-perl:amd64 (0.015-2+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../38-libmodule-runtime-perl_0.016-2_all.deb ... Unpacking libmodule-runtime-perl (0.016-2) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../39-libtry-tiny-perl_0.31-2_all.deb ... Unpacking libtry-tiny-perl (0.31-2) ... Selecting previously unselected package libmodule-implementation-perl. Preparing to unpack .../40-libmodule-implementation-perl_0.09-2_all.deb ... Unpacking libmodule-implementation-perl (0.09-2) ... Selecting previously unselected package libparams-validate-perl:amd64. Preparing to unpack .../41-libparams-validate-perl_1.31-1_amd64.deb ... Unpacking libparams-validate-perl:amd64 (1.31-1) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libdynaloader-functions-perl (0.003-3) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libtry-tiny-perl (0.31-2) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libconfig-tiny-perl (2.28-2) ... Setting up libmath-calc-units-perl (1.07-2.1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up libb-hooks-op-check-perl:amd64 (0.22-2+b1) ... Setting up autoconf (2.71-3) ... Setting up libsub-name-perl:amd64 (0.26-2+b1) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libclass-accessor-perl (0.51-2) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libdevel-callchecker-perl:amd64 (0.008-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libparams-classify-perl:amd64 (0.015-2+b1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libmodule-runtime-perl (0.016-2) ... Setting up libmodule-implementation-perl (0.09-2) ... Setting up debhelper (13.11.4) ... Setting up libparams-validate-perl:amd64 (1.31-1) ... Processing triggers for libc-bin (2.36-9) ... 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" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libmonitoring-plugin-perl_0.40-1_source.changes 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 amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure /usr/bin/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=x86_64-linux-gnu-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 -j15 make[1]: Entering directory '/build/libmonitoring-plugin-perl-0.40' cp lib/Monitoring/Plugin/Threshold.pm blib/lib/Monitoring/Plugin/Threshold.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/ExitResult.pm blib/lib/Monitoring/Plugin/ExitResult.pm cp lib/Monitoring/Plugin/Getopt.pm blib/lib/Monitoring/Plugin/Getopt.pm cp lib/Monitoring/Plugin/Config.pm blib/lib/Monitoring/Plugin/Config.pm cp lib/Monitoring/Plugin.pm blib/lib/Monitoring/Plugin.pm cp lib/Monitoring/Plugin/Range.pm blib/lib/Monitoring/Plugin/Range.pm Manifying 8 pod documents make[1]: Leaving directory '/build/libmonitoring-plugin-perl-0.40' dh_auto_test make -j15 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 15.8` # output: 'STUFF CRITICAL - sample result was 15.8 # ' # running `/usr/bin/perl -Ilib t/check_stuff.pl -w 10:15 -c~:15 -r 0` # output: 'STUFF WARNING - sample result was 0 # ' 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(2) with -w 10:15 -c~:15 -r 15.8 ok 12 - looks CRITICAL with -w 10:15 -c~:15 -r 15.8 ok 13 - exits(1) with -w 10:15 -c~:15 -r 0 ok 14 - looks WARNING with -w 10:15 -c~:15 -r 0 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, 7 wallclock secs ( 0.17 usr 0.04 sys + 5.54 cusr 0.60 csys = 6.35 CPU) Result: PASS make[1]: Leaving directory '/build/libmonitoring-plugin-perl-0.40' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/libmonitoring-plugin-perl/ make -j15 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/Range.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/Getopt.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/Functions.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::Threshold.3pm 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::Performance.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::Functions.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::Config.3pm Installing /build/libmonitoring-plugin-perl-0.40/debian/libmonitoring-plugin-perl/usr/share/man/man3/Monitoring::Plugin.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 -O../libmonitoring-plugin-perl_0.40-1_amd64.buildinfo dpkg-genchanges --build=binary -O../libmonitoring-plugin-perl_0.40-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration 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/2066297 and its subdirectories I: Current time: Tue Apr 25 22:24:32 -12 2023 I: pbuilder-time-stamp: 1682504672