Bug 2023631
Summary: | no configuration has been provided, try setting KUBERNETES_MASTER environment variable | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Derek Higgins <derekh> | |
Component: | Test Framework | Assignee: | Derek Higgins <derekh> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.10 | CC: | pmuller | |
Target Milestone: | --- | |||
Target Release: | 4.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2024212 (view as bug list) | Environment: | ||
Last Closed: | 2022-01-19 18:55:08 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2024212, 2024656 |
Description
Derek Higgins
2021-11-16 08:50:48 UTC
This can be reproduced by running the templateinstance test in parallel with the test "[sig-cli] oc adm storage-admin [Suite:openshift/conformance/parallel]" The problem is that this test runs the command oc new-project <snip/> policy-can-i This command rewrites the kubeconfig file to change the current/default project, while rewriting it the config files is zero length for a brief moment, if another test reads this file while it is zero length then the other test will fail This appears to be the case of any test that calls CLI.UserConfig() or CLI.AdminConfig() Also the changing of context of the global kubeconfig could cause any test to fail that expects it to remain at a specific context during the test. (In reply to Derek Higgins from comment #1) > Also the changing of context of the global kubeconfig could cause any test > to fail > that expects it to remain at a specific context during the test. Looks like a failure in last nights nightly was caused by this from https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.10-e2e-metal-ipi-ovn-ipv6/1460355406688686080 : [sig-auth][Feature:RoleBindingRestrictions] RoleBindingRestrictions should be functional Rolebinding restrictions tests single project should succeed [Suite:openshift/conformance/parallel] expand_less 2s fail [github.com/openshift/origin/test/extended/util/client.go:524]: Nov 15 23:22:21.382: invalid configuration: [context was not found for specified context: policy-can-i/api-ostest-test-metalkube-org:6443/storage-adm2, cluster has no server defined] Based on anecdotal evidence (recent CI results) this appears to have helped reliability, marking as verified. Reassigning to Test Framework who own the OCP testsuite |