build packages.x86_64-linux.go-tests

Reproduce this run
  1. 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
  2. 3.74 s
  3. 4.97 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/0556e569e7fced427e8e23b02ce7a0f9668a5395a95aba6c2a1085fb81b203fb.sqlite' is busy
  4. 4.97 s Substituting source from https://cache.nix-ci.com
  5. 10.47 s Progress: 1 of 1 fetched
  6. 11.66 s
  7. 11.67 s Substituting simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
  8. 11.67 s Substituting iana-etc from https://cache.nix-ci.com
  9. 11.67 s Substituting mailcap from https://cache.nix-ci.com
  10. 11.67 s Substituting tzdata from https://cache.nix-ci.com
  11. 11.68 s Substituting linux-headers from https://cache.nix-ci.com
  12. 11.68 s Substituting libunistring from https://cache.nix-ci.com
  13. 11.70 s Progress: 0 of 10 built, 1 of 44 fetched (5 fetching)
  14. 11.72 s Progress: 0 of 9 built, 2 of 44 fetched (4 fetching)
  15. 11.73 s Progress: 0 of 9 built, 3 of 44 fetched (3 fetching)
  16. 11.74 s Progress: 0 of 9 built, 4 of 44 fetched (2 fetching)
  17. 11.74 s Substituting libidn2 from https://cache.nix-ci.com
  18. 11.79 s Progress: 0 of 9 built, 5 of 44 fetched (2 fetching)
  19. 11.79 s Substituting glibc-2.35 from https://cache.nix-ci.com
  20. 11.80 s Progress: 0 of 9 built, 6 of 44 fetched (2 fetching)
  21. 11.80 s Substituting errcheck from https://cache.nix-ci.com
  22. 11.82 s Progress: 0 of 9 built, 7 of 44 fetched (2 fetching)
  23. 11.94 s Progress: 0 of 9 built, 8 of 44 fetched (1 fetching)
  24. 12.10 s Progress: 0 of 8 built, 9 of 44 fetched
  25. 12.10 s Substituting attr from https://cache.nix-ci.com
  26. 12.10 s Substituting bzip2 from https://cache.nix-ci.com
  27. 12.10 s Substituting bash-5.1-p16 from https://cache.nix-ci.com
  28. 12.10 s Substituting ed from https://cache.nix-ci.com
  29. 12.10 s Substituting expand-response-params from https://cache.nix-ci.com
  30. 12.10 s Substituting gawk from https://cache.nix-ci.com
  31. 12.10 s Substituting gcc-11.3.0-lib from https://cache.nix-ci.com
  32. 12.10 s Substituting glibc-2.35-163-bin from https://cache.nix-ci.com
  33. 12.10 s Substituting gnused from https://cache.nix-ci.com
  34. 12.10 s Substituting gnumake from https://cache.nix-ci.com
  35. 12.10 s Substituting gzip from https://cache.nix-ci.com
  36. 12.10 s Substituting pcre from https://cache.nix-ci.com
  37. 12.10 s Substituting staticcheck from https://cache.nix-ci.com
  38. 12.10 s Substituting xz from https://cache.nix-ci.com
  39. 12.10 s Substituting zlib from https://cache.nix-ci.com
  40. 12.23 s Progress: 0 of 8 built, 10 of 44 fetched (14 fetching)
  41. 12.23 s Progress: 0 of 8 built, 11 of 44 fetched (13 fetching)
  42. 12.24 s Substituting patch from https://cache.nix-ci.com
  43. 12.24 s Progress: 0 of 8 built, 12 of 44 fetched (13 fetching)
  44. 12.24 s Substituting bzip2-1.0.8-bin from https://cache.nix-ci.com
  45. 12.24 s Progress: 0 of 8 built, 13 of 44 fetched (13 fetching)
  46. 12.24 s Substituting acl from https://cache.nix-ci.com
  47. 12.29 s Progress: 0 of 8 built, 14 of 44 fetched (13 fetching)
  48. 12.29 s Substituting file from https://cache.nix-ci.com
  49. 12.31 s Progress: 0 of 8 built, 15 of 44 fetched (13 fetching)
  50. 12.34 s Progress: 0 of 8 built, 16 of 44 fetched (12 fetching)
  51. 12.34 s Substituting gnugrep from https://cache.nix-ci.com
  52. 12.36 s Progress: 0 of 8 built, 17 of 44 fetched (12 fetching)
  53. 12.36 s Substituting bash-5.1-p16-dev from https://cache.nix-ci.com
  54. 12.36 s Substituting go from https://cache.nix-ci.com
  55. 12.39 s Progress: 0 of 7 built, 18 of 44 fetched (13 fetching)
  56. 12.39 s Progress: 0 of 7 built, 19 of 44 fetched (12 fetching)
  57. 12.39 s Progress: 0 of 6 built, 20 of 44 fetched (11 fetching)
  58. 12.39 s Substituting gmp-with-cxx-stage4 from https://cache.nix-ci.com
  59. 12.39 s Substituting binutils from https://cache.nix-ci.com
  60. 12.39 s Substituting patchelf from https://cache.nix-ci.com
  61. 12.39 s Progress: 0 of 6 built, 21 of 44 fetched (13 fetching)
  62. 12.40 s Progress: 0 of 6 built, 22 of 44 fetched (12 fetching)
  63. 12.40 s Substituting xz-5.2.6-bin from https://cache.nix-ci.com
  64. 12.42 s Progress: 0 of 6 built, 23 of 44 fetched (12 fetching)
  65. 12.43 s Progress: 0 of 6 built, 24 of 44 fetched (11 fetching)
  66. 12.43 s Substituting glibc-2.35-163-dev from https://cache.nix-ci.com
  67. 12.43 s Progress: 0 of 6 built, 25 of 44 fetched (11 fetching)
  68. 12.43 s Progress: 0 of 6 built, 26 of 44 fetched (10 fetching)
  69. 12.43 s Progress: 0 of 6 built, 27 of 44 fetched (9 fetching)
  70. 12.43 s Substituting gnutar from https://cache.nix-ci.com
  71. 12.46 s Progress: 0 of 6 built, 28 of 44 fetched (9 fetching)
  72. 12.47 s Progress: 0 of 5 built, 29 of 44 fetched (8 fetching)
  73. 12.47 s Progress: 0 of 5 built, 30 of 44 fetched (7 fetching)
  74. 12.60 s Progress: 0 of 5 built, 31 of 44 fetched (6 fetching)
  75. 12.61 s Progress: 0 of 5 built, 32 of 44 fetched (5 fetching)
  76. 12.62 s Progress: 0 of 5 built, 33 of 44 fetched (4 fetching)
  77. 12.62 s Substituting coreutils from https://cache.nix-ci.com
  78. 12.69 s Progress: 0 of 5 built, 34 of 44 fetched (4 fetching)
  79. 12.69 s Substituting gcc from https://cache.nix-ci.com
  80. 12.71 s Progress: 0 of 5 built, 35 of 44 fetched (4 fetching)
  81. 12.86 s Progress: 0 of 5 built, 36 of 44 fetched (3 fetching)
  82. 12.86 s Substituting diffutils from https://cache.nix-ci.com
  83. 12.86 s Substituting findutils from https://cache.nix-ci.com
  84. 13.07 s Progress: 0 of 5 built, 37 of 44 fetched (4 fetching)
  85. 13.07 s Progress: 0 of 5 built, 38 of 44 fetched (3 fetching)
  86. 13.07 s Substituting stdenv-linux from https://cache.nix-ci.com
  87. 13.11 s Progress: 0 of 5 built, 39 of 44 fetched (3 fetching)
  88. 13.11 s Substituting binutils-wrapper from https://cache.nix-ci.com
  89. 13.23 s Progress: 0 of 5 built, 40 of 44 fetched (3 fetching)
  90. 13.29 s Progress: 0 of 4 built, 41 of 44 fetched (2 fetching)
  91. 15.14 s Progress: 0 of 3 built, 42 of 44 fetched (1 fetching)
  92. 15.14 s Substituting gcc-wrapper from https://cache.nix-ci.com
  93. 15.29 s Progress: 0 of 3 built, 43 of 44 fetched (1 fetching)
  94. 16.89 s Progress: 0 of 2 built, 44 of 44 fetched
  95. 16.99 s Building go-tests
  96. 17.02 s [go-tests] Phase: unpackPhase
  97. 17.02 s [go-tests] unpacking sources
  98. 17.03 s [go-tests] unpacking source archive /nix/store/gd0hav7ngb9i09jba8sxydik59msms9c-source
  99. 17.03 s [go-tests] source root is source
  100. 17.04 s [go-tests] Phase: patchPhase
  101. 17.04 s [go-tests] patching sources
  102. 17.05 s [go-tests] Phase: configurePhase
  103. 17.05 s [go-tests] configuring
  104. 17.06 s [go-tests] no configure script, doing nothing
  105. 17.06 s [go-tests] Phase: buildPhase
  106. 17.06 s [go-tests] building
  107. 17.07 s [go-tests] patching script interpreter paths in ./dev-scripts
  108. 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"
  109. 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"
  110. 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"
  111. 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"
  112. 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"
  113. 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"
  114. 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"
  115. 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"
  116. 17.13 s [go-tests] + set -o pipefail
  117. 17.13 s [go-tests] + full_test=
  118. 17.13 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  119. 17.13 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  120. 17.13 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  121. 17.13 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  122. 17.13 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  123. 17.13 s [go-tests] + [[ --full = \-\-\f\u\l\l ]]
  124. 17.13 s [go-tests] + full_test=1
  125. 17.13 s [go-tests] + go_test_flags+=("-v")
  126. 17.13 s [go-tests] + go_test_flags+=("-race")
  127. 17.13 s [go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
  128. 17.13 s [go-tests] + set -u
  129. 17.13 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  130. 17.13 s [go-tests] ++ cd ./dev-scripts
  131. 17.13 s [go-tests] ++ pwd
  132. 17.13 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  133. 17.13 s [go-tests] + readonly SCRIPT_DIR
  134. 17.13 s [go-tests] + cd /build/source/dev-scripts/..
  135. 17.13 s [go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
  136. 22.03 s [go-tests] === RUN TestAuthenticate
  137. 22.07 s [go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid
  138. 22.07 s [go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
  139. 22.07 s [go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
  140. 22.07 s [go-tests] --- PASS: TestAuthenticate (0.00s)
  141. 22.07 s [go-tests] --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
  142. 22.07 s [go-tests] --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
  143. 22.07 s [go-tests] --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
  144. 22.07 s [go-tests] PASS
  145. 22.07 s [go-tests] coverage: 50.0% of statements
  146. 22.07 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.023s coverage: 50.0% of statements
  147. 25.01 s [go-tests] === RUN TestCreateAndLoadSession
  148. 25.01 s [go-tests] --- PASS: TestCreateAndLoadSession (0.00s)
  149. 25.01 s [go-tests] === RUN TestRequireUserRedirectsWithoutSession
  150. 25.01 s [go-tests] --- PASS: TestRequireUserRedirectsWithoutSession (0.00s)
  151. 25.01 s [go-tests] === RUN TestLoadUserIgnoresExpiredSession
  152. 25.01 s [go-tests] --- PASS: TestLoadUserIgnoresExpiredSession (0.00s)
  153. 25.01 s [go-tests] PASS
  154. 25.01 s [go-tests] coverage: 66.7% of statements
  155. 25.01 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.030s coverage: 66.7% of statements
  156. 25.07 s [go-tests] + [[ -n 1 ]]
  157. 25.07 s [go-tests] + go tool cover -html .coverage.out -o .coverage.html
  158. 25.18 s [go-tests] + go vet ./...
  159. 27.52 s [go-tests] ++ go env GOPATH
  160. 27.56 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  161. 27.56 s [go-tests] + readonly STATICCHECK_PATH
  162. 27.56 s [go-tests] + readonly STATICCHECK_VERSION=v0.4.6
  163. 27.56 s [go-tests] + STATICCHECK_VERSION=v0.4.6
  164. 27.56 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  165. 27.56 s [go-tests] + /build/go/bin/staticcheck ./...
  166. 29.44 s [go-tests] ++ go env GOPATH
  167. 29.45 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  168. 29.45 s [go-tests] + readonly ERRCHECK_PATH
  169. 29.45 s [go-tests] + readonly ERRCHECK_VERSION=v1.6.2
  170. 29.45 s [go-tests] + ERRCHECK_VERSION=v1.6.2
  171. 29.45 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  172. 29.45 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  173. 30.14 s [go-tests] Phase: installPhase
  174. 30.14 s [go-tests] installing
  175. 30.15 s [go-tests] Phase: fixupPhase
  176. 30.15 s [go-tests] post-installation fixup
  177. 30.15 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  178. 30.16 s [go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
  179. 30.16 s [go-tests] patching script interpreter paths in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  180. 30.16 s [go-tests] checking for references to /build/ in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0...
  181. 30.25 s [post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  182. 30.28 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  183. 30.29 s [post-build-hook] copying 1 paths...
  184. 30.29 s [post-build-hook] copying path '/nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  185. 30.45 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  186. 30.61 s [post-build-hook] copying 0 paths...
  187. 30.62 s Progress: 1 of 2 built, 44 of 44 fetched