Diff of the two buildlogs: -- --- b1/build.log 2024-12-01 20:41:00.107944476 +0000 +++ b2/build.log 2024-12-01 20:46:43.188531516 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 1 08:24:40 -12 2024 -I: pbuilder-time-stamp: 1733084680 +I: Current time: Mon Dec 2 10:41:10 +14 2024 +I: pbuilder-time-stamp: 1733085670 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/322/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3304/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 20:41 /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/3304/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3304/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='63dc520b485e4cf9aed5dd8dd52c4440' - 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='322' - PS1='# ' - PS2='> ' + INVOCATION_ID=5ffb1314cb82405db3b62f3caf4c8736 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=3304 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.EFSjH5k1/pbuilderrc_08eg --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EFSjH5k1/b1 --logfile b1/build.log golang-github-canonical-candid_1.12.3-1.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.EFSjH5k1/pbuilderrc_cD3R --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EFSjH5k1/b2 --logfile b2/build.log golang-github-canonical-candid_1.12.3-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/322/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3304/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -387,7 +419,7 @@ Get: 182 http://deb.debian.org/debian trixie/main armhf golang-github-mwitkow-go-conntrack-dev all 0.0~git20190716.2f06839-3 [14.6 kB] Get: 183 http://deb.debian.org/debian trixie/main armhf golang-gopkg-goose.v1-dev all 0.0~git20170406.3228e4f-4 [97.8 kB] Get: 184 http://deb.debian.org/debian trixie/main armhf golang-gopkg-natefinch-lumberjack.v2-dev all 2.1-2 [13.1 kB] -Fetched 142 MB in 9s (16.6 MB/s) +Fetched 142 MB in 3s (43.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19683 files and directories currently installed.) @@ -1138,7 +1170,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/3304/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3304/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 @@ -1156,7 +1192,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 5 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 4 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 @@ -1164,26 +1200,26 @@ === RUN TestServer/TestNewServerWithVersions http.go:99: JSON call, url "/debug/info" === RUN TestServer/TestVersions ---- PASS: TestServer (0.09s) - --- PASS: TestServer/TestNewServerRemovesAgentIDP (0.03s) +--- PASS: TestServer (0.03s) + --- PASS: TestServer/TestNewServerRemovesAgentIDP (0.01s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) --- PASS: TestServer/TestNewServerWithUnregisteredVersion (0.00s) - --- PASS: TestServer/TestNewServerWithVersions (0.04s) + --- PASS: TestServer/TestNewServerWithVersions (0.02s) --- PASS: TestServer/TestVersions (0.00s) PASS -ok github.com/canonical/candid 0.296s +ok github.com/canonical/candid 0.107s === RUN TestIdentityClient ---- PASS: TestIdentityClient (0.80s) +--- PASS: TestIdentityClient (0.10s) === RUN TestIdentityClientWithDomainStrip ---- PASS: TestIdentityClientWithDomainStrip (0.54s) +--- PASS: TestIdentityClientWithDomainStrip (0.07s) === RUN TestIdentityClientWithDomainStripNoDomains ---- PASS: TestIdentityClientWithDomainStripNoDomains (0.25s) +--- PASS: TestIdentityClientWithDomainStripNoDomains (0.08s) === RUN TestPermChecker ---- PASS: TestPermChecker (0.17s) +--- PASS: TestPermChecker (0.10s) === RUN TestGroupCache ---- PASS: TestGroupCache (0.36s) +--- PASS: TestGroupCache (0.06s) PASS -ok github.com/canonical/candid/candidclient 2.261s +ok github.com/canonical/candid/candidclient 0.455s === RUN TestRedirectURL --- PASS: TestRedirectURL (0.00s) === RUN TestInteractor @@ -1191,7 +1227,7 @@ === RUN TestParseLoginResult --- PASS: TestParseLoginResult (0.00s) PASS -ok github.com/canonical/candid/candidclient/redirect 0.104s +ok github.com/canonical/candid/candidclient/redirect 0.042s === RUN TestClient === RUN TestClient/TestAcquireDischarge === RUN TestClient/TestAcquireDischargeError @@ -1202,15 +1238,15 @@ === RUN TestClient/TestVisitor === RUN TestClient/TestVisitorFunctionError === RUN TestClient/TestVisitorMethodNotSupported ---- PASS: TestClient (0.17s) - --- PASS: TestClient/TestAcquireDischarge (0.05s) - --- PASS: TestClient/TestAcquireDischargeError (0.02s) +--- PASS: TestClient (0.05s) + --- PASS: TestClient/TestAcquireDischarge (0.02s) + --- PASS: TestClient/TestAcquireDischargeError (0.01s) --- PASS: TestClient/TestDischargeAll (0.00s) - --- PASS: TestClient/TestDischargeAllError (0.02s) - --- PASS: TestClient/TestMacaroon (0.01s) - --- PASS: TestClient/TestMacaroonError (0.02s) + --- PASS: TestClient/TestDischargeAllError (0.00s) + --- PASS: TestClient/TestMacaroon (0.00s) + --- PASS: TestClient/TestMacaroonError (0.01s) --- PASS: TestClient/TestVisitor (0.01s) - --- PASS: TestClient/TestVisitorFunctionError (0.02s) + --- PASS: TestClient/TestVisitorFunctionError (0.00s) --- PASS: TestClient/TestVisitorMethodNotSupported (0.00s) === RUN TestUnmarshalUSSOMacaroon --- PASS: TestUnmarshalUSSOMacaroon (0.00s) @@ -1221,7 +1257,7 @@ === RUN TestUnmarshalUSSOMacaroonBadBinary --- PASS: TestUnmarshalUSSOMacaroonBadBinary (0.00s) PASS -ok github.com/canonical/candid/candidclient/ussodischarge 0.279s +ok github.com/canonical/candid/candidclient/ussodischarge 0.109s === RUN TestPutGetToken --- PASS: TestPutGetToken (0.01s) === RUN TestReadInvalidToken @@ -1229,7 +1265,7 @@ === RUN TestTokenInStore --- PASS: TestTokenInStore (0.00s) === RUN TestTokenNotInStore ---- PASS: TestTokenNotInStore (0.02s) +--- PASS: TestTokenNotInStore (0.00s) === RUN TestCorrectUserPasswordSentToUSSOServer --- PASS: TestCorrectUserPasswordSentToUSSOServer (0.00s) === RUN TestLoginFailsToGetToken @@ -1243,22 +1279,22 @@ === RUN TestInteractGetTokenError --- PASS: TestInteractGetTokenError (0.00s) === RUN TestAuthenticatedRequest ---- PASS: TestAuthenticatedRequest (0.02s) +--- PASS: TestAuthenticatedRequest (0.00s) === RUN TestAuthenticatedRequestError ---- PASS: TestAuthenticatedRequestError (0.02s) +--- PASS: TestAuthenticatedRequestError (0.01s) PASS -ok github.com/canonical/candid/candidclient/ussologin 0.196s +ok github.com/canonical/candid/candidclient/ussologin 0.053s ? github.com/canonical/candid/cmd/candid [no test files] === RUN TestDischarge ---- PASS: TestDischarge (0.45s) +--- PASS: TestDischarge (0.13s) === RUN TestDischargeDefaultUser ---- PASS: TestDischargeDefaultUser (0.27s) +--- PASS: TestDischargeDefaultUser (0.06s) === RUN TestGroups ---- PASS: TestGroups (0.30s) +--- PASS: TestGroups (0.08s) === RUN TestAddUserWithExistingGroups ---- PASS: TestAddUserWithExistingGroups (0.58s) +--- PASS: TestAddUserWithExistingGroups (0.06s) PASS -ok github.com/canonical/candid/candidtest 1.748s +ok github.com/canonical/candid/candidtest 0.459s === RUN TestACL === RUN TestACL/TestACLGrant === RUN TestACL/TestACLGrantInvalid @@ -1270,17 +1306,17 @@ === RUN TestACL/TestACLShowInvalid === RUN TestACL/TestACLShowNoACL === RUN TestACL/TestACLShowTwoACLs ---- PASS: TestACL (1.61s) - --- PASS: TestACL/TestACLGrant (0.26s) - --- PASS: TestACL/TestACLGrantInvalid (0.24s) - --- PASS: TestACL/TestACLGrantNoArguments (0.08s) - --- PASS: TestACL/TestACLRevoke (0.22s) - --- PASS: TestACL/TestACLRevokeInvalid (0.19s) - --- PASS: TestACL/TestACLRevokeNoArguments (0.07s) - --- PASS: TestACL/TestACLShow (0.27s) - --- PASS: TestACL/TestACLShowInvalid (0.17s) - --- PASS: TestACL/TestACLShowNoACL (0.05s) - --- PASS: TestACL/TestACLShowTwoACLs (0.07s) +--- PASS: TestACL (0.37s) + --- PASS: TestACL/TestACLGrant (0.05s) + --- PASS: TestACL/TestACLGrantInvalid (0.06s) + --- PASS: TestACL/TestACLGrantNoArguments (0.02s) + --- PASS: TestACL/TestACLRevoke (0.04s) + --- PASS: TestACL/TestACLRevokeInvalid (0.04s) + --- PASS: TestACL/TestACLRevokeNoArguments (0.02s) + --- PASS: TestACL/TestACLShow (0.05s) + --- PASS: TestACL/TestACLShowInvalid (0.04s) + --- PASS: TestACL/TestACLShowNoACL (0.03s) + --- PASS: TestACL/TestACLShowTwoACLs (0.02s) === RUN TestAddGroup === RUN TestAddGroup/TestAddGroup === RUN TestAddGroup/TestAddGroupForEmail @@ -1288,19 +1324,19 @@ === RUN TestAddGroup/TestAddGroupForEmailNotFound === RUN TestAddGroup/TestAddGroupNoUser === RUN TestAddGroup/TestAddGroupUserAndEmail ---- PASS: TestAddGroup (0.64s) - --- PASS: TestAddGroup/TestAddGroup (0.19s) - --- PASS: TestAddGroup/TestAddGroupForEmail (0.19s) - --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.09s) - --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.09s) - --- PASS: TestAddGroup/TestAddGroupNoUser (0.04s) - --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.03s) +--- PASS: TestAddGroup (0.15s) + --- PASS: TestAddGroup/TestAddGroup (0.04s) + --- PASS: TestAddGroup/TestAddGroupForEmail (0.03s) + --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.04s) + --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.02s) + --- PASS: TestAddGroup/TestAddGroupNoUser (0.01s) + --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.01s) === RUN TestClearMFACredentials === RUN TestClearMFACredentials/TestClearMFACredentials ---- PASS: TestClearMFACredentials (0.12s) - --- PASS: TestClearMFACredentials/TestClearMFACredentials (0.12s) +--- PASS: TestClearMFACredentials (0.05s) + --- PASS: TestClearMFACredentials/TestClearMFACredentials (0.05s) === RUN TestLoadCACerts ---- PASS: TestLoadCACerts (0.40s) +--- PASS: TestLoadCACerts (0.08s) === RUN TestCreateAgent === RUN TestCreateAgent/TestCreateAgentWithAdminFlag === RUN TestCreateAgent/TestCreateAgentWithExistingAgentsFile @@ -1311,13 +1347,13 @@ 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.83s) - --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.07s) - --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.14s) - --- PASS: TestCreateAgent/TestCreateAgentWithGeneratedKeyAndAgentFileNotSpecified (0.18s) - --- PASS: TestCreateAgent/TestCreateAgentWithNonExistentAgentsFileSpecified (0.18s) - --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.16s) - --- PASS: TestCreateAgent/TestUsage (0.10s) +--- PASS: TestCreateAgent (0.37s) + --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.05s) + --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.08s) + --- PASS: TestCreateAgent/TestCreateAgentWithGeneratedKeyAndAgentFileNotSpecified (0.07s) + --- PASS: TestCreateAgent/TestCreateAgentWithNonExistentAgentsFileSpecified (0.08s) + --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.06s) + --- PASS: TestCreateAgent/TestUsage (0.03s) === RUN TestFind === RUN TestFind/TestFindEmail === RUN TestFind/TestFindEmailNotFound @@ -1326,24 +1362,24 @@ === RUN TestFind/TestFindNoParameters === RUN TestFind/TestFindWithEmail === RUN TestFind/TestFindWithEmailAndGravatar ---- PASS: TestFind (1.42s) - --- PASS: TestFind/TestFindEmail (0.18s) - --- PASS: TestFind/TestFindEmailNotFound (0.24s) - --- PASS: TestFind/TestFindLastDischargeTime (0.17s) - --- PASS: TestFind/TestFindLastLoginTime (0.15s) - --- PASS: TestFind/TestFindNoParameters (0.22s) - --- PASS: TestFind/TestFindWithEmail (0.26s) - --- PASS: TestFind/TestFindWithEmailAndGravatar (0.19s) +--- PASS: TestFind (0.39s) + --- PASS: TestFind/TestFindEmail (0.05s) + --- PASS: TestFind/TestFindEmailNotFound (0.05s) + --- PASS: TestFind/TestFindLastDischargeTime (0.04s) + --- PASS: TestFind/TestFindLastLoginTime (0.06s) + --- PASS: TestFind/TestFindNoParameters (0.06s) + --- PASS: TestFind/TestFindWithEmail (0.06s) + --- PASS: TestFind/TestFindWithEmailAndGravatar (0.06s) === RUN TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroupForEmail === RUN TestRemoveGroup/TestRemoveGroupForEmailNotFound === RUN TestRemoveGroup/TestRemoveGroupNoUser ---- PASS: TestRemoveGroup (0.59s) - --- PASS: TestRemoveGroup/TestRemoveGroup (0.15s) - --- PASS: TestRemoveGroup/TestRemoveGroupForEmail (0.17s) - --- PASS: TestRemoveGroup/TestRemoveGroupForEmailNotFound (0.18s) - --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.09s) +--- PASS: TestRemoveGroup (0.12s) + --- PASS: TestRemoveGroup/TestRemoveGroup (0.05s) + --- PASS: TestRemoveGroup/TestRemoveGroupForEmail (0.04s) + --- PASS: TestRemoveGroup/TestRemoveGroupForEmailNotFound (0.02s) + --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.01s) === RUN TestShow === RUN TestShow/TestShowAgentUser === RUN TestShow/TestShowEmail @@ -1354,18 +1390,18 @@ === RUN TestShow/TestShowUserJSON === RUN TestShow/TestShowUserWithAgentEnv === RUN TestShow/TestShowZeroValues ---- PASS: TestShow (1.36s) - --- PASS: TestShow/TestShowAgentUser (0.14s) - --- PASS: TestShow/TestShowEmail (0.14s) - --- PASS: TestShow/TestShowEmailNotFound (0.17s) - --- PASS: TestShow/TestShowNoParameters (0.07s) - --- PASS: TestShow/TestShowUser (0.12s) - --- PASS: TestShow/TestShowUserError (0.15s) - --- PASS: TestShow/TestShowUserJSON (0.20s) - --- PASS: TestShow/TestShowUserWithAgentEnv (0.16s) - --- PASS: TestShow/TestShowZeroValues (0.21s) +--- PASS: TestShow (0.25s) + --- PASS: TestShow/TestShowAgentUser (0.02s) + --- PASS: TestShow/TestShowEmail (0.03s) + --- PASS: TestShow/TestShowEmailNotFound (0.05s) + --- PASS: TestShow/TestShowNoParameters (0.01s) + --- PASS: TestShow/TestShowUser (0.02s) + --- PASS: TestShow/TestShowUserError (0.03s) + --- PASS: TestShow/TestShowUserJSON (0.03s) + --- PASS: TestShow/TestShowUserWithAgentEnv (0.02s) + --- PASS: TestShow/TestShowZeroValues (0.02s) PASS -ok github.com/canonical/candid/cmd/candid/internal/admincmd 7.219s +ok github.com/canonical/candid/cmd/candid/internal/admincmd 1.830s ? github.com/canonical/candid/cmd/candidsrv [no test files] ? github.com/canonical/candid/cmd/migrate-db [no test files] ? github.com/canonical/candid/cmd/migrate-db/internal/mongodoc [no test files] @@ -1383,43 +1419,43 @@ === RUN TestStoreSourceError --- PASS: TestStoreSourceError (0.00s) === RUN TestCopy ---- PASS: TestCopy (0.02s) +--- PASS: TestCopy (0.00s) === RUN TestCopySrcError --- PASS: TestCopySrcError (0.00s) === RUN TestCopyDstError -2024/12/01 20:37:10 error checking destination store: test error ---- PASS: TestCopyDstError (0.01s) +2024/12/01 20:45:27 error checking destination store: test error +--- PASS: TestCopyDstError (0.00s) PASS -ok github.com/canonical/candid/cmd/migrate-db/internal 0.142s +ok github.com/canonical/candid/cmd/migrate-db/internal 0.030s ? github.com/canonical/candid/idp [no test files] === RUN TestRead ---- PASS: TestRead (0.02s) +--- PASS: TestRead (0.00s) === RUN TestReadErrorNotFound --- PASS: TestReadErrorNotFound (0.00s) === RUN TestReadErrorEmpty ---- PASS: TestReadErrorEmpty (0.01s) +--- PASS: TestReadErrorEmpty (0.00s) === RUN TestReadErrorInvalidYAML --- PASS: TestReadErrorInvalidYAML (0.00s) === RUN TestUnrecognisedIDP ---- PASS: TestUnrecognisedIDP (0.01s) +--- PASS: TestUnrecognisedIDP (0.00s) PASS -ok github.com/canonical/candid/config 0.165s +ok github.com/canonical/candid/config 0.036s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id === RUN TestConfig/no_client-secret === RUN TestConfig/no_issuer ---- PASS: TestConfig (0.01s) +--- PASS: TestConfig (0.00s) --- PASS: TestConfig/good_config (0.00s) --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) --- PASS: TestConfig/no_issuer (0.00s) PASS -ok github.com/canonical/candid/idp/adfs 0.134s +ok github.com/canonical/candid/idp/adfs 0.050s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestName ---- PASS: TestName (0.01s) +--- PASS: TestName (0.00s) === RUN TestDescription --- PASS: TestDescription (0.00s) === RUN TestIconURL @@ -1433,7 +1469,7 @@ === RUN TestInitProducesError --- PASS: TestInitProducesError (0.00s) PASS -ok github.com/canonical/candid/idp/agent 0.129s +ok github.com/canonical/candid/idp/agent 0.051s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id @@ -1443,7 +1479,7 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/azure 0.148s +ok github.com/canonical/candid/idp/azure 0.066s ? 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] @@ -1456,69 +1492,69 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/google 0.170s +ok github.com/canonical/candid/idp/google 0.051s === RUN TestRoundTrip ---- PASS: TestRoundTrip (0.01s) +--- PASS: TestRoundTrip (0.00s) === RUN TestDecodeBadBase64 ---- PASS: TestDecodeBadBase64 (0.01s) +--- PASS: TestDecodeBadBase64 (0.00s) === RUN TestDecodeBadPublicKey --- PASS: TestDecodeBadPublicKey (0.01s) === RUN TestDecodeDecryptionError ---- PASS: TestDecodeDecryptionError (0.01s) +--- PASS: TestDecodeDecryptionError (0.00s) === RUN TestDecodeBufferTooShort ---- PASS: TestDecodeBufferTooShort (0.01s) +--- PASS: TestDecodeBufferTooShort (0.00s) === RUN TestDecodeUnmarshalError ---- PASS: TestDecodeUnmarshalError (0.01s) +--- PASS: TestDecodeUnmarshalError (0.00s) === RUN TestEncodeMarshalError ---- PASS: TestEncodeMarshalError (0.01s) +--- PASS: TestEncodeMarshalError (0.00s) === RUN TestCookieRoundTrip ---- PASS: TestCookieRoundTrip (0.01s) +--- PASS: TestCookieRoundTrip (0.00s) === RUN TestCookieNoCookie ---- PASS: TestCookieNoCookie (0.01s) +--- PASS: TestCookieNoCookie (0.00s) === RUN TestCookieDecodeError ---- PASS: TestCookieDecodeError (0.01s) +--- PASS: TestCookieDecodeError (0.00s) === RUN TestCookieValidationError ---- PASS: TestCookieValidationError (0.01s) +--- PASS: TestCookieValidationError (0.00s) PASS -ok github.com/canonical/candid/idp/idputil/secret 0.201s +ok github.com/canonical/candid/idp/idputil/secret 0.062s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/another_good_config === RUN TestConfig/no_client-id === RUN TestConfig/no_keycloak-realm ---- PASS: TestConfig (0.01s) +--- PASS: TestConfig (0.00s) --- PASS: TestConfig/good_config (0.00s) --- PASS: TestConfig/another_good_config (0.00s) --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_keycloak-realm (0.00s) PASS -ok github.com/canonical/candid/idp/keycloak 0.137s +ok github.com/canonical/candid/idp/keycloak 0.070s ? github.com/canonical/candid/idp/keystone/internal/mockkeystone [no test files] === 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.December, 1, 20, 37, 47, 402928667, 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)(0x1c01110), 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(2024, time.December, 1, 20, 45, 37, 599931565, 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)(0x322cbd0), 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:"94d413186435aac6e949fce42dfcaf0108083df914257005f80fd3440afa602eID"} -> 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:43553/login-complete", State:"GaYUX7zfaA9JIN1VDs-GAoOsTAFP0r1T5nLSqtfHnGc"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"GaYUX7zfaA9JIN1VDs-GAoOsTAFP0r1T5nLSqtfHnGc", Code:"NjP9usFbM72-vO35BCHLoUaHuweNaOtZ5bswfqC3Tzo", ErrorCode:"", Error:""} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginRequest{Route:httprequest.Route{}, Domain:"", DischargeID:"f97a71cba0ea5557179d3e268401ec02d9a922b384976d00f0c7b6ca354589b3ID"} -> 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:34219/login-complete", State:"BSxz_Z_HBL1HNZ_Cjo8fwUPsdwLRy26VIrd5Kak-UjI"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"BSxz_Z_HBL1HNZ_Cjo8fwUPsdwLRy26VIrd5Kak-UjI", Code:"EyYUIFSfUoK-agJsOgq_yvtZZmvOeFpUz9m-udm2_T8", 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:"94d413186435aac6e949fce42dfcaf0108083df914257005f80fd3440afa602eID"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: INFO candid.meeting Wait "94d413186435aac6e949fce42dfcaf0108083df914257005f80fd3440afa602eID" - logging.go:37: INFO candid.meeting localWait "94d413186435aac6e949fce42dfcaf0108083df914257005f80fd3440afa602eID" + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.waitTokenRequest{Route:httprequest.Route{}, DischargeID:"f97a71cba0ea5557179d3e268401ec02d9a922b384976d00f0c7b6ca354589b3ID"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: INFO candid.meeting Wait "f97a71cba0ea5557179d3e268401ec02d9a922b384976d00f0c7b6ca354589b3ID" + logging.go:37: INFO candid.meeting localWait "f97a71cba0ea5557179d3e268401ec02d9a922b384976d00f0c7b6ca354589b3ID" 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.December, 1, 20, 37, 47, 538642177, 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)(0x1ed3890), 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(2024, time.December, 1, 20, 45, 37, 649738509, 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)(0x32ace70), 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.December, 1, 20, 37, 47, 645472597, 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)(0x20a2960), 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(2024, time.December, 1, 20, 45, 37, 686255115, 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)(0x3455a40), resolvedGroups:[]string(nil)} succeeded logging.go:37: DEBUG candid.internal.identity Closing Server ---- PASS: TestDischarge (0.37s) - --- PASS: TestDischarge/TestFormDischarge (0.12s) - --- PASS: TestDischarge/TestInteractiveDischarge (0.14s) - --- PASS: TestDischarge/TestTokenDischarge (0.11s) +--- PASS: TestDischarge (0.13s) + --- PASS: TestDischarge/TestFormDischarge (0.04s) + --- PASS: TestDischarge/TestInteractiveDischarge (0.05s) + --- PASS: TestDischarge/TestTokenDischarge (0.04s) === RUN TestKeystone === RUN TestKeystone/TestAbsoluteIconURL === RUN TestKeystone/TestIconURL @@ -1537,24 +1573,24 @@ === RUN TestKeystone/TestKeystoneIdentityProviderURL === RUN TestKeystone/TestKeystoneIdentityProviderUseNameForDescription === RUN TestKeystone/TestRelativeIconURL ---- PASS: TestKeystone (0.46s) - --- PASS: TestKeystone/TestAbsoluteIconURL (0.02s) - --- PASS: TestKeystone/TestIconURL (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderDescription (0.02s) +--- PASS: TestKeystone (0.25s) + --- PASS: TestKeystone/TestAbsoluteIconURL (0.01s) + --- PASS: TestKeystone/TestIconURL (0.01s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderDescription (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleExistingUser (0.05s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostBadPassword (0.06s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostNoTenants (0.05s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleSuccess (0.06s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostBadPassword (0.03s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostNoTenants (0.04s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleSuccess (0.04s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHidden (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderInteractive (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderName (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig (0.03s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderInteractive (0.01s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderName (0.00s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig (0.01s) --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig/good_config (0.01s) --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig/no_name (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig/no_url (0.00s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderURL (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderUseNameForDescription (0.02s) - --- PASS: TestKeystone/TestRelativeIconURL (0.02s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderURL (0.01s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderUseNameForDescription (0.00s) + --- PASS: TestKeystone/TestRelativeIconURL (0.00s) === RUN TestToken === RUN TestToken/TestKeystoneTokenIdentityProviderHandle === RUN TestToken/TestKeystoneTokenIdentityProviderHandleBadRequest @@ -1562,13 +1598,13 @@ === RUN TestToken/TestKeystoneTokenIdentityProviderHidden === RUN TestToken/TestKeystoneTokenIdentityProviderInteractive === RUN TestToken/TestRegisterConfig ---- PASS: TestToken (0.17s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandle (0.03s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadRequest (0.03s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadToken (0.03s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderHidden (0.03s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderInteractive (0.02s) - --- PASS: TestToken/TestRegisterConfig (0.03s) +--- PASS: TestToken (0.07s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandle (0.02s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadRequest (0.01s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadToken (0.02s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderHidden (0.01s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderInteractive (0.01s) + --- PASS: TestToken/TestRegisterConfig (0.01s) === RUN TestTokenV3 === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest @@ -1576,11 +1612,11 @@ === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive === RUN TestTokenV3/TestRegisterConfig ---- PASS: TestTokenV3 (0.14s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle (0.04s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest (0.02s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadToken (0.03s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden (0.02s) +--- PASS: TestTokenV3 (0.06s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle (0.02s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest (0.00s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadToken (0.01s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden (0.01s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive (0.01s) --- PASS: TestTokenV3/TestRegisterConfig (0.01s) === RUN TestUserPass @@ -1591,20 +1627,20 @@ === RUN TestUserPass/TestKeystoneUserpassIdentityProviderHidden === RUN TestUserPass/TestKeystoneUserpassIdentityProviderInteractive === RUN TestUserPass/TestRegisterConfig ---- PASS: TestUserPass (0.15s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandle (0.01s) +--- PASS: TestUserPass (0.06s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandle (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleBadRequest (0.01s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleNoUsername (0.01s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleResponse (0.03s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHidden (0.02s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderInteractive (0.02s) - --- PASS: TestUserPass/TestRegisterConfig (0.03s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleNoUsername (0.00s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleResponse (0.02s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHidden (0.01s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderInteractive (0.01s) + --- PASS: TestUserPass/TestRegisterConfig (0.01s) PASS -ok github.com/canonical/candid/idp/keystone 1.393s +ok github.com/canonical/candid/idp/keystone 0.637s === RUN TestUnmarshalError === RUN TestUnmarshalError/error === RUN TestUnmarshalError/bad_json ---- PASS: TestUnmarshalError (0.01s) +--- PASS: TestUnmarshalError (0.00s) --- PASS: TestUnmarshalError/error (0.00s) --- PASS: TestUnmarshalError/bad_json (0.00s) === RUN TestTimeUnmarshalJSON @@ -1616,10 +1652,10 @@ --- PASS: TestTimeUnmarshalJSON/test1 (0.00s) --- PASS: TestTimeUnmarshalJSON/test2 (0.00s) PASS -ok github.com/canonical/candid/idp/keystone/internal/keystone 0.115s +ok github.com/canonical/candid/idp/keystone/internal/keystone 0.042s === RUN TestInteractiveDischarge -2024-12-01 20:38:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.18s) +2024-12-01 20:45:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.03s) === RUN TestLDAP === RUN TestLDAP/TestAbsoluteIconURL === RUN TestLDAP/TestDescription @@ -1649,46 +1685,46 @@ === RUN TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression === RUN TestLDAP/TestRelativeIconURL === RUN TestLDAP/TestURL ---- PASS: TestLDAP (0.66s) - --- PASS: TestLDAP/TestAbsoluteIconURL (0.02s) - --- PASS: TestLDAP/TestDescription (0.02s) - --- PASS: TestLDAP/TestDomain (0.04s) - --- PASS: TestLDAP/TestHandle (0.03s) - --- PASS: TestLDAP/TestHandleCustomGroupFilter (0.03s) - --- PASS: TestLDAP/TestHandleCustomUserFilter (0.03s) - --- PASS: TestLDAP/TestHandleFailedLogin (0.04s) - --- PASS: TestLDAP/TestHandleIncorrectUsername (0.06s) - --- PASS: TestLDAP/TestHandleUserDetails (0.04s) - --- PASS: TestLDAP/TestHandleUserDetailsCustomIDAttr (0.03s) - --- PASS: TestLDAP/TestHandleUserFilterNoMatch (0.03s) - --- PASS: TestLDAP/TestHandleWithGroups (0.03s) - --- PASS: TestLDAP/TestHidden (0.02s) - --- PASS: TestLDAP/TestIconURL (0.03s) - --- PASS: TestLDAP/TestInteractive (0.01s) - --- PASS: TestLDAP/TestName (0.01s) - --- PASS: TestLDAP/TestNewIdentityProvider (0.05s) +--- PASS: TestLDAP (0.09s) + --- PASS: TestLDAP/TestAbsoluteIconURL (0.00s) + --- PASS: TestLDAP/TestDescription (0.00s) + --- PASS: TestLDAP/TestDomain (0.00s) + --- PASS: TestLDAP/TestHandle (0.01s) + --- PASS: TestLDAP/TestHandleCustomGroupFilter (0.01s) + --- PASS: TestLDAP/TestHandleCustomUserFilter (0.01s) + --- PASS: TestLDAP/TestHandleFailedLogin (0.01s) + --- PASS: TestLDAP/TestHandleIncorrectUsername (0.01s) + --- PASS: TestLDAP/TestHandleUserDetails (0.01s) + --- PASS: TestLDAP/TestHandleUserDetailsCustomIDAttr (0.01s) + --- PASS: TestLDAP/TestHandleUserFilterNoMatch (0.01s) + --- PASS: TestLDAP/TestHandleWithGroups (0.01s) + --- PASS: TestLDAP/TestHidden (0.00s) + --- PASS: TestLDAP/TestIconURL (0.00s) + --- PASS: TestLDAP/TestInteractive (0.00s) + --- PASS: TestLDAP/TestName (0.00s) + --- PASS: TestLDAP/TestNewIdentityProvider (0.01s) --- PASS: TestLDAP/TestNewIdentityProvider/good_params (0.00s) - --- PASS: TestLDAP/TestNewIdentityProvider/unparsable_url (0.01s) + --- PASS: TestLDAP/TestNewIdentityProvider/unparsable_url (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/unsupported_scheme (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/missing_user_query_filter (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/missing_group_query_filter (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/missing_group_attributes_ID (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_template (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/malformed_group_query_filter (0.00s) - --- PASS: TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression (0.01s) - --- PASS: TestLDAP/TestRelativeIconURL (0.06s) - --- PASS: TestLDAP/TestURL (0.03s) + --- PASS: TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression (0.00s) + --- PASS: TestLDAP/TestRelativeIconURL (0.00s) + --- PASS: TestLDAP/TestURL (0.00s) PASS -ok github.com/canonical/candid/idp/ldap 1.005s +ok github.com/canonical/candid/idp/ldap 0.164s === RUN TestConfig === RUN TestConfig/OK === RUN TestConfig/NoName === RUN TestConfig/NoIssuer === RUN TestConfig/NoClientID === RUN TestConfig/NoClientSecret ---- PASS: TestConfig (0.02s) +--- PASS: TestConfig (0.00s) --- PASS: TestConfig/OK (0.00s) - --- PASS: TestConfig/NoName (0.01s) + --- PASS: TestConfig/NoName (0.00s) --- PASS: TestConfig/NoIssuer (0.00s) --- PASS: TestConfig/NoClientID (0.00s) --- PASS: TestConfig/NoClientSecret (0.00s) @@ -1705,36 +1741,36 @@ === RUN TestIsForEmailAddr --- PASS: TestIsForEmailAddr (0.00s) === RUN TestURL ---- PASS: TestURL (0.01s) +--- PASS: TestURL (0.03s) === RUN TestIconURL --- PASS: TestIconURL (0.00s) === RUN TestHandleLogin ---- PASS: TestHandleLogin (0.03s) +--- PASS: TestHandleLogin (0.01s) === RUN TestHandleCallback === RUN TestHandleCallback/NewUserWithUsername === RUN TestHandleCallback/NewUserNoUsername === RUN TestHandleCallback/ExistingUserNoClaims === RUN TestHandleCallback/ExistingUserUpdateClaims === RUN TestHandleCallback/PreferredUsernameTaken ---- PASS: TestHandleCallback (1.73s) - --- PASS: TestHandleCallback/NewUserWithUsername (0.32s) - --- PASS: TestHandleCallback/NewUserNoUsername (0.40s) - --- PASS: TestHandleCallback/ExistingUserNoClaims (0.24s) - --- PASS: TestHandleCallback/ExistingUserUpdateClaims (0.50s) - --- PASS: TestHandleCallback/PreferredUsernameTaken (0.26s) +--- PASS: TestHandleCallback (0.36s) + --- PASS: TestHandleCallback/NewUserWithUsername (0.09s) + --- PASS: TestHandleCallback/NewUserNoUsername (0.08s) + --- PASS: TestHandleCallback/ExistingUserNoClaims (0.06s) + --- PASS: TestHandleCallback/ExistingUserUpdateClaims (0.04s) + --- PASS: TestHandleCallback/PreferredUsernameTaken (0.09s) === RUN TestHandleRegister === RUN TestHandleRegister/Success === RUN TestHandleRegister/InvalidUsername === RUN TestHandleRegister/InvalidUsername#01 ---- PASS: TestHandleRegister (0.12s) - --- PASS: TestHandleRegister/Success (0.04s) - --- PASS: TestHandleRegister/InvalidUsername (0.04s) - --- PASS: TestHandleRegister/InvalidUsername#01 (0.04s) +--- PASS: TestHandleRegister (0.03s) + --- PASS: TestHandleRegister/Success (0.01s) + --- PASS: TestHandleRegister/InvalidUsername (0.01s) + --- PASS: TestHandleRegister/InvalidUsername#01 (0.01s) PASS -ok github.com/canonical/candid/idp/openid 2.065s +ok github.com/canonical/candid/idp/openid 0.488s === RUN TestInteractiveDischarge -2024-12-01 20:38:04 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.19s) +2024-12-01 20:45:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.07s) === RUN TestStatic === RUN TestStatic/TestAbsoluteIconURL === RUN TestStatic/TestDescription @@ -1750,26 +1786,27 @@ === RUN TestStatic/TestInteractive === RUN TestStatic/TestName === RUN TestStatic/TestRelativeIconURL ---- PASS: TestStatic (0.71s) - --- PASS: TestStatic/TestAbsoluteIconURL (0.06s) - --- PASS: TestStatic/TestDescription (0.05s) - --- PASS: TestStatic/TestDomain (0.03s) - --- PASS: TestStatic/TestGetGroups (0.06s) - --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.07s) - --- PASS: TestStatic/TestHandle (0.06s) - --- PASS: TestStatic/TestHandleFailedLoginUnknownUser (0.06s) - --- PASS: TestStatic/TestHandleFailedLoginWrongPassword (0.06s) - --- PASS: TestStatic/TestHandleWithDomain (0.05s) - --- PASS: TestStatic/TestHidden (0.05s) - --- PASS: TestStatic/TestIconURL (0.03s) - --- PASS: TestStatic/TestInteractive (0.05s) - --- PASS: TestStatic/TestName (0.04s) - --- PASS: TestStatic/TestRelativeIconURL (0.03s) +--- PASS: TestStatic (0.15s) + --- PASS: TestStatic/TestAbsoluteIconURL (0.01s) + --- PASS: TestStatic/TestDescription (0.00s) + --- PASS: TestStatic/TestDomain (0.01s) + --- PASS: TestStatic/TestGetGroups (0.02s) + --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.02s) + --- PASS: TestStatic/TestHandle (0.02s) + --- PASS: TestStatic/TestHandleFailedLoginUnknownUser (0.01s) + --- PASS: TestStatic/TestHandleFailedLoginWrongPassword (0.01s) + --- PASS: TestStatic/TestHandleWithDomain (0.01s) + --- PASS: TestStatic/TestHidden (0.01s) + --- PASS: TestStatic/TestIconURL (0.01s) + --- PASS: TestStatic/TestInteractive (0.00s) + --- PASS: TestStatic/TestName (0.01s) + --- PASS: TestStatic/TestRelativeIconURL (0.00s) PASS -ok github.com/canonical/candid/idp/static 1.045s +ok github.com/canonical/candid/idp/static 0.303s +? github.com/canonical/candid/idp/usso/internal/mockusso [no test files] === RUN TestInteractiveDischarge -2024-12-01 20:38:08 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.21s) +2024-12-01 20:45:46 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.06s) === RUN TestUSSO === RUN TestUSSO/TestAbsoluteIconURL === RUN TestUSSO/TestConfig @@ -1794,36 +1831,35 @@ === RUN TestUSSO/TestUpdateIdentity === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid -2024-12-01 20:38:09 WARNING candid.idp.usso usso.go:250 not updating username for usso:https://login.ubuntu.com/+id/test to invalid username "test-changed-" +2024-12-01 20:45:46 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 (1.11s) - --- PASS: TestUSSO/TestAbsoluteIconURL (0.02s) - --- PASS: TestUSSO/TestConfig (0.03s) - --- PASS: TestUSSO/TestDescription (0.03s) - --- PASS: TestUSSO/TestDomain (0.03s) - --- PASS: TestUSSO/TestGetGroups (0.03s) - --- PASS: TestUSSO/TestGetGroupsReturnsNewSlice (0.02s) - --- PASS: TestUSSO/TestHandleNoExtensionsNotFound (0.07s) - --- PASS: TestUSSO/TestHandleRegisterUserError (0.07s) - --- PASS: TestUSSO/TestHandleSuccess (0.06s) - --- PASS: TestUSSO/TestHandleSuccessNoExtensions (0.05s) - --- PASS: TestUSSO/TestHidden (0.02s) - --- PASS: TestUSSO/TestIconURL (0.03s) - --- PASS: TestUSSO/TestInteractive (0.02s) - --- PASS: TestUSSO/TestInteractiveLoginFromDifferentProvider (0.05s) - --- PASS: TestUSSO/TestInvalidCookie (0.04s) - --- PASS: TestUSSO/TestName (0.03s) - --- PASS: TestUSSO/TestRedirect (0.03s) - --- PASS: TestUSSO/TestRedirectWithLaunchpadTeams (0.04s) - --- PASS: TestUSSO/TestRelativeIconURL (0.04s) - --- PASS: TestUSSO/TestURL (0.03s) - --- PASS: TestUSSO/TestUpdateIdentity (0.08s) - --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed (0.07s) - --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.10s) - --- PASS: TestUSSO/TestWithDomain (0.06s) +--- PASS: TestUSSO (0.25s) + --- PASS: TestUSSO/TestAbsoluteIconURL (0.01s) + --- PASS: TestUSSO/TestConfig (0.01s) + --- PASS: TestUSSO/TestDescription (0.01s) + --- PASS: TestUSSO/TestDomain (0.00s) + --- PASS: TestUSSO/TestGetGroups (0.00s) + --- PASS: TestUSSO/TestGetGroupsReturnsNewSlice (0.00s) + --- PASS: TestUSSO/TestHandleNoExtensionsNotFound (0.01s) + --- PASS: TestUSSO/TestHandleRegisterUserError (0.02s) + --- PASS: TestUSSO/TestHandleSuccess (0.02s) + --- PASS: TestUSSO/TestHandleSuccessNoExtensions (0.01s) + --- PASS: TestUSSO/TestHidden (0.01s) + --- PASS: TestUSSO/TestIconURL (0.00s) + --- PASS: TestUSSO/TestInteractive (0.00s) + --- PASS: TestUSSO/TestInteractiveLoginFromDifferentProvider (0.03s) + --- PASS: TestUSSO/TestInvalidCookie (0.02s) + --- PASS: TestUSSO/TestName (0.02s) + --- PASS: TestUSSO/TestRedirect (0.01s) + --- PASS: TestUSSO/TestRedirectWithLaunchpadTeams (0.01s) + --- PASS: TestUSSO/TestRelativeIconURL (0.00s) + --- PASS: TestUSSO/TestURL (0.00s) + --- PASS: TestUSSO/TestUpdateIdentity (0.01s) + --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed (0.01s) + --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.01s) + --- PASS: TestUSSO/TestWithDomain (0.01s) PASS -ok github.com/canonical/candid/idp/usso 1.506s -? github.com/canonical/candid/idp/usso/internal/mockusso [no test files] +ok github.com/canonical/candid/idp/usso 0.349s === RUN TestAccept === RUN TestAccept/not_seen store_test.go:74: 0. not seen @@ -1839,7 +1875,7 @@ store_test.go:74: 5. bad time === RUN TestAccept/too_old store_test.go:74: 6. too old ---- PASS: TestAccept (0.01s) +--- PASS: TestAccept (0.00s) --- PASS: TestAccept/not_seen (0.00s) --- PASS: TestAccept/seen_before (0.00s) --- PASS: TestAccept/seen_at_another_endpoint (0.00s) @@ -1848,10 +1884,10 @@ --- PASS: TestAccept/bad_time (0.00s) --- PASS: TestAccept/too_old (0.00s) PASS -ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.087s +ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.036s ? github.com/canonical/candid/idp/usso/ussodischarge/cmd/login [no test files] === RUN TestConfig ---- PASS: TestConfig (0.01s) +--- PASS: TestConfig (0.00s) === RUN TestSuite === RUN TestSuite/TestDescription === RUN TestSuite/TestHandleGetSuccess @@ -1862,16 +1898,16 @@ === RUN TestSuite/TestInteractive === RUN TestSuite/TestName === RUN TestSuite/TestURL ---- PASS: TestSuite (0.59s) - --- PASS: TestSuite/TestDescription (0.02s) - --- PASS: TestSuite/TestHandleGetSuccess (0.17s) - --- PASS: TestSuite/TestHandleGetV1Success (0.22s) - --- PASS: TestSuite/TestHandlePostV1 (0.03s) - --- PASS: TestSuite/TestHidden (0.03s) - --- PASS: TestSuite/TestIconURL (0.03s) - --- PASS: TestSuite/TestInteractive (0.03s) - --- PASS: TestSuite/TestName (0.03s) - --- PASS: TestSuite/TestURL (0.03s) +--- PASS: TestSuite (0.17s) + --- PASS: TestSuite/TestDescription (0.00s) + --- PASS: TestSuite/TestHandleGetSuccess (0.09s) + --- PASS: TestSuite/TestHandleGetV1Success (0.05s) + --- PASS: TestSuite/TestHandlePostV1 (0.00s) + --- PASS: TestSuite/TestHidden (0.00s) + --- PASS: TestSuite/TestIconURL (0.00s) + --- PASS: TestSuite/TestInteractive (0.00s) + --- PASS: TestSuite/TestName (0.00s) + --- PASS: TestSuite/TestURL (0.00s) === RUN TestHandlePost === RUN TestHandlePost/success === RUN TestHandlePost/no_account @@ -1882,22 +1918,22 @@ === RUN TestHandlePost/account_bad_base64 === RUN TestHandlePost/account_bad_json === RUN TestHandlePost/without_argument ---- PASS: TestHandlePost (0.33s) - --- PASS: TestHandlePost/success (0.05s) - --- PASS: TestHandlePost/no_account (0.04s) - --- PASS: TestHandlePost/expires_bad_format (0.04s) - --- PASS: TestHandlePost/expires_in_past (0.03s) - --- PASS: TestHandlePost/multiple_account_info (0.03s) - --- PASS: TestHandlePost/unrecognised_caveat (0.02s) - --- PASS: TestHandlePost/account_bad_base64 (0.03s) - --- PASS: TestHandlePost/account_bad_json (0.02s) - --- PASS: TestHandlePost/without_argument (0.03s) +--- PASS: TestHandlePost (0.07s) + --- PASS: TestHandlePost/success (0.00s) + --- PASS: TestHandlePost/no_account (0.00s) + --- PASS: TestHandlePost/expires_bad_format (0.00s) + --- PASS: TestHandlePost/expires_in_past (0.00s) + --- PASS: TestHandlePost/multiple_account_info (0.01s) + --- PASS: TestHandlePost/unrecognised_caveat (0.01s) + --- PASS: TestHandlePost/account_bad_base64 (0.01s) + --- PASS: TestHandlePost/account_bad_json (0.01s) + --- PASS: TestHandlePost/without_argument (0.01s) === RUN TestMultipleLogins ---- PASS: TestMultipleLogins (0.04s) +--- PASS: TestMultipleLogins (0.01s) PASS -ok github.com/canonical/candid/idp/usso/ussodischarge 1.096s +ok github.com/canonical/candid/idp/usso/ussodischarge 0.295s === RUN TestDischarge ---- PASS: TestDischarge (0.17s) +--- PASS: TestDischarge (0.04s) === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestUSSOAuth @@ -1909,17 +1945,17 @@ === RUN TestUSSOAuth/TestInteractive === RUN TestUSSOAuth/TestName === RUN TestUSSOAuth/TestURL ---- PASS: TestUSSOAuth (0.30s) - --- PASS: TestUSSOAuth/TestDescription (0.04s) - --- PASS: TestUSSOAuth/TestHandleSuccess (0.04s) - --- PASS: TestUSSOAuth/TestHandleVerifyFail (0.05s) - --- PASS: TestUSSOAuth/TestHidden (0.03s) - --- PASS: TestUSSOAuth/TestIconURL (0.03s) - --- PASS: TestUSSOAuth/TestInteractive (0.04s) - --- PASS: TestUSSOAuth/TestName (0.03s) - --- PASS: TestUSSOAuth/TestURL (0.03s) +--- PASS: TestUSSOAuth (0.06s) + --- PASS: TestUSSOAuth/TestDescription (0.00s) + --- PASS: TestUSSOAuth/TestHandleSuccess (0.01s) + --- PASS: TestUSSOAuth/TestHandleVerifyFail (0.02s) + --- PASS: TestUSSOAuth/TestHidden (0.00s) + --- PASS: TestUSSOAuth/TestIconURL (0.00s) + --- PASS: TestUSSOAuth/TestInteractive (0.01s) + --- PASS: TestUSSOAuth/TestName (0.00s) + --- PASS: TestUSSOAuth/TestURL (0.01s) PASS -ok github.com/canonical/candid/idp/usso/ussooauth 0.564s +ok github.com/canonical/candid/idp/usso/ussooauth 0.136s ? github.com/canonical/candid/internal/candidtest [no test files] === RUN TestAuth === RUN TestAuth/TestACLForOp @@ -1957,8 +1993,8 @@ === RUN TestAuth/TestNonExistentUser === RUN TestAuth/TestUserHasPublicKeyCaveat === RUN TestAuth/TestUserHasPublicKeyChecker ---- PASS: TestAuth (0.35s) - --- PASS: TestAuth/TestACLForOp (0.05s) +--- PASS: TestAuth (0.04s) + --- PASS: TestAuth/TestACLForOp (0.01s) --- PASS: TestAuth/TestACLForOp/other-read (0.00s) --- PASS: TestAuth/TestACLForOp/global-read (0.00s) --- PASS: TestAuth/TestACLForOp/global-verify (0.00s) @@ -1976,25 +2012,25 @@ --- PASS: TestAuth/TestACLForOp/u-bob-writeGroups (0.00s) --- PASS: TestAuth/TestACLForOp/u-bob-readSSHKeys (0.00s) --- PASS: TestAuth/TestACLForOp/u-bob-writeSSHKeys (0.00s) - --- PASS: TestAuth/TestAdminUserGroups (0.02s) - --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.03s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.04s) + --- PASS: TestAuth/TestAdminUserGroups (0.00s) + --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.00s) + --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/good_credentials (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_username (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_password (0.00s) - --- PASS: TestAuth/TestExistingUserGroups (0.04s) - --- PASS: TestAuth/TestIdentityAllow (0.04s) + --- PASS: TestAuth/TestExistingUserGroups (0.00s) + --- PASS: TestAuth/TestIdentityAllow (0.00s) --- PASS: TestAuth/TestIdentityAllow/everyone_is_allowed_even_with_no_store (0.00s) --- PASS: TestAuth/TestIdentityAllow/user_is_allowed_even_with_no_store (0.00s) --- PASS: TestAuth/TestIdentityAllow/empty_ACL_doesn't_require_store (0.00s) --- PASS: TestAuth/TestIdentityAllow/user_is_allowed_if_they're_in_the_expected_group_internally (0.00s) --- PASS: TestAuth/TestIdentityAllow/user_is_allowed_if_they're_in_the_expected_group_externally (0.00s) --- PASS: TestAuth/TestIdentityAllow/user_is_not_allowed_if_they're_not_in_the_expected_group (0.00s) - --- PASS: TestAuth/TestNonExistentUser (0.03s) - --- PASS: TestAuth/TestUserHasPublicKeyCaveat (0.04s) - --- PASS: TestAuth/TestUserHasPublicKeyChecker (0.04s) + --- PASS: TestAuth/TestNonExistentUser (0.00s) + --- PASS: TestAuth/TestUserHasPublicKeyCaveat (0.00s) + --- PASS: TestAuth/TestUserHasPublicKeyChecker (0.01s) PASS -ok github.com/canonical/candid/internal/auth 0.446s +ok github.com/canonical/candid/internal/auth 0.084s === RUN TestAuth === RUN TestAuth/TestAuthorizeMacaroonRequired === RUN TestAuth/TestAuthorizeWithAdminCredentials @@ -2002,18 +2038,18 @@ === RUN TestAuth/TestAuthorizeWithAdminCredentials/bad_username === RUN TestAuth/TestAuthorizeWithAdminCredentials/bad_password === RUN TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access ---- PASS: TestAuth (0.06s) - --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.04s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.02s) +--- PASS: TestAuth (0.01s) + --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.00s) + --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/good_credentials (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_username (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_password (0.00s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access (0.01s) + --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access (0.00s) PASS -ok github.com/canonical/candid/internal/auth/httpauth 0.182s +ok github.com/canonical/candid/internal/auth/httpauth 0.086s testing: warning: no tests to run PASS -ok github.com/canonical/candid/internal/debug 0.128s [no tests to run] +ok github.com/canonical/candid/internal/debug 0.137s [no tests to run] ? github.com/canonical/candid/internal/mfa [no test files] ? github.com/canonical/candid/internal/monitoring [no test files] === RUN TestDischarge @@ -2023,111 +2059,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-12-01 20:38:51 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}]) +2024-12-01 20:45:59 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-12-01 20:38:51 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}]) +2024-12-01 20:45:59 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-12-01 20:38:51 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"}]) +2024-12-01 20:45:59 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-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername -2024-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupMatch -2024-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch -2024-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch -2024-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-12-01 20:38:52 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}]) +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 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-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch -2024-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-12-01 20:38:52 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}]) +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 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-12-01 20:38:52 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeXMemberOfX -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs === RUN TestDischarge/TestDomainInInteractionURLs/domain_login -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/no_domain -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/domain_from_cookies -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestIdentityCookieParameters -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischarge -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:45:59 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeJSON -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeWithOldClientCaveat -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestLastDischargeTimeUpdates -2024-12-01 20:38:53 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 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:42295/publickey" + http.go:99: JSON call, url "http://127.0.0.1:34419/publickey" === RUN TestDischarge/TestTwoDischargesOfSameCaveat -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithDomainCookie -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithEscapedDomainCookie -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithInvalidDomainCookie -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestDischarge (3.53s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.17s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.15s) - --- PASS: TestDischarge/TestDischargeForUser (0.29s) - --- SKIP: TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn (0.05s) - --- PASS: TestDischarge/TestDischargeMemberOf (0.52s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.09s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername (0.06s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupMatch (0.05s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch (0.07s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch (0.06s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches (0.06s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.09s) - --- PASS: TestDischarge/TestDischargeStatusProxyAuthRequiredResponse (0.12s) - --- PASS: TestDischarge/TestDischargeStatusUnauthorizedResponse (0.06s) - --- PASS: TestDischarge/TestDischargeUserID (0.18s) - --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.15s) - --- PASS: TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth (0.12s) - --- PASS: TestDischarge/TestDischargeXMemberOfX (0.06s) - --- PASS: TestDischarge/TestDomainInInteractionURLs (0.28s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_login (0.06s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.06s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_from_cookies (0.08s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies (0.06s) - --- PASS: TestDischarge/TestIdentityCookieParameters (0.11s) - --- PASS: TestDischarge/TestInteractiveDischarge (0.13s) - --- PASS: TestDischarge/TestInteractiveDischargeJSON (0.11s) - --- PASS: TestDischarge/TestInteractiveDischargeWithOldClientCaveat (0.10s) - --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.18s) - --- PASS: TestDischarge/TestNonInteractiveDischarge (0.11s) - --- PASS: TestDischarge/TestPublicKey (0.05s) - --- PASS: TestDischarge/TestTwoDischargesOfSameCaveat (0.15s) - --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.14s) - --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.14s) - --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.14s) +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestDischarge (0.93s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.05s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.02s) + --- PASS: TestDischarge/TestDischargeForUser (0.06s) + --- SKIP: TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn (0.01s) + --- PASS: TestDischarge/TestDischargeMemberOf (0.15s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.03s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername (0.01s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupMatch (0.02s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch (0.02s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch (0.02s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches (0.02s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.02s) + --- PASS: TestDischarge/TestDischargeStatusProxyAuthRequiredResponse (0.02s) + --- PASS: TestDischarge/TestDischargeStatusUnauthorizedResponse (0.01s) + --- PASS: TestDischarge/TestDischargeUserID (0.04s) + --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.03s) + --- PASS: TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth (0.06s) + --- PASS: TestDischarge/TestDischargeXMemberOfX (0.03s) + --- PASS: TestDischarge/TestDomainInInteractionURLs (0.10s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_login (0.02s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.03s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_from_cookies (0.02s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies (0.02s) + --- PASS: TestDischarge/TestIdentityCookieParameters (0.03s) + --- PASS: TestDischarge/TestInteractiveDischarge (0.03s) + --- PASS: TestDischarge/TestInteractiveDischargeJSON (0.05s) + --- PASS: TestDischarge/TestInteractiveDischargeWithOldClientCaveat (0.04s) + --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.07s) + --- PASS: TestDischarge/TestNonInteractiveDischarge (0.02s) + --- PASS: TestDischarge/TestPublicKey (0.01s) + --- PASS: TestDischarge/TestTwoDischargesOfSameCaveat (0.04s) + --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.03s) + --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.03s) + --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.03s) === RUN TestIDP === RUN TestIDP/TestLoginFailure === RUN TestIDP/TestLoginFailureWithWait @@ -2139,32 +2175,32 @@ === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainWildcard === RUN TestIDP/TestLoginSuccess -2024-12-01 20:38:54 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestIDP/TestLoginSuccessWithTemplate -2024-12-01 20:38:55 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestIDP (0.18s) - --- PASS: TestIDP/TestLoginFailure (0.02s) - --- PASS: TestIDP/TestLoginFailureWithWait (0.02s) - --- PASS: TestIDP/TestLoginRedirectFailureInvalidReturnTo (0.01s) - --- PASS: TestIDP/TestLoginRedirectSuccess (0.02s) - --- PASS: TestIDP/TestLoginRedirectSuccessInvalidReturnTo (0.01s) - --- PASS: TestIDP/TestLoginRedirectSuccessReturnToNotTrusted (0.02s) - --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomain (0.01s) - --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure (0.01s) - --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainWildcard (0.01s) - --- PASS: TestIDP/TestLoginSuccess (0.02s) - --- PASS: TestIDP/TestLoginSuccessWithTemplate (0.02s) +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestIDP (0.03s) + --- PASS: TestIDP/TestLoginFailure (0.00s) + --- PASS: TestIDP/TestLoginFailureWithWait (0.00s) + --- PASS: TestIDP/TestLoginRedirectFailureInvalidReturnTo (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccess (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccessInvalidReturnTo (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccessReturnToNotTrusted (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomain (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure (0.00s) + --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainWildcard (0.00s) + --- PASS: TestIDP/TestLoginSuccess (0.00s) + --- PASS: TestIDP/TestLoginSuccessWithTemplate (0.00s) === RUN TestLoginCookiePath === RUN TestLoginCookiePath/location_in_the_cookie === RUN TestLoginCookiePath/location_NOT_in_the_cookie ---- PASS: TestLoginCookiePath (0.09s) - --- PASS: TestLoginCookiePath/location_in_the_cookie (0.05s) - --- PASS: TestLoginCookiePath/location_NOT_in_the_cookie (0.05s) +--- PASS: TestLoginCookiePath (0.02s) + --- PASS: TestLoginCookiePath/location_in_the_cookie (0.01s) + --- PASS: TestLoginCookiePath/location_NOT_in_the_cookie (0.01s) === RUN TestLogin === RUN TestLogin/TestInteractiveLogin -2024-12-01 20:38:55 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestLogin/TestLegacyInteractiveLogin -2024-12-01 20:38:55 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:00 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 @@ -2179,23 +2215,23 @@ === RUN TestLogin/TestLoginRedirect === RUN TestLogin/TestLoginRedirectNotTrusted === RUN TestLogin/TestNonInteractiveLogin ---- PASS: TestLogin (1.18s) - --- PASS: TestLogin/TestInteractiveLogin (0.08s) - --- PASS: TestLogin/TestLegacyInteractiveLogin (0.11s) - --- PASS: TestLogin/TestLegacyLoginFailure (0.08s) - --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.13s) - --- PASS: TestLogin/TestLoginEmail (0.06s) - --- PASS: TestLogin/TestLoginEmailSubmitMatch (0.05s) - --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.04s) - --- PASS: TestLogin/TestLoginFailure (0.08s) - --- PASS: TestLogin/TestLoginIDPChoice (0.05s) - --- PASS: TestLogin/TestLoginIDPChoiceHidden (0.07s) - --- PASS: TestLogin/TestLoginMethodsIncludesAgent (0.07s) - --- PASS: TestLogin/TestLoginRedirect (0.08s) - --- PASS: TestLogin/TestLoginRedirectNotTrusted (0.10s) - --- PASS: TestLogin/TestNonInteractiveLogin (0.15s) +--- PASS: TestLogin (0.34s) + --- PASS: TestLogin/TestInteractiveLogin (0.03s) + --- PASS: TestLogin/TestLegacyInteractiveLogin (0.03s) + --- PASS: TestLogin/TestLegacyLoginFailure (0.03s) + --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.03s) + --- PASS: TestLogin/TestLoginEmail (0.01s) + --- PASS: TestLogin/TestLoginEmailSubmitMatch (0.02s) + --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.03s) + --- PASS: TestLogin/TestLoginFailure (0.03s) + --- PASS: TestLogin/TestLoginIDPChoice (0.02s) + --- PASS: TestLogin/TestLoginIDPChoiceHidden (0.01s) + --- PASS: TestLogin/TestLoginMethodsIncludesAgent (0.01s) + --- PASS: TestLogin/TestLoginRedirect (0.02s) + --- PASS: TestLogin/TestLoginRedirectNotTrusted (0.01s) + --- PASS: TestLogin/TestNonInteractiveLogin (0.03s) PASS -ok github.com/canonical/candid/internal/discharger 5.089s +ok github.com/canonical/candid/internal/discharger 1.361s === RUN TestStore === RUN TestStore/TestExpiredEntry === RUN TestStore/TestGetCanceled @@ -2206,18 +2242,18 @@ === RUN TestStore/TestPutCanceled === RUN TestStore/TestPutDeadlineExceeded === RUN TestStore/TestRoundTrip ---- PASS: TestStore (0.03s) - --- PASS: TestStore/TestExpiredEntry (0.01s) +--- PASS: TestStore (0.00s) + --- PASS: TestStore/TestExpiredEntry (0.00s) --- PASS: TestStore/TestGetCanceled (0.00s) --- PASS: TestStore/TestGetDeadlineExceeded (0.00s) --- PASS: TestStore/TestGetInvalidJSON (0.00s) --- PASS: TestStore/TestGetNotFound (0.00s) --- PASS: TestStore/TestIdentityNotInStore (0.00s) --- PASS: TestStore/TestPutCanceled (0.00s) - --- PASS: TestStore/TestPutDeadlineExceeded (0.01s) + --- PASS: TestStore/TestPutDeadlineExceeded (0.00s) --- PASS: TestStore/TestRoundTrip (0.00s) PASS -ok github.com/canonical/candid/internal/discharger/internal 0.152s +ok github.com/canonical/candid/internal/discharger/internal 0.100s === RUN TestHandleErrors === RUN TestHandleErrors/not_found http.go:99: JSON call, url "/error/" @@ -2229,24 +2265,24 @@ http.go:99: JSON call, url "/error/" === RUN TestHandleErrors/service_unavailable http.go:99: JSON call, url "/error/" ---- PASS: TestHandleErrors (0.05s) - --- PASS: TestHandleErrors/not_found (0.01s) - --- PASS: TestHandleErrors/forbidden (0.00s) +--- PASS: TestHandleErrors (0.02s) + --- PASS: TestHandleErrors/not_found (0.00s) + --- PASS: TestHandleErrors/forbidden (0.01s) --- PASS: TestHandleErrors/bad_request (0.00s) - --- PASS: TestHandleErrors/unauthorized (0.01s) - --- PASS: TestHandleErrors/service_unavailable (0.01s) + --- PASS: TestHandleErrors/unauthorized (0.00s) + --- PASS: TestHandleErrors/service_unavailable (0.00s) === RUN TestHandleErrorsInternalServerError http.go:99: JSON call, url "/error/" logging.go:37: ERROR candid.internal.identity Internal Server Error: bad wolf ([{/build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/json_test.go:57: bad wolf}]) logging.go:37: DEBUG candid.internal.identity API error response: 500 (Internal Server Error) bad wolf ---- PASS: TestHandleErrorsInternalServerError (0.02s) +--- PASS: TestHandleErrorsInternalServerError (0.00s) === RUN TestHandleErrorsSuccess http.go:99: JSON call, url "/valid/" ---- PASS: TestHandleErrorsSuccess (0.01s) +--- PASS: TestHandleErrorsSuccess (0.00s) === RUN TestHandleJSON http.go:99: JSON call, url "/bad-request/" http.go:99: JSON call, url "/valid/" ---- PASS: TestHandleJSON (0.02s) +--- PASS: TestHandleJSON (0.00s) === RUN TestServer === RUN TestServer/TestNewServerWithNoVersions === RUN TestServer/TestNewServerWithVersions @@ -2260,51 +2296,51 @@ === RUN TestServer/TestServerPanicRecovery http.go:99: JSON call, url "/a" logging.go:37: ERROR candid.internal.identity PANIC!: test panic - goroutine 166 [running]: + goroutine 224 [running]: runtime/debug.Stack() /usr/lib/go-1.23/src/runtime/debug/stack.go:26 +0x78 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 +0x4c panic({0x7a7358, 0x963700}) /usr/lib/go-1.23/src/runtime/panic.go:785 +0xfc - github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0x9680e4, 0x2717ea8}, 0x252ea58, {0x0, 0x0, 0x0}) + github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0x9680e4, 0x16ab548}, 0x1753818, {0x0, 0x0, 0x0}) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/server_test.go:182 +0x24 - github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0x277a090, {0x9680e4, 0x2717ea8}, 0x252ea58) + github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0x181a510, {0x9680e4, 0x16ab548}, 0x1753818) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/julienschmidt/httprouter/router.go:387 +0x91c - github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0x271fd70, {0x9680e4, 0x2717ea8}, 0x252ea58) + github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0x1804c60, {0x9680e4, 0x16ab548}, 0x1753818) /build/reproducible-path/golang-github-canonical-candid-1.12.3/_build/src/github.com/canonical/candid/internal/identity/server.go:196 +0x2cc - net/http.serverHandler.ServeHTTP({0x2717e08}, {0x9680e4, 0x2717ea8}, 0x252ea58) + net/http.serverHandler.ServeHTTP({0x1808c88}, {0x9680e4, 0x16ab548}, 0x1753818) /usr/lib/go-1.23/src/net/http/server.go:3210 +0xe0 - net/http.(*conn).serve(0x25324e0, {0x968dac, 0x2548c00}) + net/http.(*conn).serve(0x1733380, {0x968dac, 0x180ebe8}) /usr/lib/go-1.23/src/net/http/server.go:2092 +0x604 - created by net/http.(*Server).Serve in goroutine 233 + created by net/http.(*Server).Serve in goroutine 221 /usr/lib/go-1.23/src/net/http/server.go:3360 +0x430 logging.go:37: DEBUG candid.internal.identity Closing Server === RUN TestServer/TestServerStaticFiles ---- PASS: TestServer (0.28s) +--- PASS: TestServer (0.07s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) - --- PASS: TestServer/TestNewServerWithVersions (0.06s) + --- PASS: TestServer/TestNewServerWithVersions (0.03s) --- PASS: TestServer/TestServerHasAccessControlAllowHeaders (0.01s) --- PASS: TestServer/TestServerPanicRecovery (0.01s) - --- PASS: TestServer/TestServerStaticFiles (0.18s) + --- PASS: TestServer/TestServerStaticFiles (0.03s) PASS -ok github.com/canonical/candid/internal/identity 0.490s +ok github.com/canonical/candid/internal/identity 0.134s === RUN TestGravatarHash --- PASS: TestGravatarHash (0.00s) === RUN TestUsersAPI === RUN TestUsersAPI/TestCreateAgent -2024-12-01 20:39:08 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:06 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateAgentAsAgent -2024-12-01 20:39:08 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}]) +2024-12-01 20:46:06 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-12-01 20:39:08 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}]) +2024-12-01 20:46:06 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-12-01 20:39:09 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:06 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgent === RUN TestUsersAPI/TestCreateParentAgentNotInGroups -2024-12-01 20:39:09 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:06 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgentUnauthorized -2024-12-01 20:39:09 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2024-12-01 20:46:06 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestDischargeToken === RUN TestUsersAPI/TestExtraInfo === RUN TestUsersAPI/TestExtraInfoNotFound @@ -2337,9 +2373,9 @@ === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(found) === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(not_found) === RUN TestUsersAPI/TestQueryUsersBadLastDischarge -2024-12-01 20:39:11 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"}]) +2024-12-01 20:46:06 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-12-01 20:39:11 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"}]) +2024-12-01 20:46:06 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 @@ -2358,106 +2394,106 @@ === RUN TestUsersAPI/TestVerifyUserToken === RUN TestUsersAPI/TestWhoAmIWithAuthenticatedUser === RUN TestUsersAPI/TestWhoAmIWithNoUser ---- PASS: TestUsersAPI (5.83s) - --- PASS: TestUsersAPI/TestCreateAgent (0.32s) - --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.12s) - --- PASS: TestUsersAPI/TestCreateAgentAsParentAgent (0.28s) - --- PASS: TestUsersAPI/TestCreateAgentWithGroups (0.35s) - --- PASS: TestUsersAPI/TestCreateParentAgent (0.20s) - --- PASS: TestUsersAPI/TestCreateParentAgentNotInGroups (0.14s) - --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.15s) - --- PASS: TestUsersAPI/TestDischargeToken (0.20s) - --- PASS: TestUsersAPI/TestExtraInfo (0.23s) - --- PASS: TestUsersAPI/TestExtraInfoNotFound (0.22s) - --- PASS: TestUsersAPI/TestGetUserIDGroups (0.22s) - --- PASS: TestUsersAPI/TestGetUserIDGroups/no_groups (0.12s) - --- PASS: TestUsersAPI/TestGetUserIDGroups/groups (0.01s) - --- PASS: TestUsersAPI/TestGetUserIDGroups/no_such_user (0.02s) - --- PASS: TestUsersAPI/TestGetUserWithID (0.20s) - --- PASS: TestUsersAPI/TestGetUserWithID/no_groups (0.11s) - --- PASS: TestUsersAPI/TestGetUserWithID/groups (0.01s) +--- PASS: TestUsersAPI (1.46s) + --- PASS: TestUsersAPI/TestCreateAgent (0.06s) + --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.02s) + --- PASS: TestUsersAPI/TestCreateAgentAsParentAgent (0.10s) + --- PASS: TestUsersAPI/TestCreateAgentWithGroups (0.06s) + --- PASS: TestUsersAPI/TestCreateParentAgent (0.08s) + --- PASS: TestUsersAPI/TestCreateParentAgentNotInGroups (0.04s) + --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.03s) + --- PASS: TestUsersAPI/TestDischargeToken (0.03s) + --- PASS: TestUsersAPI/TestExtraInfo (0.06s) + --- PASS: TestUsersAPI/TestExtraInfoNotFound (0.04s) + --- PASS: TestUsersAPI/TestGetUserIDGroups (0.05s) + --- PASS: TestUsersAPI/TestGetUserIDGroups/no_groups (0.03s) + --- PASS: TestUsersAPI/TestGetUserIDGroups/groups (0.00s) + --- PASS: TestUsersAPI/TestGetUserIDGroups/no_such_user (0.00s) + --- PASS: TestUsersAPI/TestGetUserWithID (0.04s) + --- PASS: TestUsersAPI/TestGetUserWithID/no_groups (0.02s) + --- PASS: TestUsersAPI/TestGetUserWithID/groups (0.00s) --- PASS: TestUsersAPI/TestGetUserWithID/no_such_user (0.01s) - --- PASS: TestUsersAPI/TestModifyUserGroups (0.24s) - --- PASS: TestUsersAPI/TestModifyUserGroups/add_groups (0.09s) + --- PASS: TestUsersAPI/TestModifyUserGroups (0.07s) + --- PASS: TestUsersAPI/TestModifyUserGroups/add_groups (0.04s) --- PASS: TestUsersAPI/TestModifyUserGroups/remove_groups (0.01s) - --- PASS: TestUsersAPI/TestModifyUserGroups/add_and_remove_groups (0.02s) - --- PASS: TestUsersAPI/TestModifyUserGroups/remove_groups_not_a_member_of (0.03s) - --- PASS: TestUsersAPI/TestModifyUserGroups/user_not_found (0.01s) - --- PASS: TestUsersAPI/TestQueryAgentUsers (0.16s) - --- PASS: TestUsersAPI/TestQueryAgentUsersOwnerNotFound (0.16s) - --- PASS: TestUsersAPI/TestQueryUsers (0.21s) - --- PASS: TestUsersAPI/TestQueryUsers/query_existing_user (0.10s) + --- 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.05s) + --- PASS: TestUsersAPI/TestQueryAgentUsersOwnerNotFound (0.03s) + --- PASS: TestUsersAPI/TestQueryUsers (0.05s) + --- PASS: TestUsersAPI/TestQueryUsers/query_existing_user (0.02s) --- PASS: TestUsersAPI/TestQueryUsers/query_non-existing_user (0.00s) - --- PASS: TestUsersAPI/TestQueryUsers/no_query_parameter (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/query_email (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/query_email_not_found (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/last_login_in_range (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/last_login_too_soon (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/last_discharge_in_range (0.01s) - --- PASS: TestUsersAPI/TestQueryUsers/last_discharge_too_soon (0.01s) + --- PASS: TestUsersAPI/TestQueryUsers/no_query_parameter (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/query_email (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/query_email_not_found (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/last_login_in_range (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/last_login_too_soon (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/last_discharge_in_range (0.00s) + --- PASS: TestUsersAPI/TestQueryUsers/last_discharge_too_soon (0.00s) --- PASS: TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(found) (0.00s) --- PASS: TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(not_found) (0.00s) - --- PASS: TestUsersAPI/TestQueryUsersBadLastDischarge (0.17s) - --- PASS: TestUsersAPI/TestQueryUsersBadLastLogin (0.14s) - --- PASS: TestUsersAPI/TestQueryUsersUnauthorized (0.11s) - --- PASS: TestUsersAPI/TestRemoveUserMFACredentials (0.19s) - --- PASS: TestUsersAPI/TestRoundTripUser (0.10s) - --- PASS: TestUsersAPI/TestSSHKeys (0.28s) - --- PASS: TestUsersAPI/TestSetUserGroups (0.25s) - --- PASS: TestUsersAPI/TestUserErrors (0.22s) - --- PASS: TestUsersAPI/TestUserErrors/not_found (0.15s) + --- PASS: TestUsersAPI/TestQueryUsersBadLastDischarge (0.06s) + --- PASS: TestUsersAPI/TestQueryUsersBadLastLogin (0.02s) + --- PASS: TestUsersAPI/TestQueryUsersUnauthorized (0.03s) + --- PASS: TestUsersAPI/TestRemoveUserMFACredentials (0.05s) + --- PASS: TestUsersAPI/TestRoundTripUser (0.04s) + --- PASS: TestUsersAPI/TestSSHKeys (0.06s) + --- PASS: TestUsersAPI/TestSetUserGroups (0.03s) + --- PASS: TestUsersAPI/TestUserErrors (0.04s) + --- PASS: TestUsersAPI/TestUserErrors/not_found (0.03s) --- PASS: TestUsersAPI/TestUserErrors/bad_username (0.00s) - --- PASS: TestUsersAPI/TestUserGroups (0.20s) - --- PASS: TestUsersAPI/TestUserGroups/no_groups (0.11s) - --- PASS: TestUsersAPI/TestUserGroups/groups (0.01s) - --- PASS: TestUsersAPI/TestUserGroups/no_such_user (0.01s) - --- PASS: TestUsersAPI/TestUserIDPGroups (0.17s) - --- PASS: TestUsersAPI/TestUserTokenNotFound (0.13s) - --- PASS: TestUsersAPI/TestUsernameContainingUnderscore (0.17s) - --- PASS: TestUsersAPI/TestVerifyUserToken (0.17s) - --- PASS: TestUsersAPI/TestWhoAmIWithAuthenticatedUser (0.07s) - --- PASS: TestUsersAPI/TestWhoAmIWithNoUser (0.04s) + --- PASS: TestUsersAPI/TestUserGroups (0.04s) + --- PASS: TestUsersAPI/TestUserGroups/no_groups (0.03s) + --- PASS: TestUsersAPI/TestUserGroups/groups (0.00s) + --- PASS: TestUsersAPI/TestUserGroups/no_such_user (0.00s) + --- PASS: TestUsersAPI/TestUserIDPGroups (0.02s) + --- PASS: TestUsersAPI/TestUserTokenNotFound (0.05s) + --- PASS: TestUsersAPI/TestUsernameContainingUnderscore (0.05s) + --- PASS: TestUsersAPI/TestVerifyUserToken (0.06s) + --- PASS: TestUsersAPI/TestWhoAmIWithAuthenticatedUser (0.04s) + --- PASS: TestUsersAPI/TestWhoAmIWithNoUser (0.03s) PASS -ok github.com/canonical/candid/internal/v1 6.038s +ok github.com/canonical/candid/internal/v1 1.573s === RUN TestRendezvousWaitBeforeDone ---- PASS: TestRendezvousWaitBeforeDone (0.01s) +--- PASS: TestRendezvousWaitBeforeDone (0.00s) === RUN TestRendezvousDoneBeforeWait --- PASS: TestRendezvousDoneBeforeWait (0.00s) === RUN TestRendezvousDifferentPlaces --- PASS: TestRendezvousDifferentPlaces (0.02s) === RUN TestEntriesRemovedOnClose ---- PASS: TestEntriesRemovedOnClose (0.01s) +--- PASS: TestEntriesRemovedOnClose (0.00s) === RUN TestRunGCNotDying ---- PASS: TestRunGCNotDying (0.01s) +--- PASS: TestRunGCNotDying (0.02s) === RUN TestPartialRemoveOldFailure --- PASS: TestPartialRemoveOldFailure (0.00s) === RUN TestPutFailure --- PASS: TestPutFailure (0.00s) === RUN TestWaitTimeout - meeting_test.go:408: starting wait "0fe081a941c663459642dd7aefe40519" + meeting_test.go:408: starting wait "c9e8a13bc64ed02f8d27ac56aa8ab6c2" 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 meeting_test.go:454: final time 2016-01-01 12:00:05.000000001 +0000 UTC ---- PASS: TestWaitTimeout (0.05s) +--- PASS: TestWaitTimeout (0.04s) === RUN TestRequestCompletedCalled --- PASS: TestRequestCompletedCalled (0.00s) === RUN TestRequestsExpiredCalled ---- PASS: TestRequestsExpiredCalled (0.01s) +--- PASS: TestRequestsExpiredCalled (0.00s) PASS -ok github.com/canonical/candid/meeting 0.216s +ok github.com/canonical/candid/meeting 0.134s === RUN TestUsernameTextUnmarshal === RUN TestUsernameTextUnmarshal/user === RUN TestUsernameTextUnmarshal/admin@idm === RUN TestUsernameTextUnmarshal/agent@admin@idm === RUN TestUsernameTextUnmarshal/toolongusername_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef_ ---- PASS: TestUsernameTextUnmarshal (0.01s) +--- PASS: TestUsernameTextUnmarshal (0.00s) --- PASS: TestUsernameTextUnmarshal/user (0.00s) --- PASS: TestUsernameTextUnmarshal/admin@idm (0.00s) --- PASS: TestUsernameTextUnmarshal/agent@admin@idm (0.00s) --- PASS: TestUsernameTextUnmarshal/toolongusername_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef_ (0.00s) PASS -ok github.com/canonical/candid/params 0.091s +ok github.com/canonical/candid/params 0.024s === RUN TestNotFoundError --- PASS: TestNotFoundError (0.00s) === RUN TestDuplicateUsernameError @@ -2465,9 +2501,7 @@ === RUN TestProviderIdentity --- PASS: TestProviderIdentity (0.00s) PASS -ok github.com/canonical/candid/store 0.116s -? github.com/canonical/candid/store/storetest [no test files] -? github.com/canonical/candid/version [no test files] +ok github.com/canonical/candid/store 0.074s === RUN TestKeyValueStore === RUN TestKeyValueStore/TestGetNotFound === RUN TestKeyValueStore/TestSet @@ -2482,7 +2516,7 @@ === RUN TestKeyValueStore/TestUpdateReturnNilThenUpdatesAsNonNil === RUN TestKeyValueStore/TestUpdateSuccessWithPreexistingKey === RUN TestKeyValueStore/TestUpdateSuccessWithoutPreexistingKey ---- PASS: TestKeyValueStore (0.79s) +--- PASS: TestKeyValueStore (0.64s) --- PASS: TestKeyValueStore/TestGetNotFound (0.00s) --- PASS: TestKeyValueStore/TestSet (0.00s) --- PASS: TestKeyValueStore/TestSetKeyOnce (0.00s) @@ -2490,7 +2524,7 @@ --- PASS: TestKeyValueStore/TestSetNilUpdatesAsNonNil (0.00s) --- PASS: TestKeyValueStore/TestTwoStoresForDifferentIDPsAreIndependent (0.00s) --- PASS: TestKeyValueStore/TestTwoStoresForTheSameIDPCommunicate (0.00s) - --- PASS: TestKeyValueStore/TestUpdateConcurrent (0.78s) + --- PASS: TestKeyValueStore/TestUpdateConcurrent (0.64s) --- PASS: TestKeyValueStore/TestUpdateErrorWithExistingKey (0.00s) --- PASS: TestKeyValueStore/TestUpdateErrorWithNonExistentKey (0.00s) --- PASS: TestKeyValueStore/TestUpdateReturnNilThenUpdatesAsNonNil (0.00s) @@ -2587,48 +2621,48 @@ === RUN TestStore/TestUpdateIdentity/providerID_empty_update === RUN TestStore/TestUpdateNotFoundNoQuery === RUN TestStore/TestUserCredentials ---- PASS: TestStore (0.61s) - --- PASS: TestStore/TestFindIdentities (0.36s) +--- PASS: TestStore (0.13s) + --- PASS: TestStore/TestFindIdentities (0.08s) --- PASS: TestStore/TestIdentity (0.00s) --- PASS: TestStore/TestIdentityCounts (0.00s) --- PASS: TestStore/TestIdentityNotFound (0.00s) - --- PASS: TestStore/TestIdentityNotFoundBadID (0.01s) + --- PASS: TestStore/TestIdentityNotFoundBadID (0.00s) --- PASS: TestStore/TestIdentityNotFoundNoQuery (0.00s) --- PASS: TestStore/TestInsertDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDEmpty (0.00s) - --- PASS: TestStore/TestUpdateIdentity (0.23s) + --- PASS: TestStore/TestUpdateIdentity (0.04s) --- PASS: TestStore/TestUpdateIdentity/new_identity (0.00s) --- PASS: TestStore/TestUpdateIdentity/new_identity_with_existing_username (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_username (0.00s) - --- PASS: TestStore/TestUpdateIdentity/set_username_to_existing_username (0.01s) + --- PASS: TestStore/TestUpdateIdentity/set_username_to_existing_username (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_name (0.00s) - --- PASS: TestStore/TestUpdateIdentity/clear_name (0.01s) + --- PASS: TestStore/TestUpdateIdentity/clear_name (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_email (0.00s) --- PASS: TestStore/TestUpdateIdentity/clear_email (0.00s) - --- PASS: TestStore/TestUpdateIdentity/set_last_discharge (0.01s) + --- PASS: TestStore/TestUpdateIdentity/set_last_discharge (0.00s) --- PASS: TestStore/TestUpdateIdentity/clear_last_discharge (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_last_login (0.00s) --- PASS: TestStore/TestUpdateIdentity/clear_last_login (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_groups (0.00s) - --- PASS: TestStore/TestUpdateIdentity/set_groups_empty (0.01s) + --- PASS: TestStore/TestUpdateIdentity/set_groups_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/clear_groups (0.00s) --- PASS: TestStore/TestUpdateIdentity/push_groups (0.00s) --- PASS: TestStore/TestUpdateIdentity/push_groups_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/pull_groups (0.00s) - --- PASS: TestStore/TestUpdateIdentity/pull_groups_empty (0.01s) - --- PASS: TestStore/TestUpdateIdentity/set_public_keys (0.01s) + --- PASS: TestStore/TestUpdateIdentity/pull_groups_empty (0.00s) + --- PASS: TestStore/TestUpdateIdentity/set_public_keys (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_public_keys_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/clear_public_keys (0.00s) - --- PASS: TestStore/TestUpdateIdentity/push_public_keys (0.03s) + --- PASS: TestStore/TestUpdateIdentity/push_public_keys (0.00s) --- PASS: TestStore/TestUpdateIdentity/push_public_keys_empty (0.00s) - --- PASS: TestStore/TestUpdateIdentity/pull_public_keys (0.01s) - --- PASS: TestStore/TestUpdateIdentity/pull_public_keys_empty (0.03s) - --- PASS: TestStore/TestUpdateIdentity/set_provider_info (0.01s) + --- PASS: TestStore/TestUpdateIdentity/pull_public_keys (0.00s) + --- PASS: TestStore/TestUpdateIdentity/pull_public_keys_empty (0.00s) + --- PASS: TestStore/TestUpdateIdentity/set_provider_info (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_provider_info_empty (0.00s) - --- PASS: TestStore/TestUpdateIdentity/clear_provider_info (0.01s) + --- PASS: TestStore/TestUpdateIdentity/clear_provider_info (0.00s) --- PASS: TestStore/TestUpdateIdentity/push_provider_info (0.00s) - --- PASS: TestStore/TestUpdateIdentity/push_provider_info_empty (0.01s) + --- PASS: TestStore/TestUpdateIdentity/push_provider_info_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/pull_provider_info (0.00s) --- PASS: TestStore/TestUpdateIdentity/pull_provider_info_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_extra_info (0.00s) @@ -2639,7 +2673,7 @@ --- PASS: TestStore/TestUpdateIdentity/pull_extra_info (0.00s) --- PASS: TestStore/TestUpdateIdentity/pull_extra_info_empty (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_owner (0.00s) - --- PASS: TestStore/TestUpdateIdentity/clear_owner (0.01s) + --- PASS: TestStore/TestUpdateIdentity/clear_owner (0.00s) --- PASS: TestStore/TestUpdateIdentity/username_not_found (0.00s) --- PASS: TestStore/TestUpdateIdentity/id_not_found (0.00s) --- PASS: TestStore/TestUpdateIdentity/providerid_not_found (0.00s) @@ -2653,9 +2687,9 @@ === RUN TestMeetingStore/TestPutSameIDTwice === RUN TestMeetingStore/TestRemoveNothingRemoved === RUN TestMeetingStore/TestRemoveOld ---- PASS: TestMeetingStore (0.02s) +--- PASS: TestMeetingStore (0.00s) --- PASS: TestMeetingStore/TestContext (0.00s) - --- PASS: TestMeetingStore/TestPutGetRemove (0.01s) + --- PASS: TestMeetingStore/TestPutGetRemove (0.00s) --- PASS: TestMeetingStore/TestPutSameIDTwice (0.00s) --- PASS: TestMeetingStore/TestRemoveNothingRemoved (0.00s) --- PASS: TestMeetingStore/TestRemoveOld (0.00s) @@ -2664,13 +2698,15 @@ === RUN TestConfigUnmarshal --- PASS: TestConfigUnmarshal (0.00s) PASS -ok github.com/canonical/candid/store/memstore 1.581s +ok github.com/canonical/candid/store/memstore 0.808s testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/mgostore 0.094s [no tests to run] +ok github.com/canonical/candid/store/mgostore 0.056s [no tests to run] +? github.com/canonical/candid/store/storetest [no test files] +? github.com/canonical/candid/version [no test files] testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/sqlstore 0.088s [no tests to run] +ok github.com/canonical/candid/store/sqlstore 0.020s [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 @@ -2697,12 +2733,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/3304/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3304/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/322 and its subdirectories -I: Current time: Sun Dec 1 08:40:54 -12 2024 -I: pbuilder-time-stamp: 1733085654 +I: removing directory /srv/workspace/pbuilder/3304 and its subdirectories +I: Current time: Mon Dec 2 10:46:39 +14 2024 +I: pbuilder-time-stamp: 1733085999