OCPBUGS-74343: Fix OTE panic and configure test timeout and parallelism for test suites#390
OCPBUGS-74343: Fix OTE panic and configure test timeout and parallelism for test suites#390sunzhaohua2 wants to merge 2 commits intoopenshift:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/hold as we reverted - |
|
/test pull-ci-openshift-origin-main-e2e-aws-ovn-microshift |
|
@sunzhaohua2: This pull request references Jira Issue OCPBUGS-74343, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
|
@sunzhaohua2: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
When running e2e tests with OTE, tests were failing with panic errors, failed job
This is because when calling BuildExtensionTestSpecsFromOpenShiftGinkgoSuite(), helpers.Helper(framework.GlobalFramework) is called, but framework.GlobalFramework is still nil, BeforeAll has not been called yet.
PR 384 moved framework initialization before building test specs, but caused info/list command failed. slack discussion , this is because there is no cluster connection for info/list commands.
This pr change framework.GlobalFramework at runtime instead of definition time, make sure tests don't panic .
Also set the default test timeout to 90 minutes, by default it's 15m.
openshift/origin:
Test no cluster connection for info/list:
Test have cluster connection for run-test :