I: pbuilder: network access will be disabled during build I: Current time: Sat Oct 5 06:29:30 -12 2024 I: pbuilder-time-stamp: 1728152970 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-sasha-s-go-deadlock_0.3.3-1.dsc] I: copying [./golang-github-sasha-s-go-deadlock_0.3.3.orig.tar.gz] I: copying [./golang-github-sasha-s-go-deadlock_0.3.3-1.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Aug 14 15:48:01 2024 gpgv: using RSA key 73BF778B115353D5627A7ED987B22FF39CA33BBD gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-sasha-s-go-deadlock_0.3.3-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-sasha-s-go-deadlock in golang-github-sasha-s-go-deadlock-0.3.3 dpkg-source: info: unpacking golang-github-sasha-s-go-deadlock_0.3.3.orig.tar.gz dpkg-source: info: unpacking golang-github-sasha-s-go-deadlock_0.3.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/24376/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' IFS=' ' INVOCATION_ID='f8ba5fef3f0b45698ede4c66c78b3192' 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='24376' 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.AhSOFSmN/pbuilderrc_oDm4 --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.AhSOFSmN/b1 --logfile b1/build.log golang-github-sasha-s-go-deadlock_0.3.3-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/' I: uname -a Linux ff4a 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/24376/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-petermattis-goid-dev (>= 0.0~git20240813.4fcff4a~) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19508 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-petermattis-goid-dev (>= 0.0~git20240813.4fcff4a~); however: Package golang-github-petermattis-goid-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.23-go{a} golang-1.23-src{a} golang-any{a} golang-github-petermattis-goid-dev{a} golang-go{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 36 newly installed, 0 to remove and 0 not upgraded. Need to get 61.9 MB of archives. After unpacking 310 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.40.2-8 [88.8 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main armhf libelf1t64 armhf 0.191-2 [183 kB] Get: 23 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-5 [9075 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.1 [604 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf dh-golang all 1.62 [24.7 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf golang-1.23-src all 1.23.2-1 [19.1 MB] Get: 32 http://deb.debian.org/debian trixie/main armhf golang-1.23-go armhf 1.23.2-1 [23.6 MB] Get: 33 http://deb.debian.org/debian trixie/main armhf golang-src all 2:1.23~2 [5088 B] Get: 34 http://deb.debian.org/debian trixie/main armhf golang-go armhf 2:1.23~2 [44.3 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 36 http://deb.debian.org/debian trixie/main armhf golang-github-petermattis-goid-dev all 0.0~git20240813.4fcff4a-1 [4880 B] Fetched 61.9 MB in 4s (16.0 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 ... 19508 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_armhf.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../21-libelf1t64_0.191-2_armhf.deb ... Unpacking libelf1t64:armhf (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../23-libicu72_72.1-5_armhf.deb ... Unpacking libicu72:armhf (72.1-5) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_armhf.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package dh-golang. Preparing to unpack .../29-dh-golang_1.62_all.deb ... Unpacking dh-golang (1.62) ... Selecting previously unselected package golang-1.23-src. Preparing to unpack .../30-golang-1.23-src_1.23.2-1_all.deb ... Unpacking golang-1.23-src (1.23.2-1) ... Selecting previously unselected package golang-1.23-go. Preparing to unpack .../31-golang-1.23-go_1.23.2-1_armhf.deb ... Unpacking golang-1.23-go (1.23.2-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../32-golang-src_2%3a1.23~2_all.deb ... Unpacking golang-src (2:1.23~2) ... Selecting previously unselected package golang-go:armhf. Preparing to unpack .../33-golang-go_2%3a1.23~2_armhf.deb ... Unpacking golang-go:armhf (2:1.23~2) ... Selecting previously unselected package golang-any:armhf. Preparing to unpack .../34-golang-any_2%3a1.23~2_armhf.deb ... Unpacking golang-any:armhf (2:1.23~2) ... Selecting previously unselected package golang-github-petermattis-goid-dev. Preparing to unpack .../35-golang-github-petermattis-goid-dev_0.0~git20240813.4fcff4a-1_all.deb ... Unpacking golang-github-petermattis-goid-dev (0.0~git20240813.4fcff4a-1) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libicu72:armhf (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:armhf (0.191-2) ... Setting up autotools-dev (20220109.1) ... Setting up golang-github-petermattis-goid-dev (0.0~git20240813.4fcff4a-1) ... Setting up golang-1.23-src (1.23.2-1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up golang-src (2:1.23~2) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.23-go (1.23.2-1) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up golang-go:armhf (2:1.23~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:armhf (2:1.23~2) ... Setting up debhelper (13.20) ... Setting up dh-golang (1.62) ... Processing triggers for libc-bin (2.40-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/ && 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.3-1_source.changes dpkg-buildpackage: info: source package golang-github-sasha-s-go-deadlock dpkg-buildpackage: info: source version 0.3.3-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Shengjing Zhu dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules binary dh binary --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/sasha-s/go-deadlock internal/unsafeheader internal/goarch internal/cpu internal/byteorder internal/abi internal/chacha8rand internal/bytealg internal/coverage/rtcov internal/godebugs internal/goexperiment internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall internal/stringslite runtime/internal/math runtime/internal/sys internal/runtime/exithook internal/race sync/atomic unicode unicode/utf8 cmp internal/itoa runtime math/bits math internal/asan internal/msan sync iter internal/reflectlite slices internal/bisect internal/testlog runtime/cgo errors io strconv bytes strings reflect bufio internal/oserror path internal/godebug syscall github.com/petermattis/goid internal/syscall/unix time internal/syscall/execenv internal/fmtsort io/fs internal/poll internal/filepathlite os io/ioutil path/filepath fmt os/user github.com/sasha-s/go-deadlock dh_auto_test -O--buildsystem=golang cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/sasha-s/go-deadlock === RUN TestNoDeadlocks --- PASS: TestNoDeadlocks (0.82s) === RUN TestLockOrder POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine: happened before deadlock_test.go:75 go-deadlock.TestLockOrder.func2 { a.Lock() } <<<<< deadlock_test.go:74 go-deadlock.TestLockOrder.func2 { defer wg.Done() } happened after deadlock_test.go:76 go-deadlock.TestLockOrder.func2 { b.Lock() } <<<<< deadlock_test.go:75 go-deadlock.TestLockOrder.func2 { a.Lock() } in another goroutine: happened before deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } <<<<< deadlock_test.go:83 go-deadlock.TestLockOrder.func3 { defer wg.Done() } happened after deadlock_test.go:85 go-deadlock.TestLockOrder.func3 { a.RLock() } <<<<< deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } Other goroutines holding locks: goroutine 331 lock 0x1994030 deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } <<<<< deadlock_test.go:83 go-deadlock.TestLockOrder.func3 { defer wg.Done() } --- PASS: TestLockOrder (0.01s) === RUN TestHardDeadlock POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 332 lock 0x1994108 deadlock_test.go:104 go-deadlock.TestHardDeadlock { mu.Lock() } <<<<< deadlock_test.go:103 go-deadlock.TestHardDeadlock { var mu Mutex } Have been trying to lock it again for more than 20ms goroutine 334 lock 0x1994108 deadlock_test.go:108 go-deadlock.TestHardDeadlock.func2 { mu.Lock() } <<<<< deadlock_test.go:107 go-deadlock.TestHardDeadlock.func2 { defer close(ch) } Here is what goroutine 332 doing now goroutine 332 [select]: github.com/sasha-s/go-deadlock.TestHardDeadlock(0x19a4108) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/deadlock_test.go:111 +0x20c testing.tRunner(0x19a4108, 0x196f70) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 2024/10/05 18:31:39 **************** --- PASS: TestHardDeadlock (0.10s) === RUN TestRWMutex POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 314 lock 0x1816318 deadlock_test.go:131 go-deadlock.TestRWMutex { a.RLock() } <<<<< deadlock_test.go:130 go-deadlock.TestRWMutex { var a RWMutex } Have been trying to lock it again for more than 20ms goroutine 316 lock 0x1816318 deadlock_test.go:134 go-deadlock.TestRWMutex.func2 { a.Lock() } <<<<< deadlock_test.go:133 go-deadlock.TestRWMutex.func2 { // We detect a potential deadlock here. } Here is what goroutine 314 doing now goroutine 314 [sleep]: time.Sleep(0x5f5e100) /usr/lib/go-1.23/src/runtime/time.go:315 +0x130 github.com/sasha-s/go-deadlock.TestRWMutex(0x1874108) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/deadlock_test.go:137 +0x17c testing.tRunner(0x1874108, 0x196f88) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 314 lock 0x1816318 deadlock_test.go:131 go-deadlock.TestRWMutex { a.RLock() } <<<<< deadlock_test.go:130 go-deadlock.TestRWMutex { var a RWMutex } Have been trying to lock it again for more than 20ms goroutine 318 lock 0x1816318 deadlock_test.go:142 go-deadlock.TestRWMutex.func3 { a.RLock() } <<<<< deadlock_test.go:141 go-deadlock.TestRWMutex.func3 { defer close(ch) } Here is what goroutine 314 doing now goroutine 314 [select]: github.com/sasha-s/go-deadlock.TestRWMutex(0x1874108) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/deadlock_test.go:145 +0x25c testing.tRunner(0x1874108, 0x196f88) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 --- PASS: TestRWMutex (0.15s) === RUN TestLockDuplicate POTENTIAL DEADLOCK: Recursive locking: current goroutine 360 lock 0x18a01f0 deadlock_test.go:181 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } Previous place where the lock was grabbed (same goroutine) deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } POTENTIAL DEADLOCK: Recursive locking: current goroutine 359 lock 0x18d6090 deadlock_test.go:175 go-deadlock.TestLockDuplicate.func2 { a.Lock() } <<<<< deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } Previous place where the lock was grabbed (same goroutine) deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } --- PASS: TestLockDuplicate (1.00s) === RUN TestTryLockNoDeadlocks --- PASS: TestTryLockNoDeadlocks (0.04s) === RUN TestTryLockOrder POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine: happened before trylock.go:13 go-deadlock.(*RWMutex).TryLock { func (m *RWMutex) TryLock() bool { } <<<<< trylock_test.go:81 go-deadlock.TestTryLockOrder.func2 { defer wg.Done() } happened after trylock.go:7 go-deadlock.(*Mutex).TryLock { func (m *Mutex) TryLock() bool { } <<<<< trylock_test.go:82 go-deadlock.TestTryLockOrder.func2 { if a.TryLock() { } in another goroutine: happened before trylock_test.go:93 go-deadlock.TestTryLockOrder.func3 { b.Lock() } <<<<< trylock_test.go:92 go-deadlock.TestTryLockOrder.func3 { defer wg.Done() } happened after trylock_test.go:94 go-deadlock.TestTryLockOrder.func3 { a.RLock() } <<<<< trylock_test.go:93 go-deadlock.TestTryLockOrder.func3 { b.Lock() } Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } goroutine 386 lock 0x1994128 trylock_test.go:93 go-deadlock.TestTryLockOrder.func3 { b.Lock() } <<<<< trylock_test.go:92 go-deadlock.TestTryLockOrder.func3 { defer wg.Done() } --- PASS: TestTryLockOrder (0.00s) === RUN TestHardDeadlockTryLock POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 387 lock 0x1994208 trylock.go:7 go-deadlock.(*Mutex).TryLock { func (m *Mutex) TryLock() bool { } <<<<< trylock_test.go:112 go-deadlock.TestHardDeadlockTryLock { var mu Mutex } Have been trying to lock it again for more than 20ms goroutine 388 lock 0x1994208 trylock_test.go:119 go-deadlock.TestHardDeadlockTryLock.func2 { mu.Lock() } <<<<< trylock_test.go:118 go-deadlock.TestHardDeadlockTryLock.func2 { defer close(ch) } Here is what goroutine 387 doing now goroutine 387 [select]: github.com/sasha-s/go-deadlock.TestHardDeadlockTryLock(0x19a4308) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/trylock_test.go:122 +0x248 testing.tRunner(0x19a4308, 0x196f74) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } --- PASS: TestHardDeadlockTryLock (0.10s) === RUN TestMutexTryLock --- PASS: TestMutexTryLock (0.00s) === RUN TestRWMutexTryLock POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 362 lock 0x18d60a8 trylock.go:19 go-deadlock.(*RWMutex).TryRLock { func (m *RWMutex) TryRLock() bool { } <<<<< trylock_test.go:153 go-deadlock.TestRWMutexTryLock { var a RWMutex } Have been trying to lock it again for more than 20ms goroutine 363 lock 0x18d60a8 trylock_test.go:159 go-deadlock.TestRWMutexTryLock.func2 { a.Lock() } <<<<< trylock_test.go:158 go-deadlock.TestRWMutexTryLock.func2 { // We detect a potential deadlock here. } Here is what goroutine 362 doing now goroutine 362 [sleep]: time.Sleep(0x5f5e100) /usr/lib/go-1.23/src/runtime/time.go:315 +0x130 github.com/sasha-s/go-deadlock.TestRWMutexTryLock(0x18ce408) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/trylock_test.go:162 +0x1b8 testing.tRunner(0x18ce408, 0x196f8c) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 362 lock 0x18d60a8 trylock.go:19 go-deadlock.(*RWMutex).TryRLock { func (m *RWMutex) TryRLock() bool { } <<<<< trylock_test.go:153 go-deadlock.TestRWMutexTryLock { var a RWMutex } Have been trying to lock it again for more than 20ms goroutine 320 lock 0x18d60a8 trylock_test.go:167 go-deadlock.TestRWMutexTryLock.func3 { a.RLock() } <<<<< trylock_test.go:166 go-deadlock.TestRWMutexTryLock.func3 { defer close(ch) } Here is what goroutine 362 doing now goroutine 362 [select]: github.com/sasha-s/go-deadlock.TestRWMutexTryLock(0x18ce408) /build/reproducible-path/golang-github-sasha-s-go-deadlock-0.3.3/obj-arm-linux-gnueabihf/src/github.com/sasha-s/go-deadlock/trylock_test.go:170 +0x298 testing.tRunner(0x18ce408, 0x196f8c) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } --- PASS: TestRWMutexTryLock (0.15s) === RUN TestTryLockDuplicate POTENTIAL DEADLOCK: Recursive locking: current goroutine 367 lock 0x18a03a8 trylock_test.go:203 go-deadlock.TestTryLockDuplicate.func3 { b.Lock() } <<<<< trylock_test.go:202 go-deadlock.TestTryLockDuplicate.func3 { } } Previous place where the lock was grabbed (same goroutine) trylock.go:7 go-deadlock.(*Mutex).TryLock { func (m *Mutex) TryLock() bool { } <<<<< trylock_test.go:199 go-deadlock.TestTryLockDuplicate.func3 { go func() { } Other goroutines holding locks: goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } POTENTIAL DEADLOCK: Recursive locking: current goroutine 366 lock 0x18d60f0 trylock_test.go:195 go-deadlock.TestTryLockDuplicate.func2 { a.Lock() } <<<<< trylock_test.go:194 go-deadlock.TestTryLockDuplicate.func2 { } } Previous place where the lock was grabbed (same goroutine) trylock.go:19 go-deadlock.(*RWMutex).TryRLock { func (m *RWMutex) TryRLock() bool { } <<<<< trylock_test.go:191 go-deadlock.TestTryLockDuplicate.func2 { go func() { } Other goroutines holding locks: goroutine 359 lock 0x18d6090 deadlock_test.go:174 go-deadlock.TestLockDuplicate.func2 { a.RLock() } <<<<< deadlock_test.go:173 go-deadlock.TestLockDuplicate.func2 { go func() { } goroutine 367 lock 0x18a03a8 trylock.go:7 go-deadlock.(*Mutex).TryLock { func (m *Mutex) TryLock() bool { } <<<<< trylock_test.go:199 go-deadlock.TestTryLockDuplicate.func3 { go func() { } goroutine 360 lock 0x18a01f0 deadlock_test.go:180 go-deadlock.TestLockDuplicate.func3 { b.Lock() } <<<<< deadlock_test.go:179 go-deadlock.TestLockDuplicate.func3 { go func() { } --- PASS: TestTryLockDuplicate (1.00s) PASS ok github.com/sasha-s/go-deadlock 3.393s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang dh_auto_install --destdir=debian/golang-github-sasha-s-go-deadlock-dev/ -O--buildsystem=golang dh_installdocs -O--buildsystem=golang dh_installchangelogs -O--buildsystem=golang dh_installsystemduser -O--buildsystem=golang dh_perl -O--buildsystem=golang dh_link -O--buildsystem=golang dh_strip_nondeterminism -O--buildsystem=golang dh_compress -O--buildsystem=golang dh_fixperms -O--buildsystem=golang dh_missing -O--buildsystem=golang dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang dpkg-deb: building package 'golang-github-sasha-s-go-deadlock-dev' in '../golang-github-sasha-s-go-deadlock-dev_0.3.3-1_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-sasha-s-go-deadlock_0.3.3-1_armhf.buildinfo dpkg-genchanges --build=binary -O../golang-github-sasha-s-go-deadlock_0.3.3-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 I: copying local configuration 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/24376 and its subdirectories I: Current time: Sat Oct 5 06:31:52 -12 2024 I: pbuilder-time-stamp: 1728153112