build packages.x86_64-linux.go-tests

Reproduce this run
  1. 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
  2. 0.08 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/942b5436513d9a58d66bb448d31c6abfd3d0a52c6d4f460672dcf236166d70e3.sqlite' is busy
  3. 0.45 s
  4. 1.08 s Substituting simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
  5. 1.40 s Progress: 0 of 2 built, 1 of 1 fetched
  6. 1.48 s Building go-tests
  7. 1.52 s [go-tests] Phase: unpackPhase
  8. 1.52 s [go-tests] unpacking sources
  9. 1.52 s [go-tests] unpacking source archive /nix/store/k9ba03sdil3wdc12dx3cqlna8aagkfm3-source
  10. 1.53 s [go-tests] source root is source
  11. 1.54 s [go-tests] Phase: patchPhase
  12. 1.54 s [go-tests] patching sources
  13. 1.54 s [go-tests] Phase: configurePhase
  14. 1.54 s [go-tests] configuring
  15. 1.55 s [go-tests] no configure script, doing nothing
  16. 1.55 s [go-tests] Phase: buildPhase
  17. 1.55 s [go-tests] building
  18. 1.56 s [go-tests] patching script interpreter paths in ./dev-scripts
  19. 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"
  20. 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"
  21. 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"
  22. 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"
  23. 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"
  24. 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"
  25. 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"
  26. 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"
  27. 1.61 s [go-tests] + set -o pipefail
  28. 1.61 s [go-tests] + full_test=
  29. 1.61 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  30. 1.61 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  31. 1.61 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  32. 1.61 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  33. 1.61 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  34. 1.61 s [go-tests] + [[ --full = \-\-\f\u\l\l ]]
  35. 1.61 s [go-tests] + full_test=1
  36. 1.61 s [go-tests] + go_test_flags+=("-v")
  37. 1.61 s [go-tests] + go_test_flags+=("-race")
  38. 1.61 s [go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
  39. 1.61 s [go-tests] + set -u
  40. 1.61 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  41. 1.61 s [go-tests] ++ cd ./dev-scripts
  42. 1.61 s [go-tests] ++ pwd
  43. 1.61 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  44. 1.61 s [go-tests] + readonly SCRIPT_DIR
  45. 1.61 s [go-tests] + cd /build/source/dev-scripts/..
  46. 1.61 s [go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
  47. 6.15 s [go-tests] === RUN TestNewUserIDRejectsEmptyString
  48. 6.17 s [go-tests] --- PASS: TestNewUserIDRejectsEmptyString (0.00s)
  49. 6.17 s [go-tests] === RUN TestNewUserIDReturnsUserID
  50. 6.17 s [go-tests] --- PASS: TestNewUserIDReturnsUserID (0.00s)
  51. 6.17 s [go-tests] PASS
  52. 6.17 s [go-tests] coverage: 100.0% of statements
  53. 6.17 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3 0.024s coverage: 100.0% of statements
  54. 6.17 s [go-tests] === RUN TestAuthenticate
  55. 6.17 s [go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid
  56. 6.17 s [go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
  57. 6.17 s [go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
  58. 6.17 s [go-tests] --- PASS: TestAuthenticate (0.00s)
  59. 6.17 s [go-tests] --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
  60. 6.17 s [go-tests] --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
  61. 6.17 s [go-tests] --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
  62. 6.17 s [go-tests] PASS
  63. 6.17 s [go-tests] coverage: 50.0% of statements
  64. 6.17 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.024s coverage: 50.0% of statements
  65. 8.71 s [go-tests] === RUN TestCreateAndLoadSession
  66. 8.71 s [go-tests] --- PASS: TestCreateAndLoadSession (0.00s)
  67. 8.71 s [go-tests] === RUN TestRequireSessionRedirectsWithoutSession
  68. 8.71 s [go-tests] --- PASS: TestRequireSessionRedirectsWithoutSession (0.00s)
  69. 8.71 s [go-tests] PASS
  70. 8.71 s [go-tests] coverage: 58.9% of statements
  71. 8.71 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.024s coverage: 58.9% of statements
  72. 8.74 s [go-tests] + [[ -n 1 ]]
  73. 8.74 s [go-tests] + go tool cover -html .coverage.out -o .coverage.html
  74. 8.81 s [go-tests] + go vet ./...
  75. 10.49 s [go-tests] ++ go env GOPATH
  76. 10.49 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  77. 10.49 s [go-tests] + readonly STATICCHECK_PATH
  78. 10.49 s [go-tests] + readonly STATICCHECK_VERSION=v0.4.6
  79. 10.49 s [go-tests] + STATICCHECK_VERSION=v0.4.6
  80. 10.49 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  81. 10.49 s [go-tests] + /build/go/bin/staticcheck ./...
  82. 12.03 s [go-tests] ++ go env GOPATH
  83. 12.04 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  84. 12.04 s [go-tests] + readonly ERRCHECK_PATH
  85. 12.04 s [go-tests] + readonly ERRCHECK_VERSION=v1.6.2
  86. 12.04 s [go-tests] + ERRCHECK_VERSION=v1.6.2
  87. 12.04 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  88. 12.04 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  89. 12.61 s [go-tests] Phase: installPhase
  90. 12.61 s [go-tests] installing
  91. 12.61 s [go-tests] Phase: fixupPhase
  92. 12.61 s [go-tests] post-installation fixup
  93. 12.62 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
  94. 12.62 s [go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
  95. 12.62 s [go-tests] patching script interpreter paths in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
  96. 12.62 s [go-tests] checking for references to /build/ in /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0...
  97. 12.70 s [post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0
  98. 12.74 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  99. 12.74 s [post-build-hook] copying 1 paths...
  100. 12.74 s [post-build-hook] copying path '/nix/store/yn1sxxyi7c9nh21kbdr7rihxwwa2zzlx-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  101. 12.81 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  102. 12.98 s [post-build-hook] copying 2 paths...
  103. 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'...
  104. 13.12 s [post-build-hook] copying path '/nix/store/papaa0i7740qdaf14kzz5q81r1n5bk6c-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  105. 13.27 s Progress: 1 of 2 built, 1 of 1 fetched