I: pbuilder: network access will be disabled during build I: Current time: Sun May 26 04:01:46 +14 2024 I: pbuilder-time-stamp: 1716645706 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 [libmock-sub-perl_1.09-2.dsc] I: copying [./libmock-sub-perl_1.09.orig.tar.gz] I: copying [./libmock-sub-perl_1.09-2.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Mar 7 11:33:12 2022 +14 gpgv: using RSA key D1E1316E93A760A8104D85FABB3A68018649AA06 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmock-sub-perl_1.09-2.dsc: no acceptable signature found dpkg-source: info: extracting libmock-sub-perl in libmock-sub-perl-1.09 dpkg-source: info: unpacking libmock-sub-perl_1.09.orig.tar.gz dpkg-source: info: unpacking libmock-sub-perl_1.09-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/15824/tmp/hooks/D01_modify_environment starting debug: Running on codethink13-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 '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 26 04:01 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/15824/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/15824/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.15(1)-release' 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' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=15824 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lS8iU0gy/pbuilderrc_ZHIf --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.lS8iU0gy/b2 --logfile b2/build.log --extrapackages usrmerge libmock-sub-perl_1.09-2.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 23 06:50 /bin -> usr/bin I: user script /srv/workspace/pbuilder/15824/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), libscalar-list-utils-perl, libtest-simple-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. 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} libtool{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, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 18.3 MB of archives. After unpacking 74.4 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] Fetched 18.3 MB in 0s (51.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) ... 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 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-override-perl (0.09-4) ... 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 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 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-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 Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/15824/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/15824/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/libmock-sub-perl-1.09/ && 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 > ../libmock-sub-perl_1.09-2_source.changes dpkg-buildpackage: info: source package libmock-sub-perl dpkg-buildpackage: info: source version 1.09-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by gregor herrmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure /usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -ffile-prefix-map=/build/libmock-sub-perl-1.09=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=aarch64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libmock-sub-perl-1.09=. -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 Mock::Sub Writing MYMETA.yml and MYMETA.json dh_auto_build make -j8 make[1]: Entering directory '/build/libmock-sub-perl-1.09' cp lib/Mock/Sub.pm blib/lib/Mock/Sub.pm cp lib/Mock/Sub/Child.pm blib/lib/Mock/Sub/Child.pm Manifying 2 pod documents make[1]: Leaving directory '/build/libmock-sub-perl-1.09' dh_auto_test make -j8 test TEST_VERBOSE=1 make[1]: Entering directory '/build/libmock-sub-perl-1.09' 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 # Testing Mock::Sub 1.09, Perl 5.036000, /usr/bin/perl t/00-load.t .................... 1..20 ok 1 - use Mock::Sub; ok 2 - use Mock::Sub::Child; ok 3 - Mock::Sub->can('new') ok 4 - Mock::Sub->can('mock') ok 5 - Mock::Sub->can('mocked_subs') ok 6 - Mock::Sub->can('mocked_objects') ok 7 - Mock::Sub->can('mocked_state') ok 8 - Mock::Sub->can('DESTROY') ok 9 - Mock::Sub::Child->can('new') ok 10 - Mock::Sub::Child->can('_mock') ok 11 - Mock::Sub::Child->can('unmock') ok 12 - Mock::Sub::Child->can('name') ok 13 - Mock::Sub::Child->can('called') ok 14 - Mock::Sub::Child->can('called_count') ok 15 - Mock::Sub::Child->can('called_with') ok 16 - Mock::Sub::Child->can('reset') ok 17 - Mock::Sub::Child->can('return_value') ok 18 - Mock::Sub::Child->can('side_effect') ok 19 - Mock::Sub::Child->can('_check_side_effect') ok 20 - Mock::Sub::Child->can('DESTROY') ok t/01-called.t .................. ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - called() before a call is correct ok 4 - called() is 1 after one call ok 5 - called() is still 1 after two calls ok 6 - after unmock, called() is 0 ok 7 - after re-mock, called is 1 again 1..7 ok t/02-called_count.t ............ 1..8 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - does the right thing after one call ok 4 - does the right thing after five calls ok 5 - does the right thing after reset ok 6 - does the right thing after reset, and one run ok 7 - does the right thing after unmock ok 8 - does the right thing after re-mock ok t/03-instantiate.t ............. ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - Mock::Sub=HASH(0xaaaae3e80938)->mock() returns a child object ok 4 - instantiating with mock() can call methods ok 5 - instantiating with new() works ok 6 - instantiating within an object works ok 7 - instantiating with new() works ok 8 - 1st mock from object does the right thing ok 9 - 2nd mock from object does the right thing ok 10 - 3rd mock from object does the right thing ok 11 - 2nd 1st mock from object does the right thing ok 12 - 2nd 2nd mock from object does the right thing ok 13 - 2nd 3rd mock from object does the right thing ok 14 - mocking a non-existent sub results in a warning ok 15 - main:: gets prepended properly ok 16 - sub param automatically gets main:: if necessary ok 17 - sub in main:: is called properly ok 18 - successfully mocked a non-existent sub ok 19 - can't call mock() from the Mock::Sub class ok 20 - instantiating with new() works ok 21 - instantiating with side_effect works ok 22 - bad side_effect in new for mock works ok 23 - croaks if side_effect in new is bad ok 24 - instantiating with side_effect in Child works ok 25 - croaks if side_effect in new is bad ok 26 - can't call mock() from the Mock::Sub class 1..26 ok t/04-return_value.t ............ 1..27 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - mock obj with return_value has right call count ok 4 - mock obj with return_value has right ret val ok 5 - no return_value set yet ok 6 - return_value() does the right thing when adding ok 7 - return_value() updates the value properly ok 8 - return_value() undef's the value properly ok 9 - return_value returns list when asked ok 10 - return_value list has correct data ok 11 - return_value list has correct data ok 12 - return_value returns list in context with only a scalar ok 13 - return_value list has correct data ok 14 - in scalar context with a single param, we get data ok 15 - in scalar context with list sent in, count is returned ok 16 - 1st object uses return_value from new() ok 17 - 1st object uses return_value from new() ok 18 - 1st object return_value is undef after reset ok 19 - 2nd obj return_value remains from new() after 1st was reset ok 20 - 1st object return_value obeys return_value() ok 21 - 2nd obj return_value remains after 1st changed again ok 22 - 2nd object can reset return_value independently ok 23 - ...and 1st object is unaffected ok 24 - new obj with new mock sets return_value in new ok 25 - ...and objects created with 1st mock are ok ok 26 - obj with 2nd mock return_value() works ok 27 - ...and objects created by first mock are unaffected ok t/05-side_effect.t ............. 1..22 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - side_effect with a cref works ok 4 - mock() dies if side_effect isn't a cref ok 5 - side_effect properly returns a value if die() isn't called ok 6 - side_effect with value returns with return_value ok 7 - side_effect with no value, return_value returns ok 8 - no side effect set yet ok 9 - side_effect() can add an effect after instantiation ok 10 - side_effect() can add an effect after instantiation ok 11 - side_effect now has access to called_with() args ok 12 - side_effect 1st arg is 1 ok 13 - side_effect 2nd arg is 2 ok 14 - side_effect 3rd arg is a hash ok 15 - side_effect args work properly ok 16 - in list context, side_effect returns array ok 17 - in list context, side_effect args has right count ok 18 - in list context, a hash is properly created if wanted ok 19 - in list context, a hash is properly created if wanted ok 20 - setting side_effect in new applies to obj 1 ok 21 - setting side_effect in new applies to obj 2 ok 22 - setting side_effect in new applies to obj 3 ok t/06-reset.t ................... 1..12 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - before reset, return_value is ok ok 4 - after reset, return_value is reset ok 5 - before reset, side_effect does the right thing ok 6 - after reset, side_effect does nothing ok 7 - before reset, obj has sub name ok 8 - after reset, obj has sub name ok 9 - before reset, called == 1 ok 10 - before reset, called_count == 2 ok 11 - after reset, called == 0 ok 12 - after reset, called_count == 0 ok t/07-name.t .................... 1..8 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - name() does the right thing ok 4 - calling a main:: sub without main:: works ok 5 - calling a main:: sub with main:: works ok 6 - name() adds main:: properly ok 7 - calling a main:: mock without main:: works ok 8 - calling a main:: mock with main:: works ok t/08-called_with.t ............. 1..22 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - called_with() returns the proper number of args ok 4 - passing (1, 2), first arg is correct ok 5 - passing (1, 2), second arg is correct ok 6 - hash arg returns the proper number of keys ok 7 - passing arg1=>1, arg2=>2, first arg is correct ok 8 - passing arg1=>1, arg2=>2, second arg is correct ok 9 - scalar, href, aref, scalar is correct ok 10 - scalar, href, aref, href is a hash ok 11 - scalar, href, aref, aref is an array ok 12 - scalar, href, aref, href has correct data ok 13 - scalar, href, aref, aref has proper elem count ok 14 - scalar, href, aref, href has correct data ok 15 - scalar, href, aref, href has correct data ok 16 - scalar, href, aref, href has correct data ok 17 - compiling args into array has proper count ok 18 - first arg is correct ok 19 - second arg is correct ok 20 - third arg is correct ok 21 - called_with() dies if its called before the mocked sub has been ok 22 - called_with() returns an empty list if no params were used ok t/09-void_context.t ............ 1..11 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - class calling mock() dies ok 4 - obj calling mock() in void context dies ok 5 - Mock::Sub::Child no longer has a mock() method ok 6 - configured for the void test ok 7 - child object is unmocked ok 8 - confirm child obj is unmocked ok 9 - remock() remocks ok 10 - child obj calling remock in void w/ params is mocked ok 11 - child obj calling remock in void with return_value works ok t/10-unmock.t .................. 1..19 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - One::foo is mocked ok 4 - One::foo is now unmocked with unmock() ok 5 - call count is proper in obj void context ok 6 - One::foo is mocked after being unmocked ok 7 - mock() with a child object in void is remocked ok 8 - One::foo is now unmocked again ok 9 - successfully mocked a non-existent sub ok 10 - fake mock doesn't keep sub history ok 11 - unmock() unloads the symtab entry for the faked sub ok 12 - pre_mock value is foo ok 13 - post_mock value is mocked ok 14 - post_destroy value is foo ok 15 - pre_mock value is foo ok 16 - mock value is mocked ok 17 - auto destroy/unmock works properly ok 18 - pre_mock value is foo ok 19 - DESTROY() is called if the mocked sub isn't called ok t/11-state.t ................... 1..12 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - obj 1 has proper mock state ok 4 - mock has proper mock state on obj 1 ok 5 - obj 2 has proper mock state ok 6 - mock has proper mock state on obj 2 ok 7 - obj 1 has proper unmock state ok 8 - mock has proper ummock state on obj 1 ok 9 - can't call mocked_state() on parent if a child hasn't been initialized and mocked ok 10 - obj has proper mock state with 2 mocks ok 11 - ...and original mock obj still has state ok 12 - can't call mocked_state on a top-level obj ok t/12-mocked_subs.t ............. 1..7 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - return is correct ok 4 - after unmock, return is correct ok 5 - the unmocked sub isn't in the list of names ok 6 - after re-mock, return is correct ok 7 - the unmocked sub isn't in the list of names ok t/13-mocked_objects.t .......... 1..11 ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - returns correct number of objects ok 4 - unmocked sub ok 5 - after an unmock, return is still correct ok 6 - objects can call state ok 7 - name is correct on all objects ok 8 - objects can call state ok 9 - name is correct on all objects ok 10 - objects can call state ok 11 - name is correct on all objects ok t/14-core_subs.t ............... ok 1 - use Mock::Sub; ok 2 - mocking a core global sub warns ok 3 - caller() has a mock object ok 4 - caller() sub name is correct ok 5 - calling caller() updates the object ok 6 - caller() can have a return value ok 7 - ...and a side effect ok 8 - call count is correct 1..8 ok t/15-remock.t .................. ok 1 - use Two; ok 2 - use Mock::Sub; ok 3 - mock() renamed to _mock() no longer callable ok 4 - sub is mocked ok 5 - sub is unmocked ok 6 - sub is re-mocked with remock() ok 7 - remock() can be called on an already mocked sub ok 8 - remocking a mocked sub with a param works 1..8 ok t/16-non_exist_warn.t .......... ok 1 - use Mock::Sub; ok 2 - w/o no_warnings, we warn on non-exist sub 1..2 ok t/17-no_warnings.t ............. ok 1 - no warning on non-existent sub if no_warnings is passed in 1..1 ok t/18-bug_25-retval_override.t .. ok 1 - first sub retval set ok ok 2 - retval set in sub 1 doesn't override sub 2 ok 3 - retval set in sub 1 doesn't override sub 3 1..3 ok t/19-return_params.t ........... ok 1 - use One; ok 2 - param is returned in scalar context ok 3 - first param is returned in scalar context if list sent in ok 4 - number returned params are correct ok 5 - array of params returned in list context ok 6 - returned param 0 is correct ok 7 - returned param 1 is correct ok 8 - returned param 2 is correct ok 9 - if return value is set, we return it, not params 1..9 ok t/manifest.t ................... skipped: Author tests not required for installation t/pod-coverage.t ............... skipped: Author tests not required for installation t/pod.t ........................ skipped: Author tests not required for installation All tests successful. Files=23, Tests=243, 5 wallclock secs ( 0.17 usr 0.06 sys + 3.99 cusr 0.47 csys = 4.69 CPU) Result: PASS make[1]: Leaving directory '/build/libmock-sub-perl-1.09' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/libmock-sub-perl/ make -j8 install DESTDIR=/build/libmock-sub-perl-1.09/debian/libmock-sub-perl AM_UPDATE_INFO_DIR=no PREFIX=/usr make[1]: Entering directory '/build/libmock-sub-perl-1.09' Manifying 2 pod documents Installing /build/libmock-sub-perl-1.09/debian/libmock-sub-perl/usr/share/perl5/Mock/Sub.pm Installing /build/libmock-sub-perl-1.09/debian/libmock-sub-perl/usr/share/perl5/Mock/Sub/Child.pm Installing /build/libmock-sub-perl-1.09/debian/libmock-sub-perl/usr/share/man/man3/Mock::Sub::Child.3pm Installing /build/libmock-sub-perl-1.09/debian/libmock-sub-perl/usr/share/man/man3/Mock::Sub.3pm make[1]: Leaving directory '/build/libmock-sub-perl-1.09' 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 'libmock-sub-perl' in '../libmock-sub-perl_1.09-2_all.deb'. dpkg-genbuildinfo --build=binary -O../libmock-sub-perl_1.09-2_arm64.buildinfo dpkg-genchanges --build=binary -O../libmock-sub-perl_1.09-2_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/15824/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/15824/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/15824 and its subdirectories I: Current time: Sun May 26 04:02:24 +14 2024 I: pbuilder-time-stamp: 1716645744