-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
grafana-loki: 1.6.1 -> 2.0.0 #101986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grafana-loki: 1.6.1 -> 2.0.0 #101986
Conversation
Convert to use buildGoModule and add a patch for a test failing on golang>=1.15.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's an ALERTING change
Result of 1 package failed to build:
|
Did it work previously? |
Can you be more specific about the failure? |
Have a little patience. The tests are running in the background. I am not sure which test failed and why so I just uploaded the entire log: |
All errors about something network related not working on Darwin. The tests cannot bind to 127.0.0.1:0 (random port) and cannot lookup
|
@SuperSandro2000 I think it's failing because nixpkgs-review uses |
Maybe we just disable the tests on Darwin? I don't want to block this update nor break darwin with updates. |
You could just retry building this without sandboxing, as @marsam indicated this could be the culprit. |
I could try adding this one as well. |
Building without sandbox results in a success. Learned something again.
Anyway how should I handle sandbox fails on Darwin? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think disabling the check phase on Darwin is ok, though I am not familiar enough with that ecosystem to know what the optimal solution would be. Otherwise LGTM 👍
On 07:14 30.10.20, WilliButz wrote:
@WilliButz approved this pull request.
I think disabling the check phase on Darwin is ok, though I am not familiar enough with that ecosystem to know what the optimal solution would be. Otherwise LGTM 👍
One more solution: Ask upstream if they suppor Darwin at all. If they do
not we can just remove it from platforms.
|
@andir yeah that was the first thing I checked ^^. They have tarballs for darwin in their release assets (for example: https://github.com/grafana/loki/releases/tag/v2.0.0). |
IMHO it's okay if a test fails wanting networking with loopback on darwin, because it's the only networking allowed within a sandboxed build. |
And it does not need to be honored by the sandbox. |
it's honored within sandboxed builds on Darwin NixOS/nix@4a4a009, but not documented |
Motivation for this change
ALERTING!
Convert to use buildGoModule and add a patch (by @andir) for a test failing on
golang>=1.15.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)