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

refine copyArtifacts logic #4863

Merged
merged 1 commit into from
Nov 13, 2023
Merged

refine copyArtifacts logic #4863

merged 1 commit into from
Nov 13, 2023

Conversation

llxia
Copy link
Contributor

@llxia llxia commented Nov 10, 2023

  • donwload the 3rd party jars based on BUILD_LIST

This PR will help us to reduce downloads during build execution time. Eventually, we would like to pre-stage the 3rd party jar.

related: #4500

@llxia
Copy link
Contributor Author

llxia commented Nov 10, 2023

Before:

  • all files (23) are copied for running any tests:
    Grinder
    image

After:

  • 9 files are copied for running openjdk:
    Grinder
    image

  • 17 files are copied for running functional:
    Grinder

  • 1 file is copied for running perf:
    Grinder

  • 1 file is copied in the parent job (PARALLEL=Dynamic) :
    Grinder

@llxia llxia force-pushed the test2 branch 2 times, most recently from 9fc68ad to ced6cea Compare November 10, 2023 20:17
@llxia llxia marked this pull request as ready for review November 13, 2023 13:54
if (env.BUILD_LIST.startsWith('system')) {
if (env.BUILD_LIST.contains('functional')) {
timeout(time: 60, unit: 'MINUTES') {
copyArtifacts fingerprintArtifacts: true, projectName: "test.getDependency", excludes: "json-simple.jar, jtreg*.*", selector: lastSuccessful(), target: 'aqa-tests/TKG/lib'
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we can exclude jtreg from functional here, because its picked up in compile step, via the build.xml for the ssl-tests and CryptoTest.

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, if the jtreg is not pre-downloaded, it will be downloaded via build.xml during the compilation stage. On second thought, since we are running functional test builds nightly, I think we should include jtreg (in dev and extended level only).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

- donwload the 3rd party jars based on BUILD_LIST

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
@karianna karianna merged commit 0d6d836 into adoptium:master Nov 13, 2023
1 check passed
llxia added a commit to llxia/openjdk-tests that referenced this pull request Nov 22, 2023
- donwload the 3rd party jars based on BUILD_LIST

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
llxia added a commit to llxia/openjdk-tests that referenced this pull request Nov 22, 2023
- donwload the 3rd party jars based on BUILD_LIST

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
pshipton pushed a commit that referenced this pull request Nov 22, 2023
- donwload the 3rd party jars based on BUILD_LIST

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants