Documentation
Compare
Pricing
Log In
mtlynch
simpleauth
no-sqlite
476bc1b3
build packages.x86_64-linux.go-tests
0.01 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=no-sqlite&rev=476bc1b32bec360e9ef0db7c19c74eb3e6a4a473#packages.x86_64-linux.go-tests --print-build-logs
0.44 s
0.87 s
Building go-tests
0.91 s
[go-tests]
Phase: unpackPhase
0.91 s
[go-tests]
unpacking sources
0.91 s
[go-tests]
unpacking source archive /nix/store/ckc7izqcs8g4vqfy66ld3irhw13jcw0w-source
0.91 s
[go-tests]
source root is source
0.92 s
[go-tests]
Phase: patchPhase
0.92 s
[go-tests]
patching sources
0.92 s
[go-tests]
Phase: configurePhase
0.92 s
[go-tests]
configuring
0.93 s
[go-tests]
no configure script, doing nothing
0.93 s
[go-tests]
Phase: buildPhase
0.93 s
[go-tests]
building
0.94 s
[go-tests]
patching script interpreter paths in ./dev-scripts
0.94 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"
0.95 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"
0.95 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"
0.96 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"
0.96 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"
0.97 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"
0.97 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"
0.98 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"
0.99 s
[go-tests]
+ set -o pipefail
0.99 s
[go-tests]
+ full_test=
0.99 s
[go-tests]
+ go_test_flags=("-tags=netgo,osusergo")
0.99 s
[go-tests]
+ readonly COVERAGE_FILE_RAW=.coverage.out
0.99 s
[go-tests]
+ COVERAGE_FILE_RAW=.coverage.out
0.99 s
[go-tests]
+ readonly COVERAGE_FILE_HTML=.coverage.html
0.99 s
[go-tests]
+ COVERAGE_FILE_HTML=.coverage.html
0.99 s
[go-tests]
+ [[ --full = \-\-\f\u\l\l ]]
0.99 s
[go-tests]
+ full_test=1
0.99 s
[go-tests]
+ go_test_flags+=("-v")
0.99 s
[go-tests]
+ go_test_flags+=("-race")
0.99 s
[go-tests]
+ go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
0.99 s
[go-tests]
+ set -u
0.99 s
[go-tests]
+++ dirname ./dev-scripts/run-go-tests
0.99 s
[go-tests]
++ cd ./dev-scripts
0.99 s
[go-tests]
++ pwd
0.99 s
[go-tests]
+ SCRIPT_DIR=/build/source/dev-scripts
0.99 s
[go-tests]
+ readonly SCRIPT_DIR
0.99 s
[go-tests]
+ cd /build/source/dev-scripts/..
0.99 s
[go-tests]
+ go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
5.61 s
[go-tests]
=== RUN TestNewUserIDRejectsEmptyString
5.62 s
[go-tests]
--- PASS: TestNewUserIDRejectsEmptyString (0.00s)
5.62 s
[go-tests]
=== RUN TestNewUserIDReturnsUserID
5.62 s
[go-tests]
--- PASS: TestNewUserIDReturnsUserID (0.00s)
5.62 s
[go-tests]
PASS
5.62 s
[go-tests]
coverage: 100.0% of statements
5.62 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3 0.024s coverage: 100.0% of statements
5.62 s
[go-tests]
=== RUN TestAuthenticate
5.62 s
[go-tests]
=== RUN TestAuthenticate/authenticates_when_password_is_valid
5.62 s
[go-tests]
=== RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
5.62 s
[go-tests]
=== RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
5.62 s
[go-tests]
--- PASS: TestAuthenticate (0.00s)
5.62 s
[go-tests]
--- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
5.62 s
[go-tests]
--- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
5.62 s
[go-tests]
--- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
5.62 s
[go-tests]
PASS
5.62 s
[go-tests]
coverage: 50.0% of statements
5.62 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3/auth 0.024s coverage: 50.0% of statements
8.13 s
[go-tests]
=== RUN TestCreateAndLoadSession
8.13 s
[go-tests]
--- PASS: TestCreateAndLoadSession (0.00s)
8.13 s
[go-tests]
=== RUN TestRequireSessionRedirectsWithoutSession
8.13 s
[go-tests]
--- PASS: TestRequireSessionRedirectsWithoutSession (0.00s)
8.13 s
[go-tests]
PASS
8.13 s
[go-tests]
coverage: 58.9% of statements
8.13 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.024s coverage: 58.9% of statements
8.17 s
[go-tests]
+ [[ -n 1 ]]
8.17 s
[go-tests]
+ go tool cover -html .coverage.out -o .coverage.html
8.23 s
[go-tests]
+ go vet ./...
9.90 s
[go-tests]
++ go env GOPATH
9.91 s
[go-tests]
+ STATICCHECK_PATH=/build/go/bin/staticcheck
9.91 s
[go-tests]
+ readonly STATICCHECK_PATH
9.91 s
[go-tests]
+ readonly STATICCHECK_VERSION=v0.4.6
9.91 s
[go-tests]
+ STATICCHECK_VERSION=v0.4.6
9.91 s
[go-tests]
+ [[ ! -f /build/go/bin/staticcheck ]]
9.91 s
[go-tests]
+ /build/go/bin/staticcheck ./...
11.40 s
[go-tests]
++ go env GOPATH
11.41 s
[go-tests]
+ ERRCHECK_PATH=/build/go/bin/errcheck
11.41 s
[go-tests]
+ readonly ERRCHECK_PATH
11.41 s
[go-tests]
+ readonly ERRCHECK_VERSION=v1.6.2
11.41 s
[go-tests]
+ ERRCHECK_VERSION=v1.6.2
11.41 s
[go-tests]
+ [[ ! -f /build/go/bin/errcheck ]]
11.41 s
[go-tests]
+ /build/go/bin/errcheck -ignoretests ./...
11.98 s
[go-tests]
Phase: installPhase
11.98 s
[go-tests]
installing
11.98 s
[go-tests]
Phase: fixupPhase
11.98 s
[go-tests]
post-installation fixup
11.98 s
[go-tests]
shrinking RPATHs of ELF executables and libraries in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
11.99 s
[go-tests]
strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
11.99 s
[go-tests]
patching script interpreter paths in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
11.99 s
[go-tests]
checking for references to /build/ in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0...
12.08 s
[post-build-hook]
Uploading paths from nix-ci to the NixCI cache /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
12.11 s
[post-build-hook]
warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
12.12 s
[post-build-hook]
copying 1 paths...
12.12 s
[post-build-hook]
copying path '/nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
12.31 s
[post-build-hook]
warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
12.48 s
[post-build-hook]
copying 2 paths...
12.48 s
[post-build-hook]
copying path '/nix/store/f68shnvbcw4dm66aya4r2ypgl9yp4gpf-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'...
12.61 s
[post-build-hook]
copying path '/nix/store/pchl4ki7pz35l6j7q2ccx9mc6szyp5pq-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
12.76 s
Progress: 1 of 2 built
Tail
Raw Logs