I: pbuilder: network access will be disabled during build I: Current time: Tue Dec 2 01:40:31 +14 2025 I: pbuilder-time-stamp: 1764589231 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-casbin-casbin_2.100.0-1.dsc] I: copying [./golang-github-casbin-casbin_2.100.0.orig.tar.gz] I: copying [./golang-github-casbin-casbin_2.100.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Oct 4 00:24:47 2024 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "gibmat@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-casbin-casbin_2.100.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-casbin-casbin in golang-github-casbin-casbin-2.100.0 dpkg-source: info: unpacking golang-github-casbin-casbin_2.100.0.orig.tar.gz dpkg-source: info: unpacking golang-github-casbin-casbin_2.100.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3001197/tmp/hooks/D01_modify_environment starting debug: Running on ionos15-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 Dec 1 11:40 /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/3001197/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3001197/tmp/hooks/D02_print_environment starting I: set 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=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=6fe5b71bfa244e38b86613a81b36c9c8 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=3001197 PS4='+ ' 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.pEktmJtK/pbuilderrc_a5zn --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pEktmJtK/b2 --logfile b2/build.log golang-github-casbin-casbin_2.100.0-1.dsc' SUDO_GID=111 SUDO_UID=106 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 i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3001197/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-bmatcuk-doublestar-dev, golang-github-casbin-govaluate-dev, golang-github-golang-mock-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19949 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-bmatcuk-doublestar-dev; however: Package golang-github-bmatcuk-doublestar-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-casbin-govaluate-dev; however: Package golang-github-casbin-govaluate-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-golang-mock-dev; however: Package golang-github-golang-mock-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.23-go{a} golang-1.23-src{a} golang-any{a} golang-github-bmatcuk-doublestar-dev{a} golang-github-casbin-govaluate-dev{a} golang-github-golang-mock-dev{a} golang-go{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 66.1 MB of archives. After unpacking 318 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-9 [97.2 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 dh-golang all 1.62 [24.7 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 golang-1.23-src all 1.23.2-1 [19.1 MB] Get: 32 http://deb.debian.org/debian unstable/main amd64 golang-1.23-go amd64 1.23.2-1 [27.0 MB] Get: 33 http://deb.debian.org/debian unstable/main amd64 golang-src all 2:1.23~2 [5088 B] Get: 34 http://deb.debian.org/debian unstable/main amd64 golang-go amd64 2:1.23~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 golang-any amd64 2:1.23~2 [5172 B] Get: 36 http://deb.debian.org/debian unstable/main amd64 golang-github-bmatcuk-doublestar-dev all 4.6.1-1 [19.9 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 golang-github-casbin-govaluate-dev all 1.2.0-1 [33.1 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 golang-github-golang-mock-dev all 1.6.0-2 [48.0 kB] Fetched 66.1 MB in 3s (21.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19949 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-9_amd64.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../23-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package dh-golang. Preparing to unpack .../29-dh-golang_1.62_all.deb ... Unpacking dh-golang (1.62) ... Selecting previously unselected package golang-1.23-src. Preparing to unpack .../30-golang-1.23-src_1.23.2-1_all.deb ... Unpacking golang-1.23-src (1.23.2-1) ... Selecting previously unselected package golang-1.23-go. Preparing to unpack .../31-golang-1.23-go_1.23.2-1_amd64.deb ... Unpacking golang-1.23-go (1.23.2-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../32-golang-src_2%3a1.23~2_all.deb ... Unpacking golang-src (2:1.23~2) ... Selecting previously unselected package golang-go:amd64. Preparing to unpack .../33-golang-go_2%3a1.23~2_amd64.deb ... Unpacking golang-go:amd64 (2:1.23~2) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../34-golang-any_2%3a1.23~2_amd64.deb ... Unpacking golang-any:amd64 (2:1.23~2) ... Selecting previously unselected package golang-github-bmatcuk-doublestar-dev. Preparing to unpack .../35-golang-github-bmatcuk-doublestar-dev_4.6.1-1_all.deb ... Unpacking golang-github-bmatcuk-doublestar-dev (4.6.1-1) ... Selecting previously unselected package golang-github-casbin-govaluate-dev. Preparing to unpack .../36-golang-github-casbin-govaluate-dev_1.2.0-1_all.deb ... Unpacking golang-github-casbin-govaluate-dev (1.2.0-1) ... Selecting previously unselected package golang-github-golang-mock-dev. Preparing to unpack .../37-golang-github-golang-mock-dev_1.6.0-2_all.deb ... Unpacking golang-github-golang-mock-dev (1.6.0-2) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-9) ... Setting up golang-github-golang-mock-dev (1.6.0-2) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up golang-github-bmatcuk-doublestar-dev (4.6.1-1) ... Setting up golang-1.23-src (1.23.2-1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up golang-github-casbin-govaluate-dev (1.2.0-1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up golang-src (2:1.23~2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.23-go (1.23.2-1) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up golang-go:amd64 (2:1.23~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:amd64 (2:1.23~2) ... Setting up debhelper (13.20) ... Setting up dh-golang (1.62) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/3001197/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/3001197/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/golang-github-casbin-casbin-2.100.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.100.0-1_source.changes dpkg-buildpackage: info: source package golang-github-casbin-casbin dpkg-buildpackage: info: source version 2.100.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Mathias Gibbens dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang 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 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 internal/godebugs internal/goarch cmp internal/asan unicode/utf8 math/bits encoding internal/byteorder unicode internal/profilerecord unicode/utf16 internal/race internal/coverage/rtcov internal/unsafeheader internal/nettrace internal/goos internal/runtime/atomic internal/goexperiment internal/cpu github.com/casbin/casbin/constant log/internal container/list internal/itoa internal/runtime/syscall internal/msan sync/atomic runtime/internal/math internal/abi runtime/internal/sys internal/chacha8rand internal/bytealg math internal/runtime/exithook internal/stringslite runtime internal/reflectlite iter internal/weak sync slices internal/bisect internal/singleflight internal/testlog runtime/cgo internal/godebug sort errors internal/oserror io strconv path github.com/casbin/casbin/effector github.com/casbin/casbin/errors vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 bytes strings syscall reflect internal/concurrent unique bufio regexp/syntax net/netip regexp internal/syscall/execenv time internal/syscall/unix context io/fs github.com/casbin/casbin/persist/cache internal/poll internal/fmtsort encoding/binary internal/filepathlite encoding/base64 os path/filepath fmt net github.com/bmatcuk/doublestar github.com/casbin/casbin/config log encoding/csv runtime/debug github.com/golang/mock/gomock github.com/casbin/govaluate 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/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 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] ? github.com/casbin/casbin/log/mocks [no test files] ? 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] === RUN TestSyncCache --- PASS: TestSyncCache (0.02s) === RUN TestCache --- PASS: TestCache (0.00s) === RUN TestSync --- PASS: TestSync (0.30s) === 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] [user3 data3 read] [user5 data5 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] [user5 data5 read] [user3 data3 read] [user4 data4 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.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] [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] [user1 data1 read] [user2 data2 read] [user5 data5 read] [user6 data6 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] [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] [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]] --- PASS: TestSyncedEnforcerSelfAddPolicies (1.01s) === 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] [user6 data6 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] [user4 data4 read] [user5 data5 read] [user3 data3 read] [user2 data2 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] [user4 data4 read] [user5 data5 read] [user3 data3 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [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] [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] [user5 data5 read] [user3 data3 read] [user4 data4 read] [user2 data2 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]] --- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.01s) === RUN TestSyncedEnforcerSelfRemovePolicy enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user3 data3 read] [user5 data5 read] [user1 data1 read] [user6 data6 read] [user2 data2 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] [user4 data4 read] [user5 data5 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] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user3 data3 read] [user2 data2 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] [user4 data4 read] [user5 data5 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] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user3 data3 read] [user2 data2 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:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: 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: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] [user4 data4 read] [user5 data5 read] [user2 data2 read] [user3 data3 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] --- PASS: TestSyncedEnforcerSelfRemovePolicy (2.02s) === RUN TestSyncedEnforcerSelfRemovePolicies enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user3 data3 read] [user2 data2 read] [user1 data1 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:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user2 data2 read] [user3 data3 read] [user1 data1 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] [user4 data4 read] [user5 data5 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: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] [user5 data5 read] [user4 data4 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] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user3 data3 read] [user2 data2 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] --- PASS: TestSyncedEnforcerSelfRemovePolicies (2.02s) === RUN TestSyncedEnforcerSelfRemoveFilteredPolicy enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user7 data7 write] [user2 data2 read] [user8 data8 write] [user3 data3 read] [user6 data6 read]] 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: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] [user5 data5 read] [user6 data6 read] [user7 data7 write] [user4 data4 read] [user3 data3 read] [user1 data1 read] [user2 data2 read]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user5 data5 read] [user6 data6 read] [user4 data4 read] [user2 data2 read] [user3 data3 read] [user7 data7 write] [user1 data1 read]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user4 data4 read] [user2 data2 read] [user3 data3 read] [user1 data1 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] [user6 data6 read] [user7 data7 write] [user3 data3 read] [user4 data4 read] [user5 data5 read]] 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] [user6 data6 read] [user7 data7 write] [user4 data4 read] [user5 data5 read]] 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] [user5 data5 read] [user3 data3 read] [user4 data4 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] --- PASS: TestSyncedEnforcerSelfRemoveFilteredPolicy (2.02s) === RUN TestSyncedEnforcerSelfUpdatePolicy enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user3 data3 read] [user5 data5 read] [user2 data2 read] [user4 data4 read] [user1 data1 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user3 data3 write] [user5 data5 write] [user2 data2 write] [user4 data4 write] [user1 data1 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] [user3 data3 read] [user4 data4 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] [user3 data3 write] [user4 data4 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] [user5 data5 read] [user4 data4 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] [user5 data5 write] [user4 data4 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user4 data4 read] [user5 data5 read] [user1 data1 read] [user3 data3 read] [user2 data2 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user4 data4 write] [user5 data5 write] [user1 data1 write] [user3 data3 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] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user2 data2 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user3 data3 write] [user4 data4 write] [user5 data5 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]] --- PASS: TestSyncedEnforcerSelfUpdatePolicy (2.02s) === RUN TestSyncedEnforcerSelfUpdatePolicies enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user3 data3 read] [user1 data1 read] [user2 data2 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user3 data3 write] [user1 data1 write] [user2 data2 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] [user5 data5 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user5 data5 write] [user3 data3 write] [user4 data4 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] [user5 data5 read] [user4 data4 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] [user5 data5 write] [user4 data4 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] [user5 data5 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user5 data5 write] [user3 data3 write] [user4 data4 write]] enforcer_synced_test.go:363: 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:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user4 data4 write] [user5 data5 write] [user3 data3 write] [user1 data1 write] [user2 data2 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] [user5 data5 read] [user4 data4 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] [user5 data5 write] [user4 data4 write]] --- PASS: TestSyncedEnforcerSelfUpdatePolicies (2.02s) === 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] [user4 data4 read] [user2 data2 read] [user3 data3 read] [user1 data1 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]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read]] --- 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] [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]] enforcer_synced_test.go:461: 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: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] [user4 data4 read] [user1 data1 read] [user2 data2 read] [user3 data3 read]] enforcer_synced_test.go:461: 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:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user1 data1 read]] --- PASS: TestSyncedEnforcerAddNamedPoliciesEx (1.01s) === 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] 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] 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] 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.01s) === 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] 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] 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] 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.01s) === RUN TestKeyMatchModelInMemory --- PASS: TestKeyMatchModelInMemory (0.00s) === RUN TestKeyMatchWithRBACInDomain --- PASS: TestKeyMatchWithRBACInDomain (0.00s) === RUN TestKeyMatchModelInMemoryDeny --- PASS: TestKeyMatchModelInMemoryDeny (0.00s) === RUN TestRBACModelInMemoryIndeterminate --- PASS: TestRBACModelInMemoryIndeterminate (0.00s) === RUN TestRBACModelInMemory --- PASS: TestRBACModelInMemory (0.00s) === RUN TestRBACModelInMemory2 --- PASS: TestRBACModelInMemory2 (0.00s) === RUN TestNotUsedRBACModelInMemory --- PASS: TestNotUsedRBACModelInMemory (0.00s) === RUN TestMatcherUsingInOperator --- PASS: TestMatcherUsingInOperator (0.00s) === RUN TestMatcherUsingInOperatorBracket --- PASS: TestMatcherUsingInOperatorBracket (0.00s) === RUN TestReloadPolicy enforcer_test.go:238: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] --- PASS: TestReloadPolicy (0.00s) === RUN TestSavePolicy --- PASS: TestSavePolicy (0.00s) === RUN TestClearPolicy --- PASS: TestClearPolicy (0.00s) === RUN TestEnableEnforce --- PASS: TestEnableEnforce (0.00s) === RUN TestEnableLog 2025/12/01 11:41:34 Model: [p p sub, obj, act] [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] [r r sub, obj, act] 2025/12/01 11:41:34 Request: alice, data1, read ---> true Hit Policy: 2025/12/01 11:41:34 Request: alice, data1, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: alice, data2, read ---> false Hit Policy: 2025/12/01 11:41:34 Request: alice, data2, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data1, read ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data1, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data2, read ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data2, write ---> true Hit Policy: --- PASS: TestEnableLog (0.00s) === RUN TestEnableAutoSave --- PASS: TestEnableAutoSave (0.00s) === RUN TestInitWithAdapter --- PASS: TestInitWithAdapter (0.00s) === RUN TestRoleLinks --- PASS: TestRoleLinks (0.00s) === RUN TestEnforceConcurrency --- PASS: TestEnforceConcurrency (0.03s) === RUN TestGetAndSetModel --- PASS: TestGetAndSetModel (0.00s) === RUN TestGetAndSetAdapterInMem --- PASS: TestGetAndSetAdapterInMem (0.00s) === RUN TestSetAdapterFromFile --- PASS: TestSetAdapterFromFile (0.00s) === RUN TestInitEmpty --- PASS: TestInitEmpty (0.00s) === RUN TestEnforceEx --- PASS: TestEnforceEx (0.00s) === RUN TestEnforceExLog 2025/12/01 11:41:34 Model: [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] [r r sub, obj, act] [p p sub, obj, act] 2025/12/01 11:41:34 Request: alice, data1, read ---> true Hit Policy: [alice data1 read] 2025/12/01 11:41:34 Request: alice, data1, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: alice, data2, read ---> false Hit Policy: 2025/12/01 11:41:34 Request: alice, data2, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data1, read ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data1, write ---> false Hit Policy: 2025/12/01 11:41:34 Request: bob, data2, read ---> false Hit Policy: 2025/12/01 11:41:34 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.00s) === RUN TestSubjectPriorityWithDomain --- PASS: TestSubjectPriorityWithDomain (0.00s) === RUN TestSubjectPriorityInFilter --- PASS: TestSubjectPriorityInFilter (0.00s) === RUN TestMultiplePolicyDefinitions --- PASS: TestMultiplePolicyDefinitions (0.00s) === RUN TestPriorityExplicit --- PASS: TestPriorityExplicit (0.00s) === RUN TestFailedToLoadPolicy --- PASS: TestFailedToLoadPolicy (0.00s) === RUN TestReloadPolicyWithFunc --- PASS: TestReloadPolicyWithFunc (0.01s) === RUN TestEvalPriority --- PASS: TestEvalPriority (0.00s) === RUN TestLinkConditionFunc --- PASS: TestLinkConditionFunc (0.00s) === RUN TestPathError error_test.go:28: Test on error: error_test.go:29: open hope_this_path_wont_exist: no such file or directory --- PASS: TestPathError (0.00s) === RUN TestEnforcerParamError error_test.go:38: Test on error: error_test.go:39: invalid parameters for enforcer error_test.go:46: Test on error: error_test.go:47: invalid parameters for enforcer --- PASS: TestEnforcerParamError (0.00s) === RUN TestModelError error_test.go:56: Test on error: error_test.go:57: parse the content error : line 4 , [policy_definition = ? --- PASS: TestModelError (0.00s) === RUN TestEnforceError error_test.go:77: Test on error: error_test.go:78: invalid request size: expected 3, got 2, rvals: [wrong wrong] error_test.go:86: Test on error: 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) === RUN TestModelNoError error_test.go:125: Test on error: error_test.go:126: open hope_this_path_wont_exist: no such file or directory --- PASS: TestModelNoError (0.00s) === RUN TestMockAdapterErrors error_test.go:144: Test on error: error_test.go:145: mock error error_test.go:159: Test on error: error_test.go:160: mock error error_test.go:171: Test on error: error_test.go:172: mock error error_test.go:183: Test on error: error_test.go:184: mock error error_test.go:198: Test on error: error_test.go:199: mock error error_test.go:210: Test on error: error_test.go:211: mock error error_test.go:222: Test on error: error_test.go:223: mock error error_test.go:234: Test on error: error_test.go:235: mock error error_test.go:246: Test on error: error_test.go:247: mock error error_test.go:258: Test on error: error_test.go:259: mock error error_test.go:270: Test on error: error_test.go:271: mock error error_test.go:282: Test on error: error_test.go:283: mock error --- PASS: TestMockAdapterErrors (0.00s) === RUN TestInitFilteredAdapter filter_test.go:31: Has policy admin, domain1, data1, read : false --- PASS: TestInitFilteredAdapter (0.00s) === RUN TestLoadFilteredPolicy filter_test.go:44: Has policy admin, domain1, data1, read : true filter_test.go:45: Has policy admin, domain2, data2, read : true filter_test.go:58: Has policy admin, domain1, data1, read : true filter_test.go:59: Has policy admin, domain2, data2, read : false --- PASS: TestLoadFilteredPolicy (0.00s) === RUN TestLoadMoreTypeFilteredPolicy filter_test.go:83: Has policy book_admin, book_group, GET : true filter_test.go:84: Has policy pen_admin, pen_group, GET : true filter_test.go:97: Has policy alice, /pen/1, GET : false filter_test.go:98: Has policy alice, /pen2/1, GET : false filter_test.go:99: Has policy pen_admin, pen_group, GET : false filter_test.go:100: Has grouping policy alice, book_admin : true 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.00s) === RUN TestAppendFilteredPolicy filter_test.go:119: Has policy admin, domain1, data1, read : true filter_test.go:120: Has policy admin, domain2, data2, read : true filter_test.go:133: Has policy admin, domain1, data1, read : true filter_test.go:134: Has policy admin, domain2, data2, read : false filter_test.go:145: Has policy admin, domain1, data1, read : true filter_test.go:146: Has policy admin, domain2, data2, read : true --- PASS: TestAppendFilteredPolicy (0.00s) === RUN TestFilteredPolicyInvalidFilter --- PASS: TestFilteredPolicyInvalidFilter (0.00s) === RUN TestFilteredPolicyEmptyFilter --- PASS: TestFilteredPolicyEmptyFilter (0.00s) === RUN TestUnsupportedFilteredPolicy --- PASS: TestUnsupportedFilteredPolicy (0.00s) === RUN TestFilteredAdapterEmptyFilepath --- PASS: TestFilteredAdapterEmptyFilepath (0.00s) === RUN TestFilteredAdapterInvalidFilepath --- PASS: TestFilteredAdapterInvalidFilepath (0.00s) === RUN TestCasbinJsGetPermissionForUserOld frontend_old_test.go:37: GetPermissionForUser Alice {"read":["data1","data2"],"write":["data2"]} frontend_old_test.go:65: GetPermissionForUser Bob {"write":["data2"]} --- PASS: TestCasbinJsGetPermissionForUserOld (0.00s) === RUN TestCasbinJsGetPermissionForUser --- PASS: TestCasbinJsGetPermissionForUser (0.00s) === RUN TestGetList management_api_test.go:40: Subjects: [alice bob data2_admin] management_api_test.go:41: Objects: [data1 data2] management_api_test.go:42: Actions: [read write] management_api_test.go:43: Roles: [data2_admin] --- PASS: TestGetList (0.00s) === RUN TestGetListWithDomains management_api_test.go:49: Subjects: [admin] management_api_test.go:50: Objects: [data1 data2] management_api_test.go:51: Actions: [read write] management_api_test.go:52: Roles: [admin] --- PASS: TestGetListWithDomains (0.00s) === RUN TestGetPolicyAPI management_api_test.go:156: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:162: Policy for alice : [[alice data1 read]] management_api_test.go:163: Policy for bob : [[bob data2 write]] management_api_test.go:164: Policy for data2_admin : [[data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:165: Policy for data1 : [[alice data1 read]] management_api_test.go:166: Policy for data2 : [[bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:167: Policy for read : [[alice data1 read] [data2_admin data2 read]] management_api_test.go:168: Policy for write : [[bob data2 write] [data2_admin data2 write]] management_api_test.go:170: Policy for 'alice' == p.sub : [[alice data1 read]] management_api_test.go:171: Policy for keyMatch2(p.sub, '*') : [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:177: Policy for data2_admin, data2 : [[data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:179: Policy for data2_admin, , read : [[data2_admin data2 read]] management_api_test.go:180: Policy for data2, write : [[bob data2 write] [data2_admin data2 write]] management_api_test.go:182: Has policy alice, data1, read : true management_api_test.go:183: Has policy bob, data2, write : true management_api_test.go:184: Has policy alice, data2, read : false management_api_test.go:185: Has policy bob, data3, write : false management_api_test.go:187: Grouping policy: [[alice data2_admin]] management_api_test.go:189: Grouping policy for alice : [[alice data2_admin]] management_api_test.go:190: Grouping policy for bob : [] management_api_test.go:191: Grouping policy for data1_admin : [] management_api_test.go:192: Grouping policy for data2_admin : [[alice data2_admin]] management_api_test.go:194: Grouping policy for , data2_admin : [[alice data2_admin]] management_api_test.go:196: Has grouping policy alice, data2_admin : true management_api_test.go:197: Has grouping policy bob, data2_admin : false --- PASS: TestGetPolicyAPI (0.00s) === RUN TestModifyPolicyAPI management_api_test.go:203: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:229: Policy: [[data2_admin data2 read] [data2_admin data2 write] [eve data3 read] [jack data4 read] [katy data4 write] [leyo data4 read] [ham data4 write]] management_api_test.go:245: Policy: [[data2_admin data2 read] [data2_admin data2 write] [eve data3 read]] management_api_test.go:252: Policy: [[eve data3 read]] management_api_test.go:256: Policy: [[eve data3 write]] management_api_test.go:265: Policy: [[eve data3 read] [jack data4 read] [katy data1 write] [leyo data4 write] [ham data4 write]] management_api_test.go:269: Policy: [[user1 data1 read]] 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) === RUN TestModifyGroupingPolicyAPI management_api_test.go:284: Roles for alice : [data2_admin] management_api_test.go:285: Roles for bob : [] management_api_test.go:286: Roles for eve : [] management_api_test.go:287: Roles for non_exist : [] management_api_test.go:299: Roles for ham : [data4_admin] management_api_test.go:300: Roles for jack : [data5_admin] management_api_test.go:303: Roles for alice : [] management_api_test.go:305: Roles for alice : [] management_api_test.go:307: Roles for alice : [data2_admin] management_api_test.go:312: Roles for ham : [data4_admin] management_api_test.go:313: Roles for jack : [data5_admin] management_api_test.go:317: Roles for alice : [] management_api_test.go:318: Roles for bob : [data1_admin] management_api_test.go:319: Roles for eve : [data3_admin] management_api_test.go:320: Roles for non_exist : [] management_api_test.go:322: Users for data1_admin : [bob] management_api_test.go:323: Users for data2_admin : [] management_api_test.go:324: Users for data3_admin : [eve] management_api_test.go:328: Roles for alice : [] management_api_test.go:329: Roles for bob : [] management_api_test.go:330: Roles for eve : [data3_admin] management_api_test.go:331: Roles for non_exist : [] management_api_test.go:333: Users for data1_admin : [] management_api_test.go:334: Users for data2_admin : [] management_api_test.go:335: Users for data3_admin : [eve] management_api_test.go:339: Users for data4_admin : [admin] management_api_test.go:340: Users for admin : [eve] management_api_test.go:342: Roles for eve : [admin] management_api_test.go:343: Roles for admin : [data4_admin] management_api_test.go:347: Users for data5_admin : [admin] management_api_test.go:348: Users for admin_groups : [eve] management_api_test.go:350: Roles for admin : [data5_admin] 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] --- PASS: TestModifyGroupingPolicyAPI (0.00s) === RUN TestBasicModel --- PASS: TestBasicModel (0.00s) === RUN TestBasicModelWithoutSpaces --- PASS: TestBasicModelWithoutSpaces (0.00s) === RUN TestBasicModelNoPolicy --- PASS: TestBasicModelNoPolicy (0.00s) === RUN TestBasicModelWithRoot --- PASS: TestBasicModelWithRoot (0.00s) === RUN TestBasicModelWithRootNoPolicy --- PASS: TestBasicModelWithRootNoPolicy (0.00s) === RUN TestBasicModelWithoutUsers --- PASS: TestBasicModelWithoutUsers (0.00s) === RUN TestBasicModelWithoutResources --- PASS: TestBasicModelWithoutResources (0.00s) === RUN TestRBACModel --- PASS: TestRBACModel (0.00s) === RUN TestRBACModelWithResourceRoles --- PASS: TestRBACModelWithResourceRoles (0.00s) === RUN TestRBACModelWithDomains --- PASS: TestRBACModelWithDomains (0.00s) === RUN TestRBACModelWithDomainsAtRuntime --- PASS: TestRBACModelWithDomainsAtRuntime (0.00s) === RUN TestRBACModelWithDomainsAtRuntimeMockAdapter --- PASS: TestRBACModelWithDomainsAtRuntimeMockAdapter (0.00s) === RUN TestRBACModelWithDeny --- PASS: TestRBACModelWithDeny (0.00s) === RUN TestRBACModelWithOnlyDeny --- PASS: TestRBACModelWithOnlyDeny (0.00s) === RUN TestRBACModelWithCustomData --- PASS: TestRBACModelWithCustomData (0.00s) === RUN TestRBACModelWithPattern --- PASS: TestRBACModelWithPattern (0.01s) === RUN TestRBACModelWithDifferentTypesOfRoles --- PASS: TestRBACModelWithDifferentTypesOfRoles (0.00s) === RUN TestRBACModelWithCustomRoleManager --- PASS: TestRBACModelWithCustomRoleManager (0.00s) === RUN TestABACModel --- PASS: TestABACModel (0.00s) === RUN TestABACMapRequest --- PASS: TestABACMapRequest (0.00s) === RUN TestABACTypes --- PASS: TestABACTypes (0.00s) === RUN TestABACJsonRequest --- PASS: TestABACJsonRequest (0.00s) === RUN TestKeyMatchModel --- PASS: TestKeyMatchModel (0.00s) === RUN TestKeyMatch2Model --- PASS: TestKeyMatch2Model (0.00s) === RUN TestKeyMatchCustomModel --- PASS: TestKeyMatchCustomModel (0.00s) === RUN TestIPMatchModel --- PASS: TestIPMatchModel (0.00s) === RUN TestGlobMatchModel --- PASS: TestGlobMatchModel (0.00s) === RUN TestPriorityModel --- PASS: TestPriorityModel (0.00s) === RUN TestPriorityModelIndeterminate --- PASS: TestPriorityModelIndeterminate (0.00s) === RUN TestRBACModelInMultiLines --- PASS: TestRBACModelInMultiLines (0.00s) === 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[] 0xc00061cce8} logger logger &{ [] [] [] map[] map[] 0xc00061cce8} e e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0xc00061cce8} m m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0xc00061cce8} r r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0xc00061cce8} --- PASS: TestABACPolicy (0.00s) === RUN TestCommentModel --- PASS: TestCommentModel (0.00s) === RUN TestDomainMatchModel --- PASS: TestDomainMatchModel (0.00s) === RUN TestAllMatchModel --- PASS: TestAllMatchModel (0.00s) === RUN TestTemporalRolesModel --- PASS: TestTemporalRolesModel (0.00s) === RUN TestTemporalRolesModelWithDomain --- PASS: TestTemporalRolesModelWithDomain (0.00s) === RUN TestRoleAPI rbac_api_test.go:74: Roles for alice : [data2_admin] rbac_api_test.go:75: Roles for bob : [] rbac_api_test.go:76: Roles for data2_admin : [] rbac_api_test.go:77: Roles for non_exist : [] rbac_api_test.go:79: alice has role data1_admin : false rbac_api_test.go:80: alice has role data2_admin : true rbac_api_test.go:84: Roles for alice : [data2_admin data1_admin] rbac_api_test.go:85: Roles for bob : [] rbac_api_test.go:86: Roles for data2_admin : [] rbac_api_test.go:90: Roles for alice : [data2_admin] rbac_api_test.go:91: Roles for bob : [] rbac_api_test.go:92: Roles for data2_admin : [] rbac_api_test.go:96: Roles for alice : [] rbac_api_test.go:97: Roles for bob : [] rbac_api_test.go:98: Roles for data2_admin : [] rbac_api_test.go:103: Roles for alice : [] rbac_api_test.go:104: Roles for bob : [] rbac_api_test.go:105: Roles for data2_admin : [] --- PASS: TestRoleAPI (0.00s) === RUN TestRoleAPI_Domains rbac_api_test.go:133: alice has role admin : true rbac_api_test.go:134: alice has role admin : false rbac_api_test.go:135: Roles for alice : [admin] rbac_api_test.go:136: Roles for bob : [] rbac_api_test.go:137: Roles for admin : [] rbac_api_test.go:138: Roles for non_exist : [] rbac_api_test.go:139: Roles for alice : [] rbac_api_test.go:140: Roles for bob : [admin] rbac_api_test.go:141: Roles for admin : [] rbac_api_test.go:142: Roles for non_exist : [] rbac_api_test.go:147: Roles for alice : [] rbac_api_test.go:148: Roles for bob : [admin] rbac_api_test.go:149: Roles for admin : [] rbac_api_test.go:150: Roles for non_exist : [] rbac_api_test.go:151: Roles for alice : [] rbac_api_test.go:152: Roles for bob : [admin] rbac_api_test.go:153: Roles for admin : [] rbac_api_test.go:154: Roles for non_exist : [] rbac_api_test.go:159: Roles for alice : [admin] rbac_api_test.go:160: Roles for bob : [] rbac_api_test.go:161: Roles for admin : [] rbac_api_test.go:162: Roles for non_exist : [] rbac_api_test.go:163: Roles for alice : [] 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: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.00s) === RUN TestEnforcer_AddRolesForUser rbac_api_test.go:181: Roles for alice : [data2_admin] rbac_api_test.go:186: Roles for alice : [data1_admin data2_admin data3_admin] --- PASS: TestEnforcer_AddRolesForUser (0.00s) === RUN TestPermissionAPI rbac_api_test.go:240: Permissions for alice : [[alice read]] rbac_api_test.go:241: Permissions for bob : [[bob write]] rbac_api_test.go:243: alice has permission read : true rbac_api_test.go:244: alice has permission write : false rbac_api_test.go:245: bob has permission read : false 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) === RUN TestImplicitRoleAPI rbac_api_test.go:311: Permissions for alice : [[alice data1 read]] rbac_api_test.go:312: Permissions for bob : [[bob data2 write]] rbac_api_test.go:314: Implicit roles for alice : [admin data1_admin data2_admin] rbac_api_test.go: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) === RUN TestImplicitPermissionAPI rbac_api_test.go:360: Permissions for alice : [[alice data1 read]] rbac_api_test.go:361: Permissions for bob : [[bob data2 write]] rbac_api_test.go:363: Implicit permissions for alice : [[alice data1 read] [data1_admin data1 read] [data1_admin data1 write] [data2_admin data2 read] [data2_admin data2 write]] rbac_api_test.go:364: Implicit permissions for bob : [[bob data2 write]] rbac_api_test.go:369: Implicit permissions for admin : [[admin domain1 data1 read] [admin domain1 data1 write] [admin domain1 data3 read]] rbac_api_test.go:376: Implicit permissions for alice : [[admin domain2 data2 read] [admin domain2 data2 write] [admin domain2 data3 read]] rbac_api_test.go:382: Named implicit permissions for alice : [[user /data GET] [admin /data POST]] rbac_api_test.go:383: Named implicit permissions for alice : [[user view] [admin create]] rbac_api_test.go:385: Named implicit permissions for alice : [[user /data GET]] rbac_api_test.go:386: Named implicit permissions for alice : [[user view]] --- PASS: TestImplicitPermissionAPI (0.00s) === RUN TestImplicitPermissionAPIWithDomain rbac_api_test.go:391: Implicit permissions for alice under domain1 : [[role:reader domain1 data1 read] [role:writer domain1 data1 write] [alice domain1 data2 read]] --- PASS: TestImplicitPermissionAPIWithDomain (0.00s) === RUN TestImplicitUserAPI rbac_api_test.go:410: Implicit users for permission: [data1 read] : [alice] rbac_api_test.go:411: Implicit users for permission: [data1 write] : [alice] rbac_api_test.go:412: Implicit users for permission: [data2 read] : [alice] rbac_api_test.go:413: Implicit users for permission: [data2 write] : [alice bob] 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 /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 /pen/:id GET] [cathy /pen2/{id} GET] [cathy pen_group GET]] --- PASS: TestGetImplicitResourcesForUser (0.00s) === 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 : [/pen/:id /pen2/{id}] --- PASS: TestImplicitUsersForRole (0.00s) === RUN TestExplicitPriorityModify --- PASS: TestExplicitPriorityModify (0.00s) === RUN TestCustomizedFieldIndex --- PASS: TestCustomizedFieldIndex (0.00s) === RUN TestGetAllowedObjectConditions 2025/12/01 11:41:34 Policy: [price < 25 category_id = 2] 2025/12/01 11:41:34 Policy: [category_id = 2] 2025/12/01 11:41:34 Policy: [author = bob] 2025/12/01 11:41:34 Policy: [price < 25] 2025/12/01 11:41:34 Policy: [category_id = 2] 2025/12/01 11:41:34 Policy: [author = bob] --- PASS: TestGetAllowedObjectConditions (0.00s) === RUN TestGetImplicitUsersForResource rbac_api_test.go:623: Implicit users for data1 in domain [] : [[alice data1 read]] rbac_api_test.go:624: Implicit users for data2 in domain [] : [[bob data2 write] [alice data2 read] [alice data2 write]] rbac_api_test.go:631: Implicit users for data2 in domain [] : [[bob data2 write] [alice data2 read] [alice data2 write]] --- PASS: TestGetImplicitUsersForResource (0.00s) === RUN TestGetImplicitUsersForResourceByDomain rbac_api_test.go:652: Implicit users for data1 in domain domain1 : [[alice data1 domain1 read] [alice data1 domain1 write]] rbac_api_test.go:655: Implicit users for data2 in domain domain1 : [] rbac_api_test.go:657: Implicit users for data2 in domain domain2 : [[bob data2 domain2 read] [bob data2 domain2 write]] --- PASS: TestGetImplicitUsersForResourceByDomain (0.00s) === RUN TestGetImplicitRolesForDomainUser rbac_api_with_domains_test.go:49: Roles for alice under domain1 : [role:global_admin] rbac_api_with_domains_test.go:52: Implicit roles in domain domain1 for alice : [role:global_admin role:reader role:writer] --- PASS: TestGetImplicitRolesForDomainUser (0.00s) === RUN TestUserAPIWithDomains rbac_api_with_domains_test.go:59: Users for admin : [alice] rbac_api_with_domains_test.go:60: Users for admin under domain1 : [alice] rbac_api_with_domains_test.go:62: Users for non_exist : [] rbac_api_with_domains_test.go:63: Users for non_exist under domain1 : [] rbac_api_with_domains_test.go:65: Users for admin : [bob] rbac_api_with_domains_test.go:66: Users for admin under domain2 : [bob] rbac_api_with_domains_test.go:68: Users for non_exist : [] rbac_api_with_domains_test.go:69: Users for non_exist under domain2 : [] rbac_api_with_domains_test.go:74: Users for admin : [bob] rbac_api_with_domains_test.go:75: Users for admin under domain1 : [bob] rbac_api_with_domains_test.go:77: Users for non_exist : [] rbac_api_with_domains_test.go:78: Users for non_exist under domain1 : [] rbac_api_with_domains_test.go:80: Users for admin : [bob] 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) === 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] rbac_api_with_domains_test.go:93: Roles for bob : [] rbac_api_with_domains_test.go:94: Roles for bob under domain1 : [] rbac_api_with_domains_test.go:96: Roles for admin : [] rbac_api_with_domains_test.go:97: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:99: Roles for non_exist : [] rbac_api_with_domains_test.go:100: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:102: Roles for alice : [] rbac_api_with_domains_test.go:103: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:105: Roles for bob : [admin] rbac_api_with_domains_test.go:106: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:108: Roles for admin : [] rbac_api_with_domains_test.go:109: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:111: Roles for non_exist : [] rbac_api_with_domains_test.go:112: Roles for non_exist under domain2 : [] rbac_api_with_domains_test.go:117: Roles for alice : [] rbac_api_with_domains_test.go:118: Roles for alice under domain1 : [] rbac_api_with_domains_test.go:120: Roles for bob : [admin] rbac_api_with_domains_test.go:121: Roles for bob under domain1 : [admin] rbac_api_with_domains_test.go:123: Roles for admin : [] rbac_api_with_domains_test.go:124: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:126: Roles for non_exist : [] rbac_api_with_domains_test.go:127: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:129: Roles for alice : [] rbac_api_with_domains_test.go:130: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:132: Roles for bob : [admin] rbac_api_with_domains_test.go:133: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:135: Roles for admin : [] rbac_api_with_domains_test.go:136: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:138: Roles for non_exist : [] rbac_api_with_domains_test.go:139: Roles for non_exist under domain2 : [] rbac_api_with_domains_test.go:144: Roles for alice : [admin] rbac_api_with_domains_test.go:145: Roles for alice under domain1 : [admin] rbac_api_with_domains_test.go:147: Roles for bob : [] rbac_api_with_domains_test.go:148: Roles for bob under domain1 : [] rbac_api_with_domains_test.go:150: Roles for admin : [] rbac_api_with_domains_test.go:151: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:153: Roles for non_exist : [] rbac_api_with_domains_test.go:154: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:156: Roles for alice : [] rbac_api_with_domains_test.go:157: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:159: Roles for bob : [admin] rbac_api_with_domains_test.go:160: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:162: Roles for admin : [] rbac_api_with_domains_test.go:163: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:165: Roles for non_exist : [] rbac_api_with_domains_test.go:166: Roles for non_exist under domain2 : [] --- PASS: TestRoleAPIWithDomains (0.00s) === RUN TestPermissionAPIInDomain rbac_api_with_domains_test.go:182: Permissions for alice under domain1 : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_with_domains_test.go:183: Permissions for bob under domain1 : [] rbac_api_with_domains_test.go:184: Permissions for admin under domain1 : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_with_domains_test.go:185: Permissions for non_exist under domain1 : [] rbac_api_with_domains_test.go:187: Permissions for alice under domain2 : [] rbac_api_with_domains_test.go:188: Permissions for bob under domain2 : [[admin domain2 data2 read] [admin domain2 data2 write]] rbac_api_with_domains_test.go:189: Permissions for admin under domain2 : [[admin domain2 data2 read] [admin domain2 data2 write]] rbac_api_with_domains_test.go:190: Permissions for non_exist under domain2 : [] --- PASS: TestPermissionAPIInDomain (0.00s) === RUN TestGetDomainsForUser --- PASS: TestGetDomainsForUser (0.00s) === RUN TestGetAllUsersByDomain --- PASS: TestGetAllUsersByDomain (0.00s) === RUN TestDeleteAllUsersByDomain --- PASS: TestDeleteAllUsersByDomain (0.00s) === RUN TestGetAllDomains --- PASS: TestGetAllDomains (0.00s) === RUN TestGetAllRolesByDomain --- PASS: TestGetAllRolesByDomain (0.00s) === RUN TestSetWatcherEx --- PASS: TestSetWatcherEx (0.00s) === RUN TestSetWatcher --- PASS: TestSetWatcher (0.00s) === RUN TestSelfModify --- PASS: TestSelfModify (0.00s) === RUN TestSetWatcherUpdatable --- PASS: TestSetWatcherUpdatable (0.00s) PASS ok github.com/casbin/casbin 17.590s === RUN TestGet --- PASS: TestGet (0.00s) PASS ok github.com/casbin/casbin/config 0.003s === RUN TestLog --- PASS: TestLog (0.00s) PASS ok github.com/casbin/casbin/log 0.003s === RUN TestNewModel --- PASS: TestNewModel (0.00s) === RUN TestNewModelFromFile --- PASS: TestNewModelFromFile (0.00s) === RUN TestNewModelFromString --- PASS: TestNewModelFromString (0.00s) === RUN TestLoadModelFromConfig --- PASS: TestLoadModelFromConfig (0.00s) === RUN TestHasSection --- PASS: TestHasSection (0.00s) === RUN TestModel_AddDef --- PASS: TestModel_AddDef (0.00s) === RUN TestModelToTest [request_definition] r = sub, obj, act [policy_definition] p = sub, obj, act [policy_effect] e = some(where (p.eft == allow)) [matchers] m = r.sub == p.sub && r.obj == p.obj && r_func(r.act, p.act) && testr_func(r.act, p.act) [request_definition] r = sub, obj, act [policy_definition] p = sub, obj, act [policy_effect] e = some(where (p.eft == allow)) [matchers] 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.005s === RUN TestPersist --- PASS: TestPersist (0.00s) === RUN TestDuplicateRuleInAdapter --- PASS: TestDuplicateRuleInAdapter (0.00s) PASS ok github.com/casbin/casbin/persist 0.004s === 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.006s === RUN TestRole role_manager_test.go:90: u1, g1: true role_manager_test.go:91: u1, g2: false role_manager_test.go:92: u1, g3: true role_manager_test.go:93: u2, g1: true role_manager_test.go:94: u2, g2: false role_manager_test.go:95: u2, g3: true role_manager_test.go:96: u3, g1: false role_manager_test.go:97: u3, g2: true role_manager_test.go:98: u3, g3: false role_manager_test.go:99: u4, g1: false role_manager_test.go:100: u4, g2: true role_manager_test.go:101: u4, g3: true 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:107: g1: [g3] role_manager_test.go:108: g2: [] role_manager_test.go:109: g3: [] role_manager_test.go:121: u1, g1: true role_manager_test.go:122: u1, g2: false role_manager_test.go:123: u1, g3: false role_manager_test.go:124: u2, g1: true role_manager_test.go:125: u2, g2: false role_manager_test.go:126: u2, g3: false role_manager_test.go:127: u3, g1: false role_manager_test.go:128: u3, g2: true role_manager_test.go:129: u3, g3: false role_manager_test.go:130: u4, g1: false role_manager_test.go:131: u4, g2: false role_manager_test.go:132: u4, g3: true role_manager_test.go:134: u1: [g1] role_manager_test.go:135: u2: [g1] role_manager_test.go:136: u3: [g2] role_manager_test.go:137: u4: [g3] role_manager_test.go:138: g1: [] role_manager_test.go:139: g2: [] role_manager_test.go:140: g3: [] role_manager_test.go:155: u1, g1: true 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:160: *: [u1] --- PASS: TestRole (0.00s) === RUN TestDomainRole role_manager_test.go:179: domain1 :: u1, g1: true role_manager_test.go:180: domain2 :: u1, g1: false role_manager_test.go:181: domain1 :: u1, admin: true role_manager_test.go:182: domain2 :: u1, admin: false role_manager_test.go:184: domain1 :: u2, g1: true role_manager_test.go:185: domain2 :: u2, g1: false role_manager_test.go:186: domain1 :: u2, admin: true role_manager_test.go:187: domain2 :: u2, admin: false role_manager_test.go:189: domain1 :: u3, g1: false role_manager_test.go:190: domain2 :: u3, g1: false role_manager_test.go:191: domain1 :: u3, admin: false role_manager_test.go:192: domain2 :: u3, admin: true role_manager_test.go:194: domain1 :: u4, g1: false role_manager_test.go:195: domain2 :: u4, g1: false role_manager_test.go:196: domain1 :: u4, admin: true role_manager_test.go:197: domain2 :: u4, admin: true role_manager_test.go:209: domain1 :: u1, g1: true role_manager_test.go:210: domain2 :: u1, g1: false role_manager_test.go:211: domain1 :: u1, admin: false role_manager_test.go:212: domain2 :: u1, admin: false role_manager_test.go:214: domain1 :: u2, g1: true role_manager_test.go:215: domain2 :: u2, g1: false role_manager_test.go:216: domain1 :: u2, admin: false role_manager_test.go:217: domain2 :: u2, admin: false role_manager_test.go:219: domain1 :: u3, g1: false role_manager_test.go:220: domain2 :: u3, g1: false role_manager_test.go:221: domain1 :: u3, admin: false role_manager_test.go:222: domain2 :: u3, admin: true role_manager_test.go:224: domain1 :: u4, g1: false role_manager_test.go:225: domain2 :: u4, g1: false role_manager_test.go:226: domain1 :: u4, admin: true role_manager_test.go:227: domain2 :: u4, admin: false --- PASS: TestDomainRole (0.00s) === RUN TestClear role_manager_test.go:251: u1, g1: false role_manager_test.go:252: u1, g2: false role_manager_test.go:253: u1, g3: false role_manager_test.go:254: u2, g1: false role_manager_test.go:255: u2, g2: false role_manager_test.go:256: u2, g3: false role_manager_test.go:257: u3, g1: false role_manager_test.go:258: u3, g2: false role_manager_test.go:259: u3, g3: false role_manager_test.go:260: u4, g1: false role_manager_test.go:261: u4, g2: false role_manager_test.go:262: u4, g3: false --- PASS: TestClear (0.00s) === RUN TestDomainPatternRole role_manager_test.go:279: domain1 :: u1, g1: true role_manager_test.go:280: domain1 :: u2, g1: false role_manager_test.go:281: domain2 :: u2, g1: true role_manager_test.go:282: domain1 :: u3, g1: true role_manager_test.go:283: domain2 :: u3, g1: true role_manager_test.go:284: domain1 :: u1, g2: false role_manager_test.go:285: domain3 :: u4, g2: true role_manager_test.go:286: domain3 :: u3, g2: false --- PASS: TestDomainPatternRole (0.00s) === RUN TestAllMatchingFunc role_manager_test.go:305: domain1 :: /book/1, book_group: true role_manager_test.go:306: domain1 :: /book/2, book_group: true --- PASS: TestAllMatchingFunc (0.00s) === RUN TestMatchingFuncOrder role_manager_test.go:315: u1, root: true role_manager_test.go:321: u1, root: true role_manager_test.go:326: u1, g1: true role_manager_test.go:327: u1, g2: true --- PASS: TestMatchingFuncOrder (0.00s) === RUN TestDomainMatchingFuncWithDifferentDomain role_manager_test.go:337: domain1 :: alice, admin: true role_manager_test.go:338: domain2 :: alice, admin: false --- PASS: TestDomainMatchingFuncWithDifferentDomain (0.00s) === RUN TestTemporaryRoles role_manager_test.go:348: u0, user: true role_manager_test.go:348: u1, user: true role_manager_test.go:348: u2, user: true role_manager_test.go:348: u3, user: true role_manager_test.go:348: u4, user: true role_manager_test.go:348: u5, user: true role_manager_test.go:348: u6, user: true role_manager_test.go:348: u7, user: true role_manager_test.go:348: u8, user: true role_manager_test.go:348: u9, user: true role_manager_test.go:351: user: [u\d+] role_manager_test.go:352: u1: [user] role_manager_test.go:357: u10, user: true role_manager_test.go:357: u11, user: true role_manager_test.go:357: u12, user: true role_manager_test.go:357: u13, user: true role_manager_test.go:357: u14, user: true role_manager_test.go:357: u15, user: true role_manager_test.go:357: u16, user: true role_manager_test.go:357: u17, user: true role_manager_test.go:357: u18, user: true role_manager_test.go:357: u19, user: true role_manager_test.go:360: user: [u\d+ u1] role_manager_test.go:361: u1: [manager user] --- PASS: TestTemporaryRoles (0.00s) === RUN TestMaxHierarchyLevel role_manager_test.go:370: level0, level0: true role_manager_test.go:371: level0, level1: true role_manager_test.go:372: level0, level2: false role_manager_test.go:373: level0, level3: false role_manager_test.go:374: level1, level2: true role_manager_test.go:375: level1, level3: false role_manager_test.go:382: level0, level0: true role_manager_test.go:383: level0, level1: true role_manager_test.go:384: level0, level2: true role_manager_test.go:385: level0, level3: false role_manager_test.go:386: level1, level2: true role_manager_test.go:387: level1, level3: true --- PASS: TestMaxHierarchyLevel (0.00s) PASS ok github.com/casbin/casbin/rbac/default-role-manager 0.009s === RUN TestKeyMatch builtin_operators_test.go:32: /foo < /foo: true builtin_operators_test.go:33: /foo < /foo*: true builtin_operators_test.go:34: /foo < /foo/*: false builtin_operators_test.go:35: /foo/bar < /foo: false builtin_operators_test.go:36: /foo/bar < /foo*: true builtin_operators_test.go:37: /foo/bar < /foo/*: true builtin_operators_test.go:38: /foobar < /foo: false builtin_operators_test.go:39: /foobar < /foo*: true builtin_operators_test.go:40: /foobar < /foo/*: false --- PASS: TestKeyMatch (0.00s) === RUN TestKeyGet builtin_operators_test.go:54: /foo < /foo: "" builtin_operators_test.go:55: /foo < /foo*: "" builtin_operators_test.go:56: /foo < /foo/*: "" builtin_operators_test.go:57: /foo/bar < /foo: "" builtin_operators_test.go:58: /foo/bar < /foo*: "/bar" builtin_operators_test.go:59: /foo/bar < /foo/*: "bar" builtin_operators_test.go:60: /foobar < /foo: "" builtin_operators_test.go:61: /foobar < /foo*: "bar" builtin_operators_test.go:62: /foobar < /foo/*: "" --- PASS: TestKeyGet (0.00s) === RUN TestKeyMatch2 builtin_operators_test.go:89: /foo < /foo: true builtin_operators_test.go:90: /foo < /foo*: true builtin_operators_test.go:91: /foo < /foo/*: false builtin_operators_test.go:92: /foo/bar < /foo: false builtin_operators_test.go:93: /foo/bar < /foo*: false builtin_operators_test.go:94: /foo/bar < /foo/*: true builtin_operators_test.go:95: /foobar < /foo: false builtin_operators_test.go:96: /foobar < /foo*: false builtin_operators_test.go:97: /foobar < /foo/*: false builtin_operators_test.go:99: / < /:resource: false builtin_operators_test.go:100: /resource1 < /:resource: true builtin_operators_test.go:101: /myid < /:id/using/:resId: false builtin_operators_test.go:102: /myid/using/myresid < /:id/using/:resId: true builtin_operators_test.go:104: /proxy/myid < /proxy/:id/*: false builtin_operators_test.go:105: /proxy/myid/ < /proxy/:id/*: true builtin_operators_test.go:106: /proxy/myid/res < /proxy/:id/*: true builtin_operators_test.go:107: /proxy/myid/res/res2 < /proxy/:id/*: true builtin_operators_test.go:108: /proxy/myid/res/res2/res3 < /proxy/:id/*: true builtin_operators_test.go:109: /proxy/ < /proxy/:id/*: false builtin_operators_test.go:111: /alice < /:id: true builtin_operators_test.go:112: /alice/all < /:id/all: true builtin_operators_test.go:113: /alice < /:id/all: false builtin_operators_test.go:114: /alice/all < /:id: false builtin_operators_test.go:116: /alice/all < /:/all: false --- PASS: TestKeyMatch2 (0.00s) === RUN TestKeyGet2 builtin_operators_test.go:130: /foo < /foo: id = "" builtin_operators_test.go:131: /foo < /foo*: id = "" builtin_operators_test.go:132: /foo < /foo/*: id = "" builtin_operators_test.go:133: /foo/bar < /foo: id = "" builtin_operators_test.go:134: /foo/bar < /foo*: id = "" builtin_operators_test.go:135: /foo/bar < /foo/*: id = "" builtin_operators_test.go:136: /foobar < /foo: id = "" builtin_operators_test.go:137: /foobar < /foo*: id = "" builtin_operators_test.go:138: /foobar < /foo/*: id = "" builtin_operators_test.go:140: / < /:resource: resource = "" builtin_operators_test.go:141: /resource1 < /:resource: resource = "resource1" builtin_operators_test.go:142: /myid < /:id/using/:resId: id = "" builtin_operators_test.go:143: /myid/using/myresid < /:id/using/:resId: id = "myid" builtin_operators_test.go:144: /myid/using/myresid < /:id/using/:resId: resId = "myresid" builtin_operators_test.go:146: /proxy/myid < /proxy/:id/*: id = "" builtin_operators_test.go:147: /proxy/myid/ < /proxy/:id/*: id = "myid" builtin_operators_test.go:148: /proxy/myid/res < /proxy/:id/*: id = "myid" builtin_operators_test.go:149: /proxy/myid/res/res2 < /proxy/:id/*: id = "myid" builtin_operators_test.go:150: /proxy/myid/res/res2/res3 < /proxy/:id/*: id = "myid" builtin_operators_test.go:151: /proxy/myid/res/res2/res3 < /proxy/:id/res/*: id = "myid" builtin_operators_test.go:152: /proxy/ < /proxy/:id/*: id = "" builtin_operators_test.go:154: /alice < /:id: id = "alice" builtin_operators_test.go:155: /alice/all < /:id/all: id = "alice" builtin_operators_test.go:156: /alice < /:id/all: id = "" builtin_operators_test.go:157: /alice/all < /:id: id = "" builtin_operators_test.go:159: /alice/all < /:/all: = "" --- PASS: TestKeyGet2 (0.00s) === RUN TestKeyMatch3 builtin_operators_test.go:174: /foo < /foo: true builtin_operators_test.go:175: /foo < /foo*: true builtin_operators_test.go:176: /foo < /foo/*: false builtin_operators_test.go:177: /foo/bar < /foo: false builtin_operators_test.go:178: /foo/bar < /foo*: false builtin_operators_test.go:179: /foo/bar < /foo/*: true builtin_operators_test.go:180: /foobar < /foo: false builtin_operators_test.go:181: /foobar < /foo*: false builtin_operators_test.go:182: /foobar < /foo/*: false builtin_operators_test.go:184: / < /{resource}: false builtin_operators_test.go:185: /resource1 < /{resource}: true builtin_operators_test.go:186: /myid < /{id}/using/{resId}: false builtin_operators_test.go:187: /myid/using/myresid < /{id}/using/{resId}: true builtin_operators_test.go:189: /proxy/myid < /proxy/{id}/*: false builtin_operators_test.go:190: /proxy/myid/ < /proxy/{id}/*: true builtin_operators_test.go:191: /proxy/myid/res < /proxy/{id}/*: true builtin_operators_test.go:192: /proxy/myid/res/res2 < /proxy/{id}/*: true 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.00s) === RUN TestKeyGet3 builtin_operators_test.go:211: /foo < /foo: id = "" builtin_operators_test.go:212: /foo < /foo*: id = "" builtin_operators_test.go:213: /foo < /foo/*: id = "" builtin_operators_test.go:214: /foo/bar < /foo: id = "" builtin_operators_test.go:215: /foo/bar < /foo*: id = "" builtin_operators_test.go:216: /foo/bar < /foo/*: id = "" builtin_operators_test.go:217: /foobar < /foo: id = "" builtin_operators_test.go:218: /foobar < /foo*: id = "" builtin_operators_test.go:219: /foobar < /foo/*: id = "" builtin_operators_test.go:221: / < /{resource}: resource = "" builtin_operators_test.go:222: /resource1 < /{resource}: resource = "resource1" builtin_operators_test.go:223: /myid < /{id}/using/{resId}: id = "" builtin_operators_test.go:224: /myid/using/myresid < /{id}/using/{resId}: id = "myid" builtin_operators_test.go:225: /myid/using/myresid < /{id}/using/{resId}: resId = "myresid" builtin_operators_test.go:227: /proxy/myid < /proxy/{id}/*: id = "" builtin_operators_test.go:228: /proxy/myid/ < /proxy/{id}/*: id = "myid" builtin_operators_test.go:229: /proxy/myid/res < /proxy/{id}/*: id = "myid" builtin_operators_test.go:230: /proxy/myid/res/res2 < /proxy/{id}/*: id = "myid" builtin_operators_test.go:231: /proxy/myid/res/res2/res3 < /proxy/{id}/*: id = "myid" builtin_operators_test.go:232: /proxy/ < /proxy/{id}/*: id = "" builtin_operators_test.go:234: /api/group1_group_name/project1_admin/info < /api/{proj}_admin/info: proj = "" builtin_operators_test.go:236: /{id/using/myresid < /{id/using/{resId}: resId = "myresid" builtin_operators_test.go:237: /{id/using/myresid/status} < /{id/using/{resId}/status}: resId = "myresid" builtin_operators_test.go:239: /proxy/myid/res/res2/res3 < /proxy/{id}/*/{res}: res = "res3" builtin_operators_test.go:240: /api/project1_admin/info < /api/{proj}_admin/info: proj = "project1" 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.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 builtin_operators_test.go:263: /parent/123/child/123 < /parent/{id}/child/{another_id}: true builtin_operators_test.go:264: /parent/123/child/456 < /parent/{id}/child/{another_id}: true builtin_operators_test.go:266: /parent/123/child/123/book/123 < /parent/{id}/child/{id}/book/{id}: true builtin_operators_test.go:267: /parent/123/child/123/book/456 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:268: /parent/123/child/456/book/123 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:269: /parent/123/child/456/book/ < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:270: /parent/123/child/456 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:272: /parent/123/child/123 < /parent/{i/d}/child/{i/d}: false --- PASS: TestKeyMatch4 (0.00s) === RUN TestRegexMatch builtin_operators_test.go:286: /topic/create < /topic/create: true builtin_operators_test.go:287: /topic/create/123 < /topic/create: true builtin_operators_test.go:288: /topic/delete < /topic/create: false builtin_operators_test.go:289: /topic/edit < /topic/edit/[0-9]+: false builtin_operators_test.go:290: /topic/edit/123 < /topic/edit/[0-9]+: true builtin_operators_test.go:291: /topic/edit/abc < /topic/edit/[0-9]+: false builtin_operators_test.go:292: /foo/delete/123 < /topic/delete/[0-9]+: false builtin_operators_test.go:293: /topic/delete/0 < /topic/delete/[0-9]+: true builtin_operators_test.go:294: /topic/edit/123s < /topic/delete/[0-9]+: false --- PASS: TestRegexMatch (0.00s) === RUN TestIPMatch builtin_operators_test.go:308: 192.168.2.123 < 192.168.2.0/24: true builtin_operators_test.go:309: 192.168.2.123 < 192.168.3.0/24: false builtin_operators_test.go:310: 192.168.2.123 < 192.168.2.0/16: true builtin_operators_test.go:311: 192.168.2.123 < 192.168.2.123: true builtin_operators_test.go:312: 192.168.2.123 < 192.168.2.123/32: true builtin_operators_test.go:313: 10.0.0.11 < 10.0.0.0/8: true builtin_operators_test.go:314: 11.0.0.123 < 10.0.0.0/8: false --- PASS: TestIPMatch (0.00s) === RUN TestRegexMatchFunc --- PASS: TestRegexMatchFunc (0.00s) === RUN TestKeyMatchFunc --- PASS: TestKeyMatchFunc (0.00s) === RUN TestKeyMatch2Func --- PASS: TestKeyMatch2Func (0.00s) === RUN TestKeyMatch3Func --- PASS: TestKeyMatch3Func (0.00s) === RUN TestKeyMatch4Func --- PASS: TestKeyMatch4Func (0.00s) === RUN TestKeyMatch5Func --- PASS: TestKeyMatch5Func (0.00s) === RUN TestIPMatchFunc --- PASS: TestIPMatchFunc (0.00s) === RUN TestGlobMatch builtin_operators_test.go:533: /foo < /foo: true builtin_operators_test.go:534: /foo < /foo*: true builtin_operators_test.go:535: /foo < /foo/*: false builtin_operators_test.go:536: /foo/bar < /foo: false builtin_operators_test.go:537: /foo/bar < /foo*: false builtin_operators_test.go:538: /foo/bar < /foo/*: true builtin_operators_test.go:539: /foobar < /foo: false builtin_operators_test.go:540: /foobar < /foo*: true builtin_operators_test.go:541: /foobar < /foo/*: false builtin_operators_test.go:543: /foo < */foo: true builtin_operators_test.go:544: /foo < */foo*: true builtin_operators_test.go:545: /foo < */foo/*: false builtin_operators_test.go:546: /foo/bar < */foo: false builtin_operators_test.go:547: /foo/bar < */foo*: false builtin_operators_test.go:548: /foo/bar < */foo/*: true builtin_operators_test.go:549: /foobar < */foo: false builtin_operators_test.go:550: /foobar < */foo*: true builtin_operators_test.go:551: /foobar < */foo/*: false builtin_operators_test.go:553: /prefix/foo < */foo: false builtin_operators_test.go:554: /prefix/foo < */foo*: false builtin_operators_test.go:555: /prefix/foo < */foo/*: false builtin_operators_test.go:556: /prefix/foo/bar < */foo: false builtin_operators_test.go:557: /prefix/foo/bar < */foo*: false builtin_operators_test.go:558: /prefix/foo/bar < */foo/*: false builtin_operators_test.go:559: /prefix/foobar < */foo: false builtin_operators_test.go:560: /prefix/foobar < */foo*: false builtin_operators_test.go:561: /prefix/foobar < */foo/*: false builtin_operators_test.go:563: /prefix/subprefix/foo < */foo: false builtin_operators_test.go:564: /prefix/subprefix/foo < */foo*: false builtin_operators_test.go:565: /prefix/subprefix/foo < */foo/*: false builtin_operators_test.go:566: /prefix/subprefix/foo/bar < */foo: false builtin_operators_test.go:567: /prefix/subprefix/foo/bar < */foo*: false builtin_operators_test.go:568: /prefix/subprefix/foo/bar < */foo/*: false builtin_operators_test.go:569: /prefix/subprefix/foobar < */foo: false builtin_operators_test.go:570: /prefix/subprefix/foobar < */foo*: false builtin_operators_test.go:571: /prefix/subprefix/foobar < */foo/*: false builtin_operators_test.go:573: /foo < **/foo: true builtin_operators_test.go:574: /foo < **/foo**: true builtin_operators_test.go:575: /foo < **/foo/**: true builtin_operators_test.go:576: /foo/bar < **/foo: false builtin_operators_test.go:577: /foo/bar < **/foo**: false builtin_operators_test.go:578: /foo/bar < **/foo/**: true builtin_operators_test.go:579: /foobar < **/foo: false builtin_operators_test.go:580: /foobar < **/foo**: true builtin_operators_test.go:581: /foobar < **/foo/**: false builtin_operators_test.go:583: /prefix/foo < **/foo: true builtin_operators_test.go:584: /prefix/foo < **/foo**: true builtin_operators_test.go:585: /prefix/foo < **/foo/**: true builtin_operators_test.go:586: /prefix/foo/bar < **/foo: false builtin_operators_test.go:587: /prefix/foo/bar < **/foo**: false builtin_operators_test.go:588: /prefix/foo/bar < **/foo/**: true builtin_operators_test.go:589: /prefix/foobar < **/foo: false builtin_operators_test.go:590: /prefix/foobar < **/foo**: true builtin_operators_test.go:591: /prefix/foobar < **/foo/**: false builtin_operators_test.go:593: /prefix/subprefix/foo < **/foo: true builtin_operators_test.go:594: /prefix/subprefix/foo < **/foo**: true builtin_operators_test.go:595: /prefix/subprefix/foo < **/foo/**: true builtin_operators_test.go:596: /prefix/subprefix/foo/bar < **/foo: false builtin_operators_test.go:597: /prefix/subprefix/foo/bar < **/foo**: false builtin_operators_test.go:598: /prefix/subprefix/foo/bar < **/foo/**: true builtin_operators_test.go:599: /prefix/subprefix/foobar < **/foo: false builtin_operators_test.go:600: /prefix/subprefix/foobar < **/foo**: true builtin_operators_test.go:601: /prefix/subprefix/foobar < **/foo/**: false builtin_operators_test.go:603: /foo < */foo**: true builtin_operators_test.go:604: /foo < **/foo*: true builtin_operators_test.go:605: /foo < */foo/**: true builtin_operators_test.go:606: /foo < **/foo/*: false builtin_operators_test.go:607: /foo/bar < */foo**: false builtin_operators_test.go:608: /foo/bar < **/foo*: false builtin_operators_test.go:609: /foo/bar < */foo/**: true builtin_operators_test.go:610: /foo/bar < **/foo/*: true builtin_operators_test.go:611: /foobar < */foo**: true builtin_operators_test.go:612: /foobar < **/foo*: true builtin_operators_test.go:613: /foobar < */foo/**: false builtin_operators_test.go:614: /foobar < **/foo/*: false builtin_operators_test.go:616: /prefix/foo < */foo**: false builtin_operators_test.go:617: /prefix/foo < **/foo*: true builtin_operators_test.go:618: /prefix/foo < */foo/**: false builtin_operators_test.go:619: /prefix/foo < **/foo/*: false builtin_operators_test.go:620: /prefix/foo/bar < */foo**: false builtin_operators_test.go:621: /prefix/foo/bar < **/foo*: false builtin_operators_test.go:622: /prefix/foo/bar < */foo/**: false builtin_operators_test.go:623: /prefix/foo/bar < **/foo/*: true builtin_operators_test.go:624: /prefix/foobar < */foo**: false builtin_operators_test.go:625: /prefix/foobar < **/foo*: true builtin_operators_test.go:626: /prefix/foobar < */foo/**: false builtin_operators_test.go:627: /prefix/foobar < **/foo/*: false builtin_operators_test.go:629: /prefix/subprefix/foo < */foo**: false builtin_operators_test.go:630: /prefix/subprefix/foo < **/foo*: true builtin_operators_test.go:631: /prefix/subprefix/foo < */foo/**: false builtin_operators_test.go:632: /prefix/subprefix/foo < **/foo/*: false builtin_operators_test.go:633: /prefix/subprefix/foo/bar < */foo**: false builtin_operators_test.go:634: /prefix/subprefix/foo/bar < **/foo*: false builtin_operators_test.go:635: /prefix/subprefix/foo/bar < */foo/**: false builtin_operators_test.go:636: /prefix/subprefix/foo/bar < **/foo/*: true builtin_operators_test.go:637: /prefix/subprefix/foobar < */foo**: false builtin_operators_test.go:638: /prefix/subprefix/foobar < **/foo*: true builtin_operators_test.go:639: /prefix/subprefix/foobar < */foo/**: false builtin_operators_test.go:640: /prefix/subprefix/foobar < **/foo/*: false --- PASS: TestGlobMatch (0.00s) === RUN TestTestMatch builtin_operators_test.go:657: 0000-01-01 00:00:00 < 0000-01-02 00:00:00: false builtin_operators_test.go:658: 0000-01-01 00:00:00 < 9999-12-30 00:00:00: true builtin_operators_test.go:659: _ < _: true builtin_operators_test.go:660: _ < 9999-12-30 00:00:00: true builtin_operators_test.go:661: _ < 0000-01-02 00:00:00: false builtin_operators_test.go:662: 0000-01-01 00:00:00 < _: true builtin_operators_test.go:663: 9999-12-30 00:00:00 < _: false --- PASS: TestTestMatch (0.00s) === RUN TestEscapeAssertion util_test.go:32: r_sub == r_obj.value: r_sub == r_obj.value util_test.go:33: p_sub == r_sub.value: p_sub == r_sub.value util_test.go:34: r.attr.value == p.attr: r_attr.value == p_attr util_test.go:35: r.attr.value == p.attr: r_attr.value == p_attr util_test.go:36: r.attp.value || p.attr: r_attp.value || p_attr util_test.go:37: r2.attr.value == p2.attr: r2_attr.value == p2_attr util_test.go:38: r2.attp.value || p2.attr: r2_attp.value || p2_attr util_test.go:39: r.attp.value &&p.attr: r_attp.value &&p_attr util_test.go:40: r.attp.value >p.attr: r_attp.value >p_attr util_test.go:41: r.attp.value