build packages.x86_64-linux.go-tests

Reproduce this run
  1. 1.89 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/grosiree?ref=experimental%2Fsection-htmx&rev=76e42cbca21ee7eea39d0a36b9e4bb16b969f141&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.11 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/31064081077319fcce3fced2f566eb0511cf6f16e6ca5fd08f49fc152bb4959d.sqlite' is busy
  3. 3.11 s
  4. 3.11 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 3.11 s Downloading cached gci from https://cache.nix-ci.com
  6. 3.11 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 3.11 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 3.11 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  9. 3.14 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 25ms
  10. 3.14 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  11. 3.14 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  12. 3.15 s Downloaded cached errcheck (5 MiB) in 38ms
  13. 3.15 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  14. 3.17 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 32ms
  15. 3.17 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  16. 3.19 s Downloaded cached go-critic (9.1 MiB) in 73ms
  17. 3.19 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  18. 3.24 s Downloaded cached gci (14.3 MiB) in 124ms
  19. 3.24 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 3.42 s Downloaded cached go-tools (41.8 MiB) in 302ms
  21. 3.42 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 3.52 s Building /nix/store/zz8mhcxmd04dw89cvlg6w4ndkdbgn5j3-go-tests-0.0.0.drv
  23. 3.58 s [go-tests] Phase: unpackPhase
  24. 3.58 s [go-tests] unpacking source archive /nix/store/fcz2hi7m2b088sv84hzjbfrphwamax7r-source
  25. 3.60 s [go-tests] source root is source
  26. 3.60 s [go-tests] Phase: patchPhase
  27. 3.61 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 3.62 s [go-tests] Phase: configurePhase
  29. 3.63 s [go-tests] no configure script, doing nothing
  30. 3.63 s [go-tests] Phase: buildPhase
  31. 3.63 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 3.63 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  33. 3.64 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  34. 3.65 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  35. 3.66 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  36. 3.67 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  37. 3.67 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  38. 3.68 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  39. 3.69 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  40. 3.70 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  41. 3.71 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  42. 3.71 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  43. 3.72 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  44. 3.73 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  45. 3.74 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  46. 3.75 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  47. 3.76 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  48. 3.77 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  49. 3.78 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  50. 3.78 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  51. 3.79 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  52. 3.80 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  53. 3.81 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  54. 3.82 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  55. 3.83 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  56. 3.91 s [go-tests] + set -o pipefail
  57. 3.91 s [go-tests] + full_test=
  58. 3.91 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  59. 3.91 s [go-tests] + go_test_flags+=("-fullpath")
  60. 3.91 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  61. 3.91 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  62. 3.91 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  63. 3.91 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  64. 3.91 s [go-tests] + [[ '' = \-\-full ]]
  65. 3.91 s [go-tests] + set -u
  66. 3.91 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  67. 3.91 s [go-tests] ++ cd ./dev-scripts
  68. 3.91 s [go-tests] ++ pwd
  69. 3.91 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  70. 3.91 s [go-tests] + readonly SCRIPT_DIR
  71. 3.91 s [go-tests] + cd /build/source/dev-scripts/..
  72. 3.91 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  73. 8.71 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  74. 11.23 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  75. 12.17 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.688s
  76. 12.17 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  77. 12.17 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  78. 12.17 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.678s
  79. 12.17 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  80. 12.17 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
  81. 12.23 s [go-tests] + [[ -n '' ]]
  82. 12.23 s [go-tests] + go vet ./...
  83. 16.90 s [go-tests] + go_package_dirs=()
  84. 19.32 s [go-tests] + IFS=
  85. 19.32 s [go-tests] + read -r go_package_dir
  86. 19.32 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  87. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 19.32 s [go-tests] + IFS=
  89. 19.32 s [go-tests] + read -r go_package_dir
  90. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 19.32 s [go-tests] + IFS=
  92. 19.32 s [go-tests] + read -r go_package_dir
  93. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 19.32 s [go-tests] + IFS=
  95. 19.32 s [go-tests] + read -r go_package_dir
  96. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 19.32 s [go-tests] + IFS=
  98. 19.32 s [go-tests] + read -r go_package_dir
  99. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 19.32 s [go-tests] + IFS=
  101. 19.32 s [go-tests] + read -r go_package_dir
  102. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 19.32 s [go-tests] + IFS=
  104. 19.32 s [go-tests] + read -r go_package_dir
  105. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 19.32 s [go-tests] + IFS=
  107. 19.32 s [go-tests] + read -r go_package_dir
  108. 19.32 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 19.32 s [go-tests] + IFS=
  110. 19.32 s [go-tests] + read -r go_package_dir
  111. 19.32 s [go-tests] + readonly go_package_dirs
  112. 19.32 s [go-tests] ++ go env GOBIN
  113. 19.32 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  114. 19.32 s [go-tests] + readonly GCI_PATH
  115. 19.32 s [go-tests] + readonly GCI_VERSION=v0.14.0
  116. 19.32 s [go-tests] + GCI_VERSION=v0.14.0
  117. 19.32 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  118. 19.32 s [go-tests] ++ /build/home/go/bin/gci --version
  119. 19.32 s [go-tests] + gci_version_output='gci version 0.14.0'
  120. 19.32 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  121. 19.32 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  122. 19.32 s [go-tests] + readonly gci_sections
  123. 19.32 s [go-tests] ++ /build/home/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/handlers /build/source/handlers/auth/shared_secret /build/source/handlers/auth/shared_secret/kdf /build/source/store/sqlite /build/source/store/test_sqlite /build/source/types
  124. 19.32 s [go-tests] + gci_output=
  125. 19.32 s [go-tests] + [[ -n '' ]]
  126. 19.32 s [go-tests] ++ go env GOBIN
  127. 19.32 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  128. 19.32 s [go-tests] + readonly GOCRITIC_PATH
  129. 19.32 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  130. 19.32 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  131. 19.32 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  132. 19.32 s [go-tests] + /build/home/go/bin/go-critic check ./...
  133. 19.32 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  134. 19.32 s [go-tests] ++ go env GOBIN
  135. 19.32 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  136. 19.32 s [go-tests] + readonly STATICCHECK_PATH
  137. 19.32 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  138. 19.32 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  139. 19.32 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  140. 19.32 s [go-tests] + /build/home/go/bin/staticcheck ./...
  141. 21.54 s [go-tests] ++ go env GOBIN
  142. 21.54 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  143. 21.54 s [go-tests] + readonly ERRCHECK_PATH
  144. 21.54 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  145. 21.54 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  146. 21.54 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  147. 21.54 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  148. 21.71 s [go-tests] Phase: installPhase
  149. 21.71 s [go-tests] Phase: fixupPhase
  150. 21.72 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0
  151. 21.73 s [go-tests] checking for references to /build/ in /nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0...
  152. 21.73 s [go-tests] patching script interpreter paths in /nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0
  153. 21.87 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0
  154. 21.91 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  155. 22.83 s [go-tests:post-build] copying 1 paths...
  156. 22.83 s [go-tests:post-build] copying path '/nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  157. 22.83 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  158. 23.28 s [go-tests:post-build] copying 1 paths...
  159. 23.28 s [go-tests:post-build] copying path '/nix/store/zz8mhcxmd04dw89cvlg6w4ndkdbgn5j3-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  160. 24.80 s Uploaded go-tests in 2.9s
  161. 24.80 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  162. 24.80 s Built go-tests in 21.2s
  163. 24.80 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  164. 24.81 s /nix/store/qhh2p1172484mqp73r1nqzbx7gzrh14y-go-tests-0.0.0
  165. 24.87 s Build succeeded.