Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 10:16:50.714424970 +0000 +++ b2/build.log 2023-04-23 10:13:13.144062133 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 04:36:17 -12 2024 -I: pbuilder-time-stamp: 1716654977 +I: Current time: Mon Apr 24 00:08:27 +14 2023 +I: pbuilder-time-stamp: 1682244507 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-canonical-candid_1.12.2.orig.tar.gz] I: copying [./golang-github-canonical-candid_1.12.2-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Dec 17 05:20:58 2022 -12 +gpgv: Signature made Sun Dec 18 07:20:58 2022 +14 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "gibmat@debian.org" gpgv: Can't check signature: No public key @@ -33,52 +33,84 @@ dpkg-source: info: applying 011-fix-mgo-import.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23661/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15511/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 24 00:08 /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/15511/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15511/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='23661' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=15511 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.fOWRcBUe/pbuilderrc_PORG --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fOWRcBUe/b1 --logfile b1/build.log golang-github-canonical-candid_1.12.2-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fOWRcBUe/pbuilderrc_lNoL --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fOWRcBUe/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-canonical-candid_1.12.2-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 22 04:50 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23661/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/15511/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -407,7 +439,7 @@ Get: 205 http://deb.debian.org/debian bookworm/main arm64 golang-github-mhilton-openid-dev all 0.0~git20181012.aeae87e-2 [6796 B] Get: 206 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-goose.v1-dev all 0.0~git20170406.3228e4f-4 [97.8 kB] Get: 207 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-natefinch-lumberjack.v2-dev all 2.1-2 [13.1 kB] -Fetched 134 MB in 3s (52.8 MB/s) +Fetched 134 MB in 3s (43.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -1249,8 +1281,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-canonical-candid-1.12.2/ && 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.2-1_source.changes +I: user script /srv/workspace/pbuilder/15511/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/15511/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-canonical-candid-1.12.2/ && 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.2-1_source.changes dpkg-buildpackage: info: source package golang-github-canonical-candid dpkg-buildpackage: info: source version 1.12.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1276,26 +1317,26 @@ === RUN TestServer/TestNewServerWithVersions http.go:99: JSON call, url "/debug/info" === RUN TestServer/TestVersions ---- PASS: TestServer (0.01s) +--- PASS: TestServer (0.04s) --- PASS: TestServer/TestNewServerRemovesAgentIDP (0.01s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) --- PASS: TestServer/TestNewServerWithUnregisteredVersion (0.00s) - --- PASS: TestServer/TestNewServerWithVersions (0.01s) + --- PASS: TestServer/TestNewServerWithVersions (0.03s) --- PASS: TestServer/TestVersions (0.00s) PASS -ok github.com/canonical/candid 0.072s +ok github.com/canonical/candid 0.150s === RUN TestIdentityClient ---- PASS: TestIdentityClient (0.05s) +--- PASS: TestIdentityClient (0.18s) === RUN TestIdentityClientWithDomainStrip --- PASS: TestIdentityClientWithDomainStrip (0.10s) === RUN TestIdentityClientWithDomainStripNoDomains --- PASS: TestIdentityClientWithDomainStripNoDomains (0.13s) === RUN TestPermChecker ---- PASS: TestPermChecker (0.08s) +--- PASS: TestPermChecker (0.10s) === RUN TestGroupCache ---- PASS: TestGroupCache (0.07s) +--- PASS: TestGroupCache (0.04s) PASS -ok github.com/canonical/candid/candidclient 0.497s +ok github.com/canonical/candid/candidclient 0.658s === RUN TestRedirectURL --- PASS: TestRedirectURL (0.00s) === RUN TestInteractor @@ -1303,7 +1344,7 @@ === RUN TestParseLoginResult --- PASS: TestParseLoginResult (0.00s) PASS -ok github.com/canonical/candid/candidclient/redirect 0.070s +ok github.com/canonical/candid/candidclient/redirect 0.081s === RUN TestClient === RUN TestClient/TestAcquireDischarge === RUN TestClient/TestAcquireDischargeError @@ -1316,11 +1357,11 @@ === RUN TestClient/TestVisitorMethodNotSupported --- PASS: TestClient (0.03s) --- PASS: TestClient/TestAcquireDischarge (0.00s) - --- PASS: TestClient/TestAcquireDischargeError (0.01s) + --- PASS: TestClient/TestAcquireDischargeError (0.00s) --- PASS: TestClient/TestDischargeAll (0.00s) - --- PASS: TestClient/TestDischargeAllError (0.00s) + --- PASS: TestClient/TestDischargeAllError (0.01s) --- PASS: TestClient/TestMacaroon (0.00s) - --- PASS: TestClient/TestMacaroonError (0.00s) + --- PASS: TestClient/TestMacaroonError (0.01s) --- PASS: TestClient/TestVisitor (0.01s) --- PASS: TestClient/TestVisitorFunctionError (0.00s) --- PASS: TestClient/TestVisitorMethodNotSupported (0.00s) @@ -1337,9 +1378,9 @@ === RUN TestPutGetToken --- PASS: TestPutGetToken (0.00s) === RUN TestReadInvalidToken ---- PASS: TestReadInvalidToken (0.01s) +--- PASS: TestReadInvalidToken (0.00s) === RUN TestTokenInStore ---- PASS: TestTokenInStore (0.00s) +--- PASS: TestTokenInStore (0.01s) === RUN TestTokenNotInStore --- PASS: TestTokenNotInStore (0.00s) === RUN TestCorrectUserPasswordSentToUSSOServer @@ -1357,19 +1398,19 @@ === RUN TestAuthenticatedRequest --- PASS: TestAuthenticatedRequest (0.01s) === RUN TestAuthenticatedRequestError ---- PASS: TestAuthenticatedRequestError (0.00s) +--- PASS: TestAuthenticatedRequestError (0.01s) PASS -ok github.com/canonical/candid/candidclient/ussologin 0.125s +ok github.com/canonical/candid/candidclient/ussologin 0.093s === RUN TestDischarge ---- PASS: TestDischarge (0.07s) +--- PASS: TestDischarge (0.15s) === RUN TestDischargeDefaultUser ---- PASS: TestDischargeDefaultUser (0.06s) +--- PASS: TestDischargeDefaultUser (0.11s) === RUN TestGroups ---- PASS: TestGroups (0.12s) +--- PASS: TestGroups (0.15s) === RUN TestAddUserWithExistingGroups ---- PASS: TestAddUserWithExistingGroups (0.04s) +--- PASS: TestAddUserWithExistingGroups (0.10s) PASS -ok github.com/canonical/candid/candidtest 0.392s +ok github.com/canonical/candid/candidtest 0.650s ? github.com/canonical/candid/cmd/candid [no test files] === RUN TestACL === RUN TestACL/TestACLGrant @@ -1382,17 +1423,17 @@ === RUN TestACL/TestACLShowInvalid === RUN TestACL/TestACLShowNoACL === RUN TestACL/TestACLShowTwoACLs ---- PASS: TestACL (0.31s) - --- PASS: TestACL/TestACLGrant (0.04s) - --- PASS: TestACL/TestACLGrantInvalid (0.06s) - --- PASS: TestACL/TestACLGrantNoArguments (0.01s) - --- PASS: TestACL/TestACLRevoke (0.03s) - --- PASS: TestACL/TestACLRevokeInvalid (0.03s) - --- PASS: TestACL/TestACLRevokeNoArguments (0.00s) - --- PASS: TestACL/TestACLShow (0.04s) - --- PASS: TestACL/TestACLShowInvalid (0.05s) +--- PASS: TestACL (0.76s) + --- PASS: TestACL/TestACLGrant (0.08s) + --- PASS: TestACL/TestACLGrantInvalid (0.12s) + --- PASS: TestACL/TestACLGrantNoArguments (0.05s) + --- PASS: TestACL/TestACLRevoke (0.12s) + --- PASS: TestACL/TestACLRevokeInvalid (0.08s) + --- PASS: TestACL/TestACLRevokeNoArguments (0.02s) + --- PASS: TestACL/TestACLShow (0.10s) + --- PASS: TestACL/TestACLShowInvalid (0.09s) --- PASS: TestACL/TestACLShowNoACL (0.03s) - --- PASS: TestACL/TestACLShowTwoACLs (0.03s) + --- PASS: TestACL/TestACLShowTwoACLs (0.04s) === RUN TestAddGroup === RUN TestAddGroup/TestAddGroup === RUN TestAddGroup/TestAddGroupForEmail @@ -1400,19 +1441,19 @@ === RUN TestAddGroup/TestAddGroupForEmailNotFound === RUN TestAddGroup/TestAddGroupNoUser === RUN TestAddGroup/TestAddGroupUserAndEmail ---- PASS: TestAddGroup (0.20s) - --- PASS: TestAddGroup/TestAddGroup (0.04s) - --- PASS: TestAddGroup/TestAddGroupForEmail (0.04s) - --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.05s) - --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.04s) - --- PASS: TestAddGroup/TestAddGroupNoUser (0.01s) - --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.00s) +--- PASS: TestAddGroup (0.31s) + --- PASS: TestAddGroup/TestAddGroup (0.05s) + --- PASS: TestAddGroup/TestAddGroupForEmail (0.07s) + --- PASS: TestAddGroup/TestAddGroupForEmailMultipleUsers (0.09s) + --- PASS: TestAddGroup/TestAddGroupForEmailNotFound (0.05s) + --- PASS: TestAddGroup/TestAddGroupNoUser (0.02s) + --- PASS: TestAddGroup/TestAddGroupUserAndEmail (0.02s) === RUN TestClearMFACredentials === RUN TestClearMFACredentials/TestClearMFACredentials ---- PASS: TestClearMFACredentials (0.05s) - --- PASS: TestClearMFACredentials/TestClearMFACredentials (0.05s) +--- PASS: TestClearMFACredentials (0.08s) + --- PASS: TestClearMFACredentials/TestClearMFACredentials (0.08s) === RUN TestLoadCACerts ---- PASS: TestLoadCACerts (0.06s) +--- PASS: TestLoadCACerts (0.13s) === RUN TestCreateAgent === RUN TestCreateAgent/TestCreateAgentWithAdminFlag === RUN TestCreateAgent/TestCreateAgentWithExistingAgentsFile @@ -1423,13 +1464,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.28s) - --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.02s) - --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.04s) - --- PASS: TestCreateAgent/TestCreateAgentWithGeneratedKeyAndAgentFileNotSpecified (0.05s) - --- PASS: TestCreateAgent/TestCreateAgentWithNonExistentAgentsFileSpecified (0.08s) - --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.07s) - --- PASS: TestCreateAgent/TestUsage (0.02s) +--- PASS: TestCreateAgent (0.40s) + --- PASS: TestCreateAgent/TestCreateAgentWithAdminFlag (0.01s) + --- PASS: TestCreateAgent/TestCreateAgentWithExistingAgentsFile (0.10s) + --- PASS: TestCreateAgent/TestCreateAgentWithGeneratedKeyAndAgentFileNotSpecified (0.08s) + --- PASS: TestCreateAgent/TestCreateAgentWithNonExistentAgentsFileSpecified (0.04s) + --- PASS: TestCreateAgent/TestCreateAgentWithParentFlag (0.05s) + --- PASS: TestCreateAgent/TestUsage (0.08s) === RUN TestFind === RUN TestFind/TestFindEmail === RUN TestFind/TestFindEmailNotFound @@ -1438,24 +1479,24 @@ === RUN TestFind/TestFindNoParameters === RUN TestFind/TestFindWithEmail === RUN TestFind/TestFindWithEmailAndGravatar ---- PASS: TestFind (0.35s) - --- PASS: TestFind/TestFindEmail (0.03s) - --- PASS: TestFind/TestFindEmailNotFound (0.06s) - --- PASS: TestFind/TestFindLastDischargeTime (0.05s) - --- PASS: TestFind/TestFindLastLoginTime (0.05s) - --- PASS: TestFind/TestFindNoParameters (0.02s) - --- PASS: TestFind/TestFindWithEmail (0.07s) - --- PASS: TestFind/TestFindWithEmailAndGravatar (0.08s) +--- PASS: TestFind (0.60s) + --- PASS: TestFind/TestFindEmail (0.09s) + --- PASS: TestFind/TestFindEmailNotFound (0.09s) + --- PASS: TestFind/TestFindLastDischargeTime (0.07s) + --- PASS: TestFind/TestFindLastLoginTime (0.09s) + --- PASS: TestFind/TestFindNoParameters (0.08s) + --- PASS: TestFind/TestFindWithEmail (0.08s) + --- PASS: TestFind/TestFindWithEmailAndGravatar (0.09s) === RUN TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroup === RUN TestRemoveGroup/TestRemoveGroupForEmail === RUN TestRemoveGroup/TestRemoveGroupForEmailNotFound === RUN TestRemoveGroup/TestRemoveGroupNoUser ---- PASS: TestRemoveGroup (0.19s) - --- PASS: TestRemoveGroup/TestRemoveGroup (0.06s) +--- PASS: TestRemoveGroup (0.22s) + --- PASS: TestRemoveGroup/TestRemoveGroup (0.08s) --- PASS: TestRemoveGroup/TestRemoveGroupForEmail (0.06s) --- PASS: TestRemoveGroup/TestRemoveGroupForEmailNotFound (0.05s) - --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.03s) + --- PASS: TestRemoveGroup/TestRemoveGroupNoUser (0.00s) === RUN TestShow === RUN TestShow/TestShowAgentUser === RUN TestShow/TestShowEmail @@ -1466,18 +1507,18 @@ === RUN TestShow/TestShowUserJSON === RUN TestShow/TestShowUserWithAgentEnv === RUN TestShow/TestShowZeroValues ---- PASS: TestShow (0.46s) - --- PASS: TestShow/TestShowAgentUser (0.06s) - --- PASS: TestShow/TestShowEmail (0.06s) - --- PASS: TestShow/TestShowEmailNotFound (0.08s) - --- PASS: TestShow/TestShowNoParameters (0.01s) - --- PASS: TestShow/TestShowUser (0.06s) - --- PASS: TestShow/TestShowUserError (0.08s) - --- PASS: TestShow/TestShowUserJSON (0.04s) - --- PASS: TestShow/TestShowUserWithAgentEnv (0.05s) - --- PASS: TestShow/TestShowZeroValues (0.03s) +--- PASS: TestShow (0.67s) + --- PASS: TestShow/TestShowAgentUser (0.12s) + --- PASS: TestShow/TestShowEmail (0.11s) + --- PASS: TestShow/TestShowEmailNotFound (0.06s) + --- PASS: TestShow/TestShowNoParameters (0.03s) + --- PASS: TestShow/TestShowUser (0.09s) + --- PASS: TestShow/TestShowUserError (0.03s) + --- PASS: TestShow/TestShowUserJSON (0.06s) + --- PASS: TestShow/TestShowUserWithAgentEnv (0.11s) + --- PASS: TestShow/TestShowZeroValues (0.07s) PASS -ok github.com/canonical/candid/cmd/candid/internal/admincmd 1.986s +ok github.com/canonical/candid/cmd/candid/internal/admincmd 3.377s ? github.com/canonical/candid/cmd/candidsrv [no test files] ? github.com/canonical/candid/cmd/migrate-db [no test files] === RUN TestSplitStoreSpecification @@ -1486,7 +1527,7 @@ migrate_test.go:51: 2. mgo migrate_test.go:51: 3. :something migrate_test.go:51: 4. ---- PASS: TestSplitStoreSpecification (0.00s) +--- PASS: TestSplitStoreSpecification (0.01s) === RUN TestStoreSource --- PASS: TestStoreSource (0.00s) === RUN TestStoreSourceEmpty @@ -1498,13 +1539,13 @@ === RUN TestCopySrcError --- PASS: TestCopySrcError (0.00s) === RUN TestCopyDstError -2024/05/25 04:38:52 error checking destination store: test error +2023/04/24 00:11:51 error checking destination store: test error --- PASS: TestCopyDstError (0.00s) PASS -ok github.com/canonical/candid/cmd/migrate-db/internal 0.071s +ok github.com/canonical/candid/cmd/migrate-db/internal 0.097s ? github.com/canonical/candid/cmd/migrate-db/internal/mongodoc [no test files] === RUN TestRead ---- PASS: TestRead (0.00s) +--- PASS: TestRead (0.02s) === RUN TestReadErrorNotFound --- PASS: TestReadErrorNotFound (0.00s) === RUN TestReadErrorEmpty @@ -1514,7 +1555,7 @@ === RUN TestUnrecognisedIDP --- PASS: TestUnrecognisedIDP (0.00s) PASS -ok github.com/canonical/candid/config 0.066s +ok github.com/canonical/candid/config 0.119s ? github.com/canonical/candid/idp [no test files] === RUN TestConfig === RUN TestConfig/good_config @@ -1527,7 +1568,7 @@ --- PASS: TestConfig/no_client-secret (0.00s) --- PASS: TestConfig/no_issuer (0.00s) PASS -ok github.com/canonical/candid/idp/adfs 0.061s +ok github.com/canonical/candid/idp/adfs 0.130s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestName @@ -1541,21 +1582,21 @@ === RUN TestHidden --- PASS: TestHidden (0.00s) === RUN TestURL ---- PASS: TestURL (0.02s) +--- PASS: TestURL (0.00s) === RUN TestInitProducesError --- PASS: TestInitProducesError (0.00s) PASS -ok github.com/canonical/candid/idp/agent 0.098s +ok github.com/canonical/candid/idp/agent 0.058s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id === RUN TestConfig/no_client-secret ---- PASS: TestConfig (0.00s) +--- PASS: TestConfig (0.02s) --- PASS: TestConfig/good_config (0.00s) - --- PASS: TestConfig/no_client-id (0.00s) + --- PASS: TestConfig/no_client-id (0.02s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/azure 0.107s +ok github.com/canonical/candid/idp/azure 0.054s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/no_client-id @@ -1565,7 +1606,7 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_client-secret (0.00s) PASS -ok github.com/canonical/candid/idp/google 0.072s +ok github.com/canonical/candid/idp/google 0.102s ? 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] @@ -1580,11 +1621,11 @@ === RUN TestDecodeBufferTooShort --- PASS: TestDecodeBufferTooShort (0.00s) === RUN TestDecodeUnmarshalError ---- PASS: TestDecodeUnmarshalError (0.01s) +--- PASS: TestDecodeUnmarshalError (0.00s) === RUN TestEncodeMarshalError --- PASS: TestEncodeMarshalError (0.00s) === RUN TestCookieRoundTrip ---- PASS: TestCookieRoundTrip (0.00s) +--- PASS: TestCookieRoundTrip (0.01s) === RUN TestCookieNoCookie --- PASS: TestCookieNoCookie (0.00s) === RUN TestCookieDecodeError @@ -1592,7 +1633,7 @@ === RUN TestCookieValidationError --- PASS: TestCookieValidationError (0.00s) PASS -ok github.com/canonical/candid/idp/idputil/secret 0.060s +ok github.com/canonical/candid/idp/idputil/secret 0.036s === RUN TestConfig === RUN TestConfig/good_config === RUN TestConfig/another_good_config @@ -1604,30 +1645,30 @@ --- PASS: TestConfig/no_client-id (0.00s) --- PASS: TestConfig/no_keycloak-realm (0.00s) PASS -ok github.com/canonical/candid/idp/keycloak 0.109s +ok github.com/canonical/candid/idp/keycloak 0.096s === 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.May, 25, 4, 39, 9, 597336200, 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)(0x4000238fa0), 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(2023, time.April, 24, 0, 12, 17, 211608035, 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)(0x4000033040), 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:"99e7c6dc3e1e9170ad233539fb6a24fc17585d4eb4412102488529df05e338f4ID"} -> 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:36553/login-complete", State:"5rOG517iSMqVgK3qN66odlN481p0nkD96XPgx5_HTVg"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"5rOG517iSMqVgK3qN66odlN481p0nkD96XPgx5_HTVg", Code:"EitJYTZdBp_wFBVbI9drq_fRWV9-ioiMcPdLQ4kNFu8", ErrorCode:"", Error:""} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginRequest{Route:httprequest.Route{}, Domain:"", DischargeID:"8992669011a4a6f19977d35dd2d1cb22506b459813837f579158a4ed40b42d67ID"} -> 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:33389/login-complete", State:"H3hcwYgR6J3BIgmOq6HEcblA8Vq2itTGO34gmnnQx_I"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.loginCompleteRequest{Route:httprequest.Route{}, State:"H3hcwYgR6J3BIgmOq6HEcblA8Vq2itTGO34gmnnQx_I", Code:"rqxyxvg5D2NVecoZgELt2B4CvO4dctVzFzRk4Ihrw9E", 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:"99e7c6dc3e1e9170ad233539fb6a24fc17585d4eb4412102488529df05e338f4ID"} -> bakery.Op{Entity:"global", Action:"login"} - logging.go:37: INFO candid.meeting Wait "99e7c6dc3e1e9170ad233539fb6a24fc17585d4eb4412102488529df05e338f4ID" - logging.go:37: INFO candid.meeting localWait "99e7c6dc3e1e9170ad233539fb6a24fc17585d4eb4412102488529df05e338f4ID" + logging.go:37: DEBUG candid.internal.discharger opForRequest &discharger.waitTokenRequest{Route:httprequest.Route{}, DischargeID:"8992669011a4a6f19977d35dd2d1cb22506b459813837f579158a4ed40b42d67ID"} -> bakery.Op{Entity:"global", Action:"login"} + logging.go:37: INFO candid.meeting Wait "8992669011a4a6f19977d35dd2d1cb22506b459813837f579158a4ed40b42d67ID" + logging.go:37: INFO candid.meeting localWait "8992669011a4a6f19977d35dd2d1cb22506b459813837f579158a4ed40b42d67ID" 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.May, 25, 4, 39, 9, 701364200, 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)(0x40003ceaf0), 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(2023, time.April, 24, 0, 12, 17, 299227566, 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)(0x4000180b90), 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.May, 25, 4, 39, 9, 754765340, 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)(0x4000438d20), 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(2023, time.April, 24, 0, 12, 17, 332582491, 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)(0x400040b1d0), resolvedGroups:[]string(nil)} succeeded logging.go:37: DEBUG candid.internal.identity Closing Server ---- PASS: TestDischarge (0.25s) - --- PASS: TestDischarge/TestFormDischarge (0.10s) +--- PASS: TestDischarge (0.19s) + --- PASS: TestDischarge/TestFormDischarge (0.05s) --- PASS: TestDischarge/TestInteractiveDischarge (0.09s) --- PASS: TestDischarge/TestTokenDischarge (0.05s) === RUN TestKeystone @@ -1648,14 +1689,14 @@ === RUN TestKeystone/TestKeystoneIdentityProviderURL === RUN TestKeystone/TestKeystoneIdentityProviderUseNameForDescription === RUN TestKeystone/TestRelativeIconURL ---- PASS: TestKeystone (0.07s) +--- PASS: TestKeystone (0.08s) --- PASS: TestKeystone/TestAbsoluteIconURL (0.00s) - --- PASS: TestKeystone/TestIconURL (0.01s) + --- PASS: TestKeystone/TestIconURL (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderDescription (0.00s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleExistingUser (0.02s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleExistingUser (0.01s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostBadPassword (0.01s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostNoTenants (0.02s) - --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleSuccess (0.01s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandlePostNoTenants (0.01s) + --- PASS: TestKeystone/TestKeystoneIdentityProviderHandleSuccess (0.02s) --- PASS: TestKeystone/TestKeystoneIdentityProviderHidden (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderInteractive (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderName (0.00s) @@ -1665,7 +1706,7 @@ --- PASS: TestKeystone/TestKeystoneIdentityProviderRegisterConfig/no_url (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderURL (0.00s) --- PASS: TestKeystone/TestKeystoneIdentityProviderUseNameForDescription (0.00s) - --- PASS: TestKeystone/TestRelativeIconURL (0.00s) + --- PASS: TestKeystone/TestRelativeIconURL (0.01s) === RUN TestToken === RUN TestToken/TestKeystoneTokenIdentityProviderHandle === RUN TestToken/TestKeystoneTokenIdentityProviderHandleBadRequest @@ -1673,13 +1714,13 @@ === RUN TestToken/TestKeystoneTokenIdentityProviderHidden === RUN TestToken/TestKeystoneTokenIdentityProviderInteractive === RUN TestToken/TestRegisterConfig ---- PASS: TestToken (0.02s) - --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandle (0.00s) +--- PASS: TestToken (0.04s) + --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandle (0.01s) --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadRequest (0.01s) --- PASS: TestToken/TestKeystoneTokenIdentityProviderHandleBadToken (0.00s) --- PASS: TestToken/TestKeystoneTokenIdentityProviderHidden (0.00s) --- PASS: TestToken/TestKeystoneTokenIdentityProviderInteractive (0.00s) - --- PASS: TestToken/TestRegisterConfig (0.00s) + --- PASS: TestToken/TestRegisterConfig (0.01s) === RUN TestTokenV3 === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest @@ -1687,12 +1728,12 @@ === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden === RUN TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive === RUN TestTokenV3/TestRegisterConfig ---- PASS: TestTokenV3 (0.04s) +--- PASS: TestTokenV3 (0.02s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandle (0.01s) --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadRequest (0.00s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadToken (0.02s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden (0.00s) - --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive (0.01s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHandleBadToken (0.00s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderHidden (0.01s) + --- PASS: TestTokenV3/TestKeystoneV3TokenIdentityProviderInteractive (0.00s) --- PASS: TestTokenV3/TestRegisterConfig (0.00s) === RUN TestUserPass === RUN TestUserPass/TestKeystoneUserpassIdentityProviderHandle @@ -1702,16 +1743,16 @@ === RUN TestUserPass/TestKeystoneUserpassIdentityProviderHidden === RUN TestUserPass/TestKeystoneUserpassIdentityProviderInteractive === RUN TestUserPass/TestRegisterConfig ---- PASS: TestUserPass (0.04s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandle (0.01s) +--- PASS: TestUserPass (0.02s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandle (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleBadRequest (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleNoUsername (0.00s) - --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleResponse (0.03s) + --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHandleResponse (0.01s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderHidden (0.00s) --- PASS: TestUserPass/TestKeystoneUserpassIdentityProviderInteractive (0.00s) - --- PASS: TestUserPass/TestRegisterConfig (0.01s) + --- PASS: TestUserPass/TestRegisterConfig (0.00s) PASS -ok github.com/canonical/candid/idp/keystone 0.477s +ok github.com/canonical/candid/idp/keystone 0.417s === RUN TestUnmarshalError === RUN TestUnmarshalError/error === RUN TestUnmarshalError/bad_json @@ -1722,16 +1763,16 @@ === RUN TestTimeUnmarshalJSON/test0 === RUN TestTimeUnmarshalJSON/test1 === RUN TestTimeUnmarshalJSON/test2 ---- PASS: TestTimeUnmarshalJSON (0.02s) +--- PASS: TestTimeUnmarshalJSON (0.00s) --- PASS: TestTimeUnmarshalJSON/test0 (0.00s) --- PASS: TestTimeUnmarshalJSON/test1 (0.00s) --- PASS: TestTimeUnmarshalJSON/test2 (0.00s) PASS -ok github.com/canonical/candid/idp/keystone/internal/keystone 0.062s +ok github.com/canonical/candid/idp/keystone/internal/keystone 0.047s ? github.com/canonical/candid/idp/keystone/internal/mockkeystone [no test files] === RUN TestInteractiveDischarge -2024-05-25 16:39:12 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.09s) +2023-04-23 10:12:23 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.16s) === RUN TestLDAP === RUN TestLDAP/TestAbsoluteIconURL === RUN TestLDAP/TestDescription @@ -1761,24 +1802,24 @@ === RUN TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression === RUN TestLDAP/TestRelativeIconURL === RUN TestLDAP/TestURL ---- PASS: TestLDAP (0.25s) - --- PASS: TestLDAP/TestAbsoluteIconURL (0.00s) +--- PASS: TestLDAP (0.31s) + --- PASS: TestLDAP/TestAbsoluteIconURL (0.01s) --- PASS: TestLDAP/TestDescription (0.00s) - --- PASS: TestLDAP/TestDomain (0.03s) - --- PASS: TestLDAP/TestHandle (0.00s) - --- PASS: TestLDAP/TestHandleCustomGroupFilter (0.02s) - --- PASS: TestLDAP/TestHandleCustomUserFilter (0.02s) - --- PASS: TestLDAP/TestHandleFailedLogin (0.02s) + --- PASS: TestLDAP/TestDomain (0.00s) + --- PASS: TestLDAP/TestHandle (0.02s) + --- PASS: TestLDAP/TestHandleCustomGroupFilter (0.00s) + --- PASS: TestLDAP/TestHandleCustomUserFilter (0.04s) + --- PASS: TestLDAP/TestHandleFailedLogin (0.00s) --- PASS: TestLDAP/TestHandleIncorrectUsername (0.02s) - --- PASS: TestLDAP/TestHandleUserDetails (0.04s) - --- PASS: TestLDAP/TestHandleUserDetailsCustomIDAttr (0.02s) - --- PASS: TestLDAP/TestHandleUserFilterNoMatch (0.00s) - --- PASS: TestLDAP/TestHandleWithGroups (0.02s) - --- PASS: TestLDAP/TestHidden (0.01s) + --- PASS: TestLDAP/TestHandleUserDetails (0.05s) + --- PASS: TestLDAP/TestHandleUserDetailsCustomIDAttr (0.03s) + --- PASS: TestLDAP/TestHandleUserFilterNoMatch (0.02s) + --- PASS: TestLDAP/TestHandleWithGroups (0.03s) + --- PASS: TestLDAP/TestHidden (0.00s) --- PASS: TestLDAP/TestIconURL (0.00s) --- PASS: TestLDAP/TestInteractive (0.00s) --- PASS: TestLDAP/TestName (0.00s) - --- PASS: TestLDAP/TestNewIdentityProvider (0.02s) + --- PASS: TestLDAP/TestNewIdentityProvider (0.03s) --- PASS: TestLDAP/TestNewIdentityProvider/good_params (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/unparsable_url (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/unsupported_scheme (0.00s) @@ -1789,19 +1830,19 @@ --- PASS: TestLDAP/TestNewIdentityProvider/malformed_group_query_filter (0.00s) --- PASS: TestLDAP/TestNewIdentityProvider/invalid_group_query_filter_expression (0.00s) --- PASS: TestLDAP/TestRelativeIconURL (0.00s) - --- PASS: TestLDAP/TestURL (0.02s) + --- PASS: TestLDAP/TestURL (0.03s) PASS -ok github.com/canonical/candid/idp/ldap 0.449s +ok github.com/canonical/candid/idp/ldap 0.618s === RUN TestConfig === RUN TestConfig/OK === RUN TestConfig/NoName === RUN TestConfig/NoIssuer === RUN TestConfig/NoClientID === RUN TestConfig/NoClientSecret ---- PASS: TestConfig (0.00s) +--- PASS: TestConfig (0.01s) --- PASS: TestConfig/OK (0.00s) --- PASS: TestConfig/NoName (0.00s) - --- PASS: TestConfig/NoIssuer (0.00s) + --- PASS: TestConfig/NoIssuer (0.01s) --- PASS: TestConfig/NoClientID (0.00s) --- PASS: TestConfig/NoClientSecret (0.00s) === RUN TestName @@ -1817,36 +1858,36 @@ === RUN TestIsForEmailAddr --- PASS: TestIsForEmailAddr (0.00s) === RUN TestURL ---- PASS: TestURL (0.01s) +--- PASS: TestURL (0.02s) === RUN TestIconURL --- PASS: TestIconURL (0.00s) === RUN TestHandleLogin ---- PASS: TestHandleLogin (0.01s) +--- PASS: TestHandleLogin (0.02s) === RUN TestHandleCallback === RUN TestHandleCallback/NewUserWithUsername === RUN TestHandleCallback/NewUserNoUsername === RUN TestHandleCallback/ExistingUserNoClaims === RUN TestHandleCallback/ExistingUserUpdateClaims === RUN TestHandleCallback/PreferredUsernameTaken ---- PASS: TestHandleCallback (0.28s) - --- PASS: TestHandleCallback/NewUserWithUsername (0.06s) - --- PASS: TestHandleCallback/NewUserNoUsername (0.03s) - --- PASS: TestHandleCallback/ExistingUserNoClaims (0.06s) - --- PASS: TestHandleCallback/ExistingUserUpdateClaims (0.07s) - --- PASS: TestHandleCallback/PreferredUsernameTaken (0.06s) +--- PASS: TestHandleCallback (0.55s) + --- PASS: TestHandleCallback/NewUserWithUsername (0.10s) + --- PASS: TestHandleCallback/NewUserNoUsername (0.18s) + --- PASS: TestHandleCallback/ExistingUserNoClaims (0.07s) + --- PASS: TestHandleCallback/ExistingUserUpdateClaims (0.10s) + --- PASS: TestHandleCallback/PreferredUsernameTaken (0.09s) === RUN TestHandleRegister === RUN TestHandleRegister/Success === RUN TestHandleRegister/InvalidUsername === RUN TestHandleRegister/InvalidUsername#01 ---- PASS: TestHandleRegister (0.04s) +--- PASS: TestHandleRegister (0.03s) --- PASS: TestHandleRegister/Success (0.01s) - --- PASS: TestHandleRegister/InvalidUsername (0.02s) - --- PASS: TestHandleRegister/InvalidUsername#01 (0.00s) + --- PASS: TestHandleRegister/InvalidUsername (0.00s) + --- PASS: TestHandleRegister/InvalidUsername#01 (0.02s) PASS -ok github.com/canonical/candid/idp/openid 0.413s +ok github.com/canonical/candid/idp/openid 0.763s === RUN TestInteractiveDischarge -2024-05-25 16:39:10 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.06s) +2023-04-23 10:12:18 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.05s) === RUN TestStatic === RUN TestStatic/TestAbsoluteIconURL === RUN TestStatic/TestDescription @@ -1863,12 +1904,12 @@ === RUN TestStatic/TestName === RUN TestStatic/TestRelativeIconURL --- PASS: TestStatic (0.10s) - --- PASS: TestStatic/TestAbsoluteIconURL (0.01s) + --- PASS: TestStatic/TestAbsoluteIconURL (0.00s) --- PASS: TestStatic/TestDescription (0.00s) --- PASS: TestStatic/TestDomain (0.00s) - --- PASS: TestStatic/TestGetGroups (0.03s) - --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.00s) - --- PASS: TestStatic/TestHandle (0.01s) + --- PASS: TestStatic/TestGetGroups (0.02s) + --- PASS: TestStatic/TestGetGroupsReturnsNewSlice (0.02s) + --- PASS: TestStatic/TestHandle (0.00s) --- PASS: TestStatic/TestHandleFailedLoginUnknownUser (0.01s) --- PASS: TestStatic/TestHandleFailedLoginWrongPassword (0.01s) --- PASS: TestStatic/TestHandleWithDomain (0.02s) @@ -1878,10 +1919,10 @@ --- PASS: TestStatic/TestName (0.00s) --- PASS: TestStatic/TestRelativeIconURL (0.00s) PASS -ok github.com/canonical/candid/idp/static 0.262s +ok github.com/canonical/candid/idp/static 0.232s === RUN TestInteractiveDischarge -2024-05-25 16:39:15 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestInteractiveDischarge (0.05s) +2023-04-23 10:12:28 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestInteractiveDischarge (0.04s) === RUN TestUSSO === RUN TestUSSO/TestAbsoluteIconURL === RUN TestUSSO/TestConfig @@ -1906,35 +1947,35 @@ === RUN TestUSSO/TestUpdateIdentity === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed === RUN TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid -2024-05-25 16:39:15 WARNING candid.idp.usso usso.go:250 not updating username for usso:https://login.ubuntu.com/+id/test to invalid username "test-changed-" +2023-04-23 10:12:28 WARNING candid.idp.usso usso.go:250 not updating username for usso:https://login.ubuntu.com/+id/test to invalid username "test-changed-" === RUN TestUSSO/TestWithDomain --- PASS: TestUSSO (0.32s) --- PASS: TestUSSO/TestAbsoluteIconURL (0.00s) --- PASS: TestUSSO/TestConfig (0.00s) --- PASS: TestUSSO/TestDescription (0.00s) --- PASS: TestUSSO/TestDomain (0.00s) - --- PASS: TestUSSO/TestGetGroups (0.00s) - --- PASS: TestUSSO/TestGetGroupsReturnsNewSlice (0.02s) - --- PASS: TestUSSO/TestHandleNoExtensionsNotFound (0.01s) - --- PASS: TestUSSO/TestHandleRegisterUserError (0.07s) - --- PASS: TestUSSO/TestHandleSuccess (0.03s) + --- PASS: TestUSSO/TestGetGroups (0.01s) + --- PASS: TestUSSO/TestGetGroupsReturnsNewSlice (0.00s) + --- PASS: TestUSSO/TestHandleNoExtensionsNotFound (0.03s) + --- PASS: TestUSSO/TestHandleRegisterUserError (0.02s) + --- PASS: TestUSSO/TestHandleSuccess (0.01s) --- PASS: TestUSSO/TestHandleSuccessNoExtensions (0.02s) --- PASS: TestUSSO/TestHidden (0.00s) --- PASS: TestUSSO/TestIconURL (0.00s) --- PASS: TestUSSO/TestInteractive (0.00s) - --- PASS: TestUSSO/TestInteractiveLoginFromDifferentProvider (0.00s) + --- PASS: TestUSSO/TestInteractiveLoginFromDifferentProvider (0.02s) --- PASS: TestUSSO/TestInvalidCookie (0.00s) --- PASS: TestUSSO/TestName (0.00s) - --- PASS: TestUSSO/TestRedirect (0.01s) + --- PASS: TestUSSO/TestRedirect (0.00s) --- PASS: TestUSSO/TestRedirectWithLaunchpadTeams (0.00s) - --- PASS: TestUSSO/TestRelativeIconURL (0.00s) + --- PASS: TestUSSO/TestRelativeIconURL (0.01s) --- PASS: TestUSSO/TestURL (0.00s) - --- PASS: TestUSSO/TestUpdateIdentity (0.04s) - --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed (0.04s) - --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.02s) - --- PASS: TestUSSO/TestWithDomain (0.01s) + --- PASS: TestUSSO/TestUpdateIdentity (0.05s) + --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfFixed (0.06s) + --- PASS: TestUSSO/TestUpdateIdentityKeepsUsernameIfNewNameInvalid (0.03s) + --- PASS: TestUSSO/TestWithDomain (0.03s) PASS -ok github.com/canonical/candid/idp/usso 0.485s +ok github.com/canonical/candid/idp/usso 0.535s === RUN TestAccept === RUN TestAccept/not_seen store_test.go:74: 0. not seen @@ -1959,7 +2000,7 @@ --- PASS: TestAccept/bad_time (0.00s) --- PASS: TestAccept/too_old (0.00s) PASS -ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.046s +ok github.com/canonical/candid/idp/usso/internal/kvnoncestore 0.054s ? github.com/canonical/candid/idp/usso/internal/mockusso [no test files] === RUN TestConfig --- PASS: TestConfig (0.00s) @@ -1973,11 +2014,11 @@ === RUN TestSuite/TestInteractive === RUN TestSuite/TestName === RUN TestSuite/TestURL ---- PASS: TestSuite (0.04s) +--- PASS: TestSuite (0.11s) --- PASS: TestSuite/TestDescription (0.00s) - --- PASS: TestSuite/TestHandleGetSuccess (0.02s) - --- PASS: TestSuite/TestHandleGetV1Success (0.01s) - --- PASS: TestSuite/TestHandlePostV1 (0.00s) + --- PASS: TestSuite/TestHandleGetSuccess (0.03s) + --- PASS: TestSuite/TestHandleGetV1Success (0.04s) + --- PASS: TestSuite/TestHandlePostV1 (0.02s) --- PASS: TestSuite/TestHidden (0.00s) --- PASS: TestSuite/TestIconURL (0.00s) --- PASS: TestSuite/TestInteractive (0.00s) @@ -1993,23 +2034,23 @@ === RUN TestHandlePost/account_bad_base64 === RUN TestHandlePost/account_bad_json === RUN TestHandlePost/without_argument ---- PASS: TestHandlePost (0.03s) +--- PASS: TestHandlePost (0.06s) --- PASS: TestHandlePost/success (0.00s) --- PASS: TestHandlePost/no_account (0.00s) - --- PASS: TestHandlePost/expires_bad_format (0.00s) - --- PASS: TestHandlePost/expires_in_past (0.01s) - --- PASS: TestHandlePost/multiple_account_info (0.00s) + --- PASS: TestHandlePost/expires_bad_format (0.01s) + --- PASS: TestHandlePost/expires_in_past (0.00s) + --- PASS: TestHandlePost/multiple_account_info (0.02s) --- PASS: TestHandlePost/unrecognised_caveat (0.00s) - --- PASS: TestHandlePost/account_bad_base64 (0.01s) - --- PASS: TestHandlePost/account_bad_json (0.00s) + --- PASS: TestHandlePost/account_bad_base64 (0.00s) + --- PASS: TestHandlePost/account_bad_json (0.02s) --- PASS: TestHandlePost/without_argument (0.00s) === RUN TestMultipleLogins ---- PASS: TestMultipleLogins (0.01s) +--- PASS: TestMultipleLogins (0.03s) PASS -ok github.com/canonical/candid/idp/usso/ussodischarge 0.143s +ok github.com/canonical/candid/idp/usso/ussodischarge 0.261s ? github.com/canonical/candid/idp/usso/ussodischarge/cmd/login [no test files] === RUN TestDischarge ---- PASS: TestDischarge (0.03s) +--- PASS: TestDischarge (0.06s) === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestUSSOAuth @@ -2021,17 +2062,17 @@ === RUN TestUSSOAuth/TestInteractive === RUN TestUSSOAuth/TestName === RUN TestUSSOAuth/TestURL ---- PASS: TestUSSOAuth (0.01s) +--- PASS: TestUSSOAuth (0.03s) --- PASS: TestUSSOAuth/TestDescription (0.00s) - --- PASS: TestUSSOAuth/TestHandleSuccess (0.00s) - --- PASS: TestUSSOAuth/TestHandleVerifyFail (0.00s) + --- PASS: TestUSSOAuth/TestHandleSuccess (0.01s) + --- PASS: TestUSSOAuth/TestHandleVerifyFail (0.01s) --- PASS: TestUSSOAuth/TestHidden (0.00s) --- PASS: TestUSSOAuth/TestIconURL (0.00s) --- PASS: TestUSSOAuth/TestInteractive (0.00s) --- PASS: TestUSSOAuth/TestName (0.00s) - --- PASS: TestUSSOAuth/TestURL (0.00s) + --- PASS: TestUSSOAuth/TestURL (0.01s) PASS -ok github.com/canonical/candid/idp/usso/ussooauth 0.136s +ok github.com/canonical/candid/idp/usso/ussooauth 0.281s === RUN TestAuth === RUN TestAuth/TestACLForOp === RUN TestAuth/TestACLForOp/other-read @@ -2068,7 +2109,7 @@ === RUN TestAuth/TestNonExistentUser === RUN TestAuth/TestUserHasPublicKeyCaveat === RUN TestAuth/TestUserHasPublicKeyChecker ---- PASS: TestAuth (0.03s) +--- PASS: TestAuth (0.04s) --- PASS: TestAuth/TestACLForOp (0.00s) --- PASS: TestAuth/TestACLForOp/other-read (0.00s) --- PASS: TestAuth/TestACLForOp/global-read (0.00s) @@ -2087,13 +2128,13 @@ --- 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.00s) + --- PASS: TestAuth/TestAdminUserGroups (0.01s) --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.00s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.01s) + --- 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.00s) + --- PASS: TestAuth/TestExistingUserGroups (0.01s) --- 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) @@ -2102,10 +2143,10 @@ --- 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.00s) - --- PASS: TestAuth/TestUserHasPublicKeyCaveat (0.00s) - --- PASS: TestAuth/TestUserHasPublicKeyChecker (0.01s) + --- PASS: TestAuth/TestUserHasPublicKeyCaveat (0.01s) + --- PASS: TestAuth/TestUserHasPublicKeyChecker (0.00s) PASS -ok github.com/canonical/candid/internal/auth 0.111s +ok github.com/canonical/candid/internal/auth 0.116s === RUN TestAuth === RUN TestAuth/TestAuthorizeMacaroonRequired === RUN TestAuth/TestAuthorizeWithAdminCredentials @@ -2114,18 +2155,18 @@ === RUN TestAuth/TestAuthorizeWithAdminCredentials/bad_password === RUN TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access --- PASS: TestAuth (0.01s) - --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.00s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.01s) + --- PASS: TestAuth/TestAuthorizeMacaroonRequired (0.01s) + --- PASS: TestAuth/TestAuthorizeWithAdminCredentials (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/good_credentials (0.00s) - --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_username (0.01s) + --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_username (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/bad_password (0.00s) --- PASS: TestAuth/TestAuthorizeWithAdminCredentials/empty_password_denies_access (0.00s) PASS -ok github.com/canonical/candid/internal/auth/httpauth 0.090s +ok github.com/canonical/candid/internal/auth/httpauth 0.220s ? github.com/canonical/candid/internal/candidtest [no test files] testing: warning: no tests to run PASS -ok github.com/canonical/candid/internal/debug 0.098s [no tests to run] +ok github.com/canonical/candid/internal/debug 0.064s [no tests to run] === RUN TestDischarge === RUN TestDischarge/TestDischargeBrowserRedirectLogin === RUN TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted @@ -2133,111 +2174,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-05-25 16:39:25 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: user jbloggs2 not found ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:336: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:316: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/store/memstore/store.go:81: user jbloggs2 not found}]) +2023-04-23 10:12:42 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: user jbloggs2 not found ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:336: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:316: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/store/memstore/store.go:81: user jbloggs2 not found}]) discharge_test.go:462: test 3. unsupported condition -2024-05-25 16:39:25 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: caveat not recognized ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers/checkers.go:166: caveat not recognized}]) +2023-04-23 10:12:42 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: caveat not recognized ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_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-05-25 16:39:25 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: "jbloggs@test" not in required domain "test2" ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:330: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:373: "jbloggs@test" not in required domain "test2"}]) +2023-04-23 10:12:42 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: could not determine identity: "jbloggs@test" not in required domain "test2" ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:165: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:296: could not determine identity} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:330: } {/build/golang-github-canonical-candid-1.12.2/_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-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername -2024-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupMatch -2024-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch -2024-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch -2024-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-05-25 16:39:25 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches -2024-05-25 16:39:25 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-05-25 16:39:26 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker/checker.go:220: permission denied}]) +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot discharge: permission denied ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/discharge.go:284: cannot discharge} {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/bakery/discharge.go:134: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/discharger/discharge.go:132: } {/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/auth/auth.go:293: } {/build/golang-github-canonical-candid-1.12.2/_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-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDischargeXMemberOfX -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:42 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs === RUN TestDischarge/TestDomainInInteractionURLs/domain_login -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/no_domain -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/domain_from_cookies -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestIdentityCookieParameters -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischarge -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeJSON -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestInteractiveDischargeWithOldClientCaveat -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestLastDischargeTimeUpdates -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 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:44113/publickey" + http.go:99: JSON call, url "http://127.0.0.1:41159/publickey" === RUN TestDischarge/TestTwoDischargesOfSameCaveat -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithDomainCookie -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithEscapedDomainCookie -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestDischarge/TestVisitURLWithInvalidDomainCookie -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified ---- PASS: TestDischarge (1.04s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.08s) - --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.01s) - --- PASS: TestDischarge/TestDischargeForUser (0.08s) - --- SKIP: TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn (0.00s) - --- PASS: TestDischarge/TestDischargeMemberOf (0.17s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.01s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername (0.05s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupMatch (0.02s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch (0.02s) - --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch (0.01s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches (0.02s) - --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.01s) +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +--- PASS: TestDischarge (1.61s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLogin (0.05s) + --- PASS: TestDischarge/TestDischargeBrowserRedirectLoginNotTrusted (0.02s) + --- PASS: TestDischarge/TestDischargeForUser (0.18s) + --- SKIP: TestDischarge/TestDischargeFromDifferentOriginWhenLoggedIn (0.01s) + --- PASS: TestDischarge/TestDischargeMemberOf (0.28s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupsIsUsername (0.04s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneIsUsername (0.03s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupMatch (0.04s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsAllMatch (0.03s) + --- PASS: TestDischarge/TestDischargeMemberOf/SingleGroupNoMatch (0.05s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsOneMatches (0.03s) + --- PASS: TestDischarge/TestDischargeMemberOf/ManyGroupsNoMatch (0.03s) --- PASS: TestDischarge/TestDischargeStatusProxyAuthRequiredResponse (0.02s) --- PASS: TestDischarge/TestDischargeStatusUnauthorizedResponse (0.01s) - --- PASS: TestDischarge/TestDischargeUserID (0.03s) - --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.03s) - --- PASS: TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth (0.06s) + --- PASS: TestDischarge/TestDischargeUserID (0.05s) + --- PASS: TestDischarge/TestDischargeWhenLoggedIn (0.06s) + --- PASS: TestDischarge/TestDischargeWithDomainWithExistingNonDomainAuth (0.09s) --- PASS: TestDischarge/TestDischargeXMemberOfX (0.04s) - --- PASS: TestDischarge/TestDomainInInteractionURLs (0.19s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_login (0.06s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.05s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_from_cookies (0.04s) - --- PASS: TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies (0.03s) + --- PASS: TestDischarge/TestDomainInInteractionURLs (0.18s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_login (0.04s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/no_domain (0.04s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/domain_from_cookies (0.05s) + --- PASS: TestDischarge/TestDomainInInteractionURLs/condition_trumps_cookies (0.04s) --- PASS: TestDischarge/TestIdentityCookieParameters (0.05s) - --- PASS: TestDischarge/TestInteractiveDischarge (0.03s) - --- PASS: TestDischarge/TestInteractiveDischargeJSON (0.03s) - --- PASS: TestDischarge/TestInteractiveDischargeWithOldClientCaveat (0.02s) - --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.03s) - --- PASS: TestDischarge/TestNonInteractiveDischarge (0.01s) - --- PASS: TestDischarge/TestPublicKey (0.01s) - --- PASS: TestDischarge/TestTwoDischargesOfSameCaveat (0.06s) - --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.03s) - --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.02s) - --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.02s) + --- PASS: TestDischarge/TestInteractiveDischarge (0.04s) + --- PASS: TestDischarge/TestInteractiveDischargeJSON (0.05s) + --- PASS: TestDischarge/TestInteractiveDischargeWithOldClientCaveat (0.06s) + --- PASS: TestDischarge/TestLastDischargeTimeUpdates (0.07s) + --- PASS: TestDischarge/TestNonInteractiveDischarge (0.03s) + --- PASS: TestDischarge/TestPublicKey (0.02s) + --- PASS: TestDischarge/TestTwoDischargesOfSameCaveat (0.09s) + --- PASS: TestDischarge/TestVisitURLWithDomainCookie (0.09s) + --- PASS: TestDischarge/TestVisitURLWithEscapedDomainCookie (0.04s) + --- PASS: TestDischarge/TestVisitURLWithInvalidDomainCookie (0.04s) === RUN TestIDP === RUN TestIDP/TestLoginFailure === RUN TestIDP/TestLoginFailureWithWait @@ -2249,15 +2290,15 @@ === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure === RUN TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainWildcard === RUN TestIDP/TestLoginSuccess -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestIDP/TestLoginSuccessWithTemplate -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified --- PASS: TestIDP (0.02s) - --- PASS: TestIDP/TestLoginFailure (0.01s) + --- PASS: TestIDP/TestLoginFailure (0.00s) --- PASS: TestIDP/TestLoginFailureWithWait (0.00s) --- PASS: TestIDP/TestLoginRedirectFailureInvalidReturnTo (0.00s) --- PASS: TestIDP/TestLoginRedirectSuccess (0.00s) - --- PASS: TestIDP/TestLoginRedirectSuccessInvalidReturnTo (0.01s) + --- PASS: TestIDP/TestLoginRedirectSuccessInvalidReturnTo (0.00s) --- PASS: TestIDP/TestLoginRedirectSuccessReturnToNotTrusted (0.00s) --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomain (0.00s) --- PASS: TestIDP/TestLoginRedirectSuccessReturnToTrustedDomainInsecure (0.00s) @@ -2268,13 +2309,13 @@ === RUN TestLoginCookiePath/location_in_the_cookie === RUN TestLoginCookiePath/location_NOT_in_the_cookie --- PASS: TestLoginCookiePath (0.04s) - --- PASS: TestLoginCookiePath/location_in_the_cookie (0.03s) - --- PASS: TestLoginCookiePath/location_NOT_in_the_cookie (0.01s) + --- PASS: TestLoginCookiePath/location_in_the_cookie (0.01s) + --- PASS: TestLoginCookiePath/location_NOT_in_the_cookie (0.03s) === RUN TestLogin === RUN TestLogin/TestInteractiveLogin -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestLogin/TestLegacyInteractiveLogin -2024-05-25 16:39:26 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:43 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 @@ -2289,23 +2330,23 @@ === RUN TestLogin/TestLoginRedirect === RUN TestLogin/TestLoginRedirectNotTrusted === RUN TestLogin/TestNonInteractiveLogin ---- PASS: TestLogin (0.20s) +--- PASS: TestLogin (0.41s) --- PASS: TestLogin/TestInteractiveLogin (0.03s) - --- PASS: TestLogin/TestLegacyInteractiveLogin (0.02s) - --- PASS: TestLogin/TestLegacyLoginFailure (0.01s) - --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.02s) - --- PASS: TestLogin/TestLoginEmail (0.02s) - --- PASS: TestLogin/TestLoginEmailSubmitMatch (0.01s) - --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.00s) - --- PASS: TestLogin/TestLoginFailure (0.03s) - --- PASS: TestLogin/TestLoginIDPChoice (0.00s) - --- PASS: TestLogin/TestLoginIDPChoiceHidden (0.01s) - --- PASS: TestLogin/TestLoginMethodsIncludesAgent (0.00s) - --- PASS: TestLogin/TestLoginRedirect (0.01s) - --- PASS: TestLogin/TestLoginRedirectNotTrusted (0.01s) - --- PASS: TestLogin/TestNonInteractiveLogin (0.02s) + --- PASS: TestLogin/TestLegacyInteractiveLogin (0.06s) + --- PASS: TestLogin/TestLegacyLoginFailure (0.04s) + --- PASS: TestLogin/TestLegacyNonInteractiveLogin (0.03s) + --- PASS: TestLogin/TestLoginEmail (0.01s) + --- PASS: TestLogin/TestLoginEmailSubmitMatch (0.05s) + --- PASS: TestLogin/TestLoginEmailSubmitNoMatch (0.02s) + --- PASS: TestLogin/TestLoginFailure (0.04s) + --- PASS: TestLogin/TestLoginIDPChoice (0.03s) + --- PASS: TestLogin/TestLoginIDPChoiceHidden (0.02s) + --- PASS: TestLogin/TestLoginMethodsIncludesAgent (0.01s) + --- PASS: TestLogin/TestLoginRedirect (0.02s) + --- PASS: TestLogin/TestLoginRedirectNotTrusted (0.02s) + --- PASS: TestLogin/TestNonInteractiveLogin (0.03s) PASS -ok github.com/canonical/candid/internal/discharger 1.433s +ok github.com/canonical/candid/internal/discharger 2.126s === RUN TestStore === RUN TestStore/TestExpiredEntry === RUN TestStore/TestGetCanceled @@ -2327,36 +2368,36 @@ --- PASS: TestStore/TestPutDeadlineExceeded (0.00s) --- PASS: TestStore/TestRoundTrip (0.00s) PASS -ok github.com/canonical/candid/internal/discharger/internal 0.110s +ok github.com/canonical/candid/internal/discharger/internal 0.253s === RUN TestHandleErrors -=== RUN TestHandleErrors/not_found - http.go:99: JSON call, url "/error/" -=== RUN TestHandleErrors/forbidden - http.go:99: JSON call, url "/error/" === RUN TestHandleErrors/bad_request http.go:99: JSON call, url "/error/" === RUN TestHandleErrors/unauthorized http.go:99: JSON call, url "/error/" === RUN TestHandleErrors/service_unavailable http.go:99: JSON call, url "/error/" ---- PASS: TestHandleErrors (0.02s) - --- PASS: TestHandleErrors/not_found (0.00s) - --- PASS: TestHandleErrors/forbidden (0.00s) +=== RUN TestHandleErrors/not_found + http.go:99: JSON call, url "/error/" +=== RUN TestHandleErrors/forbidden + http.go:99: JSON call, url "/error/" +--- PASS: TestHandleErrors (0.03s) --- PASS: TestHandleErrors/bad_request (0.00s) --- PASS: TestHandleErrors/unauthorized (0.00s) - --- PASS: TestHandleErrors/service_unavailable (0.01s) + --- PASS: TestHandleErrors/service_unavailable (0.00s) + --- PASS: TestHandleErrors/not_found (0.01s) + --- PASS: TestHandleErrors/forbidden (0.00s) === RUN TestHandleErrorsInternalServerError http.go:99: JSON call, url "/error/" logging.go:37: ERROR candid.internal.identity Internal Server Error: bad wolf ([{/build/golang-github-canonical-candid-1.12.2/_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.00s) +--- PASS: TestHandleErrorsInternalServerError (0.02s) === RUN TestHandleErrorsSuccess http.go:99: JSON call, url "/valid/" --- PASS: TestHandleErrorsSuccess (0.00s) === RUN TestHandleJSON http.go:99: JSON call, url "/bad-request/" http.go:99: JSON call, url "/valid/" ---- PASS: TestHandleJSON (0.01s) +--- PASS: TestHandleJSON (0.00s) === RUN TestServer === RUN TestServer/TestNewServerWithNoVersions === RUN TestServer/TestNewServerWithVersions @@ -2370,53 +2411,53 @@ === RUN TestServer/TestServerPanicRecovery http.go:99: JSON call, url "/a" logging.go:37: ERROR candid.internal.identity PANIC!: test panic - goroutine 232 [running]: + goroutine 234 [running]: runtime/debug.Stack() /usr/lib/go-1.19/src/runtime/debug/stack.go:24 +0x64 github.com/canonical/candid/internal/identity.(*Server).ServeHTTP.func1() /build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/identity/server.go:186 +0x48 panic({0xa47c20, 0xc570b8}) /usr/lib/go-1.19/src/runtime/panic.go:884 +0x20c - github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0xa75620?, 0x40003161a4?}, 0x40003161a0?, {0x3?, 0x40002b2998?, 0x4145d4?}) + github.com/canonical/candid/internal/identity_test.(*serverSuite).TestServerPanicRecovery.func1.1({0xa75620?, 0x4000229794?}, 0x4000229790?, {0x3?, 0x4000082998?, 0x4145d4?}) /build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/identity/server_test.go:182 +0x2c - github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0x40003c5680, {0xc5f020, 0x40003440e0}, 0x40003bca00) + github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0x400046cb40, {0xc5f020, 0x400025e2a0}, 0x4000470400) /build/golang-github-canonical-candid-1.12.2/_build/src/github.com/julienschmidt/httprouter/router.go:387 +0x714 - github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0x40003d8100, {0xc5f020, 0x40003440e0}, 0x70bc68?) + github.com/canonical/candid/internal/identity.(*Server).ServeHTTP(0x4000468580, {0xc5f020, 0x400025e2a0}, 0x70bc68?) /build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/identity/server.go:196 +0x254 - net/http.serverHandler.ServeHTTP({0x40003d3ce0?}, {0xc5f020, 0x40003440e0}, 0x40003bca00) + net/http.serverHandler.ServeHTTP({0x40004754a0?}, {0xc5f020, 0x400025e2a0}, 0x4000470400) /usr/lib/go-1.19/src/net/http/server.go:2947 +0x2cc - net/http.(*conn).serve(0x40000b3e00, {0xc5fcf8, 0x40003d3bc0}) + net/http.(*conn).serve(0x40001ff540, {0xc5fcf8, 0x4000475380}) /usr/lib/go-1.19/src/net/http/server.go:1991 +0x544 created by net/http.(*Server).Serve /usr/lib/go-1.19/src/net/http/server.go:3102 +0x43c logging.go:37: DEBUG candid.internal.identity Closing Server === RUN TestServer/TestServerStaticFiles ---- PASS: TestServer (0.27s) +--- PASS: TestServer (0.12s) --- PASS: TestServer/TestNewServerWithNoVersions (0.00s) - --- PASS: TestServer/TestNewServerWithVersions (0.06s) - --- PASS: TestServer/TestServerHasAccessControlAllowHeaders (0.02s) + --- PASS: TestServer/TestNewServerWithVersions (0.03s) + --- PASS: TestServer/TestServerHasAccessControlAllowHeaders (0.01s) --- PASS: TestServer/TestServerPanicRecovery (0.01s) - --- PASS: TestServer/TestServerStaticFiles (0.18s) + --- PASS: TestServer/TestServerStaticFiles (0.06s) PASS -ok github.com/canonical/candid/internal/identity 0.431s +ok github.com/canonical/candid/internal/identity 0.323s ? github.com/canonical/candid/internal/mfa [no test files] ? github.com/canonical/candid/internal/monitoring [no test files] === RUN TestGravatarHash --- PASS: TestGravatarHash (0.00s) === RUN TestUsersAPI === RUN TestUsersAPI/TestCreateAgent -2024-05-25 16:39:27 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:45 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateAgentAsAgent -2024-05-25 16:39:27 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) +2023-04-23 10:12:45 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) === RUN TestUsersAPI/TestCreateAgentAsParentAgent -2024-05-25 16:39:27 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) +2023-04-23 10:12:45 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot create an agent using an agent account ([{/build/golang-github-canonical-candid-1.12.2/_build/src/github.com/canonical/candid/internal/v1/users.go:164: cannot create an agent using an agent account}]) === RUN TestUsersAPI/TestCreateAgentWithGroups -2024-05-25 16:39:27 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:45 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgent === RUN TestUsersAPI/TestCreateParentAgentNotInGroups -2024-05-25 16:39:27 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:45 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestCreateParentAgentUnauthorized -2024-05-25 16:39:27 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified +2023-04-23 10:12:45 WARNING candid.internal.discharger idp.go:190 MFA authenticator not specified === RUN TestUsersAPI/TestDischargeToken === RUN TestUsersAPI/TestExtraInfo === RUN TestUsersAPI/TestExtraInfoNotFound @@ -2449,9 +2490,9 @@ === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(found) === RUN TestUsersAPI/TestQueryUsers/combined_login_and_discharge_(not_found) === RUN TestUsersAPI/TestQueryUsersBadLastDischarge -2024-05-25 16:39:27 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/golang-github-canonical-candid-1.12.2/_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"}]) +2023-04-23 10:12:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-discharge-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/golang-github-canonical-candid-1.12.2/_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-05-25 16:39:27 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/golang-github-canonical-candid-1.12.2/_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"}]) +2023-04-23 10:12:46 ERROR candid.internal.identity json.go:56 Internal Server Error: cannot unmarshal last-login-since: parsing time "yesterday" as "2006-01-02T15:04:05Z07:00": cannot parse "yesterday" as "2006" ([{/build/golang-github-canonical-candid-1.12.2/_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 @@ -2470,35 +2511,35 @@ === RUN TestUsersAPI/TestVerifyUserToken === RUN TestUsersAPI/TestWhoAmIWithAuthenticatedUser === RUN TestUsersAPI/TestWhoAmIWithNoUser ---- PASS: TestUsersAPI (0.92s) - --- PASS: TestUsersAPI/TestCreateAgent (0.04s) - --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.04s) - --- PASS: TestUsersAPI/TestCreateAgentAsParentAgent (0.06s) +--- PASS: TestUsersAPI (0.95s) + --- PASS: TestUsersAPI/TestCreateAgent (0.11s) + --- PASS: TestUsersAPI/TestCreateAgentAsAgent (0.03s) + --- PASS: TestUsersAPI/TestCreateAgentAsParentAgent (0.05s) --- PASS: TestUsersAPI/TestCreateAgentWithGroups (0.08s) --- PASS: TestUsersAPI/TestCreateParentAgent (0.04s) - --- PASS: TestUsersAPI/TestCreateParentAgentNotInGroups (0.03s) - --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.04s) - --- PASS: TestUsersAPI/TestDischargeToken (0.01s) - --- PASS: TestUsersAPI/TestExtraInfo (0.04s) - --- PASS: TestUsersAPI/TestExtraInfoNotFound (0.03s) - --- PASS: TestUsersAPI/TestGetUserIDGroups (0.03s) + --- PASS: TestUsersAPI/TestCreateParentAgentNotInGroups (0.02s) + --- PASS: TestUsersAPI/TestCreateParentAgentUnauthorized (0.02s) + --- PASS: TestUsersAPI/TestDischargeToken (0.02s) + --- PASS: TestUsersAPI/TestExtraInfo (0.03s) + --- PASS: TestUsersAPI/TestExtraInfoNotFound (0.04s) + --- PASS: TestUsersAPI/TestGetUserIDGroups (0.02s) --- PASS: TestUsersAPI/TestGetUserIDGroups/no_groups (0.02s) --- PASS: TestUsersAPI/TestGetUserIDGroups/groups (0.00s) - --- PASS: TestUsersAPI/TestGetUserIDGroups/no_such_user (0.01s) + --- PASS: TestUsersAPI/TestGetUserIDGroups/no_such_user (0.00s) --- PASS: TestUsersAPI/TestGetUserWithID (0.02s) --- PASS: TestUsersAPI/TestGetUserWithID/no_groups (0.01s) - --- PASS: TestUsersAPI/TestGetUserWithID/groups (0.01s) - --- PASS: TestUsersAPI/TestGetUserWithID/no_such_user (0.00s) + --- PASS: TestUsersAPI/TestGetUserWithID/groups (0.00s) + --- PASS: TestUsersAPI/TestGetUserWithID/no_such_user (0.01s) --- PASS: TestUsersAPI/TestModifyUserGroups (0.04s) --- PASS: TestUsersAPI/TestModifyUserGroups/add_groups (0.02s) --- PASS: TestUsersAPI/TestModifyUserGroups/remove_groups (0.00s) - --- PASS: TestUsersAPI/TestModifyUserGroups/add_and_remove_groups (0.01s) + --- 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.04s) - --- PASS: TestUsersAPI/TestQueryAgentUsersOwnerNotFound (0.03s) - --- PASS: TestUsersAPI/TestQueryUsers (0.03s) - --- PASS: TestUsersAPI/TestQueryUsers/query_existing_user (0.01s) + --- PASS: TestUsersAPI/TestModifyUserGroups/user_not_found (0.01s) + --- PASS: TestUsersAPI/TestQueryAgentUsers (0.02s) + --- PASS: TestUsersAPI/TestQueryAgentUsersOwnerNotFound (0.01s) + --- 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.00s) --- PASS: TestUsersAPI/TestQueryUsers/query_email (0.00s) @@ -2509,13 +2550,13 @@ --- 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.01s) + --- PASS: TestUsersAPI/TestQueryUsersBadLastDischarge (0.02s) --- PASS: TestUsersAPI/TestQueryUsersBadLastLogin (0.02s) - --- PASS: TestUsersAPI/TestQueryUsersUnauthorized (0.03s) - --- PASS: TestUsersAPI/TestRemoveUserMFACredentials (0.06s) - --- PASS: TestUsersAPI/TestRoundTripUser (0.03s) + --- PASS: TestUsersAPI/TestQueryUsersUnauthorized (0.02s) + --- PASS: TestUsersAPI/TestRemoveUserMFACredentials (0.04s) + --- PASS: TestUsersAPI/TestRoundTripUser (0.02s) --- PASS: TestUsersAPI/TestSSHKeys (0.03s) - --- PASS: TestUsersAPI/TestSetUserGroups (0.01s) + --- PASS: TestUsersAPI/TestSetUserGroups (0.03s) --- PASS: TestUsersAPI/TestUserErrors (0.02s) --- PASS: TestUsersAPI/TestUserErrors/not_found (0.01s) --- PASS: TestUsersAPI/TestUserErrors/bad_username (0.00s) @@ -2523,30 +2564,30 @@ --- PASS: TestUsersAPI/TestUserGroups/no_groups (0.01s) --- PASS: TestUsersAPI/TestUserGroups/groups (0.00s) --- PASS: TestUsersAPI/TestUserGroups/no_such_user (0.00s) - --- PASS: TestUsersAPI/TestUserIDPGroups (0.01s) - --- PASS: TestUsersAPI/TestUserTokenNotFound (0.01s) + --- PASS: TestUsersAPI/TestUserIDPGroups (0.02s) + --- PASS: TestUsersAPI/TestUserTokenNotFound (0.02s) --- PASS: TestUsersAPI/TestUsernameContainingUnderscore (0.01s) --- PASS: TestUsersAPI/TestVerifyUserToken (0.02s) --- PASS: TestUsersAPI/TestWhoAmIWithAuthenticatedUser (0.01s) --- PASS: TestUsersAPI/TestWhoAmIWithNoUser (0.01s) PASS -ok github.com/canonical/candid/internal/v1 0.981s +ok github.com/canonical/candid/internal/v1 1.043s === RUN TestRendezvousWaitBeforeDone --- PASS: TestRendezvousWaitBeforeDone (0.00s) === RUN TestRendezvousDoneBeforeWait ---- PASS: TestRendezvousDoneBeforeWait (0.00s) +--- PASS: TestRendezvousDoneBeforeWait (0.03s) === RUN TestRendezvousDifferentPlaces ---- PASS: TestRendezvousDifferentPlaces (0.03s) +--- PASS: TestRendezvousDifferentPlaces (0.01s) === RUN TestEntriesRemovedOnClose ---- PASS: TestEntriesRemovedOnClose (0.00s) +--- PASS: TestEntriesRemovedOnClose (0.01s) === RUN TestRunGCNotDying ---- PASS: TestRunGCNotDying (0.01s) +--- PASS: TestRunGCNotDying (0.00s) === RUN TestPartialRemoveOldFailure --- PASS: TestPartialRemoveOldFailure (0.00s) === RUN TestPutFailure --- PASS: TestPutFailure (0.00s) === RUN TestWaitTimeout - meeting_test.go:408: starting wait "186e68925ae1db962c02a8f731543ee9" + meeting_test.go:408: starting wait "7ed606516ab611f3e5f2bb4b89af664b" 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 @@ -2557,7 +2598,7 @@ === RUN TestRequestsExpiredCalled --- PASS: TestRequestsExpiredCalled (0.00s) PASS -ok github.com/canonical/candid/meeting 0.121s +ok github.com/canonical/candid/meeting 0.184s === RUN TestUsernameTextUnmarshal === RUN TestUsernameTextUnmarshal/user === RUN TestUsernameTextUnmarshal/admin@idm @@ -2569,7 +2610,7 @@ --- PASS: TestUsernameTextUnmarshal/agent@admin@idm (0.00s) --- PASS: TestUsernameTextUnmarshal/toolongusername_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef_ (0.00s) PASS -ok github.com/canonical/candid/params 0.019s +ok github.com/canonical/candid/params 0.047s === RUN TestNotFoundError --- PASS: TestNotFoundError (0.00s) === RUN TestDuplicateUsernameError @@ -2577,7 +2618,7 @@ === RUN TestProviderIdentity --- PASS: TestProviderIdentity (0.00s) PASS -ok github.com/canonical/candid/store 0.060s +ok github.com/canonical/candid/store 0.116s === RUN TestKeyValueStore === RUN TestKeyValueStore/TestGetNotFound === RUN TestKeyValueStore/TestSet @@ -2592,7 +2633,7 @@ === RUN TestKeyValueStore/TestUpdateReturnNilThenUpdatesAsNonNil === RUN TestKeyValueStore/TestUpdateSuccessWithPreexistingKey === RUN TestKeyValueStore/TestUpdateSuccessWithoutPreexistingKey ---- PASS: TestKeyValueStore (0.25s) +--- PASS: TestKeyValueStore (0.43s) --- PASS: TestKeyValueStore/TestGetNotFound (0.00s) --- PASS: TestKeyValueStore/TestSet (0.00s) --- PASS: TestKeyValueStore/TestSetKeyOnce (0.00s) @@ -2600,7 +2641,7 @@ --- PASS: TestKeyValueStore/TestSetNilUpdatesAsNonNil (0.00s) --- PASS: TestKeyValueStore/TestTwoStoresForDifferentIDPsAreIndependent (0.00s) --- PASS: TestKeyValueStore/TestTwoStoresForTheSameIDPCommunicate (0.00s) - --- PASS: TestKeyValueStore/TestUpdateConcurrent (0.25s) + --- PASS: TestKeyValueStore/TestUpdateConcurrent (0.43s) --- PASS: TestKeyValueStore/TestUpdateErrorWithExistingKey (0.00s) --- PASS: TestKeyValueStore/TestUpdateErrorWithNonExistentKey (0.00s) --- PASS: TestKeyValueStore/TestUpdateReturnNilThenUpdatesAsNonNil (0.00s) @@ -2697,8 +2738,8 @@ === RUN TestStore/TestUpdateIdentity/providerID_empty_update === RUN TestStore/TestUpdateNotFoundNoQuery === RUN TestStore/TestUserCredentials ---- PASS: TestStore (0.17s) - --- PASS: TestStore/TestFindIdentities (0.11s) +--- PASS: TestStore (0.19s) + --- PASS: TestStore/TestFindIdentities (0.12s) --- PASS: TestStore/TestIdentity (0.00s) --- PASS: TestStore/TestIdentityCounts (0.00s) --- PASS: TestStore/TestIdentityNotFound (0.00s) @@ -2707,7 +2748,7 @@ --- PASS: TestStore/TestInsertDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDDuplicateUsername (0.00s) --- PASS: TestStore/TestUpdateIDEmpty (0.00s) - --- PASS: TestStore/TestUpdateIdentity (0.05s) + --- PASS: TestStore/TestUpdateIdentity (0.06s) --- PASS: TestStore/TestUpdateIdentity/new_identity (0.00s) --- PASS: TestStore/TestUpdateIdentity/new_identity_with_existing_username (0.00s) --- PASS: TestStore/TestUpdateIdentity/set_username (0.00s) @@ -2774,13 +2815,13 @@ === RUN TestConfigUnmarshal --- PASS: TestConfigUnmarshal (0.00s) PASS -ok github.com/canonical/candid/store/memstore 0.491s +ok github.com/canonical/candid/store/memstore 0.712s testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/mgostore 0.014s [no tests to run] +ok github.com/canonical/candid/store/mgostore 0.127s [no tests to run] testing: warning: no tests to run PASS -ok github.com/canonical/candid/store/sqlstore 0.017s [no tests to run] +ok github.com/canonical/candid/store/sqlstore 0.035s [no tests to run] ? github.com/canonical/candid/store/storetest [no test files] ? github.com/canonical/candid/version [no test files] create-stamp debian/debhelper-build-stamp @@ -2809,12 +2850,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/15511/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15511/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/23661 and its subdirectories -I: Current time: Sat May 25 04:39:49 -12 2024 -I: pbuilder-time-stamp: 1716655189 +I: removing directory /srv/workspace/pbuilder/15511 and its subdirectories +I: Current time: Mon Apr 24 00:13:11 +14 2023 +I: pbuilder-time-stamp: 1682244791