Diff of the two buildlogs: -- --- b1/build.log 2024-05-16 08:49:33.816834235 +0000 +++ b2/build.log 2024-05-16 08:52:34.253165262 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 15 20:44:14 -12 2024 -I: pbuilder-time-stamp: 1715849054 +I: Current time: Thu May 16 22:49:42 +14 2024 +I: pbuilder-time-stamp: 1715849382 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying newer-pytest.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23222/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13086/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 16 08:49 /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/13086/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13086/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='e91974dfa18145d2a6340d361e16c8f4' - 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='23222' - PS1='# ' - PS2='> ' + INVOCATION_ID=3eb8dac2395940289bd30588576e6f77 + 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=13086 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.PXnMzbTW/pbuilderrc_hBs8 --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.PXnMzbTW/b1 --logfile b1/build.log rfc3986-validator_0.1.1-2.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.PXnMzbTW/pbuilderrc_i36m --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.PXnMzbTW/b2 --logfile b2/build.log rfc3986-validator_0.1.1-2.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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 virt32z 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23222/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 14 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/13086/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -184,7 +216,7 @@ Get: 61 http://deb.debian.org/debian trixie/main armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 62 http://deb.debian.org/debian trixie/main armhf python3-pytest all 7.4.4-3 [239 kB] Get: 63 http://deb.debian.org/debian trixie/main armhf python3-rfc3987 all 1.3.8-2 [8816 B] -Fetched 30.6 MB in 1s (31.9 MB/s) +Fetched 30.6 MB in 1s (45.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 ... 19445 files and directories currently installed.) @@ -402,8 +434,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 16 08:45:35 UTC 2024. -Universal Time is now: Thu May 16 08:45:35 UTC 2024. +Local time is now: Thu May 16 08:50:23 UTC 2024. +Universal Time is now: Thu May 16 08:50:23 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -464,7 +496,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/rfc3986-validator-0.1.1/ && 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 > ../rfc3986-validator_0.1.1-2_source.changes +I: user script /srv/workspace/pbuilder/13086/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/13086/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rfc3986-validator-0.1.1/ && 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 > ../rfc3986-validator_0.1.1-2_source.changes dpkg-buildpackage: info: source package rfc3986-validator dpkg-buildpackage: info: source version 0.1.1-2 dpkg-buildpackage: info: source distribution unstable @@ -560,7 +596,7 @@ ........................................................................ [ 98%] ..... [100%] -======================== 261 passed in 74.38s (0:01:14) ======================== +============================= 261 passed in 42.87s ============================= I: pybuild base:311: cd /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.5.0 @@ -572,149 +608,346 @@ ........................................................................ [ 42%] ........................................................................ [ 70%] ........................................................................ [ 98%] -..... [100%] - -======================== 261 passed in 68.00s (0:01:07) ======================== - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install --destdir=debian/python3-rfc3986-validator/ -O--buildsystem=pybuild -I: pybuild base:311: /usr/bin/python3.12 setup.py install --root /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator -running install -/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. - ******************************************************************************** +....F [100%] -!! - self.initialize_options() -running build -running build_py -running egg_info -writing rfc3986_validator.egg-info/PKG-INFO -writing dependency_links to rfc3986_validator.egg-info/dependency_links.txt -writing requirements to rfc3986_validator.egg-info/requires.txt -writing top-level names to rfc3986_validator.egg-info/top_level.txt -reading manifest file 'rfc3986_validator.egg-info/SOURCES.txt' -reading manifest template 'MANIFEST.in' -warning: no files found matching 'README.rst' -warning: no previously-included files matching '__pycache__' found under directory '*' -warning: no previously-included files matching '*.py[co]' found under directory '*' -warning: no files found matching '*.rst' under directory 'docs' -warning: no files found matching 'conf.py' under directory 'docs' -warning: no files found matching 'Makefile' under directory 'docs' -warning: no files found matching 'make.bat' under directory 'docs' -warning: no files found matching '*.jpg' under directory 'docs' -warning: no files found matching '*.png' under directory 'docs' -warning: no files found matching '*.gif' under directory 'docs' -adding license file 'LICENSE' -adding license file 'AUTHORS.rst' -writing manifest file 'rfc3986_validator.egg-info/SOURCES.txt' -running install_lib -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12 -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/.hypothesis -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/.hypothesis/unicode_data -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/.hypothesis/unicode_data/15.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.12/build/.hypothesis/unicode_data/15.0.0/charmap.json.gz -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/.hypothesis/unicode_data/15.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.12/build/.hypothesis/unicode_data/15.0.0/codec-utf-8.json.gz -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/.hypothesis/unicode_data/15.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.12/build/rfc3986_validator.py -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/__pycache__ -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.12/build/__pycache__/rfc3986_validator.cpython-312.pyc -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/__pycache__ -byte-compiling /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/rfc3986_validator.py to rfc3986_validator.cpython-312.pyc -running install_egg_info -Copying rfc3986_validator.egg-info to /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.12/dist-packages/rfc3986_validator-0.1.1.egg-info -Skipping SOURCES.txt -running install_scripts -I: pybuild base:311: /usr/bin/python3 setup.py install --root /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator -running install -/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. +=================================== FAILURES =================================== +________________________ test_against_legacy_hypothesis ________________________ - See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. - ******************************************************************************** +url = 'http://A.rocks/' -!! - self.initialize_options() -running build -running build_py -running egg_info -writing rfc3986_validator.egg-info/PKG-INFO -writing dependency_links to rfc3986_validator.egg-info/dependency_links.txt -writing requirements to rfc3986_validator.egg-info/requires.txt -writing top-level names to rfc3986_validator.egg-info/top_level.txt -reading manifest file 'rfc3986_validator.egg-info/SOURCES.txt' -reading manifest template 'MANIFEST.in' -warning: no files found matching 'README.rst' -warning: no previously-included files matching '__pycache__' found under directory '*' -warning: no previously-included files matching '*.py[co]' found under directory '*' -warning: no files found matching '*.rst' under directory 'docs' -warning: no files found matching 'conf.py' under directory 'docs' -warning: no files found matching 'Makefile' under directory 'docs' -warning: no files found matching 'make.bat' under directory 'docs' -warning: no files found matching '*.jpg' under directory 'docs' -warning: no files found matching '*.png' under directory 'docs' -warning: no files found matching '*.gif' under directory 'docs' -adding license file 'LICENSE' -adding license file 'AUTHORS.rst' -writing manifest file 'rfc3986_validator.egg-info/SOURCES.txt' -running install_lib -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11 -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/.hypothesis -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/.hypothesis/unicode_data -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/.hypothesis/unicode_data/14.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.11/build/.hypothesis/unicode_data/14.0.0/charmap.json.gz -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/.hypothesis/unicode_data/14.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.11/build/.hypothesis/unicode_data/14.0.0/codec-utf-8.json.gz -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/.hypothesis/unicode_data/14.0.0 -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.11/build/rfc3986_validator.py -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages -creating /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/__pycache__ -copying /build/reproducible-path/rfc3986-validator-0.1.1/.pybuild/cpython3_3.11/build/__pycache__/rfc3986_validator.cpython-311.pyc -> /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/__pycache__ -byte-compiling /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/rfc3986_validator.py to rfc3986_validator.cpython-311.pyc -running install_egg_info -Copying rfc3986_validator.egg-info to /build/reproducible-path/rfc3986-validator-0.1.1/debian/python3-rfc3986-validator/usr/lib/python3.11/dist-packages/rfc3986_validator-0.1.1.egg-info -Skipping SOURCES.txt -running install_scripts - 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 - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-rfc3986-validator' in '../python3-rfc3986-validator_0.1.1-2_all.deb'. - dpkg-genbuildinfo --build=binary -O../rfc3986-validator_0.1.1-2_armhf.buildinfo - dpkg-genchanges --build=binary -O../rfc3986-validator_0.1.1-2_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: not including original source code in upload + @settings(max_examples=1000) +> @given(url=prov_st.urls()) + +tests/test_rfc3986_validator.py:167: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +args = ('http://A.rocks/',), kwargs = {}, arg_drawtime = 0.013535486999899149 +start = 731962.348053517, result = None, finish = 731977.945868494 +in_drawtime = 0.0, runtime = datetime.timedelta(seconds=15, microseconds=597815) +current_deadline = datetime.timedelta(microseconds=250000) + + @proxies(self.test) + def test(*args, **kwargs): + arg_drawtime = math.fsum(data.draw_times.values()) + start = time.perf_counter() + try: + result = self.test(*args, **kwargs) + finally: + finish = time.perf_counter() + in_drawtime = math.fsum(data.draw_times.values()) - arg_drawtime + runtime = datetime.timedelta(seconds=finish - start - in_drawtime) + self._timing_features = { + "execute:test": finish - start - in_drawtime, + **data.draw_times, + **data._stateful_run_times, + } + + if (current_deadline := self.settings.deadline) is not None: + if not is_final: + current_deadline = (current_deadline // 4) * 5 + if runtime >= current_deadline: +> raise DeadlineExceeded(runtime, self.settings.deadline) +E hypothesis.errors.DeadlineExceeded: Test took 15597.82ms, which exceeds the deadline of 200.00ms + +/usr/lib/python3/dist-packages/hypothesis/core.py:846: DeadlineExceeded + +The above exception was the direct cause of the following exception: + + @settings(max_examples=1000) +> @given(url=prov_st.urls()) + +tests/test_rfc3986_validator.py:167: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = +data = ConjectureData(VALID, 16 bytes, frozen) + + def execute_once( + self, + data, + *, + print_example=False, + is_final=False, + expected_failure=None, + example_kwargs=None, + ): + """Run the test function once, using ``data`` as input. + + If the test raises an exception, it will propagate through to the + caller of this method. Depending on its type, this could represent + an ordinary test failure, or a fatal error, or a control exception. + + If this method returns normally, the test might have passed, or + it might have placed ``data`` in an unsuccessful state and then + swallowed the corresponding control exception. + """ + + self.ever_executed = True + data.is_find = self.is_find + + self._string_repr = "" + text_repr = None + if self.settings.deadline is None and not TESTCASE_CALLBACKS: + test = self.test + else: + + @proxies(self.test) + def test(*args, **kwargs): + arg_drawtime = math.fsum(data.draw_times.values()) + start = time.perf_counter() + try: + result = self.test(*args, **kwargs) + finally: + finish = time.perf_counter() + in_drawtime = math.fsum(data.draw_times.values()) - arg_drawtime + runtime = datetime.timedelta(seconds=finish - start - in_drawtime) + self._timing_features = { + "execute:test": finish - start - in_drawtime, + **data.draw_times, + **data._stateful_run_times, + } + + if (current_deadline := self.settings.deadline) is not None: + if not is_final: + current_deadline = (current_deadline // 4) * 5 + if runtime >= current_deadline: + raise DeadlineExceeded(runtime, self.settings.deadline) + return result + + def run(data): + # Set up dynamic context needed by a single test run. + if self.stuff.selfy is not None: + data.hypothesis_runner = self.stuff.selfy + # Generate all arguments to the test function. + args = self.stuff.args + kwargs = dict(self.stuff.kwargs) + if example_kwargs is None: + kw, argslices = context.prep_args_kwargs_from_strategies( + self.stuff.given_kwargs + ) + else: + kw = example_kwargs + argslices = {} + kwargs.update(kw) + if expected_failure is not None: + nonlocal text_repr + text_repr = repr_call(test, args, kwargs) + if text_repr in self.xfail_example_reprs: + warnings.warn( + f"We generated {text_repr}, which seems identical " + "to one of your `@example(...).xfail()` cases. " + "Revise the strategy to avoid this overlap?", + HypothesisWarning, + # Checked in test_generating_xfailed_examples_warns! + stacklevel=6, + ) + + if print_example or current_verbosity() >= Verbosity.verbose: + printer = RepresentationPrinter(context=context) + if print_example: + printer.text("Falsifying example:") + else: + printer.text("Trying example:") + + if self.print_given_args: + printer.text(" ") + printer.repr_call( + test.__name__, + args, + kwargs, + force_split=True, + arg_slices=argslices, + leading_comment=( + "# " + context.data.slice_comments[(0, 0)] + if (0, 0) in context.data.slice_comments + else None + ), + ) + report(printer.getvalue()) + + if TESTCASE_CALLBACKS: + printer = RepresentationPrinter(context=context) + printer.repr_call( + test.__name__, + args, + kwargs, + force_split=True, + arg_slices=argslices, + leading_comment=( + "# " + context.data.slice_comments[(0, 0)] + if (0, 0) in context.data.slice_comments + else None + ), + ) + self._string_repr = printer.getvalue() + data._observability_arguments = { + **dict(enumerate(map(to_jsonable, args))), + **{k: to_jsonable(v) for k, v in kwargs.items()}, + } + + try: + return test(*args, **kwargs) + except TypeError as e: + # If we sampled from a sequence of strategies, AND failed with a + # TypeError, *AND that exception mentions SearchStrategy*, add a note: + if "SearchStrategy" in str(e) and hasattr( + data, "_sampled_from_all_strategies_elements_message" + ): + msg, format_arg = data._sampled_from_all_strategies_elements_message + add_note(e, msg.format(format_arg)) + raise + finally: + if parts := getattr(data, "_stateful_repr_parts", None): + self._string_repr = "\n".join(parts) + + # self.test_runner can include the execute_example method, or setup/teardown + # _example, so it's important to get the PRNG and build context in place first. + with local_settings(self.settings): + with deterministic_PRNG(): + with BuildContext(data, is_final=is_final) as context: + # providers may throw in per_case_context_fn, and we'd like + # `result` to still be set in these cases. + result = None + with data.provider.per_test_case_context_manager(): + # Run the test function once, via the executor hook. + # In most cases this will delegate straight to `run(data)`. + result = self.test_runner(data, run) + + # If a failure was expected, it should have been raised already, so + # instead raise an appropriate diagnostic error. + if expected_failure is not None: + exception, traceback = expected_failure + if isinstance(exception, DeadlineExceeded) and ( + runtime_secs := math.fsum( + v + for k, v in self._timing_features.items() + if k.startswith("execute:") + ) + ): + report( + "Unreliable test timings! On an initial run, this " + "test took %.2fms, which exceeded the deadline of " + "%.2fms, but on a subsequent run it took %.2f ms, " + "which did not. If you expect this sort of " + "variability in your test timings, consider turning " + "deadlines off for this test by setting deadline=None." + % ( + exception.runtime.total_seconds() * 1000, + self.settings.deadline.total_seconds() * 1000, + runtime_secs * 1000, + ) + ) + else: + report("Failed to reproduce exception. Expected: \n" + traceback) +> raise Flaky( + f"Hypothesis {text_repr} produces unreliable results: " + "Falsified on the first call but did not on a subsequent one" + ) from exception +E hypothesis.errors.Flaky: Hypothesis test_against_legacy_hypothesis(url='http://A.rocks/') produces unreliable results: Falsified on the first call but did not on a subsequent one +E Falsifying example: test_against_legacy_hypothesis( +E url='http://A.rocks/', +E ) +E Unreliable test timings! On an initial run, this test took 15597.82ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 0.14 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. + +/usr/lib/python3/dist-packages/hypothesis/core.py:974: Flaky +----------------------------- Captured stdout call ----------------------------- +http://A.com/ +https://A.com/ +https://q.h.WSlKn.Sa:37939/%3BS*%3B2%0A +http://A.airforce/ +https://A.lifestyle/ +https://TKrC-UWU7B.SrbH.lIfESTYlE:12542/_Od'9i+#e%7F%B0%9B +https://A.xn--hxt814e/ +https://A.guide/ +https://PtF0.gUIdE:45592/%25/e//~5pr%0D#%E9%FF%60n%34%06 +http://A.jot/ +https://A.fish/ +https://GwWn47ca41yyMeZG.cNkDOV6gnNpU.h.k.l.fISH/// +https://kwWn47ca41yyMeZG.cNkDOV6gnNpU.h.k.l.fISH/// +https://kNkDOV6gnNpU.cNkDOV6gnNpU.h.k.l.fISH/// +https://C.D-0.fISH:23///0///02/000/0100070///02/000/0/// +https://D--1.fISH/ +https://D--1.fIsH/ +https://k.A.B.fisH:0/ +https://A.guitars/ +https://p0-5HmP.Xh.a.GUiTARs//CZ +https://p0-5Hmh.Xh.a.GUiTARs//CZ +https://p0m5Hmh.Xh.a.GUiTARs//CZ +https://p0m5Hm0.Xh.a.GUiTARs/#%6EZ +https://ph.Xh.a.GUiTARs/#%6EZ +https://ph.ph.a.GUiTARs/#%6EZ +https://ph.ph.a.GUiTARs/ +http://A.nba/ +http://A.deals/ +http://jTh.qPYJP.d.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s#%D6%F5%05%26%5E +http://jTh.qPYJP.d.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s#%D6%F5%D6%26%5E +http://jTh.qPYJP.d.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s +http://jTh.d.d.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s +http://jTh.d.jTh.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s +http://d.d.jTh.deALs/%0B/)-k%3Af%25R%3AcS%5ExoO/%23s +http://jTh.d.jTh.deALs/%23s/)-k%3Af%25R%3AcS%5ExoO/%23s +http://A.rocks/ +http://R.RoCKS/%5DqIk%40/L7T%5Cc%22/#%B6%8A +http://R.RoCKS/%5DqIk%40/L7T%5Cc%22/L7T%5Cc%22#%B6%8A +http://R.RoCKS/L7T%5Cc%22/L7T%5Cc%22/L7T%5Cc%22#%B6%8A +http://R.RoCKS/L7T%5Cc%22/L7T%5Cc%22/L7T%5Cc%22/11%3A7%5D6EkZ7Y/%0DO/5//%7Bz#%29%D2%B1Y%BC%FA%CB%84%AC%4D?%3D%60 +http://R.RoCKS/L7T%5Cc%22/L7T%5Cc%22/L7T%5Cc%22/11%3A7%5D6EkZ7Y/%0DO/5//11%3A7%5D6EkZ7Y#%29%D2%B1Y%BC%FA%CB%84%AC%4D?%3D%60 +http://R.RoCKS/L7T%5Cc%22/L7T%5Cc%22/L7T%5Cc%22/11%3A7%5D6EkZ7Y/%0DO/5//11%3A7%5D6EkZ7Y/11m/0Y/01f/1./1%3F/0%7B0c%7B67%60%2Fd0D_%0A%3D~p%5Buc/%09%3C,%7Df-RaR7%5Bi%20%7BSa//d%0A%0D%3FXsktX./m +http://R.RoCKS/L7T%5Cc%22/L7T%5Cc%22/L7T%5Cc%22/11%3A7%5D6EkZ7Y/%0DO/5//11%3A7%5D6EkZ7Y/11m/0Y/01f/1./1%3F/0%7B0c%7B67%60%2Fd0D_%0A%3D~p%5Buc/%09%3C,%7Df-RaR7%5Bi%20%7BSa//d%0A%0D%3FXsktX./m +http://D9PQ-BHwn.wjz.fAnS/#%59%F0W%81%CE%6E +http://D9PQ-BHwn.wjz.fAnS/#%59%F0W%81%CE%6E +http://D9PQ-BHwn.wjz.fAnS/#%59%F0W%81%CE%6E +http://wjz.wjz.fAnS/#%59%F0W%81%CE%6E +http://wjz.wjz.fAnS/#%59%F0W%81%CE%30 +https://w.YacHts/ +https://w.YacHtS/ +https://w.yacHtS/ +https://w.yacHtS/#%30%0D%36 +https://w.yacHtS/ +https://K.C.lB9DLvIa.A.w.yacHtS:21083/,CjzHl2//*$JzDR%60/2%5C +https://K.C.lB9DLvIa.A.w.yacHtS:21083/,CjzHl2//*$JzDR%60/2%5C +http://J.Nv.a.InsuRe/Wd/%7D#%1C%E1%D4 +http://J.Nv.a.InsuRe/Wd/%7D#%324 +http://J.Nv.a.InsuRe/Wd/%7D#24 +http://J.Nv.J.InsuRe/Wd/%7D#24 +http://Nv.Nv.J.InsuRe/Wd/%7D#24 +http://Nv.Nv.J.InsuRe/%7D/%7D#24 +http://Nv.Nv.J.InsuRe/%7D/%7D/104 +https://N.hOdFX2.vgWvvW.tzZbaOT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H#%46 +https://N.hOdFX2.vgWvvW.tzZbaOT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://N.hOdFX2.vgWvvW.tOdFXT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://N.hOdFX2.vOdFXT.tOdFXT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://N.hOdFX2.vOdFXT.N.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://N.hOdFX2.vOdFXT.NOdFXT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://N.hOdFX2.vddFXT.NOdFXT.FAITH//C.AM/2%7B%0DD//%0C%3D%3E/J/%3D%5C/m2/3Re%0D6/+%3F%0AM6H +https://O.icu:57460/q%40Z%0A%3E%20V%3B%2F#%31 +https://O.icu:57460/q%40Z%0A%3E%20V%3B%2F/11/%3A~7/69%5CQcve/%255SEZyp//o/V/6OZY6%23h9%3D9%2F3j-/-%09i'%40K +https://D.Cf4sD7D9tg273.m.U.B6zUL0.A.W1z71B010bZ06922R.g.O.O.icu:272// +https://D.Cf4sD7D9tg2b3.m.U.B6zUL0.A.W1z71B010bZ06922R.g.O.O.icu:272// +https://D.Cf4sD7D9tg2b3.m.U.B6zUL0.A.W6zUL0.g.O.O.icu:272// +https://D.C6zUL3.m.U.B6zUL0.A.W6zUL0.g.O.O.icu:272// +https://D.C6zUL3.m.U.B6zUL0.A.W6zUL0.g.O.O.icu:4097/ +http://A.rocks/ +http://A.rocks/ +=========================== short test summary info ============================ +FAILED tests/test_rfc3986_validator.py::test_against_legacy_hypothesis - hypo... +======================== 1 failed, 260 passed in 39.29s ======================== +E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/rfc3986-validator-0.1.1/.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:6: 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/13086/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Thu May 16 08:52:26 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 6.2G 0 6.2G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/13086/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/23222 and its subdirectories -I: Current time: Wed May 15 20:49:29 -12 2024 -I: pbuilder-time-stamp: 1715849369 +I: removing directory /srv/workspace/pbuilder/13086 and its subdirectories