Skip to content

CI: K8sDatapathConfig AutoDirectNodeRoutes Check connectivity with sockops and direct routing #16852

@jrajahalme

Description

@jrajahalme

cilium policy get -o json returns empty output, causing JSON parsing to fail with unexpected end of JSON input.

/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:518
Error creating resource /home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/k8sT/manifests/l3-policy-demo.yaml: Cannot retrieve cilium pod cilium-8q5k8 policy revision: cannot get revision from json: could not parse JSON from command "kubectl exec -n kube-system cilium-8q5k8 -- cilium policy get -o json"
unexpected end of JSON input

Expected
    <*errors.errorString | 0xc000257210>: {
        s: "Cannot retrieve cilium pod cilium-8q5k8 policy revision: cannot get revision from json: could not parse JSON from command \"kubectl exec -n kube-system cilium-8q5k8 -- cilium policy get -o json\"\nunexpected end of JSON input\n",
    }
to be nil
/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/k8sT/DatapathConfiguration.go:1058

487d5039_K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing (3).zip

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-5.4/611/testReport/junit/Suite-k8s-1/19/K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing/

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/CIContinuous Integration testing issue or flakearea/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.ci/flakeThis is a known failure that occurs in the tree. Please investigate me!staleThe stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions