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

Improve AQA_Test_Pipeline for release testing #5512

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

llxia
Copy link
Contributor

@llxia llxia commented Aug 19, 2024

Initial version for release testing improvement.
If PLATFORMS is set to release, the *.json file is used to trigger release testing.

related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

@llxia
Copy link
Contributor Author

llxia commented Aug 19, 2024

Internal testing

  • aborted the build after child builds were launched
  • functional test build failed expected because there is no mytest vendor repo branch.
image

Internal testing

@llxia llxia marked this pull request as draft August 19, 2024 16:49
@llxia llxia requested review from LongyuZhang and smlambert August 19, 2024 20:19
@llxia llxia marked this pull request as ready for review August 19, 2024 20:19
Copy link
Contributor

@LongyuZhang LongyuZhang left a comment

Choose a reason for hiding this comment

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

LGTM

@smlambert
Copy link
Contributor

TC pipeline to verify 'old style launch' still works:

@karianna
Copy link
Contributor

  • AQA_Test_Pipeline/6187/

It failed...

@llxia
Copy link
Contributor Author

llxia commented Aug 22, 2024

What is the failure? It is job launching related or test case failure? AQA_Test_Pipeline is only for launching the test jobs.

@karianna
Copy link
Contributor

The log reads:

Started by remote host 172.30.50.1 with note: Remote triggered by job https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-linux-x64-temurin/266/
Started by user Shelley Lambert
Rebuilds build #6161
Running as Shelley Lambert
Checking out git ${ADOPTOPENJDK_REPO} into /var/jenkins/workspace/AQA_Test_Pipeline@script/6d9b8d1a5fd9730487ba8088635b133c684d197224cb6deede13622845c42fc0 to read aqa-tests/buildenv/jenkins/aqaTestPipeline.groovy
The recommended git tool is: NONE
No credentials specified

git rev-parse --resolve-git-dir /var/jenkins/workspace/AQA_Test_Pipeline@script/6d9b8d1a5fd9730487ba8088635b133c684d197224cb6deede13622845c42fc0/aqa-tests/.git # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url https://github.com/llxia/openjdk-tests.git # timeout=10
Pruning obsolete local branches
Cleaning workspace
git rev-parse --verify HEAD # timeout=10
Resetting working tree
git reset --hard # timeout=10
git clean -fdx # timeout=10
Using shallow fetch with depth 1
Fetching upstream changes from https://github.com/llxia/openjdk-tests.git
git --version # timeout=10
git --version # 'git version 2.45.2'
git fetch --tags --force --progress --prune --depth=1 -- https://github.com/llxia/openjdk-tests.git +refs/heads/:refs/remotes/origin/ # timeout=60
git rev-parse origin/mytest^{commit} # timeout=10
Checking out Revision 5d0f06e (origin/mytest)
git config core.sparsecheckout # timeout=10
git checkout -f 5d0f06e # timeout=10
Commit message: "Improve AQA_Test_Pipeline for release testing"
git rev-list --no-walk 5d0f06e # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
download_url: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-linux-x64-temurin/266//artifact/workspace/target/OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_3-ea.tar.gz
[Pipeline] echo
TEST_JOB_NAME: Test_openjdk21_hs_sanity.jck_x86-64_linux
[Pipeline] echo
AUTO_AQA_GEN: true
[Pipeline] build (Building Test_Job_Auto_Gen)
Scheduling project: Test_Job_Auto_Gen
Starting building: Test_Job_Auto_Gen #235
Build Test_Job_Auto_Gen #235 completed: SUCCESS
[Pipeline] library
Loading library openjdk-jenkins-helper@master
Examining adoptium/jenkins-helper
Attempting to resolve master as a branch
Resolved master as branch master at revision 3cccb6284f500372ec96c4e58b84130fcc2582cd
The recommended git tool is: NONE
using credential github-bot
git rev-parse --resolve-git-dir /var/jenkins/workspace/AQA_Test_Pipeline@libs/34c9ab7e5c7b67e055fc7838253e6124bbe4f3c8945822d9cc219338784b98f3/.git # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url https://github.com/adoptium/jenkins-helper.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/adoptium/jenkins-helper.git
git --version # timeout=10
git --version # 'git version 2.45.2'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
git fetch --no-tags --force --progress -- https://github.com/adoptium/jenkins-helper.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Checking out Revision 3cccb6284f500372ec96c4e58b84130fcc2582cd (master)
git config core.sparsecheckout # timeout=10
git checkout -f 3cccb6284f500372ec96c4e58b84130fcc2582cd # timeout=10
Commit message: "Add semgrep differential code check action (#61)"
git rev-list --no-walk 3cccb6284f500372ec96c4e58b84130fcc2582cd # timeout=10
[Pipeline] echo
TEST_JOB_NAME: Test_openjdk21_hs_special.jck_x86-64_linux
[Pipeline] echo
AUTO_AQA_GEN: true
[Pipeline] build (Building Test_Job_Auto_Gen)
Scheduling project: Test_Job_Auto_Gen
Starting building: Test_Job_Auto_Gen #236
Build Test_Job_Auto_Gen #236 completed: SUCCESS
[Pipeline] library
Only using first definition of library openjdk-jenkins-helper
[Pipeline] parallel
[Pipeline] { (Branch: Test_openjdk21_hs_sanity.jck_x86-64_linux_1)
[Pipeline] { (Branch: Test_openjdk21_hs_special.jck_x86-64_linux_2)
[Pipeline] build (Building Test_openjdk21_hs_sanity.jck_x86-64_linux)
Scheduling project: Test_openjdk21_hs_sanity.jck_x86-64_linux
[Pipeline] build (Building Test_openjdk21_hs_special.jck_x86-64_linux)
Scheduling project: Test_openjdk21_hs_special.jck_x86-64_linux
Starting building: Test_openjdk21_hs_sanity.jck_x86-64_linux #47
Starting building: Test_openjdk21_hs_special.jck_x86-64_linux #48
Build Test_openjdk21_hs_special.jck_x86-64_linux #48 completed: FAILURE
[Pipeline] echo
Test_openjdk21_hs_special.jck_x86-64_linux result is FAILURE
[Pipeline] }
Build Test_openjdk21_hs_sanity.jck_x86-64_linux #47 completed: FAILURE
[Pipeline] echo
Test_openjdk21_hs_sanity.jck_x86-64_linux result is FAILURE
[Pipeline] }
[Pipeline] // parallel
[Pipeline] End of Pipeline
Finished: FAILURE

@llxia
Copy link
Contributor Author

llxia commented Aug 23, 2024

Build Test_openjdk21_hs_special.jck_x86-64_linux #48 completed: FAILURE

What is the error message in this build?

@karianna
Copy link
Contributor

Build Test_openjdk21_hs_special.jck_x86-64_linux #48 completed: FAILURE

What is the error message in this build?

I must be looking at the wrong thing, I just followed the link from the GH Action

@smlambert
Copy link
Contributor

19:14:38  + ./get.sh -s /home/jenkins/workspace/Test_openjdk21_hs_special.jck_x86-64_linux/aqa-tests/.. -p x86-64_linux -r customized -j 21 -i hotspot -c https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-linux-x64-temurin/266//artifact/workspace/target/OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_3-ea.tar.gz --clone_openj9 false --tkg_repo https://github.com/adoptium/TKG.git --tkg_branch master
19:14:38  TESTDIR: /home/jenkins/workspace/Test_openjdk21_hs_special.jck_x86-64_linux/aqa-tests
19:14:38  get jdk binary...
19:14:38  _ENCODE_FILE_NEW=UNTAGGED curl -OLJSks --user ****:**** https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-linux-x64-temurin/266//artifact/workspace/target/OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_3-ea.tar.gz
19:14:38  Uncompressing file: OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_3-ea.tar.gz ...
19:14:38  
19:14:38  gzip: OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_3-ea.tar.gz: not in gzip format
19:14:38  tar: This does not look like a tar archive
19:14:38  tar: Exiting with failure status due to previous errors

@llxia
Copy link
Contributor Author

llxia commented Aug 27, 2024

@smlambert could you rerun the pipeline with a valid SDK? Thanks

@smlambert
Copy link
Contributor

@karianna
Copy link
Contributor

https://ci.eclipse.org/temurin-compliance/job/AQA_Test_Pipeline/6258/console Pipeline ran but there were test failures.

@smlambert
Copy link
Contributor

smlambert commented Aug 28, 2024

I am rerunning, apologies that I am traveling and not expediting the testing of this so far. The previous run was missing the JCK_GIT_REPO info, the new run https://ci.eclipse.org/temurin-compliance/job/AQA_Test_Pipeline/6259 looks healthy.

@smlambert smlambert merged commit ac72d07 into adoptium:master Aug 28, 2024
2 checks passed
@llxia
Copy link
Contributor Author

llxia commented Aug 28, 2024

Thanks @smlambert !

llxia added a commit to llxia/aqa-tests that referenced this pull request Aug 28, 2024
pshipton pushed a commit that referenced this pull request Aug 29, 2024
llxia added a commit to llxia/aqa-tests that referenced this pull request Aug 29, 2024
LongyuZhang pushed a commit that referenced this pull request Aug 29, 2024
* Improve AQA_Test_Pipeline for release testing (#5512)

related: #5510
fixes: #5509
fixes: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <[email protected]>

* Limit FIPS functional testing on OpenJcePlusTests and security

related: backlog/issues/1494

Signed-off-by: Lan Xia <[email protected]>

---------

Signed-off-by: Lan Xia <[email protected]>
llxia added a commit to llxia/aqa-tests that referenced this pull request Sep 6, 2024
pshipton pushed a commit that referenced this pull request Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants