Skip to content

Fix reports directory for operatorhub nightly tests #4972

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

Merged

Conversation

prietyc123
Copy link
Contributor

What type of PR is this?
/kind failing-test

What does this PR do / why we need it:
This PR will fix nightly test build failure for reports path https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-odo-main-v4.8-operatorhub-integration-nightly/1423433739802775552#1:build-log.txt%3A535

As we only run operator hub tests on nightly. It generates reports under tests directory and we are searching into current odo directory currently. Hence it error out with no such file or directory

Which issue(s) this PR fixes:

Fixes #?

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

  • Update changelog

  • I have read the test guidelines

How to test changes / Special notes to the reviewer:
Nightly test should not fail.

@prietyc123
Copy link
Contributor Author

I have also fixed it for periodic and regular prow tests report generation via commit a797ef2

@prietyc123 prietyc123 force-pushed the FixReportsDirForNightly branch from 5f2793d to 5510ed0 Compare August 6, 2021 07:53
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@prietyc123
Copy link
Contributor Author

ocp 4.8 ci failing due to #4960

/test v4.8-integration-e2e

@prietyc123
Copy link
Contributor Author

ocp 4.8 ci failing due to #4960

/test v4.8-integration-e2e

Again its #4960

/test v4.8-integration-e2e

@openshift-ci
Copy link

openshift-ci bot commented Aug 9, 2021

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

Test name Commit Details Rerun command
ci/prow/psi-unit-test-windows 5510ed0 link /test psi-unit-test-windows

Full PR test history. Your PR dashboard.

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.

@prietyc123
Copy link
Contributor Author

ocp 4.8 ci failing due to #4960
/test v4.8-integration-e2e

Again its #4960

/test v4.8-integration-e2e

/test v4.8-integration-e2e

@@ -40,6 +40,6 @@ if [ $error ]; then
exit -1
fi

cp -r reports $ARTIFACT_DIR
cp -r reports tests/reports $ARTIFACT_DIR
Copy link
Member

Choose a reason for hiding this comment

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

This will copy both reports and tests/reports into $ARTIFACT_DIR and merge the contents of two directories. Is that what we want?

# a, b and c are directories; c is empty so far.
$ tree a b c
a
└── hello
b
└── a
    └── hi
c

1 directory, 2 files

$ cp -r a b/a c

$ tree c    
c
└── a
    ├── hello
    └── hi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

Choose a reason for hiding this comment

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

Ack, thanks. Only wanted to confirm it.

Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

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

Small change

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Aug 9, 2021
@openshift-ci
Copy link

openshift-ci bot commented Aug 9, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dharmit

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

/retest-required

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

5 similar comments
@openshift-bot
Copy link

/retest-required

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

@openshift-bot
Copy link

/retest-required

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

@openshift-bot
Copy link

/retest-required

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

@openshift-bot
Copy link

/retest-required

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

@openshift-bot
Copy link

/retest-required

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

@openshift-ci openshift-ci bot merged commit d37298a into redhat-developer:main Aug 9, 2021
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. 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.

3 participants