Diff of the two buildlogs: -- --- b1/build.log 2024-12-05 09:39:40.648926858 +0000 +++ b2/build.log 2024-12-05 09:42:02.950490041 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 7 04:00:41 -12 2026 -I: pbuilder-time-stamp: 1767801641 +I: Current time: Thu Jan 8 06:02:44 +14 2026 +I: pbuilder-time-stamp: 1767801764 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-casbin-casbin_2.102.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/332442/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/405835/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +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 Jan 7 16:02 /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/405835/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/405835/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='f4f537e5e7134c5cad26e0b875fc098a' - 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='332442' - PS1='# ' - PS2='> ' + INVOCATION_ID=b021e3c45d33438c92476529594f7ff9 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=405835 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.fp4aHxgg/pbuilderrc_tdFN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fp4aHxgg/b1 --logfile b1/build.log golang-github-casbin-casbin_2.102.0-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.fp4aHxgg/pbuilderrc_W6lR --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fp4aHxgg/b2 --logfile b2/build.log golang-github-casbin-casbin_2.102.0-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/332442/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/405835/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 36 http://deb.debian.org/debian unstable/main arm64 golang-github-bmatcuk-doublestar-dev all 4.6.1-1 [19.9 kB] Get: 37 http://deb.debian.org/debian unstable/main arm64 golang-github-casbin-govaluate-dev all 1.2.0-1 [33.1 kB] Get: 38 http://deb.debian.org/debian unstable/main arm64 golang-github-golang-mock-dev all 1.6.0-2 [48.0 kB] -Fetched 62.2 MB in 1s (80.1 MB/s) +Fetched 62.2 MB in 2s (40.8 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 ... 20087 files and directories currently installed.) @@ -322,7 +354,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-casbin-casbin-2.102.0/ && 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-casbin-casbin_2.102.0-1_source.changes +I: user script /srv/workspace/pbuilder/405835/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/405835/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-casbin-casbin-2.102.0/ && 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-casbin-casbin_2.102.0-1_source.changes dpkg-buildpackage: info: source package golang-github-casbin-casbin dpkg-buildpackage: info: source version 2.102.0-1 dpkg-buildpackage: info: source distribution unstable @@ -341,45 +377,45 @@ dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/casbin/casbin github.com/casbin/casbin/config github.com/casbin/casbin/constant github.com/casbin/casbin/effector github.com/casbin/casbin/errors github.com/casbin/casbin/log github.com/casbin/casbin/log/mocks github.com/casbin/casbin/model github.com/casbin/casbin/persist github.com/casbin/casbin/persist/cache github.com/casbin/casbin/persist/file-adapter github.com/casbin/casbin/persist/string-adapter github.com/casbin/casbin/rbac github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/util -internal/goarch internal/byteorder -internal/race -internal/goos -internal/godebugs internal/goexperiment -internal/coverage/rtcov internal/profilerecord +internal/coverage/rtcov +internal/goarch +internal/race +internal/goos internal/unsafeheader -runtime/internal/math -runtime/internal/sys +internal/godebugs +sync/atomic unicode internal/runtime/syscall unicode/utf8 -sync/atomic internal/cpu -internal/abi -cmp -encoding math/bits +encoding +cmp internal/itoa -internal/chacha8rand internal/asan internal/msan +internal/abi +internal/chacha8rand +runtime/internal/math +runtime/internal/sys unicode/utf16 github.com/casbin/casbin/constant log/internal -container/list -math -internal/nettrace internal/bytealg internal/runtime/atomic +math +internal/nettrace +container/list internal/runtime/exithook internal/stringslite runtime internal/reflectlite +internal/weak sync iter -internal/weak slices internal/bisect internal/testlog @@ -389,48 +425,48 @@ sort internal/godebug io +strconv +internal/oserror path github.com/casbin/casbin/effector -internal/oserror github.com/casbin/casbin/errors vendor/golang.org/x/net/dns/dnsmessage -strconv -math/rand/v2 syscall +math/rand/v2 bytes -strings +reflect internal/concurrent +strings unique -reflect +net/netip bufio regexp/syntax -net/netip time internal/syscall/unix internal/syscall/execenv regexp io/fs -internal/poll -github.com/casbin/casbin/persist/cache context +github.com/casbin/casbin/persist/cache +internal/poll internal/filepathlite -os encoding/binary internal/fmtsort +os encoding/base64 fmt path/filepath github.com/bmatcuk/doublestar +net encoding/json +encoding/csv log github.com/casbin/casbin/config github.com/casbin/govaluate -encoding/csv runtime/debug github.com/golang/mock/gomock github.com/casbin/casbin/log github.com/casbin/casbin/rbac -net github.com/casbin/casbin/log/mocks github.com/casbin/casbin/util github.com/casbin/casbin/model @@ -449,7 +485,7 @@ ? github.com/casbin/casbin/persist/file-adapter [no test files] ? github.com/casbin/casbin/rbac [no test files] === RUN TestSyncCache ---- PASS: TestSyncCache (0.08s) +--- PASS: TestSyncCache (0.13s) === RUN TestCache --- PASS: TestCache (0.00s) === RUN TestSync @@ -467,7 +503,7 @@ enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] ---- PASS: TestSyncedEnforcerSelfAddPolicy (1.06s) +--- PASS: TestSyncedEnforcerSelfAddPolicy (1.10s) === RUN TestSyncedEnforcerSelfAddPolicies enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] @@ -489,11 +525,11 @@ enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] - enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user3 data3 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] ---- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.04s) + enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] +--- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.03s) === RUN TestSyncedEnforcerSelfRemovePolicy - enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user4 data4 read] [user3 data3 read] [user2 data2 read] [user5 data5 read]] + enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] @@ -513,7 +549,7 @@ enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] ---- PASS: TestSyncedEnforcerSelfRemovePolicy (2.08s) +--- PASS: TestSyncedEnforcerSelfRemovePolicy (2.06s) === RUN TestSyncedEnforcerSelfRemovePolicies enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] @@ -537,7 +573,7 @@ enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] --- PASS: TestSyncedEnforcerSelfRemovePolicies (2.08s) === RUN TestSyncedEnforcerSelfRemoveFilteredPolicy - enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] + enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user4 data4 read] [user6 data6 read] [user7 data7 write] [user8 data8 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] @@ -553,7 +589,7 @@ enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] - enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user6 data6 read] [user5 data5 read] [user7 data7 write]] + enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] @@ -579,7 +615,7 @@ enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] ---- PASS: TestSyncedEnforcerSelfUpdatePolicy (2.08s) +--- PASS: TestSyncedEnforcerSelfUpdatePolicy (2.07s) === RUN TestSyncedEnforcerSelfUpdatePolicies enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] @@ -601,7 +637,7 @@ enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] ---- PASS: TestSyncedEnforcerSelfUpdatePolicies (2.08s) +--- PASS: TestSyncedEnforcerSelfUpdatePolicies (2.05s) === RUN TestSyncedEnforcerAddPoliciesEx enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] @@ -613,7 +649,7 @@ enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] ---- PASS: TestSyncedEnforcerAddPoliciesEx (1.04s) +--- PASS: TestSyncedEnforcerAddPoliciesEx (1.03s) === RUN TestSyncedEnforcerAddNamedPoliciesEx enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] @@ -637,7 +673,7 @@ enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] ---- PASS: TestSyncedEnforcerAddGroupingPoliciesEx (1.04s) +--- PASS: TestSyncedEnforcerAddGroupingPoliciesEx (1.03s) === RUN TestSyncedEnforcerAddNamedGroupingPoliciesEx enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] @@ -651,7 +687,7 @@ enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] --- PASS: TestSyncedEnforcerAddNamedGroupingPoliciesEx (1.03s) === RUN TestKeyMatchModelInMemory ---- PASS: TestKeyMatchModelInMemory (0.01s) +--- PASS: TestKeyMatchModelInMemory (0.00s) === RUN TestKeyMatchWithRBACInDomain --- PASS: TestKeyMatchWithRBACInDomain (0.00s) === RUN TestKeyMatchModelInMemoryDeny @@ -665,7 +701,7 @@ === RUN TestNotUsedRBACModelInMemory --- PASS: TestNotUsedRBACModelInMemory (0.00s) === RUN TestMatcherUsingInOperator ---- PASS: TestMatcherUsingInOperator (0.01s) +--- PASS: TestMatcherUsingInOperator (0.00s) === RUN TestMatcherUsingInOperatorBracket --- PASS: TestMatcherUsingInOperatorBracket (0.00s) === RUN TestReloadPolicy @@ -678,28 +714,28 @@ === RUN TestEnableEnforce --- PASS: TestEnableEnforce (0.00s) === RUN TestEnableLog -2026/01/07 16:02:28 Model: [p p sub, obj, act] +2026/01/07 16:04:47 Model: [r r sub, obj, act] +[p p sub, obj, act] [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] -[r r sub, obj, act] -2026/01/07 16:02:28 Request: alice, data1, read ---> true +2026/01/07 16:04:47 Request: alice, data1, read ---> true Hit Policy: -2026/01/07 16:02:28 Request: alice, data1, write ---> false +2026/01/07 16:04:47 Request: alice, data1, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: alice, data2, read ---> false +2026/01/07 16:04:47 Request: alice, data2, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: alice, data2, write ---> false +2026/01/07 16:04:47 Request: alice, data2, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data1, read ---> false +2026/01/07 16:04:47 Request: bob, data1, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data1, write ---> false +2026/01/07 16:04:47 Request: bob, data1, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data2, read ---> false +2026/01/07 16:04:47 Request: bob, data2, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data2, write ---> true +2026/01/07 16:04:47 Request: bob, data2, write ---> true Hit Policy: ---- PASS: TestEnableLog (0.02s) +--- PASS: TestEnableLog (0.01s) === RUN TestEnableAutoSave --- PASS: TestEnableAutoSave (0.00s) === RUN TestInitWithAdapter @@ -707,11 +743,11 @@ === RUN TestRoleLinks --- PASS: TestRoleLinks (0.00s) === RUN TestEnforceConcurrency ---- PASS: TestEnforceConcurrency (0.27s) +--- PASS: TestEnforceConcurrency (0.13s) === RUN TestGetAndSetModel --- PASS: TestGetAndSetModel (0.00s) === RUN TestGetAndSetAdapterInMem ---- PASS: TestGetAndSetAdapterInMem (0.00s) +--- PASS: TestGetAndSetAdapterInMem (0.01s) === RUN TestSetAdapterFromFile --- PASS: TestSetAdapterFromFile (0.00s) === RUN TestInitEmpty @@ -719,27 +755,27 @@ === RUN TestEnforceEx --- PASS: TestEnforceEx (0.00s) === RUN TestEnforceExLog -2026/01/07 16:02:28 Model: [r r sub, obj, act] +2026/01/07 16:04:47 Model: [r r sub, obj, act] [p p sub, obj, act] [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] -2026/01/07 16:02:28 Request: alice, data1, read ---> true +2026/01/07 16:04:47 Request: alice, data1, read ---> true Hit Policy: [alice data1 read] -2026/01/07 16:02:28 Request: alice, data1, write ---> false +2026/01/07 16:04:47 Request: alice, data1, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: alice, data2, read ---> false +2026/01/07 16:04:47 Request: alice, data2, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: alice, data2, write ---> false +2026/01/07 16:04:47 Request: alice, data2, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data1, read ---> false +2026/01/07 16:04:47 Request: bob, data1, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data1, write ---> false +2026/01/07 16:04:47 Request: bob, data1, write ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data2, read ---> false +2026/01/07 16:04:47 Request: bob, data2, read ---> false Hit Policy: -2026/01/07 16:02:28 Request: bob, data2, write ---> true +2026/01/07 16:04:47 Request: bob, data2, write ---> true Hit Policy: [bob data2 write] --- PASS: TestEnforceExLog (0.00s) @@ -752,13 +788,13 @@ === RUN TestSubjectPriorityInFilter --- PASS: TestSubjectPriorityInFilter (0.00s) === RUN TestMultiplePolicyDefinitions ---- PASS: TestMultiplePolicyDefinitions (0.00s) +--- PASS: TestMultiplePolicyDefinitions (0.01s) === RUN TestPriorityExplicit --- PASS: TestPriorityExplicit (0.00s) === RUN TestFailedToLoadPolicy ---- PASS: TestFailedToLoadPolicy (0.01s) +--- PASS: TestFailedToLoadPolicy (0.03s) === RUN TestReloadPolicyWithFunc ---- PASS: TestReloadPolicyWithFunc (0.01s) +--- PASS: TestReloadPolicyWithFunc (0.06s) === RUN TestEvalPriority --- PASS: TestEvalPriority (0.00s) === RUN TestLinkConditionFunc @@ -823,7 +859,7 @@ filter_test.go:45: Has policy admin, domain2, data2, read : true filter_test.go:58: Has policy admin, domain1, data1, read : true filter_test.go:59: Has policy admin, domain2, data2, read : false ---- PASS: TestLoadFilteredPolicy (0.01s) +--- PASS: TestLoadFilteredPolicy (0.00s) === RUN TestLoadMoreTypeFilteredPolicy filter_test.go:83: Has policy book_admin, book_group, GET : true filter_test.go:84: Has policy pen_admin, pen_group, GET : true @@ -842,7 +878,7 @@ filter_test.go:134: Has policy admin, domain2, data2, read : false filter_test.go:145: Has policy admin, domain1, data1, read : true filter_test.go:146: Has policy admin, domain2, data2, read : true ---- PASS: TestAppendFilteredPolicy (0.00s) +--- PASS: TestAppendFilteredPolicy (0.01s) === RUN TestFilteredPolicyInvalidFilter --- PASS: TestFilteredPolicyInvalidFilter (0.00s) === RUN TestFilteredPolicyEmptyFilter @@ -856,7 +892,7 @@ === RUN TestCasbinJsGetPermissionForUserOld frontend_old_test.go:37: GetPermissionForUser Alice {"read":["data1","data2"],"write":["data2"]} frontend_old_test.go:65: GetPermissionForUser Bob {"write":["data2"]} ---- PASS: TestCasbinJsGetPermissionForUserOld (0.02s) +--- PASS: TestCasbinJsGetPermissionForUserOld (0.03s) === RUN TestCasbinJsGetPermissionForUser --- PASS: TestCasbinJsGetPermissionForUser (0.01s) === RUN TestGetList @@ -947,7 +983,7 @@ management_api_test.go:355: Users for member : [user1] management_api_test.go:358: Users for member : [user1 user2] management_api_test.go:361: Users for member : [user1 user2 user3] ---- PASS: TestModifyGroupingPolicyAPI (0.00s) +--- PASS: TestModifyGroupingPolicyAPI (0.01s) === RUN TestBasicModel --- PASS: TestBasicModel (0.00s) === RUN TestBasicModelWithoutSpaces @@ -971,15 +1007,15 @@ === RUN TestRBACModelWithDomainsAtRuntime --- PASS: TestRBACModelWithDomainsAtRuntime (0.00s) === RUN TestRBACModelWithDomainsAtRuntimeMockAdapter ---- PASS: TestRBACModelWithDomainsAtRuntimeMockAdapter (0.00s) +--- PASS: TestRBACModelWithDomainsAtRuntimeMockAdapter (0.01s) === RUN TestRBACModelWithDeny ---- PASS: TestRBACModelWithDeny (0.01s) +--- PASS: TestRBACModelWithDeny (0.00s) === RUN TestRBACModelWithOnlyDeny --- PASS: TestRBACModelWithOnlyDeny (0.00s) === RUN TestRBACModelWithCustomData --- PASS: TestRBACModelWithCustomData (0.00s) === RUN TestRBACModelWithPattern ---- PASS: TestRBACModelWithPattern (0.06s) +--- PASS: TestRBACModelWithPattern (0.03s) === RUN TestRBACModelWithDifferentTypesOfRoles --- PASS: TestRBACModelWithDifferentTypesOfRoles (0.00s) === RUN TestRBACModelWithCustomRoleManager @@ -987,7 +1023,7 @@ === RUN TestABACModel --- PASS: TestABACModel (0.00s) === RUN TestABACMapRequest ---- PASS: TestABACMapRequest (0.00s) +--- PASS: TestABACMapRequest (0.01s) === RUN TestABACTypes --- PASS: TestABACTypes (0.00s) === RUN TestABACJsonRequest @@ -1011,17 +1047,17 @@ === RUN TestABACNotUsingPolicy --- PASS: TestABACNotUsingPolicy (0.00s) === RUN TestABACPolicy -m -m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0x40001da390} -r -r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0x40001da390} logger -logger &{ [] [] [] map[] map[] 0x40001da390} +logger &{ [] [] [] map[] map[] 0x40003af398} p -p &{p sub_rule, obj, act [p_sub_rule p_obj p_act] [] [[r.sub.Age > 18 /data1 read] [r.sub.Age < 60 /data2 write]] map[r.sub.Age < 60,/data2,write:1 r.sub.Age > 18,/data1,read:0] map[] 0x40001da390} +p &{p sub_rule, obj, act [p_sub_rule p_obj p_act] [] [[r.sub.Age > 18 /data1 read] [r.sub.Age < 60 /data2 write]] map[r.sub.Age < 60,/data2,write:1 r.sub.Age > 18,/data1,read:0] map[] 0x40003af398} e -e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0x40001da390} ---- PASS: TestABACPolicy (0.01s) +e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0x40003af398} +m +m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0x40003af398} +r +r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0x40003af398} +--- PASS: TestABACPolicy (0.00s) === RUN TestCommentModel --- PASS: TestCommentModel (0.00s) === RUN TestDomainMatchModel @@ -1031,7 +1067,7 @@ === RUN TestTemporalRolesModel --- PASS: TestTemporalRolesModel (0.00s) === RUN TestTemporalRolesModelWithDomain ---- PASS: TestTemporalRolesModelWithDomain (0.01s) +--- PASS: TestTemporalRolesModelWithDomain (0.00s) === RUN TestRoleAPI rbac_api_test.go:74: Roles for alice : [data2_admin] rbac_api_test.go:75: Roles for bob : [] @@ -1100,11 +1136,11 @@ === RUN TestImplicitRoleAPI rbac_api_test.go:311: Permissions for alice : [[alice data1 read]] rbac_api_test.go:312: Permissions for bob : [[bob data2 write]] - rbac_api_test.go:314: Implicit roles for alice : [admin data1_admin data2_admin] + rbac_api_test.go:314: Implicit roles for alice : [admin data2_admin data1_admin] rbac_api_test.go:315: Implicit roles for bob : [] rbac_api_test.go:323: Implicit roles for cathy : [/book/1/2/3/4/5 pen_admin] rbac_api_test.go:324: Roles for cathy : [/book/1/2/3/4/5 pen_admin] ---- PASS: TestImplicitRoleAPI (0.00s) +--- PASS: TestImplicitRoleAPI (0.02s) === RUN TestImplicitPermissionAPI rbac_api_test.go:360: Permissions for alice : [[alice data1 read]] rbac_api_test.go:361: Permissions for bob : [[bob data2 write]] @@ -1116,7 +1152,7 @@ rbac_api_test.go:383: Named implicit permissions for alice : [[user view] [admin create]] rbac_api_test.go:385: Named implicit permissions for alice : [[user /data GET]] rbac_api_test.go:386: Named implicit permissions for alice : [[user view]] ---- PASS: TestImplicitPermissionAPI (0.01s) +--- PASS: TestImplicitPermissionAPI (0.00s) === RUN TestImplicitPermissionAPIWithDomain rbac_api_test.go:391: Implicit permissions for alice under domain1 : [[role:reader domain1 data1 read] [role:writer domain1 data1 write] [alice domain1 data2 read]] --- PASS: TestImplicitPermissionAPIWithDomain (0.00s) @@ -1135,7 +1171,7 @@ === RUN TestImplicitUsersForRole rbac_api_test.go:473: Implicit users for book_admin : [alice] rbac_api_test.go:474: Implicit users for pen_admin : [bob cathy] - rbac_api_test.go:476: Implicit users for book_group : [/book2/{id} /book/* /book/:id] + rbac_api_test.go:476: Implicit users for book_group : [/book/* /book/:id /book2/{id}] rbac_api_test.go:477: Implicit users for pen_group : [/pen/:id /pen2/{id}] --- PASS: TestImplicitUsersForRole (0.00s) === RUN TestExplicitPriorityModify @@ -1143,12 +1179,12 @@ === RUN TestCustomizedFieldIndex --- PASS: TestCustomizedFieldIndex (0.00s) === RUN TestGetAllowedObjectConditions -2026/01/07 16:02:29 Policy: [price < 25 category_id = 2] -2026/01/07 16:02:29 Policy: [category_id = 2] -2026/01/07 16:02:29 Policy: [author = bob] -2026/01/07 16:02:29 Policy: [price < 25] -2026/01/07 16:02:29 Policy: [category_id = 2] -2026/01/07 16:02:29 Policy: [author = bob] +2026/01/07 16:04:48 Policy: [price < 25 category_id = 2] +2026/01/07 16:04:48 Policy: [category_id = 2] +2026/01/07 16:04:48 Policy: [author = bob] +2026/01/07 16:04:48 Policy: [price < 25] +2026/01/07 16:04:48 Policy: [category_id = 2] +2026/01/07 16:04:48 Policy: [author = bob] --- PASS: TestGetAllowedObjectConditions (0.00s) === RUN TestGetImplicitUsersForResource rbac_api_test.go:623: Implicit users for data1 in domain [] : [[alice data1 read]] @@ -1159,7 +1195,7 @@ rbac_api_test.go:652: Implicit users for data1 in domain domain1 : [[alice data1 domain1 read] [alice data1 domain1 write]] rbac_api_test.go:655: Implicit users for data2 in domain domain1 : [] rbac_api_test.go:657: Implicit users for data2 in domain domain2 : [[bob data2 domain2 read] [bob data2 domain2 write]] ---- PASS: TestGetImplicitUsersForResourceByDomain (0.01s) +--- PASS: TestGetImplicitUsersForResourceByDomain (0.00s) === RUN TestGetImplicitRolesForDomainUser rbac_api_with_domains_test.go:49: Roles for alice under domain1 : [role:global_admin] rbac_api_with_domains_test.go:52: Implicit roles in domain domain1 for alice : [role:global_admin role:reader role:writer] @@ -1261,19 +1297,19 @@ === RUN TestSetWatcherUpdatable --- PASS: TestSetWatcherUpdatable (0.00s) PASS -ok github.com/casbin/casbin 18.892s +ok github.com/casbin/casbin 19.091s === RUN TestGet ---- PASS: TestGet (0.02s) +--- PASS: TestGet (0.00s) PASS -ok github.com/casbin/casbin/config 0.200s +ok github.com/casbin/casbin/config 0.080s === RUN TestLog ---- PASS: TestLog (0.00s) +--- PASS: TestLog (0.03s) PASS -ok github.com/casbin/casbin/log 0.096s +ok github.com/casbin/casbin/log 0.386s === RUN TestNewModel --- PASS: TestNewModel (0.00s) === RUN TestNewModelFromFile ---- PASS: TestNewModelFromFile (0.00s) +--- PASS: TestNewModelFromFile (0.02s) === RUN TestNewModelFromString --- PASS: TestNewModelFromString (0.00s) === RUN TestLoadModelFromConfig @@ -1301,19 +1337,19 @@ m = r.sub == p.sub && r.obj == p.obj && p_func(r.act, p.act) && testp_func(r.act, p.act) --- PASS: TestModelToTest (0.00s) PASS -ok github.com/casbin/casbin/model 0.192s +ok github.com/casbin/casbin/model 0.428s === RUN TestPersist --- PASS: TestPersist (0.00s) === RUN TestDuplicateRuleInAdapter ---- PASS: TestDuplicateRuleInAdapter (0.02s) +--- PASS: TestDuplicateRuleInAdapter (0.04s) PASS -ok github.com/casbin/casbin/persist 0.200s +ok github.com/casbin/casbin/persist 0.400s === RUN Test_KeyMatchRbac ---- PASS: Test_KeyMatchRbac (0.02s) +--- PASS: Test_KeyMatchRbac (0.00s) === RUN Test_StringRbac --- PASS: Test_StringRbac (0.00s) PASS -ok github.com/casbin/casbin/persist/string-adapter 0.307s +ok github.com/casbin/casbin/persist/string-adapter 0.421s === RUN TestRole role_manager_test.go:90: u1, g1: true role_manager_test.go:91: u1, g2: false @@ -1359,7 +1395,7 @@ role_manager_test.go:158: u2, g1: false role_manager_test.go:159: u1: [g1 * u2 g2 u1] role_manager_test.go:160: *: [u1] ---- PASS: TestRole (0.00s) +--- PASS: TestRole (0.01s) === RUN TestDomainRole role_manager_test.go:179: domain1 :: u1, g1: true role_manager_test.go:180: domain2 :: u1, g1: false @@ -1421,7 +1457,7 @@ === RUN TestAllMatchingFunc role_manager_test.go:305: domain1 :: /book/1, book_group: true role_manager_test.go:306: domain1 :: /book/2, book_group: true ---- PASS: TestAllMatchingFunc (0.00s) +--- PASS: TestAllMatchingFunc (0.02s) === RUN TestMatchingFuncOrder role_manager_test.go:315: u1, root: true role_manager_test.go:321: u1, root: true @@ -1457,7 +1493,7 @@ role_manager_test.go:357: u19, user: true role_manager_test.go:360: user: [u\d+ u1] role_manager_test.go:361: u1: [manager user] ---- PASS: TestTemporaryRoles (0.00s) +--- PASS: TestTemporaryRoles (0.01s) === RUN TestMaxHierarchyLevel role_manager_test.go:370: level0, level0: true role_manager_test.go:371: level0, level1: true @@ -1473,7 +1509,7 @@ role_manager_test.go:387: level1, level3: true --- PASS: TestMaxHierarchyLevel (0.00s) PASS -ok github.com/casbin/casbin/rbac/default-role-manager 0.243s +ok github.com/casbin/casbin/rbac/default-role-manager 0.412s === RUN TestKeyMatch builtin_operators_test.go:32: /foo < /foo: true builtin_operators_test.go:33: /foo < /foo*: true @@ -1521,7 +1557,7 @@ builtin_operators_test.go:113: /alice < /:id/all: false builtin_operators_test.go:114: /alice/all < /:id: false builtin_operators_test.go:116: /alice/all < /:/all: false ---- PASS: TestKeyMatch2 (0.00s) +--- PASS: TestKeyMatch2 (0.01s) === RUN TestKeyGet2 builtin_operators_test.go:130: /foo < /foo: id = "" builtin_operators_test.go:131: /foo < /foo*: id = "" @@ -1815,7 +1851,7 @@ === RUN TestLRUCache --- PASS: TestLRUCache (0.00s) PASS -ok github.com/casbin/casbin/util 0.264s +ok github.com/casbin/casbin/util 0.414s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1842,12 +1878,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/405835/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/405835/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/332442 and its subdirectories -I: Current time: Wed Jan 7 04:02:39 -12 2026 -I: pbuilder-time-stamp: 1767801759 +I: removing directory /srv/workspace/pbuilder/405835 and its subdirectories +I: Current time: Thu Jan 8 06:05:01 +14 2026 +I: pbuilder-time-stamp: 1767801901