Diff of the two buildlogs: -- --- b1/build.log 2023-04-14 13:14:49.492285071 +0000 +++ b2/build.log 2023-04-14 13:15:46.589748027 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 16 07:37:11 -12 2024 -I: pbuilder-time-stamp: 1715888231 +I: Current time: Sat Apr 15 03:14:50 +14 2023 +I: pbuilder-time-stamp: 1681478090 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-sasha-s-go-deadlock_0.3.1.orig.tar.gz] I: copying [./golang-github-sasha-s-go-deadlock_0.3.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Nov 2 20:02:11 2021 -12 +gpgv: Signature made Wed Nov 3 22:02:11 2021 +14 gpgv: using RSA key 098735E890D75A09B364168E1A0EB82F071F5EFE gpgv: issuer "alois@micard.lu" gpgv: Can't check signature: No public key @@ -26,135 +26,144 @@ dpkg-source: info: unpacking golang-github-sasha-s-go-deadlock_0.3.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2649945/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +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/2751237/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + 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=16' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='a2586f3b2c9a4f39aca1ae24c9c93ce3' + INVOCATION_ID='bc89b0ed1b394001beee05e36b27a052' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='2649945' + PPID='2751237' PS1='# ' PS2='> ' 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.2JhYBYKz/pbuilderrc_PKG3 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2JhYBYKz/b1 --logfile b1/build.log golang-github-sasha-s-go-deadlock_0.3.1-1.dsc' - SUDO_GID='110' - SUDO_UID='105' + 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.2JhYBYKz/pbuilderrc_preV --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2JhYBYKz/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-sasha-s-go-deadlock_0.3.1-1.dsc' + SUDO_GID='111' + SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + http_proxy='http://78.137.99.97:3128' I: uname -a - Linux ionos5-amd64 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2649945/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 10:05 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:05 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 4 Jan 6 03:20 sh -> dash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -233,7 +242,7 @@ Get: 35 http://deb.debian.org/debian bookworm/main amd64 golang-go amd64 2:1.19~1 [45.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 golang-any amd64 2:1.19~1 [5876 B] Get: 37 http://deb.debian.org/debian bookworm/main amd64 golang-github-petermattis-goid-dev all 0.0~git20180202.b0b1615-3 [4724 B] -Fetched 99.8 MB in 1s (102 MB/s) +Fetched 99.8 MB in 1s (90.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) @@ -395,8 +404,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-sasha-s-go-deadlock-0.3.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 > ../golang-github-sasha-s-go-deadlock_0.3.1-1_source.changes +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/golang-github-sasha-s-go-deadlock-0.3.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 > ../golang-github-sasha-s-go-deadlock_0.3.1-1_source.changes dpkg-buildpackage: info: source package golang-github-sasha-s-go-deadlock dpkg-buildpackage: info: source version 0.3.1-1 dpkg-buildpackage: info: source distribution unstable @@ -414,22 +434,22 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 16 github.com/sasha-s/go-deadlock + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 15 github.com/sasha-s/go-deadlock internal/goarch -unicode/utf8 internal/unsafeheader -internal/race -internal/itoa -runtime/internal/math +internal/goexperiment internal/goos -math/bits -unicode -runtime/internal/syscall -internal/cpu +internal/race runtime/internal/atomic -internal/goexperiment sync/atomic +unicode/utf8 +math/bits +internal/itoa +unicode internal/abi +runtime/internal/math +internal/cpu +runtime/internal/syscall runtime/internal/sys internal/bytealg math @@ -440,33 +460,33 @@ runtime/cgo errors sort +io internal/oserror internal/safefilepath path -io strconv syscall bytes strings reflect -github.com/petermattis/goid bufio -internal/syscall/execenv +github.com/petermattis/goid internal/syscall/unix +internal/syscall/execenv time io/fs internal/poll -os internal/fmtsort +os io/ioutil path/filepath fmt os/user github.com/sasha-s/go-deadlock dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/sasha-s/go-deadlock + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/sasha-s/go-deadlock === RUN TestNoDeadlocks ---- PASS: TestNoDeadlocks (0.78s) +--- PASS: TestNoDeadlocks (0.82s) === RUN TestLockOrder POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine: happened before @@ -486,7 +506,7 @@ deadlock.go:137 go-deadlock.(*RWMutex).RLock { func (m *RWMutex) RLock() { } Other goroutines holding locks: -goroutine 351 lock 0xc00022c038 +goroutine 351 lock 0xc000142038 deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } <<<<< deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } @@ -496,65 +516,65 @@ === RUN TestHardDeadlock POTENTIAL DEADLOCK: Previous place where the lock was grabbed -goroutine 352 lock 0xc00022c0f0 +goroutine 352 lock 0xc0001420f0 deadlock_test.go:104 go-deadlock.TestHardDeadlock { mu.Lock() } <<<<< deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } Have been trying to lock it again for more than 20ms -goroutine 354 lock 0xc00022c0f0 +goroutine 370 lock 0xc0001420f0 deadlock_test.go:108 go-deadlock.TestHardDeadlock.func2 { mu.Lock() } <<<<< deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } Here is what goroutine 352 doing now goroutine 352 [select]: -github.com/sasha-s/go-deadlock.TestHardDeadlock(0xc0002071e0) +github.com/sasha-s/go-deadlock.TestHardDeadlock(0xc000103ba0) /build/golang-github-sasha-s-go-deadlock-0.3.1/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:111 +0x279 -testing.tRunner(0xc0002071e0, 0x541f28) +testing.tRunner(0xc000103ba0, 0x541f28) /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b created by testing.(*T).Run /usr/lib/go-1.19/src/testing/testing.go:1493 +0x35f -2024/05/16 07:37:44 **************** +2023/04/15 03:15:41 **************** --- PASS: TestHardDeadlock (0.10s) === RUN TestRWMutex POTENTIAL DEADLOCK: Previous place where the lock was grabbed -goroutine 336 lock 0xc000020300 +goroutine 57 lock 0xc000020318 deadlock_test.go:131 go-deadlock.TestRWMutex { a.RLock() } <<<<< deadlock.go:137 go-deadlock.(*RWMutex).RLock { func (m *RWMutex) RLock() { } Have been trying to lock it again for more than 20ms -goroutine 370 lock 0xc000020300 +goroutine 59 lock 0xc000020318 deadlock_test.go:134 go-deadlock.TestRWMutex.func2 { a.Lock() } <<<<< deadlock.go:116 go-deadlock.(*RWMutex).Lock { func (m *RWMutex) Lock() { } -Here is what goroutine 336 doing now -goroutine 336 [sleep]: +Here is what goroutine 57 doing now +goroutine 57 [sleep]: time.Sleep(0x5f5e100) /usr/lib/go-1.19/src/runtime/time.go:195 +0x135 -github.com/sasha-s/go-deadlock.TestRWMutex(0xc0000a2d00) +github.com/sasha-s/go-deadlock.TestRWMutex(0xc0000d1860) /build/golang-github-sasha-s-go-deadlock-0.3.1/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:137 +0x205 -testing.tRunner(0xc0000a2d00, 0x541f48) +testing.tRunner(0xc0000d1860, 0x541f48) /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b created by testing.(*T).Run /usr/lib/go-1.19/src/testing/testing.go:1493 +0x35f POTENTIAL DEADLOCK: Previous place where the lock was grabbed -goroutine 336 lock 0xc000020300 +goroutine 57 lock 0xc000020318 deadlock_test.go:131 go-deadlock.TestRWMutex { a.RLock() } <<<<< deadlock.go:137 go-deadlock.(*RWMutex).RLock { func (m *RWMutex) RLock() { } Have been trying to lock it again for more than 20ms -goroutine 68 lock 0xc000020300 +goroutine 61 lock 0xc000020318 deadlock_test.go:142 go-deadlock.TestRWMutex.func3 { a.RLock() } <<<<< deadlock.go:137 go-deadlock.(*RWMutex).RLock { func (m *RWMutex) RLock() { } -Here is what goroutine 336 doing now -goroutine 336 [select]: -github.com/sasha-s/go-deadlock.TestRWMutex(0xc0000a2d00) +Here is what goroutine 57 doing now +goroutine 57 [select]: +github.com/sasha-s/go-deadlock.TestRWMutex(0xc0000d1860) /build/golang-github-sasha-s-go-deadlock-0.3.1/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:145 +0x2b9 -testing.tRunner(0xc0000a2d00, 0x541f48) +testing.tRunner(0xc0000d1860, 0x541f48) /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b created by testing.(*T).Run /usr/lib/go-1.19/src/testing/testing.go:1493 +0x35f @@ -562,7 +582,7 @@ --- PASS: TestRWMutex (0.15s) === RUN TestLockDuplicate POTENTIAL DEADLOCK: Recursive locking: -current goroutine 305 lock 0xc00013a038 +current goroutine 65 lock 0xc00001c230 deadlock_test.go:181 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } @@ -571,7 +591,7 @@ deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } POTENTIAL DEADLOCK: Recursive locking: -current goroutine 304 lock 0xc000142000 +current goroutine 64 lock 0xc000020330 deadlock_test.go:175 go-deadlock.TestLockDuplicate.func2 { a.Lock() } <<<<< deadlock.go:116 go-deadlock.(*RWMutex).Lock { func (m *RWMutex) Lock() { } @@ -580,14 +600,14 @@ deadlock.go:137 go-deadlock.(*RWMutex).RLock { func (m *RWMutex) RLock() { } Other goroutines holding locks: -goroutine 305 lock 0xc00013a038 +goroutine 65 lock 0xc00001c230 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock.go:84 go-deadlock.(*Mutex).Lock { func (m *Mutex) Lock() { } --- PASS: TestLockDuplicate (1.00s) PASS -ok github.com/sasha-s/go-deadlock 2.048s +ok github.com/sasha-s/go-deadlock 2.080s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -614,12 +634,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2751237/tmp/hooks/B01_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/2649945 and its subdirectories -I: Current time: Thu May 16 07:37:49 -12 2024 -I: pbuilder-time-stamp: 1715888269 +I: removing directory /srv/workspace/pbuilder/2751237 and its subdirectories +I: Current time: Sat Apr 15 03:15:46 +14 2023 +I: pbuilder-time-stamp: 1681478146