OCPBUGS-2435: TestRouterCompressionOperation: Nil-pointer fix#843
Conversation
Fix a nil-pointer dereference in the getHttpHeaders helper for TestRouterCompressionOperation. Follow-up to commit 211b9c1. This commit fixes OCPBUGS-2435. https://issues.redhat.com/browse/OCPBUGS-2435 * test/e2e/router_compression_test.go (getHttpHeaders): Don't dereference the response value from client.Do if it returned a non-nil error value.
|
@Miciah: This pull request references Jira Issue OCPBUGS-2435, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
|
/test e2e-azure-operator |
|
/test e2e-aws-operator |
|
e2e-gcp-operator failed and e2e-azure-operator failed because /retest |
|
e2e-aws-operator failed because of kube-apiserver problems. This job failure shows an interesting new failure mode that results from #837: The operator could not fetch the e2e-azure-operator failed and e2e-gcp-operator failed because kube-apiserver and |
Following up on that here: openshift/installer#6478 (comment) |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: frobware The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/hold |
|
/retest-required |
|
/hold cancel |
|
e2e-gcp-operator failed on |
|
/test all |
|
/hold |
|
Installer error: /test e2e-aws-ovn |
|
Same installer error for e2e-aws-ovn-upgrade. |
|
/retest-required |
|
FYI #845 is mostly failing on this E2E error now. |
|
/retest |
|
/test all |
|
Tests passed in e2e-gcp-operator: Tests passed in e2e-azure-operator: /hold cancel |
|
e2e-azure-ovn failed because must-gather failed. |
|
e2e-aws-operator failed because must-gather failed and because kube-apiserver and kube-scheduler were reporting |
|
e2e-gcp-ovn-serial failed because |
|
@Miciah: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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 kubernetes/test-infra repository. |
|
/test e2e-gcp-ovn-serial |
|
/test e2e-gcp-ovn-serial |
|
e2e-aws-operator failed because |
|
e2e-aws-operator failed because In addition, kube-apiserver reported The failed deployment rollout for ingress may be related to the following I noticed in the kube-apiserver audit logs there is a single eviction request, by ingress-operator, for Subsequently, machine-config-controller tried and failed over a hundred times to evict the I wonder whether the ingress operator's eviction broke the subsequent rollout. This may warrant some investigation. Anyway, that seems to be a one-off failure for this PR, so I'll assume it isn't caused by the changes in this PR. |
|
e2e-aws-operator failed because kube-apiserver reported |
/test e2e-aws-operator |
|
Seems like e2e-aws-operator is consistently failing, for various reasons unrelated to this PR. Since e2e-azure-operator and e2e-gcp-operator passed (#843 (comment)), only a few of the e2e-aws-operator job failures are from failures in our E2E tests, and none of the failures are attributable to changes in this PR, I'm going to override e2e-aws-operator so we can at least eliminate one cause for test failures for other PRs. |
|
@Miciah: Overrode contexts on behalf of Miciah: ci/prow/e2e-aws-operator 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 kubernetes/test-infra repository. |
|
@Miciah: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
|
@Miciah: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-2435 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Fix a nil-pointer dereference in the
getHttpHeadershelper forTestRouterCompressionOperation.Follow-up to #679.
test/e2e/router_compression_test.go(getHttpHeaders): Don't dereference the response value fromclient.Doif it returned a non-nil error value.