flaky ci #2

Closed
opened 2022-06-25 00:19:08 +02:00 by wanderer · 1 comment
Owner

every other nix build fails not due to actual issues with code but with messages like:

building '/nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv'...
error: builder for '/nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv' failed with exit code 1;
       last 9 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/87fh0sjadcn0fjlj9ryvxdi0bg9r65a1-source
       > source root is source
       > patching sources
       > configuring
       > building
       > go: gonum.org/v1/plot@v0.10.1 requires
       >    gonum.org/v1/gonum@v0.9.3 requires
       >     gonum.org/v1/netlib@v0.0.0-20190313105609-8cb42192e0e0: unrecognized import path "gonum.org/v1/netlib": https fetch: Get "https://gonum.org/v1/netlib?go-get=1": read tcp 192.168.192.4:44396->18.159.128.50:443: read: connection reset by peer
       For full logs, run 'nix log /nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv'.
error: 1 dependencies of derivation '/nix/store/bfdqk0hjmkqhw1ij7r3f8xnaf4a638y2-math-optim-v0.0.0.drv' failed to build

..most important part being "connection reset by peer".
ref: https://drone.dotya.ml/wanderer/math-optim/114/1/12

is this due to disabling GOPROXY flake-wide?
ref: d9d7069592/flake.nix (L66)

works fine on my machine and on my remote builders, should work in ci.

every other `nix build` fails not due to actual issues with code but with messages like: ``` building '/nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv'... error: builder for '/nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv' failed with exit code 1; last 9 log lines: > unpacking sources > unpacking source archive /nix/store/87fh0sjadcn0fjlj9ryvxdi0bg9r65a1-source > source root is source > patching sources > configuring > building > go: gonum.org/v1/plot@v0.10.1 requires > gonum.org/v1/gonum@v0.9.3 requires > gonum.org/v1/netlib@v0.0.0-20190313105609-8cb42192e0e0: unrecognized import path "gonum.org/v1/netlib": https fetch: Get "https://gonum.org/v1/netlib?go-get=1": read tcp 192.168.192.4:44396->18.159.128.50:443: read: connection reset by peer For full logs, run 'nix log /nix/store/aizavsipg1zmpzkx2jiq2x0hdf44xqhw-math-optim-v0.0.0-go-modules.drv'. error: 1 dependencies of derivation '/nix/store/bfdqk0hjmkqhw1ij7r3f8xnaf4a638y2-math-optim-v0.0.0.drv' failed to build ``` ..most important part being "connection reset by peer". ref: https://drone.dotya.ml/wanderer/math-optim/114/1/12 is this due to disabling `GOPROXY` flake-wide? ref: https://git.dotya.ml/wanderer/math-optim/src/commit/d9d706959249671613ff3be9708856f3a22ef929/flake.nix#L66 works fine on my machine and on my remote builders, should work in ci.
wanderer added the
bug
label 2022-06-25 00:19:08 +02:00
wanderer self-assigned this 2022-06-25 00:19:08 +02:00
wanderer added this to the v0.0.1 milestone 2022-06-25 21:08:07 +02:00
Author
Owner

fixed with 8ea9e5faf7

fixed with https://git.dotya.ml/wanderer/math-optim/commit/8ea9e5faf70ce3eec44a7209326de5e7d0a70735
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wanderer/math-optim#2
No description provided.