Diff of the two buildlogs: -- --- b1/build.log 2024-03-28 01:11:50.930722105 +0000 +++ b2/build.log 2024-03-28 01:14:19.868371998 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 29 19:34:12 -12 2025 -I: pbuilder-time-stamp: 1745998452 +I: Current time: Thu Mar 28 15:11:54 +14 2024 +I: pbuilder-time-stamp: 1711588314 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: unpacking multiplex_0.6.0-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5579/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/37469/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 Mar 28 01:12 /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/37469/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/37469/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='41ec09b609304dc2872c6019a155323d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='5579' - PS1='# ' - PS2='> ' + INVOCATION_ID=8f7cfd2f3bb2456bba6fa196f89fa4b1 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=37469 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.VePG72og/pbuilderrc_tAMG --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VePG72og/b1 --logfile b1/build.log multiplex_0.6.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.VePG72og/pbuilderrc_WizR --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VePG72og/b2 --logfile b2/build.log multiplex_0.6.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 29 14:09 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5579/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 26 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/37469/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -208,7 +240,7 @@ Get: 73 http://deb.debian.org/debian unstable/main i386 python3-pyte all 0.8.0-2 [28.7 kB] Get: 74 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.1.1-1 [245 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 python3-pytest-asyncio all 0.20.3-1.2 [13.3 kB] -Fetched 32.6 MB in 0s (90.6 MB/s) +Fetched 32.6 MB in 1s (44.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19644 files and directories currently installed.) @@ -462,8 +494,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Apr 30 07:34:30 UTC 2025. -Universal Time is now: Wed Apr 30 07:34:30 UTC 2025. +Local time is now: Thu Mar 28 01:12:54 UTC 2024. +Universal Time is now: Thu Mar 28 01:12:54 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -543,7 +575,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/multiplex-0.6.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 > ../multiplex_0.6.0-1_source.changes +I: user script /srv/workspace/pbuilder/37469/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/37469/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/multiplex-0.6.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 > ../multiplex_0.6.0-1_source.changes dpkg-buildpackage: info: source package multiplex dpkg-buildpackage: info: source version 0.6.0-1 dpkg-buildpackage: info: source distribution unstable @@ -594,7 +630,7 @@ def test_exports(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -=================== 48 passed, 1 skipped, 1 warning in 0.42s =================== +=================== 48 passed, 1 skipped, 1 warning in 1.26s =================== I: pybuild base:305: cd /build/reproducible-path/multiplex-0.6.0/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0 @@ -605,66 +641,82 @@ collected 49 items tests/test_buffer.py . [ 2%] -tests/test_iterator.py .................. [ 38%] +tests/test_iterator.py ..F............... [ 38%] tests/test_keys.py ................. [ 73%] tests/test_keys_input.py ........... [ 95%] tests/test_multiplex.py .s [100%] +=================================== FAILURES =================================== +________________________ test_async_process_pipe_stdout ________________________ + +patch_actions = None + + async def test_async_process_pipe_stdout(patch_actions): + p = await asyncio.subprocess.create_subprocess_shell( + cmd="printf 1; sleep 0.01; printf 2", + stdout=asyncio.subprocess.PIPE, + ) + iterator = await to_iterator(p) + assert iterator.title == "Process" + assert iterator.inner_type == "async_process" +> await assert_aiter(iterator.iterator, ["1", "2", ACTION]) + +tests/test_iterator.py:60: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +source = .g at 0xf69fb898> +values = ['1', '2', ], exception = None + + async def assert_aiter( + source: Stream, + values: List[Any], + exception: Exception | None = None, + ) -> None: + """Check the results of a stream using a streamcontext.""" + results = [] + exception_type = (type(exception),) if exception else () + try: + async with streamcontext(source) as streamer: + async for item in streamer: + results.append(item) + except exception_type as exc: + assert exception is not None + assert compare_exceptions(exc, exception) + else: + assert exception is None +> assert results == values +E AssertionError: assert ['12', ] == ['1', '2', ] +E +E At index 0 diff: '12' != '1' +E Right contains one more item: +E Use -v to get more diff + +/usr/lib/python3/dist-packages/aiostream/test_utils.py:62: AssertionError =============================== warnings summary =============================== tests/test_multiplex.py::test_exports tests/test_multiplex.py:12: PytestWarning: The test is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'. def test_exports(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -=================== 48 passed, 1 skipped, 1 warning in 0.35s =================== - create-stamp debian/debhelper-build-stamp - fakeroot debian/rules binary -dh binary --with python3 --buildsystem=pybuild - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install -O--buildsystem=pybuild -I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir -I: pybuild plugin_pyproject:178: Copying package built for python3.11 to destdir - dh_install -O--buildsystem=pybuild - debian/rules override_dh_installdocs -make[1]: Entering directory '/build/reproducible-path/multiplex-0.6.0' -dh_installdocs --link-doc=python3-multiplex -make[1]: Leaving directory '/build/reproducible-path/multiplex-0.6.0' - 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: Depends field of package multiplex: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: Recommends field of package multiplex: substitution variable ${python3:Recommends} used, but is not defined -dpkg-gencontrol: warning: Suggests field of package multiplex: substitution variable ${python3:Suggests} used, but is not defined -dpkg-gencontrol: warning: Depends field of package python3-multiplex: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: Recommends field of package python3-multiplex: substitution variable ${python3:Recommends} used, but is not defined -dpkg-gencontrol: warning: Suggests field of package python3-multiplex: substitution variable ${python3:Suggests} used, but is not defined - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-multiplex' in '../python3-multiplex_0.6.0-1_all.deb'. -dpkg-deb: building package 'multiplex' in '../multiplex_0.6.0-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../multiplex_0.6.0-1_i386.buildinfo - dpkg-genchanges --build=binary -O../multiplex_0.6.0-1_i386.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-source: info: using options from multiplex-0.6.0/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/|^setup.py -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload +=========================== short test summary info ============================ +FAILED tests/test_iterator.py::test_async_process_pipe_stdout - AssertionErro... +============== 1 failed, 47 passed, 1 skipped, 1 warning in 1.67s ============== +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/multiplex-0.6.0/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 +make: *** [debian/rules:7: build] Error 25 +dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/37469/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Thu Mar 28 01:14:15 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 3.9G 0 3.9G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/37469/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/5579 and its subdirectories -I: Current time: Tue Apr 29 19:34:50 -12 2025 -I: pbuilder-time-stamp: 1745998490 +I: removing directory /srv/workspace/pbuilder/37469 and its subdirectories