Skip to content

openshift-e2e-test: Error if no TEST_SKIPS match#20619

Merged
openshift-ci[bot] merged 1 commit intoopenshift:masterfrom
shiftstack:explicit_test_skips_error
Aug 3, 2021
Merged

openshift-e2e-test: Error if no TEST_SKIPS match#20619
openshift-ci[bot] merged 1 commit intoopenshift:masterfrom
shiftstack:explicit_test_skips_error

Conversation

@pierreprinetti
Copy link
Copy Markdown
Member

This change prints an error message to STDOUT when the passed
environment variable TEST_SKIPS does not match any test.

Previously, the call to grep would just fail and the container would
fail after printing "Skipping tests:".

@pierreprinetti
Copy link
Copy Markdown
Member Author

/cc @EmilienM

@openshift-ci openshift-ci bot requested a review from EmilienM July 27, 2021 13:11
@pierreprinetti pierreprinetti force-pushed the explicit_test_skips_error branch from ba99e63 to 5fb0d10 Compare July 27, 2021 13:12
@EmilienM
Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2021
@pierreprinetti
Copy link
Copy Markdown
Member Author

/cc vrutkovs

@openshift-ci openshift-ci bot requested a review from vrutkovs August 3, 2021 10:58
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/bin/bash: -c: line 221: syntax error near unexpected token `fi'

in all jobs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no :(

I have added the missing semicolon and the tests now look better.

Thanks for the /approve!

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2021
This change prints an error message to STDOUT when the passed
environment variable TEST_SKIPS does not match any test.

Previously, the call to `grep` would just fail and the container would
fail after printing "Skipping tests:".
@pierreprinetti pierreprinetti force-pushed the explicit_test_skips_error branch from 5fb0d10 to f2070ae Compare August 3, 2021 11:37
Copy link
Copy Markdown
Contributor

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skipping tests:
"[sig-cli] Kubectl Port forwarding With a server listening on 0.0.0.0 should support forwarding over websockets [Suite:openshift/conformance/parallel] [Suite:k8s]"
"[sig-cli] Kubectl Port forwarding With a server listening on localhost should support forwarding over websockets [Suite:openshift/conformance/parallel] [Suite:k8s]"
"[sig-cli] Kubectl client Simple pod should support exec through an HTTP proxy [Suite:openshift/conformance/parallel] [Suite:k8s]"
"[sig-cli] Kubectl client Simple pod should support exec through kubectl proxy [Suite:openshift/conformance/parallel] [Suite:k8s]"

in ci/rehearse/openshift/installer/release-4.9/e2e-openstack-byon log, no weird failures

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Aug 3, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EmilienM, pierreprinetti, vrutkovs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Aug 3, 2021

@pierreprinetti: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
ci/rehearse/openshift/ovn-kubernetes/release-4.9/okd-e2e-gcp-ovn 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/router/release-4.9/e2e-upgrade 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/ovn-kubernetes/release-4.9/e2e-azure-ovn 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/release-4.9/e2e-azure-ovn-dualstack 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/operator-framework/operator-lifecycle-manager/release-4.7/e2e-gcp 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-aws-disruptive 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/csi-driver-nfs/release-4.9/e2e-openstack-csi 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/operator-framework/operator-marketplace/release-4.9/e2e-aws-upgrade 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/operator-framework/operator-lifecycle-manager/release-4.7/e2e-upgrade 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/builder/release-4.9/e2e-aws-cgroupsv2 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/release-4.9/e2e-ovn-ipsec-step-registry 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/azure-disk-csi-driver/release-4.9/e2e-azure-csi-migration 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/vsphere-problem-detector/release-4.9/e2e-vsphere 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/prow/pj-rehearse 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/vmware-vsphere-csi-driver/release-4.9/e2e-vsphere-csi 5fb0d1066b16baad34febb4519bc3792840c3f80 link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.1/e2e-aws-builds f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-gcp-upi-xpn f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.1/e2e-aws-image-ecosystem f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-aws-upgrade f2070ae link /test pj-rehearse
ci/rehearse/redhat-developer/jenkins-operator/main/e2e f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-gcp-upi f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-gcp-image-ecosystem f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-kubevirt f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-aws f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.2/e2e-cmd f2070ae link /test pj-rehearse
ci/rehearse/openshift/machine-config-operator/release-4.9/e2e-gcp-single-node f2070ae link /test pj-rehearse
ci/rehearse/openshift/machine-config-operator/release-4.9/e2e-aws-techpreview-featuregate f2070ae link /test pj-rehearse
ci/rehearse/openshift/cloud-credential-operator/release-4.9/e2e-aws-manual-oidc f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-azure-resourcegroup f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-gcp f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.6/e2e-agnostic-cmd f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-gcp-disruptive f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-aws-image-registry f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-gcp-shared-vpc f2070ae link /test pj-rehearse
ci/rehearse/openshift/installer/release-4.9/e2e-azure-shared-vpc f2070ae link /test pj-rehearse
ci/rehearse/openshift/origin/release-4.9/e2e-gcp-builds f2070ae link /test pj-rehearse

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-ci openshift-ci bot merged commit e659718 into openshift:master Aug 3, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Aug 3, 2021

@pierreprinetti: Updated the step-registry configmap in namespace ci at cluster app.ci using the following files:

  • key openshift-e2e-test-commands.sh using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh
Details

In response to this:

This change prints an error message to STDOUT when the passed
environment variable TEST_SKIPS does not match any test.

Previously, the call to grep would just fail and the container would
fail after printing "Skipping tests:".

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.

@pierreprinetti pierreprinetti deleted the explicit_test_skips_error branch August 3, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants