Diff of the two buildlogs: -- --- b1/build.log 2024-04-25 22:13:36.678889440 +0000 +++ b2/build.log 2024-04-25 22:21:37.166397829 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 25 10:08:27 -12 2024 -I: pbuilder-time-stamp: 1714082907 +I: Current time: Fri Apr 26 12:13:53 +14 2024 +I: pbuilder-time-stamp: 1714083233 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking python-daphne_4.1.2-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20164/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13099/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 25 22:14 /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/13099/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13099/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='507dc43603704db48b5719d2b0872e6f' - 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='20164' - PS1='# ' - PS2='> ' + INVOCATION_ID=64de4879652d4112a0943a0f0b846679 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=13099 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.5wHXvPwP/pbuilderrc_zg4U --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.5wHXvPwP/b1 --logfile b1/build.log python-daphne_4.1.2-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.5wHXvPwP/pbuilderrc_wx3t --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.5wHXvPwP/b2 --logfile b2/build.log python-daphne_4.1.2-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 23 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/20164/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/13099/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -248,7 +280,7 @@ Get: 116 http://deb.debian.org/debian trixie/main armhf python3-pluggy all 1.4.0-1 [26.2 kB] Get: 117 http://deb.debian.org/debian trixie/main armhf python3-pytest all 7.4.4-3 [239 kB] Get: 118 http://deb.debian.org/debian trixie/main armhf python3-pytest-runner all 2.11.1-4 [8432 B] -Fetched 40.7 MB in 4s (10.1 MB/s) +Fetched 40.7 MB in 4s (10.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19638 files and directories currently installed.) @@ -630,8 +662,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Apr 25 22:10:01 UTC 2024. -Universal Time is now: Thu Apr 25 22:10:01 UTC 2024. +Local time is now: Thu Apr 25 22:16:48 UTC 2024. +Universal Time is now: Thu Apr 25 22:16:48 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -747,7 +779,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-daphne-4.1.2/ && 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-daphne_4.1.2-1_source.changes +I: user script /srv/workspace/pbuilder/13099/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/13099/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-daphne-4.1.2/ && 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-daphne_4.1.2-1_source.changes dpkg-buildpackage: info: source package python-daphne dpkg-buildpackage: info: source version 4.1.2-1 dpkg-buildpackage: info: source distribution unstable @@ -774,33 +810,33 @@ * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `explicit-layout` detected -- analysing {'daphne': 'daphne', 'twisted': 'daphne/twisted'} -discovered packages -- ['daphne', 'daphne.twisted', 'daphne.management', 'daphne.twisted.plugins', 'daphne.management.commands', 'twisted', 'twisted.plugins'] +discovered packages -- ['daphne', 'daphne.management', 'daphne.twisted', 'daphne.management.commands', 'daphne.twisted.plugins', 'twisted', 'twisted.plugins'] running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/daphne +copying daphne/checks.py -> build/lib/daphne +copying daphne/access.py -> build/lib/daphne +copying daphne/utils.py -> build/lib/daphne +copying daphne/http_protocol.py -> build/lib/daphne +copying daphne/ws_protocol.py -> build/lib/daphne copying daphne/cli.py -> build/lib/daphne +copying daphne/__main__.py -> build/lib/daphne copying daphne/server.py -> build/lib/daphne +copying daphne/__init__.py -> build/lib/daphne copying daphne/testing.py -> build/lib/daphne copying daphne/endpoints.py -> build/lib/daphne copying daphne/apps.py -> build/lib/daphne -copying daphne/__init__.py -> build/lib/daphne -copying daphne/access.py -> build/lib/daphne -copying daphne/ws_protocol.py -> build/lib/daphne -copying daphne/__main__.py -> build/lib/daphne -copying daphne/checks.py -> build/lib/daphne -copying daphne/utils.py -> build/lib/daphne -copying daphne/http_protocol.py -> build/lib/daphne creating build/lib/daphne/management copying daphne/management/__init__.py -> build/lib/daphne/management +creating build/lib/daphne/management/commands +copying daphne/management/commands/runserver.py -> build/lib/daphne/management/commands +copying daphne/management/commands/__init__.py -> build/lib/daphne/management/commands creating build/lib/daphne/twisted creating build/lib/daphne/twisted/plugins copying daphne/twisted/plugins/fd_endpoint.py -> build/lib/daphne/twisted/plugins -creating build/lib/daphne/management/commands -copying daphne/management/commands/__init__.py -> build/lib/daphne/management/commands -copying daphne/management/commands/runserver.py -> build/lib/daphne/management/commands creating build/lib/twisted creating build/lib/twisted/plugins copying daphne/twisted/plugins/fd_endpoint.py -> build/lib/twisted/plugins @@ -821,35 +857,35 @@ running install_lib creating build/bdist.linux-armv7l creating build/bdist.linux-armv7l/wheel -creating build/bdist.linux-armv7l/wheel/twisted -creating build/bdist.linux-armv7l/wheel/twisted/plugins -copying build/lib/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/twisted/plugins creating build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/cli.py -> build/bdist.linux-armv7l/wheel/daphne -creating build/bdist.linux-armv7l/wheel/daphne/twisted -creating build/bdist.linux-armv7l/wheel/daphne/twisted/plugins -copying build/lib/daphne/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/daphne/twisted/plugins -copying build/lib/daphne/server.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/testing.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/endpoints.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/checks.py -> build/bdist.linux-armv7l/wheel/daphne creating build/bdist.linux-armv7l/wheel/daphne/management +copying build/lib/daphne/management/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management creating build/bdist.linux-armv7l/wheel/daphne/management/commands -copying build/lib/daphne/management/commands/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands copying build/lib/daphne/management/commands/runserver.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands -copying build/lib/daphne/management/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management -copying build/lib/daphne/apps.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/__init__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/management/commands/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands copying build/lib/daphne/access.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/ws_protocol.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/__main__.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/checks.py -> build/bdist.linux-armv7l/wheel/daphne copying build/lib/daphne/utils.py -> build/bdist.linux-armv7l/wheel/daphne copying build/lib/daphne/http_protocol.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/ws_protocol.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/cli.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/__main__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/server.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/__init__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/testing.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/endpoints.py -> build/bdist.linux-armv7l/wheel/daphne +creating build/bdist.linux-armv7l/wheel/daphne/twisted +creating build/bdist.linux-armv7l/wheel/daphne/twisted/plugins +copying build/lib/daphne/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/daphne/twisted/plugins +copying build/lib/daphne/apps.py -> build/bdist.linux-armv7l/wheel/daphne +creating build/bdist.linux-armv7l/wheel/twisted +creating build/bdist.linux-armv7l/wheel/twisted/plugins +copying build/lib/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/twisted/plugins running install_egg_info Copying daphne.egg-info to build/bdist.linux-armv7l/wheel/daphne-4.1.2.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/daphne-4.1.2.dist-info/WHEEL -creating '/build/reproducible-path/python-daphne-4.1.2/.pybuild/cpython3_3.12/.tmp-mvvd9htz/daphne-4.1.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it +creating '/build/reproducible-path/python-daphne-4.1.2/.pybuild/cpython3_3.12/.tmp-5tywi9nj/daphne-4.1.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'daphne/__init__.py' adding 'daphne/__main__.py' adding 'daphne/access.py' @@ -881,7 +917,7 @@ * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `explicit-layout` detected -- analysing {'daphne': 'daphne', 'twisted': 'daphne/twisted'} -discovered packages -- ['daphne', 'daphne.twisted', 'daphne.management', 'daphne.twisted.plugins', 'daphne.management.commands', 'twisted', 'twisted.plugins'] +discovered packages -- ['daphne', 'daphne.management', 'daphne.twisted', 'daphne.management.commands', 'daphne.twisted.plugins', 'twisted', 'twisted.plugins'] running bdist_wheel running build running build_py @@ -899,35 +935,35 @@ running install running install_lib creating build/bdist.linux-armv7l/wheel -creating build/bdist.linux-armv7l/wheel/twisted -creating build/bdist.linux-armv7l/wheel/twisted/plugins -copying build/lib/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/twisted/plugins creating build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/cli.py -> build/bdist.linux-armv7l/wheel/daphne -creating build/bdist.linux-armv7l/wheel/daphne/twisted -creating build/bdist.linux-armv7l/wheel/daphne/twisted/plugins -copying build/lib/daphne/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/daphne/twisted/plugins -copying build/lib/daphne/server.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/testing.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/endpoints.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/checks.py -> build/bdist.linux-armv7l/wheel/daphne creating build/bdist.linux-armv7l/wheel/daphne/management +copying build/lib/daphne/management/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management creating build/bdist.linux-armv7l/wheel/daphne/management/commands -copying build/lib/daphne/management/commands/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands copying build/lib/daphne/management/commands/runserver.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands -copying build/lib/daphne/management/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management -copying build/lib/daphne/apps.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/__init__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/management/commands/__init__.py -> build/bdist.linux-armv7l/wheel/daphne/management/commands copying build/lib/daphne/access.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/ws_protocol.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/__main__.py -> build/bdist.linux-armv7l/wheel/daphne -copying build/lib/daphne/checks.py -> build/bdist.linux-armv7l/wheel/daphne copying build/lib/daphne/utils.py -> build/bdist.linux-armv7l/wheel/daphne copying build/lib/daphne/http_protocol.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/ws_protocol.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/cli.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/__main__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/server.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/__init__.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/testing.py -> build/bdist.linux-armv7l/wheel/daphne +copying build/lib/daphne/endpoints.py -> build/bdist.linux-armv7l/wheel/daphne +creating build/bdist.linux-armv7l/wheel/daphne/twisted +creating build/bdist.linux-armv7l/wheel/daphne/twisted/plugins +copying build/lib/daphne/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/daphne/twisted/plugins +copying build/lib/daphne/apps.py -> build/bdist.linux-armv7l/wheel/daphne +creating build/bdist.linux-armv7l/wheel/twisted +creating build/bdist.linux-armv7l/wheel/twisted/plugins +copying build/lib/twisted/plugins/fd_endpoint.py -> build/bdist.linux-armv7l/wheel/twisted/plugins running install_egg_info Copying daphne.egg-info to build/bdist.linux-armv7l/wheel/daphne-4.1.2.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/daphne-4.1.2.dist-info/WHEEL -creating '/build/reproducible-path/python-daphne-4.1.2/.pybuild/cpython3_3.11/.tmp-jc4xo6az/daphne-4.1.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it +creating '/build/reproducible-path/python-daphne-4.1.2/.pybuild/cpython3_3.11/.tmp-r1_nmsz3/daphne-4.1.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'daphne/__init__.py' adding 'daphne/__main__.py' adding 'daphne/access.py' @@ -972,8 +1008,54 @@ tests/test_http_request.py ............... [ 50%] tests/test_http_response.py ......... [ 64%] tests/test_utils.py ............ [ 82%] -tests/test_websocket.py ........... [100%] +tests/test_websocket.py ..F........ [100%] + +=================================== FAILURES =================================== +_______________________ TestWebsocket.test_binary_frames _______________________ + +self = + + def test_binary_frames(self): + """ + Tests we can send and receive binary frames with things that are very + much not valid UTF-8. + """ + with DaphneTestingInstance() as test_app: + # Connect + test_app.add_send_messages([{"type": "websocket.accept"}]) + sock, _ = self.websocket_handshake(test_app) + _, messages = test_app.get_received() + self.assert_valid_websocket_connect_message(messages[0]) + # Prep frame for it to send + test_app.add_send_messages( + [{"type": "websocket.send", "bytes": b"here be \xe2 bytes"}] + ) + # Send it a frame + self.websocket_send_frame(sock, b"what is here? \xe2") + # Receive a frame and make sure it's correct +> assert self.websocket_receive_frame(sock) == b"here be \xe2 bytes" + +tests/test_websocket.py:262: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +tests/http_base.py:228: in websocket_receive_frame + opcode = self.receive_from_socket(sock, 1) +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = +sock = +length = 1, timeout = 1 + def receive_from_socket(self, sock, length, timeout=1): + """ + Receives the given amount of bytes from the socket, or times out. + """ + buf = b"" + started = time.time() + while len(buf) < length: +> buf += sock.recv(length - len(buf)) +E TimeoutError: timed out + +tests/http_base.py:216: TimeoutError =============================== warnings summary =============================== ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: asyncio_mode @@ -981,7 +1063,10 @@ self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -================== 63 passed, 1 skipped, 1 warning in 23.49s =================== +=========================== short test summary info ============================ +FAILED tests/test_websocket.py::TestWebsocket::test_binary_frames - TimeoutEr... +============= 1 failed, 62 passed, 1 skipped, 1 warning in 29.73s ============== +E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: PYTHONPATH=. python3.12 -m pytest I: pybuild base:311: PYTHONPATH=. python3.11 -m pytest ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 @@ -1006,56 +1091,24 @@ self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -================== 63 passed, 1 skipped, 1 warning in 22.44s =================== -make[1]: Leaving directory '/build/reproducible-path/python-daphne-4.1.2' - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - debian/rules override_dh_auto_install -make[1]: Entering directory '/build/reproducible-path/python-daphne-4.1.2' -dh_auto_install -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 -rm -rf debian/tmp/usr/lib/python3*/dist-packages/.hypothesis +================== 63 passed, 1 skipped, 1 warning in 33.65s =================== +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" --system=custom "--test-args=PYTHONPATH=. {interpreter} -m pytest" returned exit code 13 +make[1]: *** [debian/rules:21: override_dh_auto_test] Error 25 make[1]: Leaving directory '/build/reproducible-path/python-daphne-4.1.2' - dh_install -O--buildsystem=pybuild - dh_installdocs -O--buildsystem=pybuild - dh_installchangelogs -O--buildsystem=pybuild - debian/rules override_dh_installman -make[1]: Entering directory '/build/reproducible-path/python-daphne-4.1.2' -docbook-to-man debian/manpage.daphne.sgml > daphne.1 -/usr/bin/onsgmls:debian/manpage.daphne.sgml:78:82:E: end tag for "REPLACEABLE" omitted, but OMITTAG NO was specified -/usr/bin/onsgmls:debian/manpage.daphne.sgml:78:53: start tag was here -/usr/bin/onsgmls:debian/manpage.daphne.sgml:78:82: open elements: REFENTRY REFSYNOPSISDIV[1] CMDSYNOPSIS[1] ARG[1] OPTION[1] REPLACEABLE[1] (#PCDATA[1]) -dh_installman -make[1]: Leaving directory '/build/reproducible-path/python-daphne-4.1.2' - 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 - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-daphne' in '../python3-daphne_4.1.2-1_all.deb'. -dpkg-deb: building package 'daphne' in '../daphne_4.1.2-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-daphne_4.1.2-1_armhf.buildinfo - dpkg-genchanges --build=binary -O../python-daphne_4.1.2-1_armhf.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 +make: *** [debian/rules:9: binary] Error 2 +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/13099/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Thu Apr 25 22:21:22 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 3.4G 0 3.4G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/13099/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/20164 and its subdirectories -I: Current time: Thu Apr 25 10:13:32 -12 2024 -I: pbuilder-time-stamp: 1714083212 +I: removing directory /srv/workspace/pbuilder/13099 and its subdirectories