build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.60 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/86n4l5yri6hys3zk2mwy2azcv9prqb8j-nix-2.31.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=email-auth&rev=3f0a31f5da8c176ea1773d591072159cf8e1128d#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.07 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/714b610af5ad23f01fd991a776f65512e08a9d33aace7513b6f3708cf73cf02f.sqlite' is busy
  3. 4.59 s
  4. 4.88 s Waiting for lock on little-moments-0.0.1-go-modules
  5. 15.04 s Building go-tests
  6. 15.13 s [go-tests] Phase: unpackPhase
  7. 15.14 s [go-tests] unpacking source archive /nix/store/ch35j9r2jjr86ihxb2q49a3hmbammd1p-source
  8. 15.17 s [go-tests] source root is source
  9. 15.25 s [go-tests] Phase: patchPhase
  10. 15.29 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  11. 15.31 s [go-tests] Phase: configurePhase
  12. 15.44 s [go-tests] no configure script, doing nothing
  13. 15.46 s [go-tests] Phase: buildPhase
  14. 15.57 s [go-tests] patching script interpreter paths in ./dev-scripts
  15. 15.58 s [go-tests] ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  16. 15.78 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  17. 15.90 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  18. 15.96 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  19. 15.99 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  20. 16.07 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  21. 16.11 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  22. 16.14 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  23. 16.20 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  24. 16.23 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  25. 16.28 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  26. 16.31 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  27. 16.33 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  28. 16.36 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  29. 16.39 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  30. 16.42 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  31. 16.45 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  32. 16.47 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  33. 16.50 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  34. 16.52 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  35. 16.55 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  36. 16.59 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  37. 16.80 s [go-tests] + set -o pipefail
  38. 16.80 s [go-tests] + full_test=
  39. 16.80 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  40. 16.80 s [go-tests] + go_test_flags+=("-fullpath")
  41. 16.80 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  42. 16.80 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  43. 16.80 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  44. 16.80 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  45. 16.80 s [go-tests] + [[ '' = \-\-full ]]
  46. 16.80 s [go-tests] + set -u
  47. 16.80 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  48. 16.80 s [go-tests] ++ cd ./dev-scripts
  49. 16.80 s [go-tests] ++ pwd
  50. 16.80 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  51. 16.80 s [go-tests] + readonly SCRIPT_DIR
  52. 16.80 s [go-tests] + cd /build/source/dev-scripts/..
  53. 16.80 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  54. 22.21 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  55. 27.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  56. 32.21 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  57. 32.21 s [go-tests] ? codeberg.org/mtlynch/little-moments/email [no test files]
  58. 32.21 s [go-tests] ? codeberg.org/mtlynch/little-moments/email/smtp [no test files]
  59. 33.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.086s
  60. 33.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  61. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.023s
  62. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  63. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.006s
  64. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  65. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  66. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  67. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  68. 33.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  69. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  70. 33.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  71. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  72. 33.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  73. 33.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.910s
  74. 33.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  75. 33.45 s [go-tests] + [[ -n '' ]]
  76. 33.45 s [go-tests] + go vet ./...
  77. 42.49 s [go-tests] + go_package_dirs=()
  78. 42.50 s [go-tests] + IFS=
  79. 42.50 s [go-tests] + read -r go_package_dir
  80. 42.50 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  81. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  82. 42.57 s [go-tests] + IFS=
  83. 42.57 s [go-tests] + read -r go_package_dir
  84. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 42.57 s [go-tests] + IFS=
  86. 42.57 s [go-tests] + read -r go_package_dir
  87. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 42.57 s [go-tests] + IFS=
  89. 42.57 s [go-tests] + read -r go_package_dir
  90. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 42.57 s [go-tests] + IFS=
  92. 42.57 s [go-tests] + read -r go_package_dir
  93. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 42.57 s [go-tests] + IFS=
  95. 42.57 s [go-tests] + read -r go_package_dir
  96. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 42.57 s [go-tests] + IFS=
  98. 42.57 s [go-tests] + read -r go_package_dir
  99. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 42.57 s [go-tests] + IFS=
  101. 42.57 s [go-tests] + read -r go_package_dir
  102. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 42.57 s [go-tests] + IFS=
  104. 42.57 s [go-tests] + read -r go_package_dir
  105. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 42.57 s [go-tests] + IFS=
  107. 42.57 s [go-tests] + read -r go_package_dir
  108. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 42.57 s [go-tests] + IFS=
  110. 42.57 s [go-tests] + read -r go_package_dir
  111. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 42.57 s [go-tests] + IFS=
  113. 42.57 s [go-tests] + read -r go_package_dir
  114. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 42.57 s [go-tests] + IFS=
  116. 42.57 s [go-tests] + read -r go_package_dir
  117. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 42.57 s [go-tests] + IFS=
  119. 42.57 s [go-tests] + read -r go_package_dir
  120. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 42.57 s [go-tests] + IFS=
  122. 42.57 s [go-tests] + read -r go_package_dir
  123. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 42.57 s [go-tests] + IFS=
  125. 42.57 s [go-tests] + read -r go_package_dir
  126. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 42.57 s [go-tests] + IFS=
  128. 42.57 s [go-tests] + read -r go_package_dir
  129. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 42.57 s [go-tests] + IFS=
  131. 42.57 s [go-tests] + read -r go_package_dir
  132. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 42.57 s [go-tests] + IFS=
  134. 42.57 s [go-tests] + read -r go_package_dir
  135. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 42.57 s [go-tests] + IFS=
  137. 42.57 s [go-tests] + read -r go_package_dir
  138. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 42.57 s [go-tests] + IFS=
  140. 42.57 s [go-tests] + read -r go_package_dir
  141. 42.57 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 42.57 s [go-tests] + IFS=
  143. 42.57 s [go-tests] + read -r go_package_dir
  144. 42.57 s [go-tests] + readonly go_package_dirs
  145. 42.57 s [go-tests] ++ go env GOPATH
  146. 42.58 s [go-tests] + GCI_PATH=/build/go/bin/gci
  147. 42.58 s [go-tests] + readonly GCI_PATH
  148. 42.58 s [go-tests] + readonly GCI_VERSION=v0.14.0
  149. 42.58 s [go-tests] + GCI_VERSION=v0.14.0
  150. 42.58 s [go-tests] + [[ -f /build/go/bin/gci ]]
  151. 42.58 s [go-tests] ++ /build/go/bin/gci --version
  152. 42.58 s [go-tests] + gci_version_output='gci version 0.14.0'
  153. 42.58 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  154. 42.58 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  155. 42.58 s [go-tests] + readonly gci_sections
  156. 42.58 s [go-tests] ++ /build/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/cmd/import-from-tinybeans /build/source/email /build/source/email/smtp /build/source/handlers /build/source/images /build/source/importers /build/source/importers/tinybeans /build/source/importers/tinybeans/parse /build/source/little_moments /build/source/little_moments/login_token /build/source/magiclogin /build/source/magiclogin/loginmail /build/source/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  157. 42.61 s [go-tests] + gci_output=
  158. 42.61 s [go-tests] + [[ -n '' ]]
  159. 42.61 s [go-tests] ++ go env GOPATH
  160. 42.61 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  161. 42.61 s [go-tests] + readonly GOCRITIC_PATH
  162. 42.61 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  163. 42.61 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  164. 42.61 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  165. 42.61 s [go-tests] + /build/go/bin/go-critic check ./...
  166. 43.34 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  167. 43.89 s [go-tests] ++ go env GOPATH
  168. 43.89 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  169. 43.89 s [go-tests] + readonly STATICCHECK_PATH
  170. 43.89 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  171. 43.89 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  172. 43.89 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  173. 43.89 s [go-tests] + /build/go/bin/staticcheck ./...
  174. 47.60 s [go-tests] ++ go env GOPATH
  175. 47.62 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  176. 47.62 s [go-tests] + readonly ERRCHECK_PATH
  177. 47.62 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  178. 47.62 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  179. 47.62 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  180. 47.62 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  181. 47.81 s [go-tests] buildPhase completed in 33 seconds
  182. 47.81 s [go-tests] Phase: installPhase
  183. 47.82 s [go-tests] Phase: fixupPhase
  184. 47.84 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/4v8j68v7lpyagg4hc5lcyv3sf3s5jr0i-go-tests-0.0.0
  185. 47.84 s [go-tests] checking for references to /build/ in /nix/store/4v8j68v7lpyagg4hc5lcyv3sf3s5jr0i-go-tests-0.0.0...
  186. 47.85 s [go-tests] patching script interpreter paths in /nix/store/4v8j68v7lpyagg4hc5lcyv3sf3s5jr0i-go-tests-0.0.0
  187. 47.88 s [post-build-hook] Uploading to the NixCI cache: /nix/store/4v8j68v7lpyagg4hc5lcyv3sf3s5jr0i-go-tests-0.0.0
  188. 47.94 s [post-build-hook] copying 1 paths...
  189. 47.94 s [post-build-hook] copying path '/nix/store/4v8j68v7lpyagg4hc5lcyv3sf3s5jr0i-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  190. 48.32 s [post-build-hook] copying 1 paths...
  191. 48.32 s [post-build-hook] copying path '/nix/store/86s3gb0n04djrwmbhzj7mqm533w35nb4-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  192. 48.76 s Progress: 1 of 2 built