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

Block aqa and tck tests if smoke tests fail or are unstable. #681

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

sophia-guo
Copy link
Contributor

Close #121

Signed-off-by: Sophia Guo sophia.gwf@gmail.com

@github-actions
Copy link

Thank you for creating a pull request!

Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work).

Code Quality and Contributing Guidelines

If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.

Tests

Github actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation.

In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post run tests on this PR.
If you are not an admin, please ask for one's attention in #infrastructure on Slack or ping one here.
To run full set of tests, use "run tests"; a subset of tests on specific jdk version, use "run tests quick 11,20"

Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

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

LGTM, added some suggestions for the typos that pre-existed in the adjusted code.

pipelines/build/common/openjdk_build_pipeline.groovy Outdated Show resolved Hide resolved
pipelines/build/common/openjdk_build_pipeline.groovy Outdated Show resolved Hide resolved
@sophia-guo
Copy link
Contributor Author

Need a second thought, change it to draft

Copy link
Contributor

@andrew-m-leonard andrew-m-leonard left a comment

Choose a reason for hiding this comment

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

Changes look good

@andrew-m-leonard
Copy link
Contributor

@smlambert At the moment jdk8 alpineLinux Smoke tests fail due to:

19:17:04  /home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin_SmokeTests/aqa-tests/TKG/envSettings.mk:34: *** DETECTED_JDK_VERSION value is 17, settled JDK_VERSION value is 8. JDK_VERSION value does not match. Please reset or unset JDK_VERSION.  Stop.

So with this change we won't be able to run tests on jdk8 Alpine ? I guess we can run manually instead?

@smlambert
Copy link
Contributor

smlambert commented Apr 12, 2023

Argh! That smoke test failure relates to adoptium/infrastructure#2934 for which there is a workaround on the test side, though I kind of wanted to see a resolution via the infra containers that we are exclusively using for test.

@eclipse-temurin-bot
Copy link
Collaborator

 PR TESTER RESULT 

✅ All pipelines passed! ✅

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
@sophia-guo
Copy link
Contributor Author

sophia-guo commented Apr 12, 2023

@smlambert @andrew-m-leonard I have updated the PR to set propagate=false and explicitly set the build_pipeline job result by the smoketest job result. Otherwise there is no way to get the downstream job status is it fails and it will also fail the build step immediately ( we are using the catchError to avoid this now) https://issues.jenkins.io/browse/JENKINS-48475?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true

Same issue with #683

@sophia-guo sophia-guo self-assigned this Apr 12, 2023
@sophia-guo sophia-guo marked this pull request as ready for review April 12, 2023 18:42
@sophia-guo sophia-guo merged commit 4d6f5e2 into adoptium:master Apr 13, 2023
sophia-guo added a commit to sophia-guo/ci-jenkins-pipelines that referenced this pull request Apr 13, 2023
sophia-guo added a commit to sophia-guo/ci-jenkins-pipelines that referenced this pull request Apr 13, 2023
Block aqa and tck tests if smoke tests fail or are unstable. (adoptium#681)
Copy downstream test jobs' Tap files no matter test jobs' result (adoptium#687)

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
andrew-m-leonard pushed a commit to andrew-m-leonard/ci-jenkins-pipelines that referenced this pull request Apr 14, 2023
andrew-m-leonard pushed a commit that referenced this pull request Apr 14, 2023
* Block aqa and tck tests if smoke tests fail or are unstable. (#681)

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>

* Cherry pick 4d6f5e2 62da3c0

Block aqa and tck tests if smoke tests fail or are unstable. (#681)
Copy downstream test jobs' Tap files no matter test jobs' result (#687)

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>

---------

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
luhenry pushed a commit to luhenry/adoptium-ci-jenkins-pipelines that referenced this pull request Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smoke tests failures didn't block the run-aqa tests as expected.
5 participants