Diff of the two buildlogs: -- --- b1/build.log 2024-12-07 20:34:40.207744328 +0000 +++ b2/build.log 2024-12-07 20:38:30.877256481 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 7 08:30:31 -12 2024 -I: pbuilder-time-stamp: 1733603431 +I: Current time: Sat Jan 10 16:57:46 +14 2026 +I: pbuilder-time-stamp: 1768013866 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/700037/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1229399/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 10 02:58 /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/1229399/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1229399/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7c7344c83ec64264952aa7dbc622975d' - 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='700037' - PS1='# ' - PS2='> ' + INVOCATION_ID=b53ed5d77b774b35b11d0bb33b337c42 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1229399 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.tGF4PBTz/pbuilderrc_6fPA --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.tGF4PBTz/b1 --logfile b1/build.log golang-github-casbin-casbin_2.102.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.tGF4PBTz/pbuilderrc_0ySJ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tGF4PBTz/b2 --logfile b2/build.log golang-github-casbin-casbin_2.102.0-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/700037/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1229399/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 trixie/main amd64 golang-github-bmatcuk-doublestar-dev all 4.6.1-1 [19.9 kB] Get: 37 http://deb.debian.org/debian trixie/main amd64 golang-github-casbin-govaluate-dev all 1.2.0-1 [33.1 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 golang-github-golang-mock-dev all 1.6.0-2 [48.0 kB] -Fetched 66.1 MB in 3s (23.7 MB/s) +Fetched 66.1 MB in 4s (16.1 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 ... 19970 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/1229399/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1229399/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 @@ -340,82 +376,82 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang 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 20 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 -encoding -internal/unsafeheader + cd _build && go install -trimpath -v -p 42 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 +cmp +internal/coverage/rtcov internal/asan +internal/goarch +internal/race math/bits -unicode/utf8 -internal/byteorder internal/itoa -cmp -internal/race -internal/goarch -sync/atomic -unicode -internal/cpu -internal/profilerecord internal/msan -internal/godebugs -internal/coverage/rtcov -internal/runtime/syscall -internal/runtime/atomic -internal/goos -internal/goexperiment -unicode/utf16 github.com/casbin/casbin/constant log/internal +internal/goexperiment container/list +unicode/utf16 +unicode/utf8 +encoding +internal/profilerecord +unicode +internal/byteorder +internal/unsafeheader +internal/goos internal/nettrace -internal/chacha8rand +internal/cpu +internal/runtime/atomic +sync/atomic +internal/runtime/syscall +internal/godebugs runtime/internal/math internal/abi runtime/internal/sys -internal/runtime/exithook +internal/chacha8rand internal/bytealg +internal/runtime/exithook math internal/stringslite runtime -internal/reflectlite iter sync internal/weak +internal/reflectlite slices internal/bisect internal/testlog internal/singleflight runtime/cgo -errors internal/godebug sort +errors +internal/oserror io -path strconv -internal/oserror +path +github.com/casbin/casbin/effector github.com/casbin/casbin/errors vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 -github.com/casbin/casbin/effector syscall +internal/concurrent bytes strings -internal/concurrent unique -bufio -regexp/syntax -reflect net/netip +reflect +regexp/syntax +bufio +internal/syscall/unix internal/syscall/execenv time -internal/syscall/unix regexp io/fs +github.com/casbin/casbin/persist/cache internal/poll context -github.com/casbin/casbin/persist/cache -encoding/binary -internal/fmtsort internal/filepathlite +internal/fmtsort +encoding/binary os encoding/base64 fmt @@ -423,24 +459,24 @@ net github.com/bmatcuk/doublestar encoding/json -log github.com/casbin/casbin/config -github.com/casbin/govaluate +log encoding/csv runtime/debug +github.com/casbin/govaluate github.com/golang/mock/gomock github.com/casbin/casbin/log github.com/casbin/casbin/rbac github.com/casbin/casbin/log/mocks github.com/casbin/casbin/util -github.com/casbin/casbin/model github.com/casbin/casbin/rbac/default-role-manager +github.com/casbin/casbin/model github.com/casbin/casbin/persist github.com/casbin/casbin/persist/string-adapter github.com/casbin/casbin/persist/file-adapter github.com/casbin/casbin dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 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 + cd _build && go test -vet=off -v -p 42 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 ? github.com/casbin/casbin/constant [no test files] ? github.com/casbin/casbin/effector [no test files] ? github.com/casbin/casbin/errors [no test files] @@ -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.13s) +--- PASS: TestSyncCache (0.07s) === RUN TestCache --- PASS: TestCache (0.00s) === RUN TestSync @@ -457,87 +493,87 @@ === RUN TestStopAutoLoadPolicy --- PASS: TestStopAutoLoadPolicy (0.01s) === RUN TestSyncedEnforcerSelfAddPolicy + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user2 data2 read] [user3 data3 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] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user4 data4 read] [user2 data2 read] [user6 data6 read] [user5 data5 read] [user3 data3 read]] + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user2 data2 read] [user3 data3 read]] + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user3 data3 read] [user1 data1 read] [user2 data2 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]] - 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]] - 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]] - 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.03s) + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user2 data2 read] [user6 data6 read]] + enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user3 data3 read] [user4 data4 read]] +--- PASS: TestSyncedEnforcerSelfAddPolicy (1.01s) === 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]] + enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 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]] + enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 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]] 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]] - 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]] - 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]] ---- PASS: TestSyncedEnforcerSelfAddPolicies (1.03s) + enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read]] +--- PASS: TestSyncedEnforcerSelfAddPolicies (1.02s) === RUN TestSyncedEnforcerSelfAddPoliciesEx + enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 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] [user3 data3 read] [user4 data4 read] [user2 data2 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] [user3 data3 read] [user4 data4 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user5 data5 read]] + enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user4 data4 read] [user5 data5 read] [user2 data2 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]] - 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] [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]] ---- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.03s) + enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 read]] +--- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.01s) === RUN TestSyncedEnforcerSelfRemovePolicy - 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:189: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 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:189: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user6 data6 read] [user2 data2 read] [user5 data5 read] [user3 data3 read] [user4 data4 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]] - 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:189: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 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]] 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:189: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 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:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user2 data2 read] [user3 data3 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]] - 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:189: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user3 data3 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] ---- PASS: TestSyncedEnforcerSelfRemovePolicy (2.07s) +--- PASS: TestSyncedEnforcerSelfRemovePolicy (3.81s) === 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]] 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]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user2 data2 read] [user3 data3 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user3 data3 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] 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]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user6 data6 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]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] - 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:227: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user3 data3 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] 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]] ---- PASS: TestSyncedEnforcerSelfRemovePolicies (2.08s) +--- PASS: TestSyncedEnforcerSelfRemovePolicies (2.03s) === 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] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user6 data6 read] [user5 data5 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]] @@ -545,19 +581,19 @@ 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] [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] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user6 data6 read] [user5 data5 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]] - 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] [user1 data1 read] [user4 data4 read] [user2 data2 read] [user3 data3 read] [user6 data6 read] [user5 data5 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]] - 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] [user1 data1 read] [user8 data8 write] [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:269: Policy: [[alice data1 read] [bob data2 write] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user6 data6 read] [user5 data5 read] [user7 data7 write] [user8 data8 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] ---- PASS: TestSyncedEnforcerSelfRemoveFilteredPolicy (2.08s) +--- PASS: TestSyncedEnforcerSelfRemoveFilteredPolicy (2.05s) === RUN TestSyncedEnforcerSelfUpdatePolicy 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]] @@ -565,57 +601,58 @@ 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]] + enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user6 data6 read] [user1 data1 read] [user5 data5 read] [user4 data4 read] [user2 data2 read]] + enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user6 data6 write] [user1 data1 write] [user5 data5 write] [user4 data4 write] [user2 data2 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]] 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]] - 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]] - 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]] - 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]] - 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]] - 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.09s) + enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user5 data5 read] [user4 data4 read] [user6 data6 read]] + enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user5 data5 write] [user4 data4 write] [user6 data6 write]] + enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user1 data1 write] [user2 data2 write] [user4 data4 write] [user5 data5 write] [user6 data6 write]] + enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user4 data4 read] [user3 data3 read]] + enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user5 data5 write] [user4 data4 write] [user3 data3 write]] + enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user2 data2 read]] + enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user6 data6 write] [user4 data4 write] [user5 data5 write] [user1 data1 write] [user2 data2 write]] +--- PASS: TestSyncedEnforcerSelfUpdatePolicy (5.65s) === 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]] 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]] + enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user1 data1 write] [user2 data2 write] [user4 data4 write] [user5 data5 write] [user6 data6 write]] + enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user1 data1 write] [user2 data2 write] [user4 data4 write] [user5 data5 write] [user6 data6 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]] 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]] + enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user1 data1 write] [user2 data2 write] [user4 data4 write] [user5 data5 write] [user6 data6 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]] - 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]] - 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]] - 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]] - 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]] - 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.06s) + enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read] [user6 data6 read]] + enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user3 data3 write] [user1 data1 write] [user2 data2 write] [user4 data4 write] [user5 data5 write] [user6 data6 write]] + enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user4 data4 read] [user3 data3 read] [user5 data5 read] [user1 data1 read] [user2 data2 read] [user6 data6 read]] + enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user4 data4 write] [user3 data3 write] [user5 data5 write] [user1 data1 write] [user2 data2 write] [user6 data6 write]] +--- PASS: TestSyncedEnforcerSelfUpdatePolicies (2.03s) === 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]] 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]] + enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user2 data2 read] [user3 data3 read] [user1 data1 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]] 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.01s) === 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] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 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]] 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]] @@ -624,8 +661,7 @@ 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]] 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]] ---- PASS: TestSyncedEnforcerAddNamedPoliciesEx (1.03s) +--- PASS: TestSyncedEnforcerAddNamedPoliciesEx (3.97s) === RUN TestSyncedEnforcerAddGroupingPoliciesEx 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] @@ -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.05s) +--- PASS: TestSyncedEnforcerAddGroupingPoliciesEx (1.02s) === 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] @@ -649,7 +685,7 @@ 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] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] ---- PASS: TestSyncedEnforcerAddNamedGroupingPoliciesEx (1.04s) +--- PASS: TestSyncedEnforcerAddNamedGroupingPoliciesEx (1.02s) === RUN TestKeyMatchModelInMemory --- PASS: TestKeyMatchModelInMemory (0.00s) === RUN TestKeyMatchWithRBACInDomain @@ -678,28 +714,28 @@ === RUN TestEnableEnforce --- PASS: TestEnableEnforce (0.00s) === RUN TestEnableLog -2024/12/07 20:34:11 Model: [r r sub, obj, act] +2026/01/10 03:01:02 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] -2024/12/07 20:34:11 Request: alice, data1, read ---> true +2026/01/10 03:01:02 Request: alice, data1, read ---> true Hit Policy: -2024/12/07 20:34:11 Request: alice, data1, write ---> false +2026/01/10 03:01:02 Request: alice, data1, write ---> false Hit Policy: -2024/12/07 20:34:11 Request: alice, data2, read ---> false +2026/01/10 03:01:02 Request: alice, data2, read ---> false Hit Policy: -2024/12/07 20:34:11 Request: alice, data2, write ---> false +2026/01/10 03:01:02 Request: alice, data2, write ---> false Hit Policy: -2024/12/07 20:34:11 Request: bob, data1, read ---> false +2026/01/10 03:01:02 Request: bob, data1, read ---> false Hit Policy: -2024/12/07 20:34:11 Request: bob, data1, write ---> false +2026/01/10 03:01:02 Request: bob, data1, write ---> false Hit Policy: -2024/12/07 20:34:11 Request: bob, data2, read ---> false +2026/01/10 03:01:02 Request: bob, data2, read ---> false Hit Policy: -2024/12/07 20:34:11 Request: bob, data2, write ---> true +2026/01/10 03:01:02 Request: bob, data2, write ---> true Hit Policy: ---- PASS: TestEnableLog (0.01s) +--- PASS: TestEnableLog (0.00s) === RUN TestEnableAutoSave --- PASS: TestEnableAutoSave (0.00s) === RUN TestInitWithAdapter @@ -707,7 +743,7 @@ === RUN TestRoleLinks --- PASS: TestRoleLinks (0.00s) === RUN TestEnforceConcurrency ---- PASS: TestEnforceConcurrency (0.47s) +--- PASS: TestEnforceConcurrency (0.15s) === RUN TestGetAndSetModel --- PASS: TestGetAndSetModel (0.00s) === RUN TestGetAndSetAdapterInMem @@ -717,36 +753,36 @@ === RUN TestInitEmpty --- PASS: TestInitEmpty (0.00s) === RUN TestEnforceEx ---- PASS: TestEnforceEx (0.00s) +--- PASS: TestEnforceEx (0.01s) === RUN TestEnforceExLog -2024/12/07 20:34:12 Model: [r r sub, obj, act] +2026/01/10 03:01:02 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] -2024/12/07 20:34:12 Request: alice, data1, read ---> true +2026/01/10 03:01:02 Request: alice, data1, read ---> true Hit Policy: [alice data1 read] -2024/12/07 20:34:12 Request: alice, data1, write ---> false +2026/01/10 03:01:02 Request: alice, data1, write ---> false Hit Policy: -2024/12/07 20:34:12 Request: alice, data2, read ---> false +2026/01/10 03:01:02 Request: alice, data2, read ---> false Hit Policy: -2024/12/07 20:34:12 Request: alice, data2, write ---> false +2026/01/10 03:01:02 Request: alice, data2, write ---> false Hit Policy: -2024/12/07 20:34:12 Request: bob, data1, read ---> false +2026/01/10 03:01:02 Request: bob, data1, read ---> false Hit Policy: -2024/12/07 20:34:12 Request: bob, data1, write ---> false +2026/01/10 03:01:02 Request: bob, data1, write ---> false Hit Policy: -2024/12/07 20:34:12 Request: bob, data2, read ---> false +2026/01/10 03:01:02 Request: bob, data2, read ---> false Hit Policy: -2024/12/07 20:34:12 Request: bob, data2, write ---> true +2026/01/10 03:01:02 Request: bob, data2, write ---> true Hit Policy: [bob data2 write] --- PASS: TestEnforceExLog (0.00s) === RUN TestBatchEnforce --- PASS: TestBatchEnforce (0.00s) === RUN TestSubjectPriority ---- PASS: TestSubjectPriority (0.01s) +--- PASS: TestSubjectPriority (0.00s) === RUN TestSubjectPriorityWithDomain --- PASS: TestSubjectPriorityWithDomain (0.00s) === RUN TestSubjectPriorityInFilter @@ -754,11 +790,11 @@ === RUN TestMultiplePolicyDefinitions --- PASS: TestMultiplePolicyDefinitions (0.00s) === RUN TestPriorityExplicit ---- PASS: TestPriorityExplicit (0.00s) +--- PASS: TestPriorityExplicit (0.01s) === RUN TestFailedToLoadPolicy ---- PASS: TestFailedToLoadPolicy (0.02s) +--- PASS: TestFailedToLoadPolicy (0.01s) === RUN TestReloadPolicyWithFunc ---- PASS: TestReloadPolicyWithFunc (0.02s) +--- PASS: TestReloadPolicyWithFunc (0.03s) === RUN TestEvalPriority --- PASS: TestEvalPriority (0.00s) === RUN TestLinkConditionFunc @@ -784,7 +820,7 @@ error_test.go:87: please make sure rule exists in policy when using eval() in matcher --- PASS: TestEnforceError (0.00s) === RUN TestNoError ---- PASS: TestNoError (0.00s) +--- PASS: TestNoError (0.01s) === RUN TestModelNoError error_test.go:125: Test on error: error_test.go:126: open hope_this_path_wont_exist: no such file or directory @@ -834,7 +870,7 @@ filter_test.go:101: Has grouping policy bob, pen_admin : false filter_test.go:102: Has grouping policy cathy, pen_admin : false filter_test.go:103: Has grouping policy cathy, /book/1/2/3/4/5 : false ---- PASS: TestLoadMoreTypeFilteredPolicy (0.03s) +--- PASS: TestLoadMoreTypeFilteredPolicy (0.02s) === RUN TestAppendFilteredPolicy filter_test.go:119: Has policy admin, domain1, data1, read : true filter_test.go:120: Has policy admin, domain2, data2, read : true @@ -909,7 +945,7 @@ management_api_test.go:272: Policy: [[user1 data1 read] [user2 data2 read]] management_api_test.go:275: Policy: [[user1 data1 read] [user2 data2 read] [user3 data3 read]] management_api_test.go:278: Policy: [[user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] ---- PASS: TestModifyPolicyAPI (0.00s) +--- PASS: TestModifyPolicyAPI (0.01s) === RUN TestModifyGroupingPolicyAPI management_api_test.go:284: Roles for alice : [data2_admin] management_api_test.go:285: Roles for bob : [] @@ -946,7 +982,7 @@ management_api_test.go:351: Roles for eve : [admin_groups] 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] + management_api_test.go:361: Users for member : [user2 user3 user1] --- PASS: TestModifyGroupingPolicyAPI (0.00s) === RUN TestBasicModel --- PASS: TestBasicModel (0.00s) @@ -979,19 +1015,19 @@ === RUN TestRBACModelWithCustomData --- PASS: TestRBACModelWithCustomData (0.00s) === RUN TestRBACModelWithPattern ---- PASS: TestRBACModelWithPattern (0.09s) +--- PASS: TestRBACModelWithPattern (0.08s) === RUN TestRBACModelWithDifferentTypesOfRoles ---- PASS: TestRBACModelWithDifferentTypesOfRoles (0.02s) +--- PASS: TestRBACModelWithDifferentTypesOfRoles (0.00s) === RUN TestRBACModelWithCustomRoleManager --- PASS: TestRBACModelWithCustomRoleManager (0.00s) === RUN TestABACModel --- PASS: TestABACModel (0.00s) === RUN TestABACMapRequest ---- PASS: TestABACMapRequest (0.01s) +--- PASS: TestABACMapRequest (0.00s) === RUN TestABACTypes --- PASS: TestABACTypes (0.00s) === RUN TestABACJsonRequest ---- PASS: TestABACJsonRequest (0.01s) +--- PASS: TestABACJsonRequest (0.00s) === RUN TestKeyMatchModel --- PASS: TestKeyMatchModel (0.00s) === RUN TestKeyMatch2Model @@ -999,7 +1035,7 @@ === RUN TestKeyMatchCustomModel --- PASS: TestKeyMatchCustomModel (0.00s) === RUN TestIPMatchModel ---- PASS: TestIPMatchModel (0.01s) +--- PASS: TestIPMatchModel (0.00s) === RUN TestGlobMatchModel --- PASS: TestGlobMatchModel (0.00s) === RUN TestPriorityModel @@ -1011,25 +1047,25 @@ === RUN TestABACNotUsingPolicy --- PASS: TestABACNotUsingPolicy (0.00s) === RUN TestABACPolicy -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[] 0xc0005a5598} logger -logger &{ [] [] [] map[] map[] 0xc0005a5598} +logger &{ [] [] [] map[] map[] 0xc000525b38} +r +r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0xc000525b38} +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[] 0xc000525b38} e -e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0xc0005a5598} +e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0xc000525b38} m -m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0xc0005a5598} -r -r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0xc0005a5598} +m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0xc000525b38} --- PASS: TestABACPolicy (0.01s) === RUN TestCommentModel --- PASS: TestCommentModel (0.00s) === RUN TestDomainMatchModel --- PASS: TestDomainMatchModel (0.00s) === RUN TestAllMatchModel ---- PASS: TestAllMatchModel (0.01s) +--- PASS: TestAllMatchModel (0.00s) === RUN TestTemporalRolesModel ---- PASS: TestTemporalRolesModel (0.01s) +--- PASS: TestTemporalRolesModel (0.00s) === RUN TestTemporalRolesModelWithDomain --- PASS: TestTemporalRolesModelWithDomain (0.02s) === RUN TestRoleAPI @@ -1079,13 +1115,13 @@ rbac_api_test.go:164: Roles for bob : [admin] rbac_api_test.go:165: Roles for admin : [] rbac_api_test.go:166: Roles for non_exist : [] - rbac_api_test.go:170: Roles for bob : [admin admin1 admin2] + rbac_api_test.go:170: Roles for bob : [admin2 admin admin1] rbac_api_test.go:172: Permissions for admin : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_test.go:173: Permissions for admin : [[admin domain2 data2 read] [admin domain2 data2 write]] ---- PASS: TestRoleAPI_Domains (0.01s) +--- PASS: TestRoleAPI_Domains (0.00s) === RUN TestEnforcer_AddRolesForUser rbac_api_test.go:181: Roles for alice : [data2_admin] - rbac_api_test.go:186: Roles for alice : [data2_admin data3_admin data1_admin] + rbac_api_test.go:186: Roles for alice : [data3_admin data1_admin data2_admin] --- PASS: TestEnforcer_AddRolesForUser (0.00s) === RUN TestPermissionAPI rbac_api_test.go:240: Permissions for alice : [[alice read]] @@ -1096,7 +1132,7 @@ rbac_api_test.go:246: bob has permission write : true rbac_api_test.go:284: Named permissions for user : [[user /data GET]] rbac_api_test.go:285: Named permissions for user : [[user view]] ---- PASS: TestPermissionAPI (0.00s) +--- PASS: TestPermissionAPI (0.01s) === RUN TestImplicitRoleAPI rbac_api_test.go:311: Permissions for alice : [[alice data1 read]] rbac_api_test.go:312: Permissions for bob : [[bob data2 write]] @@ -1104,7 +1140,7 @@ 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.01s) === RUN TestImplicitPermissionAPI rbac_api_test.go:360: Permissions for alice : [[alice data1 read]] rbac_api_test.go:361: Permissions for bob : [[bob data2 write]] @@ -1128,27 +1164,27 @@ rbac_api_test.go:419: Implicit users for permission: [data1 read] : [bob alice] --- PASS: TestImplicitUserAPI (0.00s) === RUN TestGetImplicitResourcesForUser - rbac_api_test.go:450: Implicit resources for user: alice : [[alice /pen/1 GET] [alice /pen2/1 GET] [alice /book2/{id} GET] [alice /book/* GET] [alice /book/:id GET] [alice book_group GET]] - rbac_api_test.go:458: Implicit resources for user: bob : [[bob /pen2/{id} GET] [bob /pen/:id GET] [bob pen_group GET]] - rbac_api_test.go:463: Implicit resources for user: cathy : [[cathy /pen/:id GET] [cathy /pen2/{id} GET] [cathy pen_group GET]] ---- PASS: TestGetImplicitResourcesForUser (0.00s) + rbac_api_test.go:450: Implicit resources for user: alice : [[alice /pen/1 GET] [alice /pen2/1 GET] [alice /book/* GET] [alice /book/:id GET] [alice /book2/{id} GET] [alice book_group GET]] + rbac_api_test.go:458: Implicit resources for user: bob : [[bob /pen/:id GET] [bob /pen2/{id} GET] [bob pen_group GET]] + rbac_api_test.go:463: Implicit resources for user: cathy : [[cathy /pen2/{id} GET] [cathy /pen/:id GET] [cathy pen_group GET]] +--- PASS: TestGetImplicitResourcesForUser (0.01s) === 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 : [/book/* /book/:id /book2/{id}] - rbac_api_test.go:477: Implicit users for pen_group : [/pen2/{id} /pen/:id] + rbac_api_test.go:477: Implicit users for pen_group : [/pen/:id /pen2/{id}] --- PASS: TestImplicitUsersForRole (0.00s) === RUN TestExplicitPriorityModify --- PASS: TestExplicitPriorityModify (0.00s) === RUN TestCustomizedFieldIndex ---- PASS: TestCustomizedFieldIndex (0.01s) +--- PASS: TestCustomizedFieldIndex (0.00s) === RUN TestGetAllowedObjectConditions -2024/12/07 20:34:12 Policy: [price < 25 category_id = 2] -2024/12/07 20:34:12 Policy: [category_id = 2] -2024/12/07 20:34:12 Policy: [author = bob] -2024/12/07 20:34:12 Policy: [price < 25] -2024/12/07 20:34:12 Policy: [category_id = 2] -2024/12/07 20:34:12 Policy: [author = bob] +2026/01/10 03:01:02 Policy: [price < 25 category_id = 2] +2026/01/10 03:01:02 Policy: [category_id = 2] +2026/01/10 03:01:02 Policy: [author = bob] +2026/01/10 03:01:02 Policy: [price < 25] +2026/01/10 03:01:02 Policy: [category_id = 2] +2026/01/10 03:01:02 Policy: [author = bob] --- PASS: TestGetAllowedObjectConditions (0.00s) === RUN TestGetImplicitUsersForResource rbac_api_test.go:623: Implicit users for data1 in domain [] : [[alice data1 read]] @@ -1181,7 +1217,7 @@ rbac_api_with_domains_test.go:81: Users for admin under domain2 : [bob] rbac_api_with_domains_test.go:83: Users for non_exist : [] rbac_api_with_domains_test.go:84: Users for non_exist under domain2 : [] ---- PASS: TestUserAPIWithDomains (0.00s) +--- PASS: TestUserAPIWithDomains (0.01s) === RUN TestRoleAPIWithDomains rbac_api_with_domains_test.go:90: Roles for alice : [admin] rbac_api_with_domains_test.go:91: Roles for alice under domain1 : [admin] @@ -1243,7 +1279,7 @@ rbac_api_with_domains_test.go:190: Permissions for non_exist under domain2 : [] --- PASS: TestPermissionAPIInDomain (0.00s) === RUN TestGetDomainsForUser ---- PASS: TestGetDomainsForUser (0.02s) +--- PASS: TestGetDomainsForUser (0.00s) === RUN TestGetAllUsersByDomain --- PASS: TestGetAllUsersByDomain (0.00s) === RUN TestDeleteAllUsersByDomain @@ -1255,21 +1291,21 @@ === RUN TestSetWatcherEx --- PASS: TestSetWatcherEx (0.00s) === RUN TestSetWatcher ---- PASS: TestSetWatcher (0.01s) +--- PASS: TestSetWatcher (0.00s) === RUN TestSelfModify --- PASS: TestSelfModify (0.00s) === RUN TestSetWatcherUpdatable --- PASS: TestSetWatcherUpdatable (0.00s) PASS -ok github.com/casbin/casbin 18.980s +ok github.com/casbin/casbin 26.509s === RUN TestGet --- PASS: TestGet (0.00s) PASS -ok github.com/casbin/casbin/config 0.032s +ok github.com/casbin/casbin/config 0.014s === RUN TestLog --- PASS: TestLog (0.00s) PASS -ok github.com/casbin/casbin/log 0.036s +ok github.com/casbin/casbin/log 0.013s === RUN TestNewModel --- PASS: TestNewModel (0.00s) === RUN TestNewModelFromFile @@ -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.061s +ok github.com/casbin/casbin/model 0.024s === RUN TestPersist --- PASS: TestPersist (0.00s) === RUN TestDuplicateRuleInAdapter --- PASS: TestDuplicateRuleInAdapter (0.00s) PASS -ok github.com/casbin/casbin/persist 0.044s +ok github.com/casbin/casbin/persist 0.030s === RUN Test_KeyMatchRbac --- PASS: Test_KeyMatchRbac (0.00s) === RUN Test_StringRbac --- PASS: Test_StringRbac (0.00s) PASS -ok github.com/casbin/casbin/persist/string-adapter 0.061s +ok github.com/casbin/casbin/persist/string-adapter 0.030s === RUN TestRole role_manager_test.go:90: u1, g1: true role_manager_test.go:91: u1, g2: false @@ -1357,9 +1393,9 @@ role_manager_test.go:156: u1, g2: true role_manager_test.go:157: u2, g2: true role_manager_test.go:158: u2, g1: false - role_manager_test.go:159: u1: [g1 * u1 u2 g2] + role_manager_test.go:159: u1: [* g1 u1 u2 g2] 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 @@ -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.057s +ok github.com/casbin/casbin/rbac/default-role-manager 0.032s === RUN TestKeyMatch builtin_operators_test.go:32: /foo < /foo: true builtin_operators_test.go:33: /foo < /foo*: true @@ -1815,7 +1851,7 @@ === RUN TestLRUCache --- PASS: TestLRUCache (0.00s) PASS -ok github.com/casbin/casbin/util 0.056s +ok github.com/casbin/casbin/util 0.047s 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/1229399/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1229399/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/700037 and its subdirectories -I: Current time: Sat Dec 7 08:34:39 -12 2024 -I: pbuilder-time-stamp: 1733603679 +I: removing directory /srv/workspace/pbuilder/1229399 and its subdirectories +I: Current time: Sat Jan 10 17:01:29 +14 2026 +I: pbuilder-time-stamp: 1768014089