Skip to content

ci-operator/step-registry/openshift/e2e/aws/proxy: Skip failing tests#12233

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
wking:proxy-test-skips
Sep 25, 2020
Merged

ci-operator/step-registry/openshift/e2e/aws/proxy: Skip failing tests#12233
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
wking:proxy-test-skips

Conversation

@wking
Copy link
Copy Markdown
Member

@wking wking commented Sep 25, 2020

A recent proxy job failed the following test-cases:

[sig-arch] Managed cluster should should expose cluster services outside the cluster [Suite:openshift/conformance/parallel]
[sig-builds][Feature:Builds] build have source revision metadata  started build should contain source revision information [Suite:openshift/conformance/parallel]
[sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]
[sig-cluster-lifecycle][Feature:Machines] Managed cluster should have machine resources [Suite:openshift/conformance/parallel]
[sig-imageregistry][Feature:ImageAppend] Image append should create images by appending them [Suite:openshift/conformance/parallel]
[sig-imageregistry][Feature:ImageInfo] Image info should display information about images [Suite:openshift/conformance/parallel]
[sig-network] Internal connectivity for TCP and UDP on ports 9000-9999 is allowed [Suite:openshift/conformance/parallel]
[sig-network] Networking should provide Internet connection for containers [Feature:Networking-IPv4] [Skipped:azure] [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-network][Feature:Router] The HAProxy router should respond with 503 to unrecognized hosts [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should serve routes that were created from an ingress [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should set Forwarded headers appropriately [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should support reencrypt to services backed by a serving certificate automatically [Suite:openshift/conformance/parallel]

This commit adds a TEST_SKIPS framework, taking advantage of:

$ openshift-tests run --help | grep 'dry-run\|--file'
 If you specify the --dry-run argument, the names of each individual test that is part of the suite will be printed, one per line. You may filter this list and pass it back to the run command with the --file argument. You may also pipe a list of test names, one per line, on standard input by passing "-f -".
      --dry-run                  Print the tests to run without executing them.
  -f, --file string              Create a suite from the newline-delimited test names in this file.

grep uses basic regular expressions by default. The YAML >- is trimmed line folding, so we get one long line with no trailing newline:

$ yaml2json <ci-operator/step-registry/openshift/e2e/aws/proxy/openshift-e2e-aws-proxy-workflow.yaml | jq -r '.workflow.env[0].default'
Image append should create images by appending them\| Image info ...should contain source revision information\| oc adm must-gather runs successfully for audit logs

The spaces from line unfolding are unfortunate, but because the original lines have the sig-*, etc. prefixes followed by a space before the test-case title, it's not a problem.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2020
@wking wking force-pushed the proxy-test-skips branch 2 times, most recently from 747b4ba to 36bb0d3 Compare September 25, 2020 14:59
A recent proxy job failed the following test-cases [1]:

  [sig-arch] Managed cluster should should expose cluster services outside the cluster [Suite:openshift/conformance/parallel]
  [sig-builds][Feature:Builds] build have source revision metadata  started build should contain source revision information [Suite:openshift/conformance/parallel]
  [sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]
  [sig-cluster-lifecycle][Feature:Machines] Managed cluster should have machine resources [Suite:openshift/conformance/parallel]
  [sig-imageregistry][Feature:ImageAppend] Image append should create images by appending them [Suite:openshift/conformance/parallel]
  [sig-imageregistry][Feature:ImageInfo] Image info should display information about images [Suite:openshift/conformance/parallel]
  [sig-network] Internal connectivity for TCP and UDP on ports 9000-9999 is allowed [Suite:openshift/conformance/parallel]
  [sig-network] Networking should provide Internet connection for containers [Feature:Networking-IPv4] [Skipped:azure] [Suite:openshift/conformance/parallel] [Suite:k8s]
  [sig-network][Feature:Router] The HAProxy router should respond with 503 to unrecognized hosts [Suite:openshift/conformance/parallel]
  [sig-network][Feature:Router] The HAProxy router should serve routes that were created from an ingress [Suite:openshift/conformance/parallel]
  [sig-network][Feature:Router] The HAProxy router should set Forwarded headers appropriately [Suite:openshift/conformance/parallel]
  [sig-network][Feature:Router] The HAProxy router should support reencrypt to services backed by a serving certificate automatically [Suite:openshift/conformance/parallel]

This commit adds a TEST_SKIPS framework, taking advantage of:

  $ openshift-tests run --help | grep 'dry-run\|--file'
   If you specify the --dry-run argument, the names of each individual test that is part of the suite will be printed, one per line. You may filter this list and pass it back to the run command with the --file argument. You may also pipe a list of test names, one per line, on standard input by passing "-f -".
        --dry-run                  Print the tests to run without executing them.
    -f, --file string              Create a suite from the newline-delimited test names in this file.

Grep uses basic regular expressions by default [2]. The YAML `>-` is
trimmed line folding [3], so we get one long line with no trailing
newline:

  $ yaml2json <ci-operator/step-registry/openshift/e2e/aws/proxy/openshift-e2e-aws-proxy-workflow.yaml | jq -r '.workflow.env[0].default'
  Image append should create images by appending them\| Image info ...should contain source revision information\| oc adm must-gather runs successfully for audit logs

The spaces from line unfolding are unfortunate, but because the
original lines have the sig-*, etc. prefixes followed by a space
before the test-case title, it's not a problem.

[1]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ocp-4.6-e2e-aws-proxy/1308949438701506560
[2]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html
[3]: https://yaml.org/spec/1.2/spec.html#id2779048
@wking
Copy link
Copy Markdown
Member Author

wking commented Sep 25, 2020

Just vanilla flakes in the proxy rehearsal:

Failing tests:

[sig-storage] CSI Volumes [Driver: csi-hostpath] [Testpattern: Dynamic PV (block volmode)] provisioning should provision storage with pvc data source [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-storage] In-tree Volumes [Driver: nfs] [Testpattern: Dynamic PV (ntfs)][sig-windows] subPath should support readOnly file specified in the volumeMount [LinuxOnly] [Suite:openshift/conformance/parallel] [Suite:k8s]

@sgreene570
Copy link
Copy Markdown
Contributor

Changes look good. Skips are known to be working.
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 25, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sgreene570, wking

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-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Sep 25, 2020

@wking: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/rehearse/openshift/machine-api-operator/master/e2e-vsphere-serial 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-gcp-upi-xpn 7c5517d link /test pj-rehearse
ci/rehearse/openshift/oc/release-4.2/e2e-cmd 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/fcos/e2e-vsphere 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-gcp-upi 7c5517d link /test pj-rehearse
ci/rehearse/openshift/origin/master/e2e-gcp-image-ecosystem 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cincinnati/master/e2e 7c5517d link /test pj-rehearse
ci/rehearse/open-cluster-management/registration-operator/release-2.0/e2e 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-aws-sdn-single 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cluster-etcd-operator/master/e2e 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-gcp-shared-vpc 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cloud-credential-operator/master/e2e-gcp 7c5517d link /test pj-rehearse
ci/rehearse/cri-o/cri-o/master/e2e-aws 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cloud-credential-operator/master/e2e-azure 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-vsphere-upi 7c5517d link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-azure-shared-vpc 7c5517d link /test pj-rehearse
ci/rehearse/openshift/cluster-kube-apiserver-operator/master/e2e-aws-serial 7c5517d 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-merge-robot openshift-merge-robot merged commit 6d62116 into openshift:master Sep 25, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@wking: Updated the following 2 configmaps:

  • step-registry configmap in namespace ci at cluster api.ci using the following files:
    • key openshift-e2e-aws-proxy-workflow.yaml using file ci-operator/step-registry/openshift/e2e/aws/proxy/openshift-e2e-aws-proxy-workflow.yaml
    • key openshift-e2e-test-commands.sh using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh
    • key openshift-e2e-test-ref.yaml using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-ref.yaml
  • step-registry configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-e2e-aws-proxy-workflow.yaml using file ci-operator/step-registry/openshift/e2e/aws/proxy/openshift-e2e-aws-proxy-workflow.yaml
    • key openshift-e2e-test-commands.sh using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh
    • key openshift-e2e-test-ref.yaml using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-ref.yaml
Details

In response to this:

A recent proxy job failed the following test-cases:

[sig-arch] Managed cluster should should expose cluster services outside the cluster [Suite:openshift/conformance/parallel]
[sig-builds][Feature:Builds] build have source revision metadata  started build should contain source revision information [Suite:openshift/conformance/parallel]
[sig-cli] oc adm must-gather runs successfully for audit logs [Suite:openshift/conformance/parallel]
[sig-cluster-lifecycle][Feature:Machines] Managed cluster should have machine resources [Suite:openshift/conformance/parallel]
[sig-imageregistry][Feature:ImageAppend] Image append should create images by appending them [Suite:openshift/conformance/parallel]
[sig-imageregistry][Feature:ImageInfo] Image info should display information about images [Suite:openshift/conformance/parallel]
[sig-network] Internal connectivity for TCP and UDP on ports 9000-9999 is allowed [Suite:openshift/conformance/parallel]
[sig-network] Networking should provide Internet connection for containers [Feature:Networking-IPv4] [Skipped:azure] [Suite:openshift/conformance/parallel] [Suite:k8s]
[sig-network][Feature:Router] The HAProxy router should respond with 503 to unrecognized hosts [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should serve routes that were created from an ingress [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should set Forwarded headers appropriately [Suite:openshift/conformance/parallel]
[sig-network][Feature:Router] The HAProxy router should support reencrypt to services backed by a serving certificate automatically [Suite:openshift/conformance/parallel]

This commit adds a TEST_SKIPS framework, taking advantage of:

$ openshift-tests run --help | grep 'dry-run\|--file'
If you specify the --dry-run argument, the names of each individual test that is part of the suite will be printed, one per line. You may filter this list and pass it back to the run command with the --file argument. You may also pipe a list of test names, one per line, on standard input by passing "-f -".
     --dry-run                  Print the tests to run without executing them.
 -f, --file string              Create a suite from the newline-delimited test names in this file.

grep uses basic regular expressions by default. The YAML >- is trimmed line folding, so we get one long line with no trailing newline:

$ yaml2json <ci-operator/step-registry/openshift/e2e/aws/proxy/openshift-e2e-aws-proxy-workflow.yaml | jq -r '.workflow.env[0].default'
Image append should create images by appending them\| Image info ...should contain source revision information\| oc adm must-gather runs successfully for audit logs

The spaces from line unfolding are unfortunate, but because the original lines have the sig-*, etc. prefixes followed by a space before the test-case title, it's not a problem.

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.

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.

4 participants