Diff of the two buildlogs: -- --- b1/build.log 2023-04-22 14:34:49.385296231 +0000 +++ b2/build.log 2023-04-22 14:36:05.753910848 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 08:55:27 -12 2024 -I: pbuilder-time-stamp: 1716584127 +I: Current time: Sun Apr 23 04:34:52 +14 2023 +I: pbuilder-time-stamp: 1682174092 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-casbin-casbin_2.60.0.orig.tar.gz] I: copying [./golang-github-casbin-casbin_2.60.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Dec 17 10:05:44 2022 -12 +gpgv: Signature made Sun Dec 18 12:05:44 2022 +14 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "gibmat@debian.org" gpgv: Can't check signature: No public key @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-casbin-casbin_2.60.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17360/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16168/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 Apr 23 04:35 /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/16168/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16168/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='17360' - PS1='# ' - PS2='> ' + 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=16168 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.uQDjhD3C/pbuilderrc_gVCO --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uQDjhD3C/b1 --logfile b1/build.log golang-github-casbin-casbin_2.60.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.uQDjhD3C/pbuilderrc_ovYa --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uQDjhD3C/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-casbin-casbin_2.60.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17360/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16168/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 36 http://deb.debian.org/debian bookworm/main arm64 golang-any arm64 2:1.19~1 [5876 B] Get: 37 http://deb.debian.org/debian bookworm/main arm64 golang-github-golang-mock-dev all 1.6.0-2 [48.0 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 golang-github-knetic-govaluate-dev all 3.0.0+git20171022.9aa4983-2 [32.9 kB] -Fetched 93.4 MB in 2s (49.9 MB/s) +Fetched 93.4 MB in 2s (53.7 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 ... 19616 files and directories currently installed.) @@ -319,8 +351,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-casbin-casbin-2.60.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.60.0-1_source.changes +I: user script /srv/workspace/pbuilder/16168/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/16168/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-casbin-casbin-2.60.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.60.0-1_source.changes dpkg-buildpackage: info: source package golang-github-casbin-casbin dpkg-buildpackage: info: source version 2.60.0-1 dpkg-buildpackage: info: source distribution unstable @@ -339,21 +380,21 @@ 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 8 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/rbac github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/util -internal/unsafeheader internal/race +internal/goarch internal/goexperiment -internal/cpu internal/goos -internal/goarch +internal/unsafeheader +internal/cpu runtime/internal/syscall -unicode +internal/abi sync/atomic +runtime/internal/math +runtime/internal/sys unicode/utf8 +unicode encoding math/bits -internal/abi -runtime/internal/math -runtime/internal/sys internal/itoa unicode/utf16 github.com/casbin/casbin/constant @@ -363,64 +404,64 @@ internal/bytealg math runtime -sync internal/reflectlite -internal/testlog +sync internal/singleflight +internal/testlog runtime/cgo errors sort -io internal/oserror internal/safefilepath path github.com/casbin/casbin/effector +io strconv -syscall github.com/casbin/casbin/errors +syscall vendor/golang.org/x/net/dns/dnsmessage github.com/casbin/casbin/persist/cache bytes strings +reflect bufio regexp/syntax -reflect -time -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv +time regexp -internal/poll -io/fs context +io/fs +internal/poll internal/fmtsort encoding/binary os encoding/base64 -fmt internal/godebug +fmt internal/intern net/netip net -encoding/json -log github.com/casbin/casbin/config +log encoding/csv +runtime/debug github.com/Knetic/govaluate github.com/golang/mock/gomock -runtime/debug +encoding/json 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/file-adapter github.com/casbin/casbin dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 8 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/rbac github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/util === RUN TestCache ---- PASS: TestCache (0.01s) +--- PASS: TestCache (0.00s) === RUN TestSync --- PASS: TestSync (0.30s) === RUN TestStopAutoLoadPolicy @@ -451,28 +492,28 @@ === RUN TestEnableEnforce --- PASS: TestEnableEnforce (0.00s) === RUN TestEnableLog -2024/05/24 08:57:32 Model: [r r sub, obj, act] +2023/04/23 04:35:55 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/05/24 08:57:32 Policy: p : [[alice data1 read] [bob data2 write]] +2023/04/23 04:35:55 Policy: p : [[alice data1 read] [bob data2 write]] -2024/05/24 08:57:32 Request: alice, data1, read ---> true +2023/04/23 04:35:55 Request: alice, data1, read ---> true Hit Policy: -2024/05/24 08:57:32 Request: alice, data1, write ---> false +2023/04/23 04:35:55 Request: alice, data1, write ---> false Hit Policy: -2024/05/24 08:57:32 Request: alice, data2, read ---> false +2023/04/23 04:35:55 Request: alice, data2, read ---> false Hit Policy: -2024/05/24 08:57:32 Request: alice, data2, write ---> false +2023/04/23 04:35:55 Request: alice, data2, write ---> false Hit Policy: -2024/05/24 08:57:32 Request: bob, data1, read ---> false +2023/04/23 04:35:55 Request: bob, data1, read ---> false Hit Policy: -2024/05/24 08:57:32 Request: bob, data1, write ---> false +2023/04/23 04:35:55 Request: bob, data1, write ---> false Hit Policy: -2024/05/24 08:57:32 Request: bob, data2, read ---> false +2023/04/23 04:35:55 Request: bob, data2, read ---> false Hit Policy: -2024/05/24 08:57:32 Request: bob, data2, write ---> true +2023/04/23 04:35:55 Request: bob, data2, write ---> true Hit Policy: --- PASS: TestEnableLog (0.00s) === RUN TestEnableAutoSave @@ -482,7 +523,7 @@ === RUN TestRoleLinks --- PASS: TestRoleLinks (0.00s) === RUN TestEnforceConcurrency ---- PASS: TestEnforceConcurrency (0.43s) +--- PASS: TestEnforceConcurrency (0.06s) === RUN TestGetAndSetModel --- PASS: TestGetAndSetModel (0.00s) === RUN TestGetAndSetAdapterInMem @@ -492,31 +533,31 @@ === RUN TestInitEmpty --- PASS: TestInitEmpty (0.00s) === RUN TestEnforceEx ---- PASS: TestEnforceEx (0.01s) +--- PASS: TestEnforceEx (0.00s) === RUN TestEnforceExLog -2024/05/24 08:57:33 Model: [r r sub, obj, act] +2023/04/23 04:35:55 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/05/24 08:57:33 Policy: p : [[alice data1 read] [bob data2 write]] +2023/04/23 04:35:55 Policy: p : [[alice data1 read] [bob data2 write]] -2024/05/24 08:57:33 Request: alice, data1, read ---> true +2023/04/23 04:35:55 Request: alice, data1, read ---> true Hit Policy: [alice data1 read] -2024/05/24 08:57:33 Request: alice, data1, write ---> false +2023/04/23 04:35:55 Request: alice, data1, write ---> false Hit Policy: -2024/05/24 08:57:33 Request: alice, data2, read ---> false +2023/04/23 04:35:55 Request: alice, data2, read ---> false Hit Policy: -2024/05/24 08:57:33 Request: alice, data2, write ---> false +2023/04/23 04:35:55 Request: alice, data2, write ---> false Hit Policy: -2024/05/24 08:57:33 Request: bob, data1, read ---> false +2023/04/23 04:35:55 Request: bob, data1, read ---> false Hit Policy: -2024/05/24 08:57:33 Request: bob, data1, write ---> false +2023/04/23 04:35:55 Request: bob, data1, write ---> false Hit Policy: -2024/05/24 08:57:33 Request: bob, data2, read ---> false +2023/04/23 04:35:55 Request: bob, data2, read ---> false Hit Policy: -2024/05/24 08:57:33 Request: bob, data2, write ---> true +2023/04/23 04:35:55 Request: bob, data2, write ---> true Hit Policy: [bob data2 write] --- PASS: TestEnforceExLog (0.00s) @@ -525,7 +566,7 @@ === RUN TestSubjectPriority --- PASS: TestSubjectPriority (0.00s) === RUN TestSubjectPriorityWithDomain ---- PASS: TestSubjectPriorityWithDomain (0.01s) +--- PASS: TestSubjectPriorityWithDomain (0.00s) === RUN TestSubjectPriorityInFilter --- PASS: TestSubjectPriorityInFilter (0.00s) === RUN TestMultiplePolicyDefinitions @@ -533,11 +574,11 @@ === RUN TestPriorityExplicit --- PASS: TestPriorityExplicit (0.00s) === RUN TestFailedToLoadPolicy ---- PASS: TestFailedToLoadPolicy (0.02s) +--- PASS: TestFailedToLoadPolicy (0.01s) === RUN TestReloadPolicyWithFunc ---- PASS: TestReloadPolicyWithFunc (0.03s) +--- PASS: TestReloadPolicyWithFunc (0.01s) === RUN TestEvalPriority ---- PASS: TestEvalPriority (0.00s) +--- PASS: TestEvalPriority (0.01s) === RUN TestPathError error_test.go:28: Test on error: error_test.go:29: open hope_this_path_wont_exist: no such file or directory @@ -609,7 +650,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.02s) +--- PASS: TestLoadMoreTypeFilteredPolicy (0.01s) === RUN TestAppendFilteredPolicy filter_test.go:119: Has policy admin, domain1, data1, read : true filter_test.go:120: Has policy admin, domain2, data2, read : true @@ -741,7 +782,7 @@ === RUN TestRBACModelWithCustomData --- PASS: TestRBACModelWithCustomData (0.00s) === RUN TestRBACModelWithPattern ---- PASS: TestRBACModelWithPattern (0.06s) +--- PASS: TestRBACModelWithPattern (0.03s) === RUN TestRBACModelWithCustomRoleManager --- PASS: TestRBACModelWithCustomRoleManager (0.00s) === RUN TestABACModel @@ -755,7 +796,7 @@ === RUN TestIPMatchModel --- PASS: TestIPMatchModel (0.00s) === RUN TestGlobMatchModel ---- PASS: TestGlobMatchModel (0.01s) +--- PASS: TestGlobMatchModel (0.00s) === RUN TestPriorityModel --- PASS: TestPriorityModel (0.00s) === RUN TestPriorityModelIndeterminate @@ -766,15 +807,15 @@ --- PASS: TestABACNotUsingPolicy (0.00s) === RUN TestABACPolicy e -e &{e some(where (p_eft == allow)) [] [] map[] map[] 0x40040719f8} +e &{e some(where (p_eft == allow)) [] [] map[] map[] 0x4000278f48} m -m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] map[] map[] 0x40040719f8} +m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] map[] map[] 0x4000278f48} r -r &{r sub, obj, act [r_sub r_obj r_act] [] map[] map[] 0x40040719f8} +r &{r sub, obj, act [r_sub r_obj r_act] [] map[] map[] 0x4000278f48} 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[] 0x40040719f8} +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[] 0x4000278f48} logger -logger &{ [] [] map[] map[] 0x40040719f8} +logger &{ [] [] map[] map[] 0x4000278f48} --- PASS: TestABACPolicy (0.00s) === RUN TestCommentModel --- PASS: TestCommentModel (0.00s) @@ -801,7 +842,7 @@ rbac_api_test.go:102: Roles for alice : [] rbac_api_test.go:103: Roles for bob : [] rbac_api_test.go:104: Roles for data2_admin : [] ---- PASS: TestRoleAPI (0.01s) +--- PASS: TestRoleAPI (0.00s) === RUN TestRoleAPI_Domains rbac_api_test.go:132: alice has role admin : true rbac_api_test.go:133: alice has role admin : false @@ -829,7 +870,7 @@ rbac_api_test.go:163: Roles for bob : [admin] rbac_api_test.go:164: Roles for admin : [] rbac_api_test.go:165: Roles for non_exist : [] - rbac_api_test.go:169: Roles for bob : [admin2 admin admin1] + rbac_api_test.go:169: Roles for bob : [admin admin1 admin2] rbac_api_test.go:171: Permissions for admin : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_test.go:172: Permissions for admin : [[admin domain2 data2 read] [admin domain2 data2 write]] --- PASS: TestRoleAPI_Domains (0.00s) @@ -879,11 +920,11 @@ rbac_api_test.go:438: 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:446: Implicit resources for user: bob : [[bob /pen/:id GET] [bob /pen2/{id} GET] [bob pen_group GET]] rbac_api_test.go:451: Implicit resources for user: cathy : [[cathy /pen/:id GET] [cathy /pen2/{id} GET] [cathy pen_group GET]] ---- PASS: TestGetImplicitResourcesForUser (0.01s) +--- PASS: TestGetImplicitResourcesForUser (0.00s) === RUN TestImplicitUsersForRole rbac_api_test.go:461: Implicit users for book_admin : [alice] rbac_api_test.go:462: Implicit users for pen_admin : [bob cathy] - rbac_api_test.go:464: Implicit users for book_group : [/book/:id /book2/{id} /book/*] + rbac_api_test.go:464: Implicit users for book_group : [/book/* /book/:id /book2/{id}] rbac_api_test.go:465: Implicit users for pen_group : [/pen/:id /pen2/{id}] --- PASS: TestImplicitUsersForRole (0.00s) === RUN TestExplicitPriorityModify @@ -989,18 +1030,18 @@ === RUN TestSetWatcherUpdatable --- PASS: TestSetWatcherUpdatable (0.00s) PASS -ok github.com/casbin/casbin 1.059s +ok github.com/casbin/casbin 0.535s === RUN TestGet --- PASS: TestGet (0.00s) PASS -ok github.com/casbin/casbin/config 0.009s +ok github.com/casbin/casbin/config 0.011s ? github.com/casbin/casbin/constant [no test files] ? github.com/casbin/casbin/effector [no test files] ? github.com/casbin/casbin/errors [no test files] === RUN TestLog --- PASS: TestLog (0.00s) PASS -ok github.com/casbin/casbin/log 0.023s +ok github.com/casbin/casbin/log 0.003s ? github.com/casbin/casbin/log/mocks [no test files] === RUN TestNewModel --- PASS: TestNewModel (0.00s) @@ -1033,13 +1074,13 @@ 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.069s +ok github.com/casbin/casbin/model 0.031s === RUN TestPersist --- PASS: TestPersist (0.00s) === RUN TestDuplicateRuleInAdapter --- PASS: TestDuplicateRuleInAdapter (0.00s) PASS -ok github.com/casbin/casbin/persist 0.032s +ok github.com/casbin/casbin/persist 0.005s ? github.com/casbin/casbin/persist/cache [no test files] ? github.com/casbin/casbin/persist/file-adapter [no test files] ? github.com/casbin/casbin/rbac [no test files] @@ -1059,7 +1100,7 @@ role_manager_test.go:103: u1: [g1] role_manager_test.go:104: u2: [g1] role_manager_test.go:105: u3: [g2] - role_manager_test.go:106: u4: [g2 g3] + role_manager_test.go:106: u4: [g3 g2] role_manager_test.go:107: g1: [g3] role_manager_test.go:108: g2: [] role_manager_test.go:109: g3: [] @@ -1150,7 +1191,7 @@ === RUN TestAllMatchingFunc role_manager_test.go:306: domain1 :: /book/1, book_group: true role_manager_test.go:307: domain1 :: /book/2, book_group: true ---- PASS: TestAllMatchingFunc (0.01s) +--- PASS: TestAllMatchingFunc (0.00s) === RUN TestMatchingFuncOrder role_manager_test.go:316: u1, root: true role_manager_test.go:322: u1, root: true @@ -1186,7 +1227,7 @@ role_manager_test.go:358: u19, user: true role_manager_test.go:361: user: [u\d+ u1] role_manager_test.go:362: u1: [manager user] ---- PASS: TestTemporaryRoles (0.00s) +--- PASS: TestTemporaryRoles (0.01s) === RUN TestMaxHierarchyLevel role_manager_test.go:371: level0, level0: true role_manager_test.go:372: level0, level1: true @@ -1202,7 +1243,7 @@ role_manager_test.go:388: level1, level3: true --- PASS: TestMaxHierarchyLevel (0.00s) PASS -ok github.com/casbin/casbin/rbac/default-role-manager 0.079s +ok github.com/casbin/casbin/rbac/default-role-manager 0.024s === RUN TestKeyMatch builtin_operators_test.go:32: /foo < /foo: true builtin_operators_test.go:33: /foo < /foo*: true @@ -1250,7 +1291,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.02s) +--- PASS: TestKeyMatch2 (0.00s) === RUN TestKeyGet2 builtin_operators_test.go:130: /foo < /foo: id = "" builtin_operators_test.go:131: /foo < /foo*: id = "" @@ -1300,7 +1341,7 @@ builtin_operators_test.go:193: /proxy/myid/res/res2/res3 < /proxy/{id}/*: true builtin_operators_test.go:194: /proxy/ < /proxy/{id}/*: false builtin_operators_test.go:196: /myid/using/myresid < /{id/using/{resId}: false ---- PASS: TestKeyMatch3 (0.01s) +--- PASS: TestKeyMatch3 (0.00s) === RUN TestKeyGet3 builtin_operators_test.go:211: /foo < /foo: id = "" builtin_operators_test.go:212: /foo < /foo*: id = "" @@ -1330,7 +1371,7 @@ builtin_operators_test.go:241: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: g = "group1" builtin_operators_test.go:243: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: gn = "group_name" builtin_operators_test.go:245: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: proj = "project1" ---- PASS: TestKeyGet3 (0.01s) +--- PASS: TestKeyGet3 (0.00s) === RUN TestKeyMatch4 builtin_operators_test.go:260: /parent/123/child/123 < /parent/{id}/child/{id}: true builtin_operators_test.go:261: /parent/123/child/456 < /parent/{id}/child/{id}: false @@ -1370,7 +1411,7 @@ === RUN TestKeyMatch2Func --- PASS: TestKeyMatch2Func (0.00s) === RUN TestKeyMatch3Func ---- PASS: TestKeyMatch3Func (0.02s) +--- PASS: TestKeyMatch3Func (0.00s) === RUN TestKeyMatch4Func --- PASS: TestKeyMatch4Func (0.00s) === RUN TestKeyMatch5Func @@ -1472,7 +1513,7 @@ === RUN TestLRUCache --- PASS: TestLRUCache (0.00s) PASS -ok github.com/casbin/casbin/util 0.116s +ok github.com/casbin/casbin/util 0.021s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1499,12 +1540,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/16168/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16168/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/17360 and its subdirectories -I: Current time: Fri May 24 08:57:48 -12 2024 -I: pbuilder-time-stamp: 1716584268 +I: removing directory /srv/workspace/pbuilder/16168 and its subdirectories +I: Current time: Sun Apr 23 04:36:04 +14 2023 +I: pbuilder-time-stamp: 1682174164