Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 14:00:01.824584909 +0000 +++ b2/build.log 2024-04-21 14:00:48.946574498 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 21 01:59:17 -12 2024 -I: pbuilder-time-stamp: 1713707957 +I: Current time: Mon Apr 22 04:00:05 +14 2024 +I: pbuilder-time-stamp: 1713708005 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking python-ftputil_5.1.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3228654/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 Apr 21 14:00 /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/624217/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e88dbb64b9d9485b8851ee5239d6dee9' - 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='3228654' - PS1='# ' - PS2='> ' + INVOCATION_ID=1a7c834e5c9b4b0ab63a01cbc289af34 + 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=624217 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.pytDI776/pbuilderrc_yPcZ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pytDI776/b1 --logfile b1/build.log python-ftputil_5.1.0-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.pytDI776/pbuilderrc_Y9mU --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pytDI776/b2 --logfile b2/build.log python-ftputil_5.1.0-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3228654/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:16 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -177,7 +209,7 @@ Get: 58 http://deb.debian.org/debian trixie/main arm64 python3-packaging all 24.0-1 [45.5 kB] Get: 59 http://deb.debian.org/debian trixie/main arm64 python3-pluggy all 1.4.0-1 [26.2 kB] Get: 60 http://deb.debian.org/debian trixie/main arm64 python3-pytest all 7.4.4-3 [239 kB] -Fetched 31.1 MB in 0s (167 MB/s) +Fetched 31.1 MB in 0s (164 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19930 files and directories currently installed.) @@ -381,8 +413,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Apr 21 13:59:35 UTC 2024. -Universal Time is now: Sun Apr 21 13:59:35 UTC 2024. +Local time is now: Sun Apr 21 14:00:22 UTC 2024. +Universal Time is now: Sun Apr 21 14:00:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -441,7 +473,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-ftputil-5.1.0/ && 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 > ../python-ftputil_5.1.0-1_source.changes +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-ftputil-5.1.0/ && 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 > ../python-ftputil_5.1.0-1_source.changes dpkg-buildpackage: info: source package python-ftputil dpkg-buildpackage: info: source version 5.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -479,7 +515,7 @@ test/test_error.py ..... [ 3%] test/test_file.py .................... [ 18%] test/test_file_transfer.py ..... [ 22%] -test/test_host.py ........................... [ 42%] +test/test_host.py .......................F... [ 42%] test/test_path.py ................ [ 54%] test/test_session.py ........... [ 62%] test/test_stat.py ....................... [ 79%] @@ -488,7 +524,119 @@ test/test_tool.py ......... [ 95%] test/test_with_statement.py ...... [100%] -====================== 135 passed, 14 deselected in 2.79s ====================== +=================================== FAILURES =================================== +______ TestUploadAndDownload.test_conditional_download_with_newer_target _______ + +self = +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-0/test_conditional_download_with2') + + def test_conditional_download_with_newer_target(self, tmp_path): + """ + Test conditional binary mode download with older source file. + """ + local_target = tmp_path / "test_target" + # Make sure file exists for timestamp comparison. + local_target.touch() + data = binary_data() + # Use date in the past, so the target file is newer and no download + # happens. + dir_result = test_base.dir_line( + mode_string="-rw-r--r--", + date_=datetime.date.today() - datetime.timedelta(days=1), + name="newer", + ) + host_script = [ + Call("__init__"), + Call("pwd", result="/"), + Call("cwd", args=("/",)), + Call("cwd", args=("/",)), + Call("dir", args=("",), result=dir_result), + Call("cwd", args=("/",)), + Call("close"), + ] + file_script = [ + Call("__init__"), + Call("pwd", result="/"), + Call("cwd", args=("/",)), + Call("voidcmd", args=("TYPE I",)), + Call("transfercmd", args=("RETR newer", None), result=io.BytesIO(data)), + Call("voidresp"), + Call("close"), + ] + multisession_factory = scripted_session.factory(host_script, file_script) + with test_base.ftp_host_factory(multisession_factory) as host: + flag = host.download_if_newer("/newer", str(local_target)) +> assert flag is False +E assert True is False + +test/test_host.py:774: AssertionError +----------------------------- Captured stdout call ----------------------------- +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='__init__', result=None, args=None, kwargs=None) +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='pwd', result='/', args=None, kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: pwd | None | None + Call from system under test: pwd | () | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='dir', result='-rw-r--r-- 1 dummy_user dummy_group 512 Apr 21 2024 newer', args=('',), kwargs=None) + Call from session script: dir | ('',) | None + Call from system under test: dir | ('',) | None +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='__init__', result=None, args=None, kwargs=None) +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='pwd', result='/', args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: pwd | None | None + Call from system under test: pwd | () | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='voidcmd', result=None, args=('TYPE I',), kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: voidcmd | ('TYPE I',) | None + Call from system under test: voidcmd | ('TYPE I',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='transfercmd', result=<_io.BytesIO object at 0xffff868e2ac0>, args=('RETR newer', None), kwargs=None) + Call from session script: transfercmd | ('RETR newer', None) | None + Call from system under test: transfercmd | ('RETR newer', None) | None +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='voidresp', result=None, args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: voidresp | None | None + Call from system under test: voidresp | () | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='close', result=None, args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: close | None | None + Call from system under test: close | () | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='close', result=None, args=None, kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: close | None | None + Call from system under test: close | () | {} +=========================== short test summary info ============================ +FAILED test/test_host.py::TestUploadAndDownload::test_conditional_download_with_newer_target +================= 1 failed, 134 passed, 14 deselected in 2.81s ================= +E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/python-ftputil-5.1.0/.pybuild/cpython3_3.12_ftputil/build; python3.12 -m pytest --ignore=test/test_real_ftp.py --ignore=test/test_public_servers.py -k 'not TestAcceptEitherUnicodeOrBytes' I: pybuild base:311: cd /build/reproducible-path/python-ftputil-5.1.0/.pybuild/cpython3_3.11_ftputil/build; python3.11 -m pytest --ignore=test/test_real_ftp.py --ignore=test/test_public_servers.py -k 'not TestAcceptEitherUnicodeOrBytes' ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 @@ -498,7 +646,7 @@ test/test_error.py ..... [ 3%] test/test_file.py .................... [ 18%] test/test_file_transfer.py ..... [ 22%] -test/test_host.py ........................... [ 42%] +test/test_host.py .......................F... [ 42%] test/test_path.py ................ [ 54%] test/test_session.py ........... [ 62%] test/test_stat.py ....................... [ 79%] @@ -507,69 +655,134 @@ test/test_tool.py ......... [ 95%] test/test_with_statement.py ...... [100%] -====================== 135 passed, 14 deselected in 2.81s ====================== - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install --destdir=debian/python3-ftputil/ -O--buildsystem=pybuild -I: pybuild base:311: /usr/bin/python3.12 setup.py install --root /build/reproducible-path/python-ftputil-5.1.0/debian/python3-ftputil -/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. -!! - - ******************************************************************************** - Please avoid running ``setup.py`` directly. - Instead, use pypa/build, pypa/installer or other - standards-based tools. - - See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. - ******************************************************************************** - -!! - self.initialize_options() -I: pybuild base:311: /usr/bin/python3 setup.py install --root /build/reproducible-path/python-ftputil-5.1.0/debian/python3-ftputil -/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. -!! - - ******************************************************************************** - Please avoid running ``setup.py`` directly. - Instead, use pypa/build, pypa/installer or other - standards-based tools. - - See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. - ******************************************************************************** - -!! - self.initialize_options() - dh_installdocs -O--buildsystem=pybuild - dh_installchangelogs -O--buildsystem=pybuild - dh_python3 -O--buildsystem=pybuild - dh_installsystemduser -O--buildsystem=pybuild - dh_perl -O--buildsystem=pybuild - dh_link -O--buildsystem=pybuild - dh_strip_nondeterminism -O--buildsystem=pybuild - dh_compress -O--buildsystem=pybuild - dh_fixperms -O--buildsystem=pybuild - dh_missing -O--buildsystem=pybuild - dh_installdeb -O--buildsystem=pybuild - dh_gencontrol -O--buildsystem=pybuild -dpkg-gencontrol: warning: Recommends field of package python3-ftputil: substitution variable ${python3:Recommends} used, but is not defined -dpkg-gencontrol: warning: Suggests field of package python3-ftputil: substitution variable ${python3:Suggests} used, but is not defined - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-ftputil' in '../python3-ftputil_5.1.0-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-ftputil_5.1.0-1_arm64.buildinfo - dpkg-genchanges --build=binary -O../python-ftputil_5.1.0-1_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: including full source code in upload +=================================== FAILURES =================================== +______ TestUploadAndDownload.test_conditional_download_with_newer_target _______ + +self = +tmp_path = PosixPath('/tmp/pytest-of-pbuilder2/pytest-1/test_conditional_download_with2') + + def test_conditional_download_with_newer_target(self, tmp_path): + """ + Test conditional binary mode download with older source file. + """ + local_target = tmp_path / "test_target" + # Make sure file exists for timestamp comparison. + local_target.touch() + data = binary_data() + # Use date in the past, so the target file is newer and no download + # happens. + dir_result = test_base.dir_line( + mode_string="-rw-r--r--", + date_=datetime.date.today() - datetime.timedelta(days=1), + name="newer", + ) + host_script = [ + Call("__init__"), + Call("pwd", result="/"), + Call("cwd", args=("/",)), + Call("cwd", args=("/",)), + Call("dir", args=("",), result=dir_result), + Call("cwd", args=("/",)), + Call("close"), + ] + file_script = [ + Call("__init__"), + Call("pwd", result="/"), + Call("cwd", args=("/",)), + Call("voidcmd", args=("TYPE I",)), + Call("transfercmd", args=("RETR newer", None), result=io.BytesIO(data)), + Call("voidresp"), + Call("close"), + ] + multisession_factory = scripted_session.factory(host_script, file_script) + with test_base.ftp_host_factory(multisession_factory) as host: + flag = host.download_if_newer("/newer", str(local_target)) +> assert flag is False +E assert True is False + +test/test_host.py:774: AssertionError +----------------------------- Captured stdout call ----------------------------- +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='__init__', result=None, args=None, kwargs=None) +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='pwd', result='/', args=None, kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: pwd | None | None + Call from system under test: pwd | () | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='dir', result='-rw-r--r-- 1 dummy_user dummy_group 512 Apr 21 2024 newer', args=('',), kwargs=None) + Call from session script: dir | ('',) | None + Call from system under test: dir | ('',) | None +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='__init__', result=None, args=None, kwargs=None) +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='pwd', result='/', args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: pwd | None | None + Call from system under test: pwd | () | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='cwd', result=None, args=('/',), kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: cwd | ('/',) | None + Call from system under test: cwd | ('/',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='voidcmd', result=None, args=('TYPE I',), kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: voidcmd | ('TYPE I',) | None + Call from system under test: voidcmd | ('TYPE I',) | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='transfercmd', result=<_io.BytesIO object at 0xffff881ba610>, args=('RETR newer', None), kwargs=None) + Call from session script: transfercmd | ('RETR newer', None) | None + Call from system under test: transfercmd | ('RETR newer', None) | None +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='voidresp', result=None, args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: voidresp | None | None + Call from system under test: voidresp | () | {} +ScriptedSession 2 in `_next_script_call` +ScriptedSession 2 next call: Call(method_name='close', result=None, args=None, kwargs=None) +ScriptedSession 2 in `__getattr__` + Call from session script: close | None | None + Call from system under test: close | () | {} +ScriptedSession 1 in `_next_script_call` +ScriptedSession 1 next call: Call(method_name='close', result=None, args=None, kwargs=None) +ScriptedSession 1 in `__getattr__` + Call from session script: close | None | None + Call from system under test: close | () | {} +=========================== short test summary info ============================ +FAILED test/test_host.py::TestUploadAndDownload::test_conditional_download_with_newer_target +================= 1 failed, 134 passed, 14 deselected in 2.79s ================= +E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/python-ftputil-5.1.0/.pybuild/cpython3_3.11_ftputil/build; python3.11 -m pytest --ignore=test/test_real_ftp.py --ignore=test/test_public_servers.py -k 'not TestAcceptEitherUnicodeOrBytes' +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 +make: *** [debian/rules:9: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sun Apr 21 14:00:47 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 30G 0 30G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/624217/tmp/hooks/C01_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/3228654 and its subdirectories -I: Current time: Sun Apr 21 02:00:00 -12 2024 -I: pbuilder-time-stamp: 1713708000 +I: removing directory /srv/workspace/pbuilder/624217 and its subdirectories