build packages.x86_64-linux.go-tests
- 0.04 s
$ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 1800s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/simpleauth?ref=overhaul-sessions&rev=34fd388c658988b57f58d0a716a36c4c11d75049#packages.x86_64-linux.go-tests --print-build-logs
- 3.74 s
- 4.97 s
error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/0556e569e7fced427e8e23b02ce7a0f9668a5395a95aba6c2a1085fb81b203fb.sqlite' is busy
- 4.97 s
Substituting source from https://cache.nix-ci.com
- 10.47 s
Progress: 1 of 1 fetched
- 11.66 s
- 11.67 s
Substituting simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
- 11.67 s
Substituting iana-etc from https://cache.nix-ci.com
- 11.67 s
Substituting mailcap from https://cache.nix-ci.com
- 11.67 s
Substituting tzdata from https://cache.nix-ci.com
- 11.68 s
Substituting linux-headers from https://cache.nix-ci.com
- 11.68 s
Substituting libunistring from https://cache.nix-ci.com
- 11.70 s
Progress: 0 of 10 built, 1 of 44 fetched (5 fetching)
- 11.72 s
Progress: 0 of 9 built, 2 of 44 fetched (4 fetching)
- 11.73 s
Progress: 0 of 9 built, 3 of 44 fetched (3 fetching)
- 11.74 s
Progress: 0 of 9 built, 4 of 44 fetched (2 fetching)
- 11.74 s
Substituting libidn2 from https://cache.nix-ci.com
- 11.79 s
Progress: 0 of 9 built, 5 of 44 fetched (2 fetching)
- 11.79 s
Substituting glibc-2.35 from https://cache.nix-ci.com
- 11.80 s
Progress: 0 of 9 built, 6 of 44 fetched (2 fetching)
- 11.80 s
Substituting errcheck from https://cache.nix-ci.com
- 11.82 s
Progress: 0 of 9 built, 7 of 44 fetched (2 fetching)
- 11.94 s
Progress: 0 of 9 built, 8 of 44 fetched (1 fetching)
- 12.10 s
Progress: 0 of 8 built, 9 of 44 fetched
- 12.10 s
Substituting attr from https://cache.nix-ci.com
- 12.10 s
Substituting bzip2 from https://cache.nix-ci.com
- 12.10 s
Substituting bash-5.1-p16 from https://cache.nix-ci.com
- 12.10 s
Substituting ed from https://cache.nix-ci.com
- 12.10 s
Substituting expand-response-params from https://cache.nix-ci.com
- 12.10 s
Substituting gawk from https://cache.nix-ci.com
- 12.10 s
Substituting gcc-11.3.0-lib from https://cache.nix-ci.com
- 12.10 s
Substituting glibc-2.35-163-bin from https://cache.nix-ci.com
- 12.10 s
Substituting gnused from https://cache.nix-ci.com
- 12.10 s
Substituting gnumake from https://cache.nix-ci.com
- 12.10 s
Substituting gzip from https://cache.nix-ci.com
- 12.10 s
Substituting pcre from https://cache.nix-ci.com
- 12.10 s
Substituting staticcheck from https://cache.nix-ci.com
- 12.10 s
Substituting xz from https://cache.nix-ci.com
- 12.10 s
Substituting zlib from https://cache.nix-ci.com
- 12.23 s
Progress: 0 of 8 built, 10 of 44 fetched (14 fetching)
- 12.23 s
Progress: 0 of 8 built, 11 of 44 fetched (13 fetching)
- 12.24 s
Substituting patch from https://cache.nix-ci.com
- 12.24 s
Progress: 0 of 8 built, 12 of 44 fetched (13 fetching)
- 12.24 s
Substituting bzip2-1.0.8-bin from https://cache.nix-ci.com
- 12.24 s
Progress: 0 of 8 built, 13 of 44 fetched (13 fetching)
- 12.24 s
Substituting acl from https://cache.nix-ci.com
- 12.29 s
Progress: 0 of 8 built, 14 of 44 fetched (13 fetching)
- 12.29 s
Substituting file from https://cache.nix-ci.com
- 12.31 s
Progress: 0 of 8 built, 15 of 44 fetched (13 fetching)
- 12.34 s
Progress: 0 of 8 built, 16 of 44 fetched (12 fetching)
- 12.34 s
Substituting gnugrep from https://cache.nix-ci.com
- 12.36 s
Progress: 0 of 8 built, 17 of 44 fetched (12 fetching)
- 12.36 s
Substituting bash-5.1-p16-dev from https://cache.nix-ci.com
- 12.36 s
Substituting go from https://cache.nix-ci.com
- 12.39 s
Progress: 0 of 7 built, 18 of 44 fetched (13 fetching)
- 12.39 s
Progress: 0 of 7 built, 19 of 44 fetched (12 fetching)
- 12.39 s
Progress: 0 of 6 built, 20 of 44 fetched (11 fetching)
- 12.39 s
Substituting gmp-with-cxx-stage4 from https://cache.nix-ci.com
- 12.39 s
Substituting binutils from https://cache.nix-ci.com
- 12.39 s
Substituting patchelf from https://cache.nix-ci.com
- 12.39 s
Progress: 0 of 6 built, 21 of 44 fetched (13 fetching)
- 12.40 s
Progress: 0 of 6 built, 22 of 44 fetched (12 fetching)
- 12.40 s
Substituting xz-5.2.6-bin from https://cache.nix-ci.com
- 12.42 s
Progress: 0 of 6 built, 23 of 44 fetched (12 fetching)
- 12.43 s
Progress: 0 of 6 built, 24 of 44 fetched (11 fetching)
- 12.43 s
Substituting glibc-2.35-163-dev from https://cache.nix-ci.com
- 12.43 s
Progress: 0 of 6 built, 25 of 44 fetched (11 fetching)
- 12.43 s
Progress: 0 of 6 built, 26 of 44 fetched (10 fetching)
- 12.43 s
Progress: 0 of 6 built, 27 of 44 fetched (9 fetching)
- 12.43 s
Substituting gnutar from https://cache.nix-ci.com
- 12.46 s
Progress: 0 of 6 built, 28 of 44 fetched (9 fetching)
- 12.47 s
Progress: 0 of 5 built, 29 of 44 fetched (8 fetching)
- 12.47 s
Progress: 0 of 5 built, 30 of 44 fetched (7 fetching)
- 12.60 s
Progress: 0 of 5 built, 31 of 44 fetched (6 fetching)
- 12.61 s
Progress: 0 of 5 built, 32 of 44 fetched (5 fetching)
- 12.62 s
Progress: 0 of 5 built, 33 of 44 fetched (4 fetching)
- 12.62 s
Substituting coreutils from https://cache.nix-ci.com
- 12.69 s
Progress: 0 of 5 built, 34 of 44 fetched (4 fetching)
- 12.69 s
Substituting gcc from https://cache.nix-ci.com
- 12.71 s
Progress: 0 of 5 built, 35 of 44 fetched (4 fetching)
- 12.86 s
Progress: 0 of 5 built, 36 of 44 fetched (3 fetching)
- 12.86 s
Substituting diffutils from https://cache.nix-ci.com
- 12.86 s
Substituting findutils from https://cache.nix-ci.com
- 13.07 s
Progress: 0 of 5 built, 37 of 44 fetched (4 fetching)
- 13.07 s
Progress: 0 of 5 built, 38 of 44 fetched (3 fetching)
- 13.07 s
Substituting stdenv-linux from https://cache.nix-ci.com
- 13.11 s
Progress: 0 of 5 built, 39 of 44 fetched (3 fetching)
- 13.11 s
Substituting binutils-wrapper from https://cache.nix-ci.com
- 13.23 s
Progress: 0 of 5 built, 40 of 44 fetched (3 fetching)
- 13.29 s
Progress: 0 of 4 built, 41 of 44 fetched (2 fetching)
- 15.14 s
Progress: 0 of 3 built, 42 of 44 fetched (1 fetching)
- 15.14 s
Substituting gcc-wrapper from https://cache.nix-ci.com
- 15.29 s
Progress: 0 of 3 built, 43 of 44 fetched (1 fetching)
- 16.89 s
Progress: 0 of 2 built, 44 of 44 fetched
- 16.99 s
Building go-tests
- 17.02 s
[go-tests] Phase: unpackPhase
- 17.02 s
[go-tests] unpacking sources
- 17.03 s
[go-tests] unpacking source archive /nix/store/gd0hav7ngb9i09jba8sxydik59msms9c-source
- 17.03 s
[go-tests] source root is source
- 17.04 s
[go-tests] Phase: patchPhase
- 17.04 s
[go-tests] patching sources
- 17.05 s
[go-tests] Phase: configurePhase
- 17.05 s
[go-tests] configuring
- 17.06 s
[go-tests] no configure script, doing nothing
- 17.06 s
[go-tests] Phase: buildPhase
- 17.06 s
[go-tests] building
- 17.07 s
[go-tests] patching script interpreter paths in ./dev-scripts
- 17.07 s
[go-tests] ./dev-scripts/update-scripts: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.08 s
[go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.09 s
[go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.09 s
[go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.10 s
[go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.10 s
[go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.11 s
[go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.12 s
[go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
- 17.13 s
[go-tests] + set -o pipefail
- 17.13 s
[go-tests] + full_test=
- 17.13 s
[go-tests] + go_test_flags=("-tags=netgo,osusergo")
- 17.13 s
[go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
- 17.13 s
[go-tests] + COVERAGE_FILE_RAW=.coverage.out
- 17.13 s
[go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
- 17.13 s
[go-tests] + COVERAGE_FILE_HTML=.coverage.html
- 17.13 s
[go-tests] + [[ --full = \-\-\f\u\l\l ]]
- 17.13 s
[go-tests] + full_test=1
- 17.13 s
[go-tests] + go_test_flags+=("-v")
- 17.13 s
[go-tests] + go_test_flags+=("-race")
- 17.13 s
[go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
- 17.13 s
[go-tests] + set -u
- 17.13 s
[go-tests] +++ dirname ./dev-scripts/run-go-tests
- 17.13 s
[go-tests] ++ cd ./dev-scripts
- 17.13 s
[go-tests] ++ pwd
- 17.13 s
[go-tests] + SCRIPT_DIR=/build/source/dev-scripts
- 17.13 s
[go-tests] + readonly SCRIPT_DIR
- 17.13 s
[go-tests] + cd /build/source/dev-scripts/..
- 17.13 s
[go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
- 22.03 s
[go-tests] === RUN TestAuthenticate
- 22.07 s
[go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid
- 22.07 s
[go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
- 22.07 s
[go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
- 22.07 s
[go-tests] --- PASS: TestAuthenticate (0.00s)
- 22.07 s
[go-tests] --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
- 22.07 s
[go-tests] --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
- 22.07 s
[go-tests] --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
- 22.07 s
[go-tests] PASS
- 22.07 s
[go-tests] coverage: 50.0% of statements
- 22.07 s
[go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.023s coverage: 50.0% of statements
- 25.01 s
[go-tests] === RUN TestCreateAndLoadSession
- 25.01 s
[go-tests] --- PASS: TestCreateAndLoadSession (0.00s)
- 25.01 s
[go-tests] === RUN TestRequireUserRedirectsWithoutSession
- 25.01 s
[go-tests] --- PASS: TestRequireUserRedirectsWithoutSession (0.00s)
- 25.01 s
[go-tests] === RUN TestLoadUserIgnoresExpiredSession
- 25.01 s
[go-tests] --- PASS: TestLoadUserIgnoresExpiredSession (0.00s)
- 25.01 s
[go-tests] PASS
- 25.01 s
[go-tests] coverage: 66.7% of statements
- 25.01 s
[go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.030s coverage: 66.7% of statements
- 25.07 s
[go-tests] + [[ -n 1 ]]
- 25.07 s
[go-tests] + go tool cover -html .coverage.out -o .coverage.html
- 25.18 s
[go-tests] + go vet ./...
- 27.52 s
[go-tests] ++ go env GOPATH
- 27.56 s
[go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
- 27.56 s
[go-tests] + readonly STATICCHECK_PATH
- 27.56 s
[go-tests] + readonly STATICCHECK_VERSION=v0.4.6
- 27.56 s
[go-tests] + STATICCHECK_VERSION=v0.4.6
- 27.56 s
[go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
- 27.56 s
[go-tests] + /build/go/bin/staticcheck ./...
- 29.44 s
[go-tests] ++ go env GOPATH
- 29.45 s
[go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
- 29.45 s
[go-tests] + readonly ERRCHECK_PATH
- 29.45 s
[go-tests] + readonly ERRCHECK_VERSION=v1.6.2
- 29.45 s
[go-tests] + ERRCHECK_VERSION=v1.6.2
- 29.45 s
[go-tests] + [[ ! -f /build/go/bin/errcheck ]]
- 29.45 s
[go-tests] + /build/go/bin/errcheck -ignoretests ./...
- 30.14 s
[go-tests] Phase: installPhase
- 30.14 s
[go-tests] installing
- 30.15 s
[go-tests] Phase: fixupPhase
- 30.15 s
[go-tests] post-installation fixup
- 30.15 s
[go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
- 30.16 s
[go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
- 30.16 s
[go-tests] patching script interpreter paths in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
- 30.16 s
[go-tests] checking for references to /build/ in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0...
- 30.25 s
[post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
- 30.28 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
- 30.29 s
[post-build-hook] copying 1 paths...
- 30.29 s
[post-build-hook] copying path '/nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
- 30.45 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
- 30.61 s
[post-build-hook] copying 0 paths...
- 30.62 s
Progress: 1 of 2 built, 44 of 44 fetched