Diff of the two buildlogs: -- --- b1/build.log 2025-10-26 05:52:05.214702696 +0000 +++ b2/build.log 2025-10-26 05:56:06.755033364 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Nov 28 00:08:36 -12 2026 -I: pbuilder-time-stamp: 1795867716 +I: Current time: Sun Oct 26 19:52:06 +14 2025 +I: pbuilder-time-stamp: 1761457926 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -24,53 +24,85 @@ dpkg-source: info: applying 0001-Fix-interpreter-in-example-file.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1537314/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/427834/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 Oct 26 05:52 /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/427834/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/427834/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f1e3867536054648a065df6a516008cf' - 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='1537314' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ddba9184d5e4476b95a21184bd6cf70 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=427834 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.pFGdv1CI/pbuilderrc_i6s7 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pFGdv1CI/b1 --logfile b1/build.log python-simple-pid_2.0.1-2.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.pFGdv1CI/pbuilderrc_sgZb --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pFGdv1CI/b2 --logfile b2/build.log python-simple-pid_2.0.1-2.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1537314/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/427834/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -231,7 +263,7 @@ Get: 103 http://deb.debian.org/debian forky/main amd64 python3-pluggy all 1.6.0-1 [27.1 kB] Get: 104 http://deb.debian.org/debian forky/main amd64 python3-pytest all 8.4.2-1 [266 kB] Get: 105 http://deb.debian.org/debian forky/main amd64 python3-sphinx-copybutton all 0.5.2-3 [18.1 kB] -Fetched 32.8 MB in 13s (2621 kB/s) +Fetched 32.8 MB in 5s (6623 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19900 files and directories currently installed.) @@ -576,8 +608,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Nov 28 12:12:14 UTC 2026. -Universal Time is now: Sat Nov 28 12:12:14 UTC 2026. +Local time is now: Sun Oct 26 05:53:20 UTC 2025. +Universal Time is now: Sun Oct 26 05:53:20 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -693,7 +725,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/python-simple-pid-2.0.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 > ../python-simple-pid_2.0.1-2_source.changes +I: user script /srv/workspace/pbuilder/427834/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/427834/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-simple-pid-2.0.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 > ../python-simple-pid_2.0.1-2_source.changes dpkg-buildpackage: info: source package python-simple-pid dpkg-buildpackage: info: source version 2.0.1-2 dpkg-buildpackage: info: source distribution unstable @@ -769,13 +805,13 @@ creating build/bdist.linux-x86_64/wheel/simple_pid copying build/lib/simple_pid/pid.pyi -> build/bdist.linux-x86_64/wheel/./simple_pid copying build/lib/simple_pid/__init__.py -> build/bdist.linux-x86_64/wheel/./simple_pid -copying build/lib/simple_pid/pid.py -> build/bdist.linux-x86_64/wheel/./simple_pid copying build/lib/simple_pid/py.typed -> build/bdist.linux-x86_64/wheel/./simple_pid +copying build/lib/simple_pid/pid.py -> build/bdist.linux-x86_64/wheel/./simple_pid running install_egg_info Copying simple_pid.egg-info to build/bdist.linux-x86_64/wheel/./simple_pid-2.0.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/simple_pid-2.0.1.dist-info/WHEEL -creating '/build/reproducible-path/python-simple-pid-2.0.1/.pybuild/cpython3_3.13_simple_pid/.tmp-rzin4vcx/simple_pid-2.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/python-simple-pid-2.0.1/.pybuild/cpython3_3.13_simple_pid/.tmp-1ir1cggh/simple_pid-2.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'simple_pid/__init__.py' adding 'simple_pid/pid.py' adding 'simple_pid/pid.pyi' @@ -797,93 +833,50 @@ plugins: typeguard-4.4.4 collected 20 items -tests/test_pid.py .................... [100%] +tests/test_pid.py .....F.............. [100%] -======================== 20 passed in 134.59s (0:02:14) ======================== - create-stamp debian/debhelper-build-stamp - 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.13 to destdir - dh_installdocs -O--buildsystem=pybuild - debian/rules override_dh_sphinxdoc -make[1]: Entering directory '/build/reproducible-path/python-simple-pid-2.0.1' -http_proxy='http://127.0.0.1:9/' PYTHONPATH=. python3 -m sphinx -N -bhtml docs/source/ debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/ -Running Sphinx v8.2.3 -loading translations [en]... done -making output directory... done -WARNING: html_static_path entry '_static' does not exist -myst v4.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True) -building [mo]: targets for 0 po files that are out of date -writing output... -building [html]: targets for 3 source files that are out of date -updating environment: [new config] 3 added, 0 changed, 0 removed -reading sources... [ 33%] index -reading sources... [ 67%] reference -reading sources... [100%] user_guide - -looking for now-outdated files... none found -pickling environment... done -checking consistency... done -preparing documents... done -copying assets... -copying static files... -Writing evaluated template result to /build/reproducible-path/python-simple-pid-2.0.1/debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/documentation_options.js -Writing evaluated template result to /build/reproducible-path/python-simple-pid-2.0.1/debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/basic.css -Writing evaluated template result to /build/reproducible-path/python-simple-pid-2.0.1/debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/language_data.js -Writing evaluated template result to /build/reproducible-path/python-simple-pid-2.0.1/debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/copybutton.js -copying static files: done -copying extra files... -copying extra files: done -copying assets: done -writing output... [ 33%] index -writing output... [ 67%] reference -writing output... [100%] user_guide - -generating indices... genindex py-modindex done -highlighting module code... [100%] simple_pid.pid - -writing additional pages... search done -dumping search index in English (code: en)... done -dumping object inventory... done -build succeeded, 1 warning. - -The HTML pages are in debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html. -dh_sphinxdoc -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/copybutton.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/copybutton_funcs.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-simple-pid-doc/usr/share/doc/python-simple-pid-doc/html/_static/clipboard.min.js -make[1]: Leaving directory '/build/reproducible-path/python-simple-pid-2.0.1' - dh_installchangelogs -O--buildsystem=pybuild - dh_installexamples -O--buildsystem=pybuild -dh_installexamples: warning: Cannot auto-detect main package for python-simple-pid-doc. If the default is wrong, please use --doc-main-package or the X-Doc-Main-Package field - 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 'python-simple-pid-doc' in '../python-simple-pid-doc_2.0.1-2_all.deb'. -dpkg-deb: building package 'python3-simple-pid' in '../python3-simple-pid_2.0.1-2_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-simple-pid_2.0.1-2_amd64.buildinfo - dpkg-genchanges --build=binary -O../python-simple-pid_2.0.1-2_amd64.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 +=================================== FAILURES =================================== +____________________________________ test_D ____________________________________ + + def test_D(): + pid = PID(0, 0, 0.1, setpoint=10, sample_time=0.1) + + # Should not compute derivative when there is no previous input (don't assume 0 as first input) + assert pid(0) == 0 + time.sleep(0.1) + + # Derivative is 0 when input is the same + assert pid(0) == 0 + assert pid(0) == 0 + time.sleep(0.1) + + assert round(pid(5)) == -5 + time.sleep(0.1) +> assert round(pid(15)) == -10 +E assert -1 == -10 +E + where -1 = round(-1.498922490490603) +E + where -1.498922490490603 = PID(Kp=0, Ki=0, Kd=0.1, setpoint=10, sample_time=0.1, output_limits=(None, None), auto_mode=True, proportional_on_measurement=False, differential_on_measurement=True, error_map=None)(15) + +tests/test_pid.py:61: AssertionError +=========================== short test summary info ============================ +FAILED tests/test_pid.py::test_D - assert -1 == -10 +=================== 1 failed, 19 passed in 136.41s (0:02:16) =================== +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-simple-pid-2.0.1/.pybuild/cpython3_3.13_simple_pid/build; python3.13 -m pytest tests +dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13 +make: *** [debian/rules:7: 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/427834/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sun Oct 26 05:56:05 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/427834/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/1537314 and its subdirectories -I: Current time: Sat Nov 28 00:15:04 -12 2026 -I: pbuilder-time-stamp: 1795868104 +I: removing directory /srv/workspace/pbuilder/427834 and its subdirectories