Diff of the two buildlogs: -- --- b1/build.log 2024-06-02 17:04:21.316951784 +0000 +++ b2/build.log 2024-06-02 17:05:56.172918305 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jun 2 05:01:27 -12 2024 -I: pbuilder-time-stamp: 1717347687 +I: Current time: Sun Jul 6 13:27:23 +14 2025 +I: pbuilder-time-stamp: 1751758043 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -36,52 +36,84 @@ dpkg-source: info: applying 014-switch-webauthn-library.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1517354/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1426337/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 Jul 5 23:27 /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/1426337/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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='320d1628f70e458f8942d71159bcae78' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1517354' - PS1='# ' - PS2='> ' + INVOCATION_ID=8901f720f45b4d48b34c9d9e83bafce3 + 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=1426337 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.9DNJ42VY/pbuilderrc_Htz5 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9DNJ42VY/b1 --logfile b1/build.log golang-github-canonical-candid_1.12.3-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.9DNJ42VY/pbuilderrc_UZlc --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.9DNJ42VY/b2 --logfile b2/build.log golang-github-canonical-candid_1.12.3-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 ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1517354/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 5 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -381,7 +413,7 @@ Get: 176 http://deb.debian.org/debian unstable/main amd64 golang-github-mwitkow-go-conntrack-dev all 0.0~git20190716.2f06839-3 [14.6 kB] Get: 177 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-goose.v1-dev all 0.0~git20170406.3228e4f-4 [97.8 kB] Get: 178 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-natefinch-lumberjack.v2-dev all 2.1-2 [13.1 kB] -Fetched 108 MB in 5s (22.2 MB/s) +Fetched 108 MB in 2s (44.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19719 files and directories currently installed.) @@ -1108,7 +1140,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-canonical-candid-1.12.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-canonical-candid_1.12.3-1_source.changes +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-canonical-candid-1.12.3/ && 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-canonical-candid_1.12.3-1_source.changes dpkg-buildpackage: info: source package golang-github-canonical-candid dpkg-buildpackage: info: source version 1.12.3-1 dpkg-buildpackage: info: source distribution unstable @@ -1126,7 +1162,7 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 github.com/canonical/candid github.com/canonical/candid/candidclient github.com/canonical/candid/candidclient/redirect github.com/canonical/candid/candidclient/ussodischarge github.com/canonical/candid/candidclient/ussologin github.com/canonical/candid/candidtest github.com/canonical/candid/cmd/candid github.com/canonical/candid/cmd/candid/internal/admincmd github.com/canonical/candid/cmd/candidsrv github.com/canonical/candid/cmd/migrate-db github.com/canonical/candid/cmd/migrate-db/internal github.com/canonical/candid/cmd/migrate-db/internal/mongodoc github.com/canonical/candid/config github.com/canonical/candid/idp github.com/canonical/candid/idp/adfs github.com/canonical/candid/idp/agent github.com/canonical/candid/idp/azure github.com/canonical/candid/idp/google github.com/canonical/candid/idp/idptest github.com/canonical/candid/idp/idputil github.com/canonical/candid/idp/idputil/msgraph github.com/canonical/candid/idp/idputil/secret github.com/canonical/candid/idp/keycloak github.com/canonical/candid/idp/keystone github.com/canonical/candid/idp/keystone/internal/keystone github.com/canonical/candid/idp/keystone/internal/mockkeystone github.com/canonical/candid/idp/ldap github.com/canonical/candid/idp/openid github.com/canonical/candid/idp/static github.com/canonical/candid/idp/usso github.com/canonical/candid/idp/usso/internal/kvnoncestore github.com/canonical/candid/idp/usso/internal/mockusso github.com/canonical/candid/idp/usso/ussodischarge github.com/canonical/candid/idp/usso/ussodischarge/cmd/login github.com/canonical/candid/idp/usso/ussooauth github.com/canonical/candid/internal/auth github.com/canonical/candid/internal/auth/httpauth github.com/canonical/candid/internal/candidtest github.com/canonical/candid/internal/debug github.com/canonical/candid/internal/discharger github.com/canonical/candid/internal/discharger/internal github.com/canonical/candid/internal/identity github.com/canonical/candid/internal/mfa github.com/canonical/candid/internal/monitoring github.com/canonical/candid/internal/v1 github.com/canonical/candid/meeting github.com/canonical/candid/params github.com/canonical/candid/store github.com/canonical/candid/store/memstore github.com/canonical/candid/store/mgostore github.com/canonical/candid/store/sqlstore github.com/canonical/candid/store/storetest github.com/canonical/candid/version + cd _build && go test -vet=off -v -p 42 github.com/canonical/candid github.com/canonical/candid/candidclient github.com/canonical/candid/candidclient/redirect github.com/canonical/candid/candidclient/ussodischarge github.com/canonical/candid/candidclient/ussologin github.com/canonical/candid/candidtest github.com/canonical/candid/cmd/candid github.com/canonical/candid/cmd/candid/internal/admincmd github.com/canonical/candid/cmd/candidsrv github.com/canonical/candid/cmd/migrate-db github.com/canonical/candid/cmd/migrate-db/internal github.com/canonical/candid/cmd/migrate-db/internal/mongodoc github.com/canonical/candid/config github.com/canonical/candid/idp github.com/canonical/candid/idp/adfs github.com/canonical/candid/idp/agent github.com/canonical/candid/idp/azure github.com/canonical/candid/idp/google github.com/canonical/candid/idp/idptest github.com/canonical/candid/idp/idputil github.com/canonical/candid/idp/idputil/msgraph github.com/canonical/candid/idp/idputil/secret github.com/canonical/candid/idp/keycloak github.com/canonical/candid/idp/keystone github.com/canonical/candid/idp/keystone/internal/keystone github.com/canonical/candid/idp/keystone/internal/mockkeystone github.com/canonical/candid/idp/ldap github.com/canonical/candid/idp/openid github.com/canonical/candid/idp/static github.com/canonical/candid/idp/usso github.com/canonical/candid/idp/usso/internal/kvnoncestore github.com/canonical/candid/idp/usso/internal/mockusso github.com/canonical/candid/idp/usso/ussodischarge github.com/canonical/candid/idp/usso/ussodischarge/cmd/login github.com/canonical/candid/idp/usso/ussooauth github.com/canonical/candid/internal/auth github.com/canonical/candid/internal/auth/httpauth github.com/canonical/candid/internal/candidtest github.com/canonical/candid/internal/debug github.com/canonical/candid/internal/discharger github.com/canonical/candid/internal/discharger/internal github.com/canonical/candid/internal/identity github.com/canonical/candid/internal/mfa github.com/canonical/candid/internal/monitoring github.com/canonical/candid/internal/v1 github.com/canonical/candid/meeting github.com/canonical/candid/params github.com/canonical/candid/store github.com/canonical/candid/store/memstore github.com/canonical/candid/store/mgostore github.com/canonical/candid/store/sqlstore github.com/canonical/candid/store/storetest github.com/canonical/candid/version === RUN TestServer === RUN TestServer/TestNewServerRemovesAgentIDP === RUN TestServer/TestNewServerWithNoVersions @@ -1134,27 +1170,27 @@ === RUN TestServer/TestNewServerWithVersions http.go:99: JSON call, url "/debug/info" === RUN TestServer/TestVersions ---- PASS: TestServer (0.01s) +--- PASS: TestServer (0.00s) --- PASS: TestServer/TestNewServerRemovesAgentIDP (0.00s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) --- PASS: TestServer/TestNewServerWithUnregisteredVersion (0.00s) --- PASS: TestServer/TestNewServerWithVersions (0.00s) --- PASS: TestServer/TestVersions (0.00s) PASS -ok github.com/canonical/candid 0.033s +ok github.com/canonical/candid 0.012s ? github.com/canonical/candid/cmd/candid [no test files] === RUN TestIdentityClient ---- PASS: TestIdentityClient (0.02s) +--- PASS: TestIdentityClient (0.01s) === RUN TestIdentityClientWithDomainStrip ---- PASS: TestIdentityClientWithDomainStrip (0.02s) +--- PASS: TestIdentityClientWithDomainStrip (0.01s) === RUN TestIdentityClientWithDomainStripNoDomains ---- PASS: TestIdentityClientWithDomainStripNoDomains (0.02s) +--- PASS: TestIdentityClientWithDomainStripNoDomains (0.01s) === RUN TestPermChecker --- PASS: TestPermChecker (0.01s) === RUN TestGroupCache --- PASS: TestGroupCache (0.01s) PASS -ok github.com/canonical/candid/candidclient 0.103s +ok github.com/canonical/candid/candidclient 0.066s === RUN TestRedirectURL --- PASS: TestRedirectURL (0.00s) === RUN TestInteractor @@ -1162,7 +1198,7 @@ === RUN TestParseLoginResult --- PASS: TestParseLoginResult (0.00s) PASS -ok github.com/canonical/candid/candidclient/redirect 0.009s +ok github.com/canonical/candid/candidclient/redirect 0.007s === RUN TestClient === RUN TestClient/TestAcquireDischarge === RUN TestClient/TestAcquireDischargeError @@ -1192,7 +1228,7 @@ === RUN TestUnmarshalUSSOMacaroonBadBinary --- PASS: TestUnmarshalUSSOMacaroonBadBinary (0.00s) PASS -ok github.com/canonical/candid/candidclient/ussodischarge 0.025s +ok github.com/canonical/candid/candidclient/ussodischarge 0.020s === RUN TestPutGetToken --- PASS: TestPutGetToken (0.00s) === RUN TestReadInvalidToken @@ -1218,24 +1254,27 @@ === RUN TestAuthenticatedRequestError --- PASS: TestAuthenticatedRequestError (0.00s) PASS -ok github.com/canonical/candid/candidclient/ussologin 0.020s +ok github.com/canonical/candid/candidclient/ussologin 0.012s === RUN TestDischarge ---- PASS: TestDischarge (0.02s) +--- PASS: TestDischarge (0.01s) === RUN TestDischargeDefaultUser --- PASS: TestDischargeDefaultUser (0.01s) === RUN TestGroups ---- PASS: TestGroups (0.02s) +--- PASS: TestGroups (0.01s) === RUN TestAddUserWithExistingGroups --- PASS: TestAddUserWithExistingGroups (0.01s) PASS -ok github.com/canonical/candid/candidtest 0.072s +ok github.com/canonical/candid/candidtest 0.047s ? github.com/canonical/candid/cmd/candidsrv [no test files] ? github.com/canonical/candid/cmd/migrate-db [no test files] -? github.com/canonical/candid/idp [no test files] ? github.com/canonical/candid/cmd/migrate-db/internal/mongodoc [no test files] +? github.com/canonical/candid/idp [no test files] ? github.com/canonical/candid/idp/idptest [no test files] ? github.com/canonical/candid/idp/idputil [no test files] ? github.com/canonical/candid/idp/idputil/msgraph [no test files] +? github.com/canonical/candid/idp/keystone/internal/mockkeystone [no test files] +? github.com/canonical/candid/idp/usso/internal/mockusso [no test files] +? github.com/canonical/candid/idp/usso/ussodischarge/cmd/login [no test files] === RUN TestACL === RUN TestACL/TestACLGrant === RUN TestACL/TestACLGrantInvalid @@ -1247,16 +1286,16 @@ === RUN TestACL/TestACLShowInvalid === RUN TestACL/TestACLShowNoACL === RUN TestACL/TestACLShowTwoACLs ---- PASS: TestACL (0.15s) +--- PASS: TestACL (0.08s) --- PASS: TestACL/TestACLGrant (0.02s) - --- PASS: TestACL/TestACLGrantInvalid (0.04s) + --- PASS: TestACL/TestACLGrantInvalid (0.01s) --- PASS: TestACL/TestACLGrantNoArguments (0.00s) - --- PASS: TestACL/TestACLRevoke (0.02s) - --- PASS: TestACL/TestACLRevokeInvalid (0.02s) + --- PASS: TestACL/TestACLRevoke (0.01s) + --- PASS: TestACL/TestACLRevokeInvalid (0.01s) --- PASS: TestACL/TestACLRevokeNoArguments (0.00s) - --- PASS: TestACL/TestACLShow (0.03s) + --- PASS: TestACL/TestACLShow (0.01s) --- PASS: TestACL/TestACLShowInvalid (0.01s) - --- PASS: TestACL/TestACLShowNoACL (0.01s) + --- PASS: TestACL/TestACLShowNoACL (0.00s) --- PASS: TestACL/TestACLShowTwoACLs (0.00s) === RUN TestAddGroup === RUN TestAddGroup/TestAddGroup @@ -1265,19 +1304,19 @@ === RUN TestAddGroup/TestAddGroupForEmailNotFound === RUN TestAddGroup/TestAddGroupNoUser === RUN TestAddGroup/TestAddGroupUserAndEmail ---- PASS: TestAddGroup (0.11s) - --- PASS: TestAddGroup/TestAddGroup (0.02s) - --- PASS: TestAddGroup/TestAddGroupForEmail (0.03s) - --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.02s) - --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.02s) +--- PASS: TestAddGroup (0.05s) + --- PASS: TestAddGroup/TestAddGroup (0.01s) + --- PASS: TestAddGroup/TestAddGroupForEmail (0.01s) + --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.01s) + --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.01s) --- PASS: TestAddGroup/TestAddGroupNoUser (0.01s) - --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.01s) + --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.00s) === RUN TestClearMFACredentials === RUN TestClearMFACredentials/TestClearMFACredentials --- PASS: TestClearMFACredentials (0.01s) --- PASS: TestClearMFACredentials/TestClearMFACredentials (0.01s) === RUN TestLoadCACerts ---- PASS: TestLoadCACerts (0.03s) +--- PASS: TestLoadCACerts (0.02s) === RUN TestCreateAgent === RUN TestCreateAgent/TestCreateAgentWithAdminFlag === RUN TestCreateAgent/TestCreateAgentWithExistingAgentsFile @@ -1288,12 +1327,12 @@ create-agent_test.go:53: test 0: agent file and agent key specified together create-agent_test.go:53: test 1: empty public key create-agent_test.go:53: test 2: invalid public key ---- PASS: TestCreateAgent (0.11s) - --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.01s) - --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.05s) +--- PASS: TestCreateAgent (0.04s) + --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.00s) + --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.01s) --- PASS: TestCreateAgent/TestCreateAgentWithGeneratedKeyAndAgentFileNotSpecified (0.01s) --- PASS: TestCreateAgent/TestCreateAgentWithNonExistentAgentsFileSpecified (0.01s) - --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.02s) + --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.01s) --- PASS: TestCreateAgent/TestUsage (0.00s) === RUN TestFind === RUN TestFind/TestFindEmail @@ -1303,24 +1342,24 @@ === RUN TestFind/TestFindNoParameters === RUN TestFind/TestFindWithEmail === RUN TestFind/TestFindWithEmailAndGravatar ---- PASS: TestFind (0.13s) - --- PASS: TestFind/TestFindEmail (0.03s) - --- PASS: TestFind/TestFindEmailNotFound (0.02s) +--- PASS: TestFind (0.06s) + --- PASS: TestFind/TestFindEmail (0.01s) + --- PASS: TestFind/TestFindEmailNotFound (0.01s) --- PASS: TestFind/TestFindLastDischargeTime (0.01s) - --- PASS: TestFind/TestFindLastLoginTime (0.02s) - --- PASS: TestFind/TestFindNoParameters (0.02s) + --- PASS: TestFind/TestFindLastLoginTime (0.01s) + --- PASS: TestFind/TestFindNoParameters (0.01s) --- PASS: TestFind/TestFindWithEmail (0.01s) - --- PASS: TestFind/TestFindWithEmailAndGravatar (0.02s) + --- PASS: TestFind/TestFindWithEmailAndGravatar (0.01s) === RUN TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroupForEmail === RUN TestRemoveGroup/TestRemoveGroupForEmailNotFound === RUN TestRemoveGroup/TestRemoveGroupNoUser ---- PASS: TestRemoveGroup (0.05s) +--- PASS: TestRemoveGroup (0.04s) --- PASS: TestRemoveGroup/TestRemoveGroup (0.01s) --- PASS: TestRemoveGroup/TestRemoveGroupForEmail (0.02s) --- PASS: TestRemoveGroup/TestRemoveGroupForEmailNotFound (0.01s) - --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.01s) + --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.00s) === RUN TestShow === RUN TestShow/TestShowAgentUser === RUN TestShow/TestShowEmail @@ -1331,18 +1370,18 @@ === RUN TestShow/TestShowUserJSON === RUN TestShow/TestShowUserWithAgentEnv === RUN TestShow/TestShowZeroValues ---- PASS: TestShow (0.13s) - --- PASS: TestShow/TestShowAgentUser (0.03s) - --- PASS: TestShow/TestShowEmail (0.02s) +--- PASS: TestShow (0.08s) + --- PASS: TestShow/TestShowAgentUser (0.01s) + --- PASS: TestShow/TestShowEmail (0.01s) --- PASS: TestShow/TestShowEmailNotFound (0.01s) - --- PASS: TestShow/TestShowNoParameters (0.01s) + --- PASS: TestShow/TestShowNoParameters (0.00s) --- PASS: TestShow/TestShowUser (0.01s) --- PASS: TestShow/TestShowUserError (0.01s) - --- PASS: TestShow/TestShowUserJSON (0.02s) + --- PASS: TestShow/TestShowUserJSON (0.01s) --- PASS: TestShow/TestShowUserWithAgentEnv (0.01s) --- PASS: TestShow/TestShowZeroValues (0.01s) PASS -ok github.com/canonical/candid/cmd/candid/internal/admincmd 0.741s +ok github.com/canonical/candid/cmd/candid/internal/admincmd 0.389s === RUN TestSplitStoreSpecification migrate_test.go:51: 0. postgres:host=/var/run/postgresql migrate_test.go:51: 1. legacy: @@ -1361,10 +1400,10 @@ === RUN TestCopySrcError --- PASS: TestCopySrcError (0.00s) === RUN TestCopyDstError -2024/06/02 17:03:56 error checking destination store: test error +2025/07/05 23:28:44 error checking destination store: test error --- PASS: TestCopyDstError (0.00s) PASS -ok github.com/canonical/candid/cmd/migrate-db/internal 0.018s +ok github.com/canonical/candid/cmd/migrate-db/internal 0.013s === RUN TestRead --- PASS: TestRead (0.00s) === RUN TestReadErrorNotFound @@ -1376,7 +1415,7 @@ === RUN TestUnrecognisedIDP --- PASS: TestUnrecognisedIDP (0.00s) PASS -ok github.com/canonical/candid/config 0.024s +ok github.com/canonical/candid/config 0.013s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id @@ -1388,7 +1427,7 @@ --- PASS: TestConfig/no_client-secret (0.00s) --- PASS: TestConfig/no_issuer (0.00s) PASS -ok github.com/canonical/candid/idp/adfs 0.019s +ok github.com/canonical/candid/idp/adfs 0.013s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestName @@ -1406,7 +1445,7 @@ === RUN TestInitProducesError --- PASS: TestInitProducesError (0.00s) PASS -ok github.com/canonical/candid/idp/agent 0.029s +ok github.com/canonical/candid/idp/agent 0.010s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id @@ -1416,7 +1455,7 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/azure 0.018s +ok github.com/canonical/candid/idp/azure 0.011s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id @@ -1426,7 +1465,7 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/google 0.020s +ok github.com/canonical/candid/idp/google 0.013s === RUN TestRoundTrip --- PASS: TestRoundTrip (0.00s) === RUN TestDecodeBadBase64 @@ -1444,13 +1483,13 @@ === RUN TestCookieRoundTrip --- PASS: TestCookieRoundTrip (0.00s) === RUN TestCookieNoCookie ---- PASS: TestCookieNoCookie (0.01s) +--- PASS: TestCookieNoCookie (0.00s) === RUN TestCookieDecodeError --- PASS: TestCookieDecodeError (0.00s) === RUN TestCookieValidationError --- PASS: TestCookieValidationError (0.00s) PASS -ok github.com/canonical/candid/idp/idputil/secret 0.062s +ok github.com/canonical/candid/idp/idputil/secret 0.013s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/another_good_config @@ -1462,32 +1501,31 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_keycloak-realm (0.00s) PASS -ok github.com/canonical/candid/idp/keycloak 0.029s -? github.com/canonical/candid/idp/keystone/internal/mockkeystone [no test files] +ok github.com/canonical/candid/idp/keycloak 0.013s === RUN TestDischarge === RUN TestDischarge/TestFormDischarge logging.go:37: DEBUG candid.internal.identity API error response (bakery): 401 (Unauthorized) macaroon discharge required: authentication required - logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"form:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2024, time.June, 2, 17, 3, 59, 675321961, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc000386a00), resolvedGroups:[]string(nil)} succeeded + logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"form:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2025, time.July, 5, 23, 28, 44, 715969787, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc0002c8d20), resolvedGroups:[]string(nil)} succeeded logging.go:37: DEBUG candid.internal.identity Closing Server === RUN TestDischarge/TestInteractiveDischarge logging.go:37: DEBUG candid.internal.identity API error response (bakery): 401 (Unauthorized) macaroon discharge required: authentication required - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginRequest{Route:httprequest.Route{}, Domain:"", DischargeID:"4c1e3fd368fd3d2f69d01bc8a9e3b5173d05e787ebb83013a39eadb24d8f38c2ID"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.redirectLoginRequest{Route:httprequest.Route{}, Domain:"", ReturnTo:"http://127.0.0.1:44305/login-complete", State:"7MEw2rmjzATUJ-TEiJts6t5dZ-NJd2Bp5H2LdMdyeCo"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"7MEw2rmjzATUJ-TEiJts6t5dZ-NJd2Bp5H2LdMdyeCo", Code:"bHEhxwaQ_QxCVBb_B8ze3nKadB1hxTngyQN7myI1avc", ErrorCode:"", Error:""} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginRequest{Route:httprequest.Route{}, Domain:"", DischargeID:"dc2554aaa752b4d1c1e4fa9ff2be8dca9989464b8f2302df2643794d290d728cID"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.redirectLoginRequest{Route:httprequest.Route{}, Domain:"", ReturnTo:"http://127.0.0.1:37517/login-complete", State:"R08zRqbLpZP7sq3_9UFoDy8oSiXBZbrsIMDWWLym83M"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"R08zRqbLpZP7sq3_9UFoDy8oSiXBZbrsIMDWWLym83M", Code:"E-gxo21G5RKY95WBdMk3cfBpdZbhwiapMit9ljohjAk", ErrorCode:"", Error:""} -> bakery.Op{Entity:"global", Action:"login"} logging.go:37: WARNING candid.internal.discharger MFA authenticator not specified - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.waitTokenRequest{Route:httprequest.Route{}, DischargeID:"4c1e3fd368fd3d2f69d01bc8a9e3b5173d05e787ebb83013a39eadb24d8f38c2ID"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: INFO candid.meeting Wait "4c1e3fd368fd3d2f69d01bc8a9e3b5173d05e787ebb83013a39eadb24d8f38c2ID" - logging.go:37: INFO candid.meeting localWait "4c1e3fd368fd3d2f69d01bc8a9e3b5173d05e787ebb83013a39eadb24d8f38c2ID" + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.waitTokenRequest{Route:httprequest.Route{}, DischargeID:"dc2554aaa752b4d1c1e4fa9ff2be8dca9989464b8f2302df2643794d290d728cID"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: INFO candid.meeting Wait "dc2554aaa752b4d1c1e4fa9ff2be8dca9989464b8f2302df2643794d290d728cID" + logging.go:37: INFO candid.meeting localWait "dc2554aaa752b4d1c1e4fa9ff2be8dca9989464b8f2302df2643794d290d728cID" logging.go:37: INFO candid.meeting timeout 1m0s - logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"openstack:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2024, time.June, 2, 17, 3, 59, 691024700, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc000443ae0), resolvedGroups:[]string(nil)} succeeded + logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"openstack:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2025, time.July, 5, 23, 28, 44, 738487871, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc0003deb90), resolvedGroups:[]string(nil)} succeeded logging.go:37: DEBUG candid.internal.identity Closing Server === RUN TestDischarge/TestTokenDischarge logging.go:37: DEBUG candid.internal.identity API error response (bakery): 401 (Unauthorized) macaroon discharge required: authentication required - logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"token:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2024, time.June, 2, 17, 3, 59, 698026729, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc000306f50), resolvedGroups:[]string(nil)} succeeded + logging.go:37: DEBUG candid.internal.discharger authorization for &auth.Identity{Identity:store.Identity{ID:"1", ProviderID:"token:abc@openstack", Username:"testuser@openstack", Name:"", Email:"", Groups:[]string(nil), PublicKeys:[]bakery.PublicKey(nil), LastLogin:time.Date(2025, time.July, 5, 23, 28, 44, 745224506, time.Local), LastDischarge:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ProviderInfo:map[string][]string{"groups":[]string{"abc_project"}}, ExtraInfo:map[string][]string{}, Owner:""}, authorizer:(*auth.Authorizer)(0xc000321040), resolvedGroups:[]string(nil)} succeeded logging.go:37: DEBUG candid.internal.identity Closing Server --- PASS: TestDischarge (0.04s) - --- PASS: TestDischarge/TestFormDischarge (0.01s) - --- PASS: TestDischarge/TestInteractiveDischarge (0.01s) + --- PASS: TestDischarge/TestFormDischarge (0.02s) + --- PASS: TestDischarge/TestInteractiveDischarge (0.02s) --- PASS: TestDischarge/TestTokenDischarge (0.01s) === RUN TestKeystone === RUN TestKeystone/TestAbsoluteIconURL @@ -1507,11 +1545,11 @@ === RUN TestKeystone/TestKeystoneIdentityProviderURL === RUN TestKeystone/TestKeystoneIdentityProviderUseNameForDescription === RUN TestKeystone/TestRelativeIconURL ---- PASS: TestKeystone (0.02s) +--- PASS: TestKeystone (0.03s) --- PASS: TestKeystone/TestAbsoluteIconURL (0.00s) --- PASS: TestKeystone/TestIconURL (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderDescription (0.00s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleExistingUser (0.00s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleExistingUser (0.01s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostBadPassword (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostNoTenants (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleSuccess (0.00s) @@ -1547,7 +1585,7 @@ === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive === RUN TestTokenV3/TestRegisterConfig --- PASS: TestTokenV3 (0.01s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle (0.00s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle (0.01s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest (0.00s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadToken (0.00s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden (0.00s) @@ -1561,16 +1599,16 @@ === RUN TestUserPass/TestKeystoneUserpassIdentityProviderHidden === RUN TestUserPass/TestKeystoneUserpassIdentityProviderInteractive === RUN TestUserPass/TestRegisterConfig ---- PASS: TestUserPass (0.02s) +--- PASS: TestUserPass (0.01s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandle (0.00s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleBadRequest (0.01s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleBadRequest (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleNoUsername (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleResponse (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHidden (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderInteractive (0.00s) --- PASS: TestUserPass/TestRegisterConfig (0.00s) PASS -ok github.com/canonical/candid/idp/keystone 0.109s +ok github.com/canonical/candid/idp/keystone 0.112s === RUN TestUnmarshalError === RUN TestUnmarshalError/error === RUN TestUnmarshalError/bad_json @@ -1586,12 +1624,10 @@ --- PASS: TestTimeUnmarshalJSON/test1 (0.00s) --- PASS: TestTimeUnmarshalJSON/test2 (0.00s) PASS -ok github.com/canonical/candid/idp/keystone/internal/keystone 0.013s -? github.com/canonical/candid/idp/usso/internal/mockusso [no test files] -? github.com/canonical/candid/idp/usso/ussodischarge/cmd/login [no test files] +ok github.com/canonical/candid/idp/keystone/internal/keystone 0.009s === RUN TestInteractiveDischarge -2024-06-02 17:03:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.01s) +2025-07-05 23:28:44 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.02s) === RUN TestLDAP === RUN TestLDAP/TestAbsoluteIconURL === RUN TestLDAP/TestDescription @@ -1621,7 +1657,7 @@ === RUN TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression === RUN TestLDAP/TestRelativeIconURL === RUN TestLDAP/TestURL ---- PASS: TestLDAP (0.05s) +--- PASS: TestLDAP (0.03s) --- PASS: TestLDAP/TestAbsoluteIconURL (0.00s) --- PASS: TestLDAP/TestDescription (0.00s) --- PASS: TestLDAP/TestDomain (0.00s) @@ -1635,7 +1671,7 @@ --- PASS: TestLDAP/TestHandleUserFilterNoMatch (0.00s) --- PASS: TestLDAP/TestHandleWithGroups (0.00s) --- PASS: TestLDAP/TestHidden (0.00s) - --- PASS: TestLDAP/TestIconURL (0.01s) + --- PASS: TestLDAP/TestIconURL (0.00s) --- PASS: TestLDAP/TestInteractive (0.00s) --- PASS: TestLDAP/TestName (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider (0.00s) @@ -1651,7 +1687,7 @@ --- PASS: TestLDAP/TestRelativeIconURL (0.00s) --- PASS: TestLDAP/TestURL (0.00s) PASS -ok github.com/canonical/candid/idp/ldap 0.087s +ok github.com/canonical/candid/idp/ldap 0.069s === RUN TestConfig === RUN TestConfig/OK === RUN TestConfig/NoName @@ -1689,7 +1725,7 @@ === RUN TestHandleCallback/ExistingUserUpdateClaims === RUN TestHandleCallback/PreferredUsernameTaken --- PASS: TestHandleCallback (0.08s) - --- PASS: TestHandleCallback/NewUserWithUsername (0.02s) + --- PASS: TestHandleCallback/NewUserWithUsername (0.01s) --- PASS: TestHandleCallback/NewUserNoUsername (0.02s) --- PASS: TestHandleCallback/ExistingUserNoClaims (0.02s) --- PASS: TestHandleCallback/ExistingUserUpdateClaims (0.01s) @@ -1700,13 +1736,13 @@ === RUN TestHandleRegister/InvalidUsername#01 --- PASS: TestHandleRegister (0.01s) --- PASS: TestHandleRegister/Success (0.00s) - --- PASS: TestHandleRegister/InvalidUsername (0.00s) + --- PASS: TestHandleRegister/InvalidUsername (0.01s) --- PASS: TestHandleRegister/InvalidUsername#01 (0.00s) PASS ok github.com/canonical/candid/idp/openid 0.116s === RUN TestInteractiveDischarge -2024-06-02 17:03:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.03s) +2025-07-05 23:28:44 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.01s) === RUN TestStatic === RUN TestStatic/TestAbsoluteIconURL === RUN TestStatic/TestDescription @@ -1722,15 +1758,15 @@ === RUN TestStatic/TestInteractive === RUN TestStatic/TestName === RUN TestStatic/TestRelativeIconURL ---- PASS: TestStatic (0.04s) +--- PASS: TestStatic (0.02s) --- PASS: TestStatic/TestAbsoluteIconURL (0.00s) --- PASS: TestStatic/TestDescription (0.00s) --- PASS: TestStatic/TestDomain (0.00s) - --- PASS: TestStatic/TestGetGroups (0.01s) - --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.01s) + --- PASS: TestStatic/TestGetGroups (0.00s) + --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.00s) --- PASS: TestStatic/TestHandle (0.00s) --- PASS: TestStatic/TestHandleFailedLoginUnknownUser (0.00s) - --- PASS: TestStatic/TestHandleFailedLoginWrongPassword (0.01s) + --- PASS: TestStatic/TestHandleFailedLoginWrongPassword (0.00s) --- PASS: TestStatic/TestHandleWithDomain (0.00s) --- PASS: TestStatic/TestHidden (0.00s) --- PASS: TestStatic/TestIconURL (0.00s) @@ -1738,9 +1774,9 @@ --- PASS: TestStatic/TestName (0.00s) --- PASS: TestStatic/TestRelativeIconURL (0.00s) PASS -ok github.com/canonical/candid/idp/static 0.096s +ok github.com/canonical/candid/idp/static 0.045s === RUN TestInteractiveDischarge -2024-06-02 17:03:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:44 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified --- PASS: TestInteractiveDischarge (0.02s) === RUN TestUSSO === RUN TestUSSO/TestAbsoluteIconURL @@ -1766,9 +1802,9 @@ === RUN TestUSSO/TestUpdateIdentity === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid -2024-06-02 17:04:00 WARNING candid.idp.usso usso.go:250 not updating username for usso:https://login.ubuntu.com/+id/test to invalid username "test-changed-" +2025-07-05 23:28:44 WARNING candid.idp.usso usso.go:250 not updating username for usso:https://login.ubuntu.com/+id/test to invalid username "test-changed-" === RUN TestUSSO/TestWithDomain ---- PASS: TestUSSO (0.11s) +--- PASS: TestUSSO (0.07s) --- PASS: TestUSSO/TestAbsoluteIconURL (0.00s) --- PASS: TestUSSO/TestConfig (0.00s) --- PASS: TestUSSO/TestDescription (0.00s) @@ -1777,7 +1813,7 @@ --- PASS: TestUSSO/TestGetGroupsReturnsNewSlice (0.00s) --- PASS: TestUSSO/TestHandleNoExtensionsNotFound (0.01s) --- PASS: TestUSSO/TestHandleRegisterUserError (0.01s) - --- PASS: TestUSSO/TestHandleSuccess (0.01s) + --- PASS: TestUSSO/TestHandleSuccess (0.00s) --- PASS: TestUSSO/TestHandleSuccessNoExtensions (0.00s) --- PASS: TestUSSO/TestHidden (0.00s) --- PASS: TestUSSO/TestIconURL (0.00s) @@ -1789,12 +1825,12 @@ --- PASS: TestUSSO/TestRedirectWithLaunchpadTeams (0.00s) --- PASS: TestUSSO/TestRelativeIconURL (0.00s) --- PASS: TestUSSO/TestURL (0.00s) - --- PASS: TestUSSO/TestUpdateIdentity (0.02s) + --- PASS: TestUSSO/TestUpdateIdentity (0.01s) --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed (0.01s) - --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.02s) + --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.01s) --- PASS: TestUSSO/TestWithDomain (0.01s) PASS -ok github.com/canonical/candid/idp/usso 0.156s +ok github.com/canonical/candid/idp/usso 0.107s === RUN TestAccept === RUN TestAccept/not_seen store_test.go:74: 0. not seen @@ -1819,7 +1855,7 @@ --- PASS: TestAccept/bad_time (0.00s) --- PASS: TestAccept/too_old (0.00s) PASS -ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.048s +ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.013s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestSuite @@ -1832,10 +1868,10 @@ === RUN TestSuite/TestInteractive === RUN TestSuite/TestName === RUN TestSuite/TestURL ---- PASS: TestSuite (0.04s) +--- PASS: TestSuite (0.01s) --- PASS: TestSuite/TestDescription (0.00s) - --- PASS: TestSuite/TestHandleGetSuccess (0.01s) - --- PASS: TestSuite/TestHandleGetV1Success (0.02s) + --- PASS: TestSuite/TestHandleGetSuccess (0.00s) + --- PASS: TestSuite/TestHandleGetV1Success (0.00s) --- PASS: TestSuite/TestHandlePostV1 (0.00s) --- PASS: TestSuite/TestHidden (0.00s) --- PASS: TestSuite/TestIconURL (0.00s) @@ -1865,7 +1901,7 @@ === RUN TestMultipleLogins --- PASS: TestMultipleLogins (0.00s) PASS -ok github.com/canonical/candid/idp/usso/ussodischarge 0.110s +ok github.com/canonical/candid/idp/usso/ussodischarge 0.040s === RUN TestDischarge --- PASS: TestDischarge (0.01s) === RUN TestConfig @@ -1889,8 +1925,7 @@ --- PASS: TestUSSOAuth/TestName (0.00s) --- PASS: TestUSSOAuth/TestURL (0.00s) PASS -ok github.com/canonical/candid/idp/usso/ussooauth 0.065s -? github.com/canonical/candid/internal/candidtest [no test files] +ok github.com/canonical/candid/idp/usso/ussooauth 0.034s === RUN TestAuth === RUN TestAuth/TestACLForOp === RUN TestAuth/TestACLForOp/other-read @@ -1964,7 +1999,8 @@ --- PASS: TestAuth/TestUserHasPublicKeyCaveat (0.00s) --- PASS: TestAuth/TestUserHasPublicKeyChecker (0.00s) PASS -ok github.com/canonical/candid/internal/auth 0.025s +ok github.com/canonical/candid/internal/auth 0.016s +? github.com/canonical/candid/internal/candidtest [no test files] === RUN TestAuth === RUN TestAuth/TestAuthorizeMacaroonRequired === RUN TestAuth/TestAuthorizeWithAdminCredentials @@ -1980,10 +2016,14 @@ --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_password (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access (0.00s) PASS -ok github.com/canonical/candid/internal/auth/httpauth 0.017s +ok github.com/canonical/candid/internal/auth/httpauth 0.011s testing: warning: no tests to run PASS -ok github.com/canonical/candid/internal/debug 0.014s [no tests to run] +ok github.com/canonical/candid/internal/debug 0.008s [no tests to run] +? github.com/canonical/candid/internal/mfa [no test files] +? github.com/canonical/candid/internal/monitoring [no test files] +? github.com/canonical/candid/store/storetest [no test files] +? github.com/canonical/candid/version [no test files] === RUN TestDischarge === RUN TestDischarge/TestDischargeBrowserRedirectLogin === RUN TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted @@ -1991,111 +2031,111 @@ discharge_test.go:462: test 0. discharge macaroon discharge_test.go:462: test 1. no authentication discharge_test.go:462: test 2. unsupported user -2024-06-02 17:04:00 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: user jbloggs2 not found ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:336: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:316: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/store/memstore/store.go:81: user jbloggs2 not found}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: user jbloggs2 not found ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:336: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:316: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/store/memstore/store.go:81: user jbloggs2 not found}]) discharge_test.go:462: test 3. unsupported condition -2024-06-02 17:04:00 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: caveat not recognized ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers/checkers.go:166: caveat not recognized}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: caveat not recognized ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers/checkers.go:166: caveat not recognized}]) discharge_test.go:462: test 4. bad credentials discharge_test.go:462: test 5. is-authenticated-user with domain discharge_test.go:462: test 6. is-authenticated-user with wrong domain -2024-06-02 17:04:00 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: "jbloggs@test" not in required domain "test2" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:330: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:373: "jbloggs@test" not in required domain "test2"}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: "jbloggs@test" not in required domain "test2" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:330: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:373: "jbloggs@test" not in required domain "test2"}]) discharge_test.go:462: test 7. is-authenticated-user with invalid domain discharge_test.go:462: test 8. invalid caveat === RUN TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn discharge_test.go:340: origin caveats on identity cookies not yet supported === RUN TestDischarge/TestDischargeMemberOf === RUN TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupMatch -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-06-02 17:04:00 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-06-02 17:04:00 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) === RUN TestDischarge/TestDischargeStatusProxyAuthRequiredResponse === RUN TestDischarge/TestDischargeStatusUnauthorizedResponse === RUN TestDischarge/TestDischargeUserID === RUN TestDischarge/TestDischargeWhenLoggedIn -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeXMemberOfX -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs === RUN TestDischarge/TestDomainInInteractionURLs/domain_login -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/no_domain -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/domain_from_cookies -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestIdentityCookieParameters -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischarge -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeJSON -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeWithOldClientCaveat -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestLastDischargeTimeUpdates -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestNonInteractiveDischarge === RUN TestDischarge/TestPublicKey - http.go:99: JSON call, url "http://127.0.0.1:33669/publickey" + http.go:99: JSON call, url "http://127.0.0.1:43007/publickey" === RUN TestDischarge/TestTwoDischargesOfSameCaveat -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithDomainCookie -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithEscapedDomainCookie -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithInvalidDomainCookie -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestDischarge (0.27s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.02s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.01s) - --- PASS: TestDischarge/TestDischargeForUser (0.02s) +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestDischarge (0.14s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.01s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.00s) + --- PASS: TestDischarge/TestDischargeForUser (0.01s) --- SKIP: TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn (0.00s) - --- PASS: TestDischarge/TestDischargeMemberOf (0.07s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.03s) + --- PASS: TestDischarge/TestDischargeMemberOf (0.02s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.00s) --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername (0.00s) --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupMatch (0.00s) --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch (0.00s) --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch (0.00s) --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches (0.00s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.01s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.00s) --- PASS: TestDischarge/TestDischargeStatusProxyAuthRequiredResponse (0.00s) --- PASS: TestDischarge/TestDischargeStatusUnauthorizedResponse (0.00s) --- PASS: TestDischarge/TestDischargeUserID (0.01s) - --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.01s) + --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.00s) --- PASS: TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth (0.01s) - --- PASS: TestDischarge/TestDischargeXMemberOfX (0.01s) + --- PASS: TestDischarge/TestDischargeXMemberOfX (0.00s) --- PASS: TestDischarge/TestDomainInInteractionURLs (0.02s) --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_login (0.00s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.01s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.00s) --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_from_cookies (0.00s) --- PASS: TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies (0.00s) - --- PASS: TestDischarge/TestIdentityCookieParameters (0.01s) - --- PASS: TestDischarge/TestInteractiveDischarge (0.01s) + --- PASS: TestDischarge/TestIdentityCookieParameters (0.00s) + --- PASS: TestDischarge/TestInteractiveDischarge (0.00s) --- PASS: TestDischarge/TestInteractiveDischargeJSON (0.01s) --- PASS: TestDischarge/TestInteractiveDischargeWithOldClientCaveat (0.00s) - --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.02s) - --- PASS: TestDischarge/TestNonInteractiveDischarge (0.01s) - --- PASS: TestDischarge/TestPublicKey (0.01s) + --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.01s) + --- PASS: TestDischarge/TestNonInteractiveDischarge (0.00s) + --- PASS: TestDischarge/TestPublicKey (0.00s) --- PASS: TestDischarge/TestTwoDischargesOfSameCaveat (0.01s) - --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.01s) - --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.01s) - --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.01s) + --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.00s) + --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.00s) + --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.00s) === RUN TestIDP === RUN TestIDP/TestLoginFailure === RUN TestIDP/TestLoginFailureWithWait @@ -2107,10 +2147,10 @@ === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainWildcard === RUN TestIDP/TestLoginSuccess -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestIDP/TestLoginSuccessWithTemplate -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestIDP (0.01s) +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestIDP (0.00s) --- PASS: TestIDP/TestLoginFailure (0.00s) --- PASS: TestIDP/TestLoginFailureWithWait (0.00s) --- PASS: TestIDP/TestLoginRedirectFailureInvalidReturnTo (0.00s) @@ -2130,9 +2170,9 @@ --- PASS: TestLoginCookiePath/location_NOT_in_the_cookie (0.00s) === RUN TestLogin === RUN TestLogin/TestInteractiveLogin -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestLogin/TestLegacyInteractiveLogin -2024-06-02 17:04:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestLogin/TestLegacyLoginFailure discharge.go:169: interaction returned error status (400 Bad Request): {"message":"unsupported method \"PUT\"","code":"bad request"} === RUN TestLogin/TestLegacyNonInteractiveLogin @@ -2147,14 +2187,14 @@ === RUN TestLogin/TestLoginRedirect === RUN TestLogin/TestLoginRedirectNotTrusted === RUN TestLogin/TestNonInteractiveLogin ---- PASS: TestLogin (0.07s) - --- PASS: TestLogin/TestInteractiveLogin (0.01s) - --- PASS: TestLogin/TestLegacyInteractiveLogin (0.01s) +--- PASS: TestLogin (0.04s) + --- PASS: TestLogin/TestInteractiveLogin (0.00s) + --- PASS: TestLogin/TestLegacyInteractiveLogin (0.00s) --- PASS: TestLogin/TestLegacyLoginFailure (0.00s) - --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.01s) + --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.00s) --- PASS: TestLogin/TestLoginEmail (0.00s) --- PASS: TestLogin/TestLoginEmailSubmitMatch (0.00s) - --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.01s) + --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.00s) --- PASS: TestLogin/TestLoginFailure (0.00s) --- PASS: TestLogin/TestLoginIDPChoice (0.00s) --- PASS: TestLogin/TestLoginIDPChoiceHidden (0.00s) @@ -2163,7 +2203,7 @@ --- PASS: TestLogin/TestLoginRedirectNotTrusted (0.00s) --- PASS: TestLogin/TestNonInteractiveLogin (0.00s) PASS -ok github.com/canonical/candid/internal/discharger 0.391s +ok github.com/canonical/candid/internal/discharger 0.198s === RUN TestStore === RUN TestStore/TestExpiredEntry === RUN TestStore/TestGetCanceled @@ -2185,9 +2225,7 @@ --- PASS: TestStore/TestPutDeadlineExceeded (0.00s) --- PASS: TestStore/TestRoundTrip (0.00s) PASS -ok github.com/canonical/candid/internal/discharger/internal 0.022s -? github.com/canonical/candid/internal/mfa [no test files] -? github.com/canonical/candid/internal/monitoring [no test files] +ok github.com/canonical/candid/internal/discharger/internal 0.011s === RUN TestHandleErrors === RUN TestHandleErrors/not_found http.go:99: JSON call, url "/error/" @@ -2230,51 +2268,51 @@ === RUN TestServer/TestServerPanicRecovery http.go:99: JSON call, url "/a" logging.go:37: ERROR candid.internal.identity PANIC!: test panic - goroutine 263 [running]: + goroutine 261 [running]: runtime/debug.Stack() /usr/lib/go-1.22/src/runtime/debug/stack.go:24 +0x5e github.com/canonical/candid/internal/identity.(*Server).ServeHTTP.func1() /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/server.go:186 +0x58 panic({0xadccc0?, 0xcf3fe0?}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x132 - github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0xb13600?, 0xc000146014?}, 0xc000146010?, {0x3?, 0x10?, 0x10?}) + github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0xb13600?, 0xc000014114?}, 0xc000014110?, {0x3?, 0x10?, 0x10?}) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/server_test.go:182 +0x25 - github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc000606360, {0xcfbc28, 0xc0000f6000}, 0xc00045c480) + github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc00042aa80, {0xcfbc28, 0xc000240000}, 0xc0002dc7e0) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/julienschmidt/httprouter/router.go:387 +0x7eb - github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0xc000420200, {0xcfbc28, 0xc0000f6000}, 0xc00045c480) + github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0xc0003123c0, {0xcfbc28, 0xc000240000}, 0xc0002dc7e0) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/server.go:196 +0x2a5 - net/http.serverHandler.ServeHTTP({0xc000580960?}, {0xcfbc28?, 0xc0000f6000?}, 0x6?) + net/http.serverHandler.ServeHTTP({0xc00037b410?}, {0xcfbc28?, 0xc000240000?}, 0x6?) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x8e - net/http.(*conn).serve(0xc0004243f0, {0xcfd6b0, 0xc0002b61b0}) + net/http.(*conn).serve(0xc000334480, {0xcfd6b0, 0xc0003a2720}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x5e8 - created by net/http.(*Server).Serve in goroutine 260 + created by net/http.(*Server).Serve in goroutine 274 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x4b4 logging.go:37: DEBUG candid.internal.identity Closing Server === RUN TestServer/TestServerStaticFiles ---- PASS: TestServer (0.10s) +--- PASS: TestServer (0.02s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) --- PASS: TestServer/TestNewServerWithVersions (0.01s) --- PASS: TestServer/TestServerHasAccessControlAllowHeaders (0.00s) - --- PASS: TestServer/TestServerPanicRecovery (0.01s) - --- PASS: TestServer/TestServerStaticFiles (0.08s) + --- PASS: TestServer/TestServerPanicRecovery (0.00s) + --- PASS: TestServer/TestServerStaticFiles (0.01s) PASS -ok github.com/canonical/candid/internal/identity 0.244s +ok github.com/canonical/candid/internal/identity 0.036s === RUN TestGravatarHash --- PASS: TestGravatarHash (0.00s) === RUN TestUsersAPI === RUN TestUsersAPI/TestCreateAgent -2024-06-02 17:04:02 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateAgentAsAgent -2024-06-02 17:04:02 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) === RUN TestUsersAPI/TestCreateAgentAsParentAgent -2024-06-02 17:04:02 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) === RUN TestUsersAPI/TestCreateAgentWithGroups -2024-06-02 17:04:02 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgent === RUN TestUsersAPI/TestCreateParentAgentNotInGroups -2024-06-02 17:04:02 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgentUnauthorized -2024-06-02 17:04:02 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2025-07-05 23:28:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestDischargeToken === RUN TestUsersAPI/TestExtraInfo === RUN TestUsersAPI/TestExtraInfoNotFound @@ -2307,9 +2345,9 @@ === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(found) === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(not_found) === RUN TestUsersAPI/TestQueryUsersBadLastDischarge -2024-06-02 17:04:03 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-discharge-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:60: cannot unmarshal last-discharge-since} {parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006"}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-discharge-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:60: cannot unmarshal last-discharge-since} {parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006"}]) === RUN TestUsersAPI/TestQueryUsersBadLastLogin -2024-06-02 17:04:03 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-login-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:52: cannot unmarshal last-login-since} {parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006"}]) +2025-07-05 23:28:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-login-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/v1/users.go:52: cannot unmarshal last-login-since} {parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006"}]) === RUN TestUsersAPI/TestQueryUsersUnauthorized === RUN TestUsersAPI/TestRemoveUserMFACredentials === RUN TestUsersAPI/TestRoundTripUser @@ -2328,15 +2366,15 @@ === RUN TestUsersAPI/TestVerifyUserToken === RUN TestUsersAPI/TestWhoAmIWithAuthenticatedUser === RUN TestUsersAPI/TestWhoAmIWithNoUser ---- PASS: TestUsersAPI (0.26s) - --- PASS: TestUsersAPI/TestCreateAgent (0.02s) - --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.01s) +--- PASS: TestUsersAPI (0.19s) + --- PASS: TestUsersAPI/TestCreateAgent (0.01s) + --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.00s) --- PASS: TestUsersAPI/TestCreateAgentAsParentAgent (0.01s) - --- PASS: TestUsersAPI/TestCreateAgentWithGroups (0.02s) + --- PASS: TestUsersAPI/TestCreateAgentWithGroups (0.01s) --- PASS: TestUsersAPI/TestCreateParentAgent (0.01s) --- PASS: TestUsersAPI/TestCreateParentAgentNotInGroups (0.01s) - --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.01s) - --- PASS: TestUsersAPI/TestDischargeToken (0.01s) + --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.00s) + --- PASS: TestUsersAPI/TestDischargeToken (0.00s) --- PASS: TestUsersAPI/TestExtraInfo (0.01s) --- PASS: TestUsersAPI/TestExtraInfoNotFound (0.01s) --- PASS: TestUsersAPI/TestGetUserIDGroups (0.01s) @@ -2344,7 +2382,7 @@ --- PASS: TestUsersAPI/TestGetUserIDGroups/groups (0.00s) --- PASS: TestUsersAPI/TestGetUserIDGroups/no_such_user (0.00s) --- PASS: TestUsersAPI/TestGetUserWithID (0.01s) - --- PASS: TestUsersAPI/TestGetUserWithID/no_groups (0.01s) + --- PASS: TestUsersAPI/TestGetUserWithID/no_groups (0.00s) --- PASS: TestUsersAPI/TestGetUserWithID/groups (0.00s) --- PASS: TestUsersAPI/TestGetUserWithID/no_such_user (0.00s) --- PASS: TestUsersAPI/TestModifyUserGroups (0.01s) @@ -2353,7 +2391,7 @@ --- PASS: TestUsersAPI/TestModifyUserGroups/add_and_remove_groups (0.00s) --- PASS: TestUsersAPI/TestModifyUserGroups/remove_groups_not_a_member_of (0.00s) --- PASS: TestUsersAPI/TestModifyUserGroups/user_not_found (0.00s) - --- PASS: TestUsersAPI/TestQueryAgentUsers (0.01s) + --- PASS: TestUsersAPI/TestQueryAgentUsers (0.00s) --- PASS: TestUsersAPI/TestQueryAgentUsersOwnerNotFound (0.01s) --- PASS: TestUsersAPI/TestQueryUsers (0.01s) --- PASS: TestUsersAPI/TestQueryUsers/query_existing_user (0.00s) @@ -2371,24 +2409,24 @@ --- PASS: TestUsersAPI/TestQueryUsersBadLastLogin (0.00s) --- PASS: TestUsersAPI/TestQueryUsersUnauthorized (0.00s) --- PASS: TestUsersAPI/TestRemoveUserMFACredentials (0.01s) - --- PASS: TestUsersAPI/TestRoundTripUser (0.01s) + --- PASS: TestUsersAPI/TestRoundTripUser (0.00s) --- PASS: TestUsersAPI/TestSSHKeys (0.01s) --- PASS: TestUsersAPI/TestSetUserGroups (0.01s) --- PASS: TestUsersAPI/TestUserErrors (0.01s) --- PASS: TestUsersAPI/TestUserErrors/not_found (0.00s) --- PASS: TestUsersAPI/TestUserErrors/bad_username (0.00s) --- PASS: TestUsersAPI/TestUserGroups (0.01s) - --- PASS: TestUsersAPI/TestUserGroups/no_groups (0.01s) + --- PASS: TestUsersAPI/TestUserGroups/no_groups (0.00s) --- PASS: TestUsersAPI/TestUserGroups/groups (0.00s) --- PASS: TestUsersAPI/TestUserGroups/no_such_user (0.00s) --- PASS: TestUsersAPI/TestUserIDPGroups (0.01s) - --- PASS: TestUsersAPI/TestUserTokenNotFound (0.01s) - --- PASS: TestUsersAPI/TestUsernameContainingUnderscore (0.01s) + --- PASS: TestUsersAPI/TestUserTokenNotFound (0.00s) + --- PASS: TestUsersAPI/TestUsernameContainingUnderscore (0.00s) --- PASS: TestUsersAPI/TestVerifyUserToken (0.01s) --- PASS: TestUsersAPI/TestWhoAmIWithAuthenticatedUser (0.00s) --- PASS: TestUsersAPI/TestWhoAmIWithNoUser (0.00s) PASS -ok github.com/canonical/candid/internal/v1 0.352s +ok github.com/canonical/candid/internal/v1 0.203s === RUN TestRendezvousWaitBeforeDone --- PASS: TestRendezvousWaitBeforeDone (0.00s) === RUN TestRendezvousDoneBeforeWait @@ -2404,7 +2442,7 @@ === RUN TestPutFailure --- PASS: TestPutFailure (0.00s) === RUN TestWaitTimeout - meeting_test.go:408: starting wait "d92579edf841e18b272e33d3584180ef" + meeting_test.go:408: starting wait "3972f6c218f92c390955d17af595d35f" meeting_test.go:436: after second wait, now: 2016-01-01 12:00:02.000000002 +0000 UTC meeting_test.go:441: expiry deadline 2016-01-01 12:00:05 +0000 UTC meeting_test.go:451: final wait from 2016-01-01 12:00:04.999 +0000 UTC: 1.000001ms @@ -2415,7 +2453,7 @@ === RUN TestRequestsExpiredCalled --- PASS: TestRequestsExpiredCalled (0.00s) PASS -ok github.com/canonical/candid/meeting 0.092s +ok github.com/canonical/candid/meeting 0.045s === RUN TestUsernameTextUnmarshal === RUN TestUsernameTextUnmarshal/user === RUN TestUsernameTextUnmarshal/admin@idm @@ -2427,7 +2465,7 @@ --- PASS: TestUsernameTextUnmarshal/agent@admin@idm (0.00s) --- PASS: TestUsernameTextUnmarshal/toolongusername_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef_ (0.00s) PASS -ok github.com/canonical/candid/params 0.051s +ok github.com/canonical/candid/params 0.008s === RUN TestNotFoundError --- PASS: TestNotFoundError (0.00s) === RUN TestDuplicateUsernameError @@ -2435,9 +2473,7 @@ === RUN TestProviderIdentity --- PASS: TestProviderIdentity (0.00s) PASS -ok github.com/canonical/candid/store 0.053s -? github.com/canonical/candid/store/storetest [no test files] -? github.com/canonical/candid/version [no test files] +ok github.com/canonical/candid/store 0.007s === RUN TestKeyValueStore === RUN TestKeyValueStore/TestGetNotFound === RUN TestKeyValueStore/TestSet @@ -2557,8 +2593,8 @@ === RUN TestStore/TestUpdateIdentity/providerID_empty_update === RUN TestStore/TestUpdateNotFoundNoQuery === RUN TestStore/TestUserCredentials ---- PASS: TestStore (0.06s) - --- PASS: TestStore/TestFindIdentities (0.04s) +--- PASS: TestStore (0.04s) + --- PASS: TestStore/TestFindIdentities (0.02s) --- PASS: TestStore/TestIdentity (0.00s) --- PASS: TestStore/TestIdentityCounts (0.00s) --- PASS: TestStore/TestIdentityNotFound (0.00s) @@ -2567,7 +2603,7 @@ --- PASS: TestStore/TestInsertDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDEmpty (0.00s) - --- PASS: TestStore/TestUpdateIdentity (0.02s) + --- PASS: TestStore/TestUpdateIdentity (0.01s) --- PASS: TestStore/TestUpdateIdentity/new_identity (0.00s) --- PASS: TestStore/TestUpdateIdentity/new_identity_with_existing_username (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_username (0.00s) @@ -2634,13 +2670,13 @@ === RUN TestConfigUnmarshal --- PASS: TestConfigUnmarshal (0.00s) PASS -ok github.com/canonical/candid/store/memstore 0.302s +ok github.com/canonical/candid/store/memstore 0.265s testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/mgostore 0.009s [no tests to run] +ok github.com/canonical/candid/store/mgostore 0.007s [no tests to run] testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/sqlstore 0.009s [no tests to run] +ok github.com/canonical/candid/store/sqlstore 0.008s [no tests to run] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2667,12 +2703,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1426337/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1517354 and its subdirectories -I: Current time: Sun Jun 2 05:04:20 -12 2024 -I: pbuilder-time-stamp: 1717347860 +I: removing directory /srv/workspace/pbuilder/1426337 and its subdirectories +I: Current time: Sun Jul 6 13:28:54 +14 2025 +I: pbuilder-time-stamp: 1751758134