Documentation
Compare
Pricing
Log In
mtlynch
simpleauth
no-sqlite
88773e0c
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=88773e0c0ebee7b56f2fc903a1cd6ac70e2e4751#packages.x86_64-linux.go-tests --print-build-logs
0.08 s
error (ignored):
SQLite database '
/var/cache/private/nix-ci-worker/eval-cache-v6/942b5436513d9a58d66bb448d31c6abfd3d0a52c6d4f460672dcf236166d70e3.sqlite
' is busy
0.45 s
1.08 s
Substituting simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
1.40 s
Progress: 0 of 2 built, 1 of 1 fetched
1.48 s
Building go-tests
1.52 s
[go-tests]
Phase: unpackPhase
1.52 s
[go-tests]
unpacking sources
1.52 s
[go-tests]
unpacking source archive /nix/store/k9ba03sdil3wdc12dx3cqlna8aagkfm3-source
1.53 s
[go-tests]
source root is source
1.54 s
[go-tests]
Phase: patchPhase
1.54 s
[go-tests]
patching sources
1.54 s
[go-tests]
Phase: configurePhase
1.54 s
[go-tests]
configuring
1.55 s
[go-tests]
no configure script, doing nothing
1.55 s
[go-tests]
Phase: buildPhase
1.55 s
[go-tests]
building
1.56 s
[go-tests]
patching script interpreter paths in ./dev-scripts
1.56 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"
1.56 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"
1.57 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"
1.57 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"
1.58 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"
1.58 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"
1.59 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"
1.59 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"
1.61 s
[go-tests]
+ set -o pipefail
1.61 s
[go-tests]
+ full_test=
1.61 s
[go-tests]
+ go_test_flags=("-tags=netgo,osusergo")
1.61 s
[go-tests]
+ readonly COVERAGE_FILE_RAW=.coverage.out
1.61 s
[go-tests]
+ COVERAGE_FILE_RAW=.coverage.out
1.61 s
[go-tests]
+ readonly COVERAGE_FILE_HTML=.coverage.html
1.61 s
[go-tests]
+ COVERAGE_FILE_HTML=.coverage.html
1.61 s
[go-tests]
+ [[ --full = \-\-\f\u\l\l ]]
1.61 s
[go-tests]
+ full_test=1
1.61 s
[go-tests]
+ go_test_flags+=("-v")
1.61 s
[go-tests]
+ go_test_flags+=("-race")
1.61 s
[go-tests]
+ go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
1.61 s
[go-tests]
+ set -u
1.61 s
[go-tests]
+++ dirname ./dev-scripts/run-go-tests
1.61 s
[go-tests]
++ cd ./dev-scripts
1.61 s
[go-tests]
++ pwd
1.61 s
[go-tests]
+ SCRIPT_DIR=/build/source/dev-scripts
1.61 s
[go-tests]
+ readonly SCRIPT_DIR
1.61 s
[go-tests]
+ cd /build/source/dev-scripts/..
1.61 s
[go-tests]
+ go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
6.15 s
[go-tests]
=== RUN TestNewUserIDRejectsEmptyString
6.17 s
[go-tests]
--- PASS: TestNewUserIDRejectsEmptyString (0.00s)
6.17 s
[go-tests]
=== RUN TestNewUserIDReturnsUserID
6.17 s
[go-tests]
--- PASS: TestNewUserIDReturnsUserID (0.00s)
6.17 s
[go-tests]
PASS
6.17 s
[go-tests]
coverage: 100.0% of statements
6.17 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3 0.024s coverage: 100.0% of statements
6.17 s
[go-tests]
=== RUN TestAuthenticate
6.17 s
[go-tests]
=== RUN TestAuthenticate/authenticates_when_password_is_valid
6.17 s
[go-tests]
=== RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
6.17 s
[go-tests]
=== RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
6.17 s
[go-tests]
--- PASS: TestAuthenticate (0.00s)
6.17 s
[go-tests]
--- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
6.17 s
[go-tests]
--- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
6.17 s
[go-tests]
--- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
6.17 s
[go-tests]
PASS
6.17 s
[go-tests]
coverage: 50.0% of statements
6.17 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3/auth 0.024s coverage: 50.0% of statements
8.71 s
[go-tests]
=== RUN TestCreateAndLoadSession
8.71 s
[go-tests]
--- PASS: TestCreateAndLoadSession (0.00s)
8.71 s
[go-tests]
=== RUN TestRequireSessionRedirectsWithoutSession
8.71 s
[go-tests]
--- PASS: TestRequireSessionRedirectsWithoutSession (0.00s)
8.71 s
[go-tests]
PASS
8.71 s
[go-tests]
coverage: 58.9% of statements
8.71 s
[go-tests]
ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.024s coverage: 58.9% of statements
8.74 s
[go-tests]
+ [[ -n 1 ]]
8.74 s
[go-tests]
+ go tool cover -html .coverage.out -o .coverage.html
8.81 s
[go-tests]
+ go vet ./...
10.49 s
[go-tests]
++ go env GOPATH
10.49 s
[go-tests]
+ STATICCHECK_PATH=/build/go/bin/staticcheck
10.49 s
[go-tests]
+ readonly STATICCHECK_PATH
10.49 s
[go-tests]
+ readonly STATICCHECK_VERSION=v0.4.6
10.49 s
[go-tests]
+ STATICCHECK_VERSION=v0.4.6
10.49 s
[go-tests]
+ [[ ! -f /build/go/bin/staticcheck ]]
10.49 s
[go-tests]
+ /build/go/bin/staticcheck ./...
12.03 s
[go-tests]
++ go env GOPATH
12.04 s
[go-tests]
+ ERRCHECK_PATH=/build/go/bin/errcheck
12.04 s
[go-tests]
+ readonly ERRCHECK_PATH
12.04 s
[go-tests]
+ readonly ERRCHECK_VERSION=v1.6.2
12.04 s
[go-tests]
+ ERRCHECK_VERSION=v1.6.2
12.04 s
[go-tests]
+ [[ ! -f /build/go/bin/errcheck ]]
12.04 s
[go-tests]
+ /build/go/bin/errcheck -ignoretests ./...
12.61 s
[go-tests]
Phase: installPhase
12.61 s
[go-tests]
installing
12.61 s
[go-tests]
Phase: fixupPhase
12.61 s
[go-tests]
post-installation fixup
12.62 s
[go-tests]
shrinking RPATHs of ELF executables and libraries in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
12.62 s
[go-tests]
strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
12.62 s
[go-tests]
patching script interpreter paths in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
12.62 s
[go-tests]
checking for references to /build/ in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0...
12.70 s
[post-build-hook]
Uploading paths from nix-ci to the NixCI cache /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
12.74 s
[post-build-hook]
warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
12.74 s
[post-build-hook]
copying 1 paths...
12.74 s
[post-build-hook]
copying path '/nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
12.81 s
[post-build-hook]
warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
12.98 s
[post-build-hook]
copying 2 paths...
12.98 s
[post-build-hook]
copying path '/nix/store/fiwncsc58agzvhzxkxfl0rmivbmld8kq-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'...
13.12 s
[post-build-hook]
copying path '/nix/store/papaa0i7740qdaf14kzz5q81r1n5bk6c-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
13.27 s
Progress: 1 of 2 built, 1 of 1 fetched
Tail
Raw Logs