Skip to content
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

hubble: broken build #178976

Closed
bryanasdev000 opened this issue Jun 25, 2022 · 0 comments · Fixed by #179127
Closed

hubble: broken build #178976

bryanasdev000 opened this issue Jun 25, 2022 · 0 comments · Fixed by #179127
Labels
0.kind: build failure A package fails to build

Comments

@bryanasdev000
Copy link
Member

Steps To Reproduce

Steps to reproduce the behavior:

  1. build hubble

Build log

https://hydra.nixos.org/build/180878959/nixlog/2

=== RUN   Test_getFlowsRequestWithInvalidRawFilters
    flows_test.go:102: 
                Error Trace:    flows_test.go:102
                Error:          Not equal: 
                                expected: "invalid --allowlist flag: failed to decode '{\"invalid\":[\"filters\"]}': proto:\u00a0(line 1:2): unknown field \"invalid\""
                                actual  : "invalid --allowlist flag: failed to decode '{\"invalid\":[\"filters\"]}': proto: (line 1:2): unknown field \"invalid\""
                                
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -invalid --allowlist flag: failed to decode '{"invalid":["filters"]}': proto: (line 1:2): unknown field "invalid"
                                +invalid --allowlist flag: failed to decode '{"invalid":["filters"]}': proto: (line 1:2): unknown field "invalid"
                Test:           Test_getFlowsRequestWithInvalidRawFilters
    flows_test.go:104: 
                Error Trace:    flows_test.go:104
                Error:          Not equal: 
                                expected: "invalid --denylist flag: failed to decode '{\"invalid\":[\"filters\"]}': proto:\u00a0(line 1:2): unknown field \"invalid\""
                                actual  : "invalid --denylist flag: failed to decode '{\"invalid\":[\"filters\"]}': proto: (line 1:2): unknown field \"invalid\""
                                
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -invalid --denylist flag: failed to decode '{"invalid":["filters"]}': proto: (line 1:2): unknown field "invalid"
                                +invalid --denylist flag: failed to decode '{"invalid":["filters"]}': proto: (line 1:2): unknown field "invalid"
                Test:           Test_getFlowsRequestWithInvalidRawFilters
--- FAIL: Test_getFlowsRequestWithInvalidRawFilters (0.00s)
=== RUN   Test_getFlowFiltersYAML
--- PASS: Test_getFlowFiltersYAML (0.00s)
=== RUN   Test_getFlowsBasic
--- PASS: Test_getFlowsBasic (0.00s)
=== RUN   Test_getFlowsTimeRange
--- PASS: Test_getFlowsTimeRange (0.00s)
=== RUN   Test_getFlowsFilter
--- PASS: Test_getFlowsFilter (0.00s)
FAIL
FAIL    github.com/cilium/hubble/cmd/observe    0.018s
FAIL

Additional context

Maybe related to cilium/hubble#656 and cilium/hubble#655

I've tried to build with Go 1.18 inside nix expression and get the same error, a nix-shell with cmake and go_1_18 can build it OK.

Notify maintainers

@humancalico

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.17.14, NixOS, 22.11 (Raccoon), 22.11.20220615.b195759`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - channels(root): `""`
 - channels(bryan): `""`
 - nixpkgs: `/etc/nix/channels/nixpkgs`
@bryanasdev000 bryanasdev000 added the 0.kind: build failure A package fails to build label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant