build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.52 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=lm-backport&rev=d12fc68faa921e0104b0d092662ba54c9b653499#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.56 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/b788537d051b3b01e9385eb731219e58c7a1b8a62d03c4d940adaedba6fca158.sqlite' is busy
  3. 2.07 s
  4. 2.46 s Downloading cached grosiree-0.0.1-go-modules from https://cache.nix-ci.com
  5. 2.46 s Downloading cached errcheck from https://cache.nix-ci.com
  6. 2.46 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 2.46 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  8. 2.54 s Progress: 0 of 5 built, 1 of 5 downloaded from cache (3 downloading)
  9. 2.54 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  10. 2.56 s Progress: 0 of 5 built, 2 of 5 downloaded from cache (3 downloading)
  11. 2.83 s Progress: 0 of 4 built, 3 of 5 downloaded from cache (2 downloading)
  12. 2.91 s Progress: 0 of 3 built, 4 of 5 downloaded from cache (1 downloading)
  13. 2.94 s Progress: 0 of 2 built, 5 of 5 downloaded from cache
  14. 3.09 s Building /nix/store/56wvf55cvgf1bv0y61f42ibp5chi8a9k-go-tests-0.0.0.drv
  15. 3.16 s [go-tests] Phase: unpackPhase
  16. 3.16 s [go-tests] unpacking source archive /nix/store/jg80wx3wdg2x48vq73r2ha263f64qcms-source
  17. 3.17 s [go-tests] source root is source
  18. 3.18 s [go-tests] Phase: patchPhase
  19. 3.19 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  20. 3.20 s [go-tests] Phase: configurePhase
  21. 3.21 s [go-tests] no configure script, doing nothing
  22. 3.21 s [go-tests] Phase: buildPhase
  23. 3.22 s [go-tests] patching script interpreter paths in ./dev-scripts
  24. 3.22 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"
  25. 3.23 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"
  26. 3.23 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"
  27. 3.24 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"
  28. 3.25 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"
  29. 3.26 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"
  30. 3.27 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"
  31. 3.28 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"
  32. 3.29 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"
  33. 3.30 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"
  34. 3.31 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"
  35. 3.31 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"
  36. 3.32 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"
  37. 3.33 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"
  38. 3.34 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  39. 3.53 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"
  40. 3.54 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"
  41. 3.55 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"
  42. 3.56 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"
  43. 3.57 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"
  44. 3.66 s [go-tests] + set -o pipefail
  45. 3.66 s [go-tests] + full_test=
  46. 3.66 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  47. 3.66 s [go-tests] + go_test_flags+=("-fullpath")
  48. 3.66 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  49. 3.66 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  50. 3.66 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  51. 3.66 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  52. 3.66 s [go-tests] + [[ '' = \-\-full ]]
  53. 3.66 s [go-tests] + set -u
  54. 3.66 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  55. 3.66 s [go-tests] ++ cd ./dev-scripts
  56. 3.66 s [go-tests] ++ pwd
  57. 3.66 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  58. 3.66 s [go-tests] + readonly SCRIPT_DIR
  59. 3.66 s [go-tests] + cd /build/source/dev-scripts/..
  60. 3.66 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  61. 12.85 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  62. 14.10 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.905s
  63. 14.10 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  64. 14.10 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  65. 14.10 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/sqlite [no test files]
  66. 14.10 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  67. 14.10 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.006s
  68. 14.17 s [go-tests] + [[ -n '' ]]
  69. 14.17 s [go-tests] + go vet ./...
  70. 20.31 s [go-tests] ++ go env GOPATH
  71. 20.35 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  72. 20.35 s [go-tests] + readonly STATICCHECK_PATH
  73. 20.35 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  74. 20.35 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  75. 20.35 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  76. 20.35 s [go-tests] + /build/go/bin/staticcheck ./...
  77. 23.04 s [go-tests] ++ go env GOPATH
  78. 23.05 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  79. 23.05 s [go-tests] + readonly ERRCHECK_PATH
  80. 23.05 s [go-tests] + readonly ERRCHECK_VERSION=v1.9.0
  81. 23.05 s [go-tests] + ERRCHECK_VERSION=v1.9.0
  82. 23.05 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  83. 23.05 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  84. 23.18 s [go-tests] Phase: installPhase
  85. 23.19 s [go-tests] Phase: fixupPhase
  86. 23.20 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0
  87. 23.20 s [go-tests] checking for references to /build/ in /nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0...
  88. 23.20 s [go-tests] patching script interpreter paths in /nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0
  89. 23.33 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0
  90. 23.37 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  91. 23.37 s [go-tests:post-build] copying 1 paths...
  92. 23.37 s [go-tests:post-build] copying path '/nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  93. 23.53 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  94. 23.81 s [go-tests:post-build] copying 1 paths...
  95. 23.81 s [go-tests:post-build] copying path '/nix/store/56wvf55cvgf1bv0y61f42ibp5chi8a9k-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  96. 24.04 s Progress: 1 of 2 built, 5 of 5 downloaded from cache
  97. 24.04 s Progress: 2 of 2 built, 5 of 5 downloaded from cache
  98. 24.04 s /nix/store/qjgqx89j5xcpb6qqalblyp43jpxsgsny-go-tests-0.0.0
  99. 24.08 s Build succeeded.