Skip to content

fix(olm-test): skip test if marketplace is not enabled#27302

Merged
openshift-ci[bot] merged 1 commit into
openshift:masterfrom
anik120:skip-olm-test-marketplace-disabled
Jul 14, 2022
Merged

fix(olm-test): skip test if marketplace is not enabled#27302
openshift-ci[bot] merged 1 commit into
openshift:masterfrom
anik120:skip-olm-test-marketplace-disabled

Conversation

@anik120
Copy link
Copy Markdown
Contributor

@anik120 anik120 commented Jul 12, 2022

This PR skips the test [sig-operator] an end user can use OLM can subscribe to the operator if marketplace is disabled, since the test uses a default catalogsource included in the cluster by marketplace-operator (which when disabled, results in the absence of the default source)

Signed-off-by: Anik Bhattacharjee anikbhattacharya93@gmail.com

See https://issues.redhat.com/browse/OLM-2542 for more details.

@openshift-ci openshift-ci Bot requested review from hasbro17 and njhale July 12, 2022 20:52
@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 12, 2022

/test e2e-gcp-upgrade

@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 12, 2022

/test e2e-aws-single-node
/test e2e-aws-single-node-upgrade

2 similar comments
@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 13, 2022

/test e2e-aws-single-node
/test e2e-aws-single-node-upgrade

@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 13, 2022

/test e2e-aws-single-node
/test e2e-aws-single-node-upgrade

Comment thread test/extended/olm/olm.go Outdated
@bparees
Copy link
Copy Markdown
Contributor

bparees commented Jul 13, 2022

/approve

will let someone from olm team give the lgtm

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 13, 2022
This PR skips the test `[sig-operator] an end user can use OLM can subscribe
to the operator` if marketplace is disabled, since the test uses a default
catalogsource included in the cluster by marketplace-operator (which when disabled,
results in the absence of the default source)

Signed-off-by: Anik Bhattacharjee <anikbhattacharya93@gmail.com>
@anik120 anik120 force-pushed the skip-olm-test-marketplace-disabled branch from c4f3974 to f0b3b0a Compare July 13, 2022 18:46
@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 14, 2022

/test e2e-aws-single-node-upgrade

1 similar comment
@anik120
Copy link
Copy Markdown
Contributor Author

anik120 commented Jul 14, 2022

/test e2e-aws-single-node-upgrade

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jul 14, 2022

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

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-single-node-upgrade f0b3b0a link false /test e2e-aws-single-node-upgrade

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.

@kevinrizza
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 14, 2022
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jul 14, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anik120, bparees, kevinrizza

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 merged commit f25e29a into openshift:master Jul 14, 2022
wking added a commit to wking/origin that referenced this pull request Aug 2, 2022
…bled

Avoid [1]:

  https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.12-e2e-aws-sdn-no-capabilities/1554248054456979456

  : [sig-operator] an end user can use OLM can subscribe to the operator [Skipped:Disconnected] [Suite:openshift/conformance/parallel] expand_more

  {  fail [github.com/openshift/origin/test/extended/olm/olm.go:270]: Unexpected error:
      <*json.SyntaxError | 0xc002396318>: {
          msg: "unexpected end of JSON input",
          Offset: 0,
      }
      unexpected end of JSON input
  occurred
  Ginkgo exit error 1: exit with code 1}

because the call returns an empty string, and not valid JSON, when the
enabledCapabilities property is unset:

  $ oc get clusterversion version '-o=jsonpath={.status.capabilities}'
  {"knownCapabilities":["baremetal","marketplace","openshift-samples"]}
  $ oc get clusterversion version '-o=jsonpath={.status.capabilities.enabledCapabilities}' | wc
        0       0       0

Fixing a corner case from f0b3b0a (fix(olm-test): skip test if
marketplace is not enabled, 2022-07-12, openshift#27302).

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2114506#c0
wking added a commit to wking/openshift-release that referenced this pull request Aug 2, 2022
Capabilities are new in 4.11, and CI for them is currently almost
passing.  But [1] and the not-associated-with-a-bug [2] are fixing a
test-case vs. these no-caps clusters which is also broken on 4.11.  We
could port the test-suite fixes back to 4.11, but with 4.11 about to
GA and unlikely to grow new features, we don't expect the periodic to
turn up new post-GA breakage, and we do expect unrelated flakes to
cause occasional failures and either get ignored or absorb limited
triage capacity.  This commit drops the 4.11 job, and leaves us flying
blind (but likely far above the mountains), and we can revisit if
folks decide it is worth budgeting triage time to maintaining and
monitoring the 4.11 job.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2114506
[2]: openshift/origin#27302
openshift-ci Bot pushed a commit to openshift/release that referenced this pull request Aug 2, 2022
…31011)

Capabilities are new in 4.11, and CI for them is currently almost
passing.  But [1] and the not-associated-with-a-bug [2] are fixing a
test-case vs. these no-caps clusters which is also broken on 4.11.  We
could port the test-suite fixes back to 4.11, but with 4.11 about to
GA and unlikely to grow new features, we don't expect the periodic to
turn up new post-GA breakage, and we do expect unrelated flakes to
cause occasional failures and either get ignored or absorb limited
triage capacity.  This commit drops the 4.11 job, and leaves us flying
blind (but likely far above the mountains), and we can revisit if
folks decide it is worth budgeting triage time to maintaining and
monitoring the 4.11 job.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2114506
[2]: openshift/origin#27302
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