build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.19 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=dont-check-deletes&rev=4123bc30be9ae62d1f208ecef14b563b558341fb#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.22 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/2e34db666f94b0fc96b71cf174d19c8bb85faea2599a8aa3b8597b1c23fb894e.sqlite' is busy
  3. 6.66 s
  4. 7.39 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  5. 7.78 s Progress: 0 of 2 built, 1 of 1 downloaded from cache
  6. 7.96 s Building go-tests
  7. 8.07 s [go-tests] Phase: unpackPhase
  8. 8.09 s [go-tests] unpacking source archive /nix/store/msgfv48p7kb5a0z8m0c2rgihyrz6yxgy-source
  9. 8.15 s [go-tests] source root is source
  10. 8.19 s [go-tests] Phase: patchPhase
  11. 8.21 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  12. 8.23 s [go-tests] Phase: configurePhase
  13. 8.25 s [go-tests] no configure script, doing nothing
  14. 8.26 s [go-tests] Phase: buildPhase
  15. 8.27 s [go-tests] patching script interpreter paths in ./dev-scripts
  16. 8.28 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"
  17. 8.30 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"
  18. 8.33 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"
  19. 8.37 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"
  20. 8.39 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"
  21. 8.41 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  22. 8.43 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"
  23. 8.45 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"
  24. 8.47 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"
  25. 8.49 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"
  26. 8.51 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"
  27. 8.54 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"
  28. 8.56 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"
  29. 8.60 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"
  30. 8.64 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"
  31. 8.67 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"
  32. 8.69 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"
  33. 8.71 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"
  34. 8.73 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"
  35. 8.75 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"
  36. 8.78 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"
  37. 8.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"
  38. 8.98 s [go-tests] + set -o pipefail
  39. 8.98 s [go-tests] + full_test=
  40. 8.98 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  41. 8.98 s [go-tests] + go_test_flags+=("-fullpath")
  42. 8.98 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  43. 8.98 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  44. 8.98 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  45. 8.98 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  46. 8.98 s [go-tests] + [[ '' = \-\-full ]]
  47. 8.98 s [go-tests] + set -u
  48. 8.98 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  49. 8.98 s [go-tests] ++ cd ./dev-scripts
  50. 8.98 s [go-tests] ++ pwd
  51. 8.99 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  52. 8.99 s [go-tests] + readonly SCRIPT_DIR
  53. 8.99 s [go-tests] + cd /build/source/dev-scripts/..
  54. 8.99 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  55. 12.89 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  56. 16.75 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  57. 20.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  58. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.730s
  59. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.337s
  60. 21.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  61. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  62. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  63. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.006s
  64. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  65. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  66. 21.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  67. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  68. 21.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.684s
  69. 21.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  70. 21.11 s [go-tests] + [[ -n '' ]]
  71. 21.11 s [go-tests] + go vet ./...
  72. 30.31 s [go-tests] + go_package_dirs=()
  73. 30.34 s [go-tests] + IFS=
  74. 30.34 s [go-tests] + read -r go_package_dir
  75. 30.34 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  76. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  77. 30.38 s [go-tests] + IFS=
  78. 30.38 s [go-tests] + read -r go_package_dir
  79. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  80. 30.38 s [go-tests] + IFS=
  81. 30.38 s [go-tests] + read -r go_package_dir
  82. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  83. 30.38 s [go-tests] + IFS=
  84. 30.38 s [go-tests] + read -r go_package_dir
  85. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  86. 30.38 s [go-tests] + IFS=
  87. 30.38 s [go-tests] + read -r go_package_dir
  88. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  89. 30.38 s [go-tests] + IFS=
  90. 30.38 s [go-tests] + read -r go_package_dir
  91. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  92. 30.38 s [go-tests] + IFS=
  93. 30.38 s [go-tests] + read -r go_package_dir
  94. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  95. 30.38 s [go-tests] + IFS=
  96. 30.38 s [go-tests] + read -r go_package_dir
  97. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  98. 30.38 s [go-tests] + IFS=
  99. 30.38 s [go-tests] + read -r go_package_dir
  100. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 30.38 s [go-tests] + IFS=
  102. 30.38 s [go-tests] + read -r go_package_dir
  103. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  104. 30.38 s [go-tests] + IFS=
  105. 30.38 s [go-tests] + read -r go_package_dir
  106. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 30.38 s [go-tests] + IFS=
  108. 30.38 s [go-tests] + read -r go_package_dir
  109. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 30.38 s [go-tests] + IFS=
  111. 30.38 s [go-tests] + read -r go_package_dir
  112. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 30.38 s [go-tests] + IFS=
  114. 30.38 s [go-tests] + read -r go_package_dir
  115. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 30.38 s [go-tests] + IFS=
  117. 30.38 s [go-tests] + read -r go_package_dir
  118. 30.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 30.38 s [go-tests] + IFS=
  120. 30.38 s [go-tests] + read -r go_package_dir
  121. 30.38 s [go-tests] + readonly go_package_dirs
  122. 30.38 s [go-tests] ++ go env GOPATH
  123. 30.38 s [go-tests] + GCI_PATH=/build/go/bin/gci
  124. 30.38 s [go-tests] + readonly GCI_PATH
  125. 30.38 s [go-tests] + readonly GCI_VERSION=v0.14.0
  126. 30.38 s [go-tests] + GCI_VERSION=v0.14.0
  127. 30.38 s [go-tests] + [[ -f /build/go/bin/gci ]]
  128. 30.38 s [go-tests] ++ /build/go/bin/gci --version
  129. 30.39 s [go-tests] + gci_version_output='gci version 0.14.0'
  130. 30.39 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  131. 30.39 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  132. 30.39 s [go-tests] + readonly gci_sections
  133. 30.39 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
  134. 30.42 s [go-tests] + gci_output=
  135. 30.42 s [go-tests] + [[ -n '' ]]
  136. 30.42 s [go-tests] ++ go env GOPATH
  137. 30.42 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  138. 30.42 s [go-tests] + readonly GOCRITIC_PATH
  139. 30.42 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  140. 30.42 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  141. 30.42 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  142. 30.42 s [go-tests] + /build/go/bin/go-critic check ./...
  143. 31.04 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  144. 31.53 s [go-tests] ++ go env GOPATH
  145. 31.54 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  146. 31.54 s [go-tests] + readonly STATICCHECK_PATH
  147. 31.54 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  148. 31.54 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  149. 31.54 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  150. 31.54 s [go-tests] + /build/go/bin/staticcheck ./...
  151. 34.91 s [go-tests] ++ go env GOPATH
  152. 34.92 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  153. 34.92 s [go-tests] + readonly ERRCHECK_PATH
  154. 34.92 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  155. 34.92 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  156. 34.92 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  157. 34.92 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  158. 35.09 s [go-tests] Phase: installPhase
  159. 35.10 s [go-tests] Phase: fixupPhase
  160. 35.11 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/i5aml4srf0f748a07a34jqqsdajk8y5n-go-tests-0.0.0
  161. 35.12 s [go-tests] checking for references to /build/ in /nix/store/i5aml4srf0f748a07a34jqqsdajk8y5n-go-tests-0.0.0...
  162. 35.13 s [go-tests] patching script interpreter paths in /nix/store/i5aml4srf0f748a07a34jqqsdajk8y5n-go-tests-0.0.0
  163. 35.16 s [post-build-hook] Uploading to the NixCI cache: /nix/store/i5aml4srf0f748a07a34jqqsdajk8y5n-go-tests-0.0.0
  164. 35.20 s [post-build-hook] copying 1 paths...
  165. 35.20 s [post-build-hook] copying path '/nix/store/i5aml4srf0f748a07a34jqqsdajk8y5n-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  166. 35.68 s [post-build-hook] copying 1 paths...
  167. 35.72 s [post-build-hook] copying path '/nix/store/sq74r161d9c0a5g6cpyjxi2c98psv03v-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  168. 36.13 s Progress: 1 of 2 built, 1 of 1 downloaded from cache