I: pbuilder: network access will be disabled during build I: Current time: Sat Apr 8 23:29:04 +14 2023 I: pbuilder-time-stamp: 1680946144 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 [libtest-mockobject-perl_1.20200122-4.dsc] I: copying [./libtest-mockobject-perl_1.20200122.orig.tar.gz] I: copying [./libtest-mockobject-perl_1.20200122-4.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Nov 28 05:36:58 2022 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libtest-mockobject-perl_1.20200122-4.dsc: no acceptable signature found dpkg-source: info: extracting libtest-mockobject-perl in libtest-mockobject-perl-1.20200122 dpkg-source: info: unpacking libtest-mockobject-perl_1.20200122.orig.tar.gz dpkg-source: info: unpacking libtest-mockobject-perl_1.20200122-4.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/21750/tmp/hooks/D01_modify_environment starting debug: Running on codethink16-arm64. 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 lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash 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/21750/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/21750/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='bookworm' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' 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' PPID='21750' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' 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/r-b-build.y10xGgrr/pbuilderrc_tozm --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.y10xGgrr/b2 --logfile b2/build.log --extrapackages usrmerge libtest-mockobject-perl_1.20200122-4.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 6 00:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/21750/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: arm64 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-compat (= 13), libtest-exception-perl, libtest-warn-perl, libuniversal-can-perl, libuniversal-isa-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 ... 19616 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-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libtest-exception-perl; however: Package libtest-exception-perl is not installed. pbuilder-satisfydepends-dummy depends on libtest-warn-perl; however: Package libtest-warn-perl is not installed. pbuilder-satisfydepends-dummy depends on libuniversal-can-perl; however: Package libuniversal-can-perl is not installed. pbuilder-satisfydepends-dummy depends on libuniversal-isa-perl; however: Package libuniversal-isa-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} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libsub-uplevel-perl{a} libtest-exception-perl{a} libtest-warn-perl{a} libtool{a} libuchardet0{a} libuniversal-can-perl{a} libuniversal-isa-perl{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, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 18.4 MB of archives. After unpacking 74.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.1+b3 [619 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 libsub-uplevel-perl all 0.2800-3 [14.0 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libtest-exception-perl all 0.43-3 [16.9 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 libtest-warn-perl all 0.37-2 [14.5 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 libuniversal-can-perl all 1.20140328-3 [11.9 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 libuniversal-isa-perl all 1.20171012-3 [8672 B] Fetched 18.4 MB in 0s (53.3 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 ... 19616 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_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_arm64.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:arm64. Preparing to unpack .../22-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../24-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_arm64.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 libsub-uplevel-perl. Preparing to unpack .../30-libsub-uplevel-perl_0.2800-3_all.deb ... Unpacking libsub-uplevel-perl (0.2800-3) ... Selecting previously unselected package libtest-exception-perl. Preparing to unpack .../31-libtest-exception-perl_0.43-3_all.deb ... Unpacking libtest-exception-perl (0.43-3) ... Selecting previously unselected package libtest-warn-perl. Preparing to unpack .../32-libtest-warn-perl_0.37-2_all.deb ... Unpacking libtest-warn-perl (0.37-2) ... Selecting previously unselected package libuniversal-can-perl. Preparing to unpack .../33-libuniversal-can-perl_1.20140328-3_all.deb ... Unpacking libuniversal-can-perl (1.20140328-3) ... Selecting previously unselected package libuniversal-isa-perl. Preparing to unpack .../34-libuniversal-isa-perl_1.20171012-3_all.deb ... Unpacking libuniversal-isa-perl (1.20171012-3) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... 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 libmagic1:arm64 (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 libuniversal-isa-perl (1.20171012-3) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-uplevel-perl (0.2800-3) ... Setting up libsub-override-perl (0.09-4) ... Setting up libuniversal-can-perl (1.20140328-3) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... 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 libtest-warn-perl (0.37-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libtest-exception-perl (0.43-3) ... 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 man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-8) ... 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 Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/21750/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/21750/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/libtest-mockobject-perl-1.20200122/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libtest-mockobject-perl_1.20200122-4_source.changes dpkg-buildpackage: info: source package libtest-mockobject-perl dpkg-buildpackage: info: source version 1.20200122-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jelmer Vernooij dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure /usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -ffile-prefix-map=/build/libtest-mockobject-perl-1.20200122=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=aarch64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libtest-mockobject-perl-1.20200122=. -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 Test::MockObject Writing MYMETA.yml and MYMETA.json dh_auto_build make -j8 make[1]: Entering directory '/build/libtest-mockobject-perl-1.20200122' cp lib/Test/MockObject.pm blib/lib/Test/MockObject.pm cp lib/Test/MockObject/Extends.pm blib/lib/Test/MockObject/Extends.pm Manifying 2 pod documents make[1]: Leaving directory '/build/libtest-mockobject-perl-1.20200122' dh_auto_test make -j8 test TEST_VERBOSE=1 make[1]: Entering directory '/build/libtest-mockobject-perl-1.20200122' PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/base.t ...................... 1..103 ok 1 - use Test::MockObject; ok 2 - Test::MockObject->can('new') ok 3 - An object of class 'Test::MockObject' isa 'Test::MockObject' ok 4 - Test::MockObject->can('mock') ok 5 - Test::MockObject->can('foo') ok 6 - mock() should return itself ok 7 - ... default mock should return nothing ok 8 - Test::MockObject->can('remove') ok 9 - remove() should remove a sub from potential action ok 10 - ... returning itself ok 11 - mock() should install callable subref ok 12 - ... which behaves normally ok 13 - can() should return a subref ok 14 - Test::MockObject->can('set_always') ok 15 - set_always() should add a sub that always returns its value ok 16 - ... so it should at least do it twice in a row ok 17 - ... returning itself ok 18 - Test::MockObject->can('set_true') ok 19 - set_true() should install a sub that returns true ok 20 - ... or multiple subs ok 21 - ... all ok 22 - ... returning true ok 23 - ... and should return itself ok 24 - Test::MockObject->can('set_false') ok 25 - set_false() should install a sub that returns false ok 26 - ... even in list context ok 27 - ... and should return itself ok 28 - ... or multiple subs ok 29 - ... all ok 30 - ... returning false ok 31 - Test::MockObject->can('set_list') ok 32 - set_list() should install a sub to return a list ok 33 - ... and should return itself ok 34 - ... and the sub should always return the list ok 35 - Test::MockObject->can('set_series') ok 36 - set_series() should install a sub to return a series ok 37 - ... and should return itself ok 38 - ... in order ok 39 - ... through the series ok 40 - ... but false when finishing the series ok 41 - Test::MockObject->can('called') ok 42 - called() should report true if named sub was called ok 43 - ... and false if it was not ok 44 - Test::MockObject->can('clear') ok 45 - clear() should clear recorded call stack ok 46 - ... and should return itself ok 47 - Test::MockObject->can('call_pos') ok 48 - call_pos() should report name of sub called by position ok 49 - ... and should handle negative numbers ok 50 - Test::MockObject->can('call_args') ok 51 - call_args() should return args for sub called by position ok 52 - ... with the object as the first argument ok 53 - Test::MockObject->can('call_args_string') ok 54 - call_args_string() should return args joined ok 55 - ... with no default separator ok 56 - Test::MockObject->can('call_args_pos') ok 57 - call_args_argpos() should return argument for sub by position ok 58 - ... handing negative positions equally well ok 59 - Test::MockObject->can('called_ok') ok 60 - object called 'foo' ok 61 - Test::MockObject->can('called_pos_ok') ok 62 - object called 'foo' at position 1 ok 63 - Test::MockObject->can('called_args_string_is') ok 64 - object sent expected args to sub at position 1 ok 65 - Test::MockObject->can('called_args_pos_is') ok 66 - object sent expected arg '3' to sub at position 1 ok 67 - Test::MockObject->can('fake_module') ok 68 - fake_module() should prevent a module from being loaded ok 69 - fake_module() should install functions in new package namespace ok 70 - ... and should carp if it does not receive a function reference ok 71 - Test::MockObject->can('fake_new') ok 72 - fake_new() should create a fake constructor to return mock object ok 73 - Test::MockObject->can('check_class_loaded') ok 74 - check_class_loaded() should return true for loaded class ok 75 - ... and false for unloaded class ok 76 - ... true for loaded class with no colons ok 77 - ... false for unloaded class with no colons ok 78 - ... true for defined class even with no symbols ok 79 - ... true for defined class with colons but with no symbols ok 80 - ... true for class in %INC ok 81 - ... and true for class with colons in %INC ok 82 - Test::MockObject->can('set_bound') ok 83 - set_bound() should bind to a scalar reference ok 84 - ... and should return itself ok 85 - ... and its return value should change with the ref ok 86 - ... handling array refs ok 87 - ... and hash refs ok 88 - Module should carp when calling a non-existant method ok 89 - ... warning as such ok 90 - Test::MockObject->can('next_call') ok 91 - next_call() should return first method ok 92 - '... and args in a data structure which' isa 'ARRAY' ok 93 - ... containing the real arguments ok 94 - ... and removing that call from the stack ok 95 - ... and should skip multiple calls, with an argument provided ok 96 - ... returning undef with no call in that position ok 97 - ... returning only the method name in scalar context ok 98 - Test::MockObject->can('_calls') ok 99 - '_calls() should return something that' isa 'ARRAY' ok 100 - ... always for the same key ok 101 - Test::MockObject->can('_subs') ok 102 - '_subs() should return something that' isa 'HASH' ok 103 - ... always for the same key ok t/bugs.t ...................... 1..18 ok 1 - called() should not die from no array ref object ok 2 - _call() should not autovivify extra calls on the stack ok 3 - fake_module() should catch redefined sub warnings ok 4 - called_pos_ok() should return false if name does not match ok 5 - ... printing a helpful diagnostic ok 6 - called_pos_ok() should throw no uninitialized warnings on failure ok 7 - ... faking it with the word in the error ok 8 - $1 should be preserved through AUTOLOAD invocation ok 9 - fake_module() should create a symbol table entry for the module ok 10 - set_series() should return false at the end of a series ok 11 - default overloadings should work ok 12 - ... and not be static ok 13 - ... but should not interfere with method finding ok 14 - MO cached by another MO log should not be garbage collected ok 15 - ... but should go away when caching MO does ok 16 - ... and the caching MO better go away too! ok 17 - fake_module() should throw exception for loaded module without mocks ok 18 - check_class_loaded() should work for nested class names ok t/debugger.t .................. 1..4 ok 1 - use Test::MockObject; ok 2 - generated isa() should have correct name under debugger ok 3 - generated can() should have correct name under debugger ok 4 - T::MO should not permanently reset $^P ok Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl/5.36/Test2/API/Context.pm line 223. t/debuggingwarnings.t ......... ok 1 - use Test::MockObject; ok 2 - T::MO should enable U::i when loaded with -debug flag ok 3 - T::MO should enable U::c when loaded with -debug flag 1..3 ok Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl5/UNIVERSAL/can.pm line 46. Called UNIVERSAL::isa() as a function, not a method at /usr/share/perl/5.36/Test2/API/Context.pm line 223. t/debuggingwarningsextends.t .. ok 1 - use Test::MockObject::Extends; ok 2 - T::MO::E should enable U::i when loaded with -debug flag ok 3 - T::MO::E should enable U::c when loaded with -debug flag 1..3 ok t/extends-bugs.t .............. 1..35 ok 1 - use Test::MockObject::Extends; ok 2 - Mocking a package defined inline should not load anything ok 3 - The object isa HASH ok 4 - ...also if UNIVERSAL::isa() is called as a function ok 5 - The extended object isa HASH ok 6 - ...also if UNIVERSAL::isa() is called as a function ok 7 - An object of class 'Foo' isa 'Foo' ok 8 - An object of class 'T::MO::E::c' isa 'Foo' ok 9 - foo() returns as expected ok 10 - $called_foo is incremented ok 11 - $called_autoload is unchanged ok 12 - $method_name is unchanged ok 13 - bad() returns as expected ok 14 - $called_autoload is incremented ok 15 - $method_name is the correct value ok 16 - An object of class 'Bar' isa 'Foo' ok 17 - An object of class 'Bar' isa 'Bar' ok 18 - An object of class 'T::MO::E::d' isa 'Foo' ok 19 - An object of class 'T::MO::E::d' isa 'Bar' ok 20 - foo() returns as expected ok 21 - $called_foo is incremented ok 22 - $called_autoload is unchanged ok 23 - $called_this is unchanged ok 24 - this() returns as expected ok 25 - $called_foo is unchanged ok 26 - $called_autoload is unchanged ok 27 - $called_this is incremented ok 28 - that() returns as expected ok 29 - $called_autoload is incremented ok 30 - $method_name is set correctly ok 31 - The $AUTOLOAD for the object's actual class should be unset ok 32 - The $AUTOLOAD that catches the call should contain the desired name ok 33 - class method mocked ok 34 - not called ok 35 - not called ok t/extends-fields.t ............ ok 1 - An object of class 'MyModule' isa 'MyModule' ok 2 - fields-based object should be mockstensible ok 3 - An object of class 'T::MO::E::a' isa 'MyModule' 1..3 ok t/extends.t ................... 1..41 ok 1 - use Test::MockObject::Extends; ok 2 - An object of class 'Test::MockObject' isa 'Test::MockObject' ok 3 - passing a class name to new() should set inheritance properly ok 4 - new() should load parent module unless already loaded ok 5 - mock() should override method in parent ok 6 - ... calling original methods in parent ok 7 - ... returning invocant ok 8 - unmock() should remove method overriding ok 9 - ... returning invocant ok 10 - ... and should pass along invocant ok 11 - ... returning invocant ok 12 - ... logging methods appropriately ok 13 - ... should wrap existing object appropriately ok 14 - An object of class 'T::MO::E::d' isa 'Some::Class' ok 15 - An object of class 'T::MO::E::d' isa 'Another::Class' ok 16 - ... returning the right result even when the class is not a parent ok 17 - unlogged methods should work ok 18 - ... and logging should not happen for them ok 19 - ... not throwing redefinition warnings ok 20 - ... allowing overriding with logged versions ok 21 - ... with logging happening then, obviously ok 22 - Mocking worked ok 23 - Method didn't trigger bad method ok 24 - An object of class 'Foo' isa 'Foo' ok 25 - Creating a wrapped module should not die ok 26 - An object of class 'T::MO::E::f' isa 'Foo' ok 27 - foo() should return as expected ok 28 - ... calling the method ok 29 - ... not touching AUTOLOAD() ok 30 - ... or $Foo::AUTOLOAD ok 31 - bad() should returns as expected ok 32 - ... calling AUTOLOAD() ok 33 - ... with the appropriate $Foo::AUTOLOAD ok 34 - __get_parents() should return a list of parents of the wrapped object ok 35 - An object of class 'FooNoAutoload' isa 'FooNoAutoload' ok 36 - Creating a wrapped module should not die ok 37 - An object of class 'T::MO::E::g' isa 'FooNoAutoload' ok 38 - fooNA() should return as expected ok 39 - ... calling the method ok 40 - ... not touching AUTOLOAD() ok 41 - ... should die if calling a non-mocked and non-AUTOLOADED method ok t/ignore.t .................... 1..6 ok 1 - use Test::MockObject; ok 2 - mocking a method with a leading dash should work ok 3 - ... not preventing subsequent mocks ok 4 - ... but should prevent logging of endashed sub calls ok 5 - unlogged call should be remockable ok 6 - ... and reloggable ok t/isa.t ....................... 1..7 ok 1 - use Test::MockObject; ok 2 - Test::MockObject->can('set_isa') ok 3 - An object of class 'Test::MockObject' isa 'CGI' ok 4 - An object of class 'Test::MockObject' isa 'Apache' ok 5 - An object of class 'Test::MockObject' isa 'Something' ok 6 - An object of class 'Test::MockObject' isa 'Apache::Request' ok 7 - ... this is not a "Fail" object ok t/multimock.t ................. 1..3 ok 1 - use Test::MockObject; ok 2 - mock one in multi-mock ok 3 - mock two in multi-mock ok t/nodefaultwarnings.t ......... ok 1 - use Test::MockObject; ok 2 - T::MO should not enable U::i by default ok 3 - T::MO should not enable U::c by default ok 4 - use Test::MockObject::Extends; ok 5 - T::MO::E should not enable U::i by default ok 6 - T::MO::E should not enable U::c by default 1..6 ok All tests successful. Files=12, Tests=232, 4 wallclock secs ( 0.16 usr 0.02 sys + 3.08 cusr 0.38 csys = 3.64 CPU) Result: PASS make[1]: Leaving directory '/build/libtest-mockobject-perl-1.20200122' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_auto_install --destdir=debian/libtest-mockobject-perl/ make -j8 install DESTDIR=/build/libtest-mockobject-perl-1.20200122/debian/libtest-mockobject-perl AM_UPDATE_INFO_DIR=no PREFIX=/usr make[1]: Entering directory '/build/libtest-mockobject-perl-1.20200122' Manifying 2 pod documents Installing /build/libtest-mockobject-perl-1.20200122/debian/libtest-mockobject-perl/usr/share/perl5/Test/MockObject.pm Installing /build/libtest-mockobject-perl-1.20200122/debian/libtest-mockobject-perl/usr/share/perl5/Test/MockObject/Extends.pm Installing /build/libtest-mockobject-perl-1.20200122/debian/libtest-mockobject-perl/usr/share/man/man3/Test::MockObject::Extends.3pm Installing /build/libtest-mockobject-perl-1.20200122/debian/libtest-mockobject-perl/usr/share/man/man3/Test::MockObject.3pm make[1]: Leaving directory '/build/libtest-mockobject-perl-1.20200122' 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 'libtest-mockobject-perl' in '../libtest-mockobject-perl_1.20200122-4_all.deb'. dpkg-genbuildinfo --build=binary -O../libtest-mockobject-perl_1.20200122-4_arm64.buildinfo dpkg-genchanges --build=binary -O../libtest-mockobject-perl_1.20200122-4_arm64.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: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/21750/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/21750/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/21750 and its subdirectories I: Current time: Sat Apr 8 23:29:46 +14 2023 I: pbuilder-time-stamp: 1680946186