Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing location field for odo catalog describe component jave-openliberty #3538

Conversation

prietyc123
Copy link
Contributor

What type of PR is this?

/kind bug

What does does this PR do / why we need it:

$SUBJECT which is breaking CI https://deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/3523/pull-ci-openshift-odo-master-v4.5-integration-e2e/1281448634201673728#1:build-log.txt%3A567

Which issue(s) this PR fixes:

Fixes NA

How to test changes / Special notes to the reviewer:

It should solve the CI break issue for odo catalog describe component jave-openliberty

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 10, 2020
@amitkrout
Copy link
Contributor

Pr odo-devfiles/registry#17 breaking our master. BTW i am working on the issue #3378 which will prevent such unpleasant situation in future. Till then please have patience.

@amitkrout
Copy link
Contributor

@prietyc123 Thanks for the pr

@@ -91,7 +91,7 @@ var _ = Describe("odo devfile catalog command tests", func() {
Context("When executing catalog describe component with a component name with a single project", func() {
It("should only give information about one project", func() {
output := helper.CmdShouldPass("odo", "catalog", "describe", "component", "java-openliberty")
helper.MatchAllInOutput(output, []string{"location: https://github.com/odo-devfiles/openliberty-ex.git"})
helper.MatchAllInOutput(output, []string{"location: https://github.com/OpenLiberty/application-stack.git"})
Copy link
Member

Choose a reason for hiding this comment

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

This should ideally match for someting that doesn't depend on content of the devfile.
For for the following regexp location: .+
Expect(output).To(MatchRegexp("location: .+"))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Expect(output).To(MatchRegexp("location: .+"))

+1

@kadel
Copy link
Member

kadel commented Jul 10, 2020

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Jul 10, 2020
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kadel

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

The pull request process is described here

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 openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Jul 10, 2020
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot
Copy link
Collaborator

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

Test name Commit Details Rerun command
ci/prow/v4.2-integration-e2e f3085f3 link /test v4.2-integration-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@amitkrout
Copy link
Contributor

Test platform failure on 4.2 cluster unnecessarily killing our time. I am merging it to unblock other pr from failure. BTW test passed on 4.3, 4.4 and 4.5 cluster.

@amitkrout amitkrout merged commit 57ffe36 into redhat-developer:master Jul 10, 2020
@kadel
Copy link
Member

kadel commented Jul 10, 2020

Test platform failure on 4.2 cluster unnecessarily killing our time. I am merging it to unblock other pr from failure.

can we try to do something with 4.2 tests?

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. Required by Prow. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants