build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.49 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=sqlite-store-clock&rev=ec0757091dcbab0b5a5a2e7bdf0f4591cb220a00#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/8e74a6efbd1d68ceba76a43ed4218f9777e384be6d6048af8c78eb8ae2841cdf.sqlite' is busy
  3. 5.52 s
  4. 5.94 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 5.98 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 5.98 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 5.98 s Waiting for lock on little-moments-0.0.1-go-modules
  8. 6.36 s Progress: 0 of 5 built, 1 of 3 downloaded from cache (2 downloading)
  9. 6.36 s Progress: 0 of 5 built, 2 of 3 downloaded from cache (1 downloading)
  10. 7.24 s Progress: 0 of 3 built, 3 of 3 downloaded from cache
  11. 16.44 s Building go-tests
  12. 16.54 s [go-tests] Phase: unpackPhase
  13. 16.55 s [go-tests] unpacking source archive /nix/store/lvvvb5j9y14gh0pxplsyxbgad20mx89p-source
  14. 16.58 s [go-tests] source root is source
  15. 16.61 s [go-tests] Phase: patchPhase
  16. 16.62 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  17. 16.64 s [go-tests] Phase: configurePhase
  18. 16.68 s [go-tests] no configure script, doing nothing
  19. 16.68 s [go-tests] Phase: buildPhase
  20. 16.70 s [go-tests] patching script interpreter paths in ./dev-scripts
  21. 16.70 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"
  22. 16.73 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"
  23. 16.76 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"
  24. 16.78 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"
  25. 16.80 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"
  26. 16.83 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.85 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"
  28. 16.87 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"
  29. 16.97 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"
  30. 17.07 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"
  31. 17.23 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"
  32. 17.25 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. 17.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"
  34. 17.31 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"
  35. 17.34 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"
  36. 17.36 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"
  37. 17.38 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"
  38. 17.40 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"
  39. 17.43 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"
  40. 17.46 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  41. 17.48 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"
  42. 17.51 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"
  43. 17.86 s [go-tests] + set -o pipefail
  44. 17.86 s [go-tests] + full_test=
  45. 17.86 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  46. 17.86 s [go-tests] + go_test_flags+=("-fullpath")
  47. 17.86 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  48. 17.86 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  49. 17.86 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  50. 17.86 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  51. 17.86 s [go-tests] + [[ '' = \-\-full ]]
  52. 17.86 s [go-tests] + set -u
  53. 17.86 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  54. 17.87 s [go-tests] ++ cd ./dev-scripts
  55. 17.87 s [go-tests] ++ pwd
  56. 17.87 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  57. 17.87 s [go-tests] + readonly SCRIPT_DIR
  58. 17.87 s [go-tests] + cd /build/source/dev-scripts/..
  59. 17.87 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  60. 24.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  61. 30.60 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  62. 36.58 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  63. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.143s
  64. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.396s
  65. 37.73 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  66. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.030s
  67. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.009s
  68. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.013s
  69. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.018s
  70. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.012s
  71. 37.73 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  72. 37.73 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.009s
  73. 37.75 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.159s
  74. 37.75 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  75. 37.89 s [go-tests] + [[ -n '' ]]
  76. 37.89 s [go-tests] + go vet ./...
  77. 48.81 s [go-tests] + go_package_dirs=()
  78. 48.85 s [go-tests] + IFS=
  79. 48.85 s [go-tests] + read -r go_package_dir
  80. 48.85 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  81. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  82. 48.90 s [go-tests] + IFS=
  83. 48.90 s [go-tests] + read -r go_package_dir
  84. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 48.90 s [go-tests] + IFS=
  86. 48.90 s [go-tests] + read -r go_package_dir
  87. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 48.90 s [go-tests] + IFS=
  89. 48.90 s [go-tests] + read -r go_package_dir
  90. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 48.90 s [go-tests] + IFS=
  92. 48.90 s [go-tests] + read -r go_package_dir
  93. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 48.90 s [go-tests] + IFS=
  95. 48.90 s [go-tests] + read -r go_package_dir
  96. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 48.90 s [go-tests] + IFS=
  98. 48.90 s [go-tests] + read -r go_package_dir
  99. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 48.90 s [go-tests] + IFS=
  101. 48.90 s [go-tests] + read -r go_package_dir
  102. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 48.90 s [go-tests] + IFS=
  104. 48.90 s [go-tests] + read -r go_package_dir
  105. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 48.90 s [go-tests] + IFS=
  107. 48.90 s [go-tests] + read -r go_package_dir
  108. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 48.90 s [go-tests] + IFS=
  110. 48.90 s [go-tests] + read -r go_package_dir
  111. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 48.90 s [go-tests] + IFS=
  113. 48.90 s [go-tests] + read -r go_package_dir
  114. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 48.90 s [go-tests] + IFS=
  116. 48.90 s [go-tests] + read -r go_package_dir
  117. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 48.90 s [go-tests] + IFS=
  119. 48.90 s [go-tests] + read -r go_package_dir
  120. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 48.90 s [go-tests] + IFS=
  122. 48.90 s [go-tests] + read -r go_package_dir
  123. 48.90 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 48.90 s [go-tests] + IFS=
  125. 48.90 s [go-tests] + read -r go_package_dir
  126. 48.90 s [go-tests] + readonly go_package_dirs
  127. 48.90 s [go-tests] ++ go env GOPATH
  128. 48.91 s [go-tests] + GCI_PATH=/build/go/bin/gci
  129. 48.91 s [go-tests] + readonly GCI_PATH
  130. 48.91 s [go-tests] + readonly GCI_VERSION=v0.14.0
  131. 48.91 s [go-tests] + GCI_VERSION=v0.14.0
  132. 48.91 s [go-tests] + [[ -f /build/go/bin/gci ]]
  133. 48.91 s [go-tests] ++ /build/go/bin/gci --version
  134. 48.95 s [go-tests] + gci_version_output='gci version 0.14.0'
  135. 48.95 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  136. 48.95 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  137. 48.95 s [go-tests] + readonly gci_sections
  138. 48.95 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/handlers /build/source/handlers/auth/shared_secret /build/source/images /build/source/importers /build/source/importers/tinybeans /build/source/importers/tinybeans/parse /build/source/little_moments /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store/sqlite /build/source/store/test_sqlite
  139. 48.98 s [go-tests] + gci_output=
  140. 48.98 s [go-tests] + [[ -n '' ]]
  141. 48.98 s [go-tests] ++ go env GOPATH
  142. 48.99 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  143. 48.99 s [go-tests] + readonly GOCRITIC_PATH
  144. 48.99 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  145. 48.99 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  146. 48.99 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  147. 48.99 s [go-tests] + /build/go/bin/go-critic check ./...
  148. 49.88 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  149. 50.69 s [go-tests] ++ go env GOPATH
  150. 50.70 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  151. 50.70 s [go-tests] + readonly STATICCHECK_PATH
  152. 50.70 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  153. 50.70 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  154. 50.70 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  155. 50.70 s [go-tests] + /build/go/bin/staticcheck ./...
  156. 55.77 s [go-tests] ++ go env GOPATH
  157. 55.80 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  158. 55.80 s [go-tests] + readonly ERRCHECK_PATH
  159. 55.80 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  160. 55.80 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  161. 55.80 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  162. 55.80 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  163. 55.99 s [go-tests] buildPhase completed in 40 seconds
  164. 55.99 s [go-tests] Phase: installPhase
  165. 56.00 s [go-tests] Phase: fixupPhase
  166. 56.02 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/xl78q62ngc4a20481syd4lcv224sdz8l-go-tests-0.0.0
  167. 56.02 s [go-tests] checking for references to /build/ in /nix/store/xl78q62ngc4a20481syd4lcv224sdz8l-go-tests-0.0.0...
  168. 56.04 s [go-tests] patching script interpreter paths in /nix/store/xl78q62ngc4a20481syd4lcv224sdz8l-go-tests-0.0.0
  169. 56.08 s [post-build-hook] Uploading to the NixCI cache: /nix/store/xl78q62ngc4a20481syd4lcv224sdz8l-go-tests-0.0.0
  170. 56.14 s [post-build-hook] copying 1 paths...
  171. 56.14 s [post-build-hook] copying path '/nix/store/xl78q62ngc4a20481syd4lcv224sdz8l-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  172. 57.85 s [post-build-hook] copying 1 paths...
  173. 57.85 s [post-build-hook] copying path '/nix/store/40jjx9vwf2yxxv6myjldcz82s355hyqg-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  174. 58.40 s Progress: 1 of 2 built, 3 of 3 downloaded from cache