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

Remove check_version() in common_functions.sh for external tests #4949

Closed
llxia opened this issue Jan 9, 2024 · 4 comments · Fixed by #4954
Closed

Remove check_version() in common_functions.sh for external tests #4949

llxia opened this issue Jan 9, 2024 · 4 comments · Fixed by #4954
Assignees

Comments

@llxia
Copy link
Contributor

llxia commented Jan 9, 2024

00:01:15.569       [exec] build_image.sh criu-ubi-portable-checkpoint 21 openj9 ubi jdk full linux_x86-64 ubi8-with-criu/linux_ppc-64_le-ubi8-criu 0 
00:01:15.569       [exec] ERROR: Invalid Version: 21
00:01:15.569       [exec] Usage: /home/jenkins/workspace/Test_openjdk21_j9_dev.external_ppc64le_linux_imageUpload/aqa-tests/TKG/../../jvmtest/external/external.sh [8 11 17]

job link

I will add 21 at https://github.com/adoptium/aqa-tests/blob/master/external/common_functions.sh#L17 for now.
However, the root question is why we have Supported versions list at all.

@llxia llxia changed the title external tests cannot run against JDK21 external tests cannot run against JDK21+ Jan 9, 2024
llxia added a commit to llxia/aqa-tests that referenced this issue Jan 9, 2024
related: adoptium#4949
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
@llxia
Copy link
Contributor Author

llxia commented Jan 9, 2024

@smlambert @sophia-guo do you have any idea why we have the Supported versions list in external tests? If we do not have a specific reason for it, I would suggest removing check_version() from common_functions.sh

@llxia llxia assigned smlambert and llxia and unassigned smlambert Jan 9, 2024
@smlambert
Copy link
Contributor

I do not recall that there is a good reason to limit, in fact, I vaguely recall it was an area that we were planning to simplify. For external tests that can not run in later versions of Java, we can control that in the playlist for those targets.

smlambert pushed a commit that referenced this issue Jan 9, 2024
related: #4949

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
@llxia
Copy link
Contributor Author

llxia commented Jan 9, 2024

Thanks @smlambert . I will update the issue title to reflect the required action.

@llxia llxia changed the title external tests cannot run against JDK21+ Remove check_version() in common_functions.sh for external tests Jan 9, 2024
@llxia
Copy link
Contributor Author

llxia commented Jan 9, 2024

@annaibm can you work on this when you have time? Thanks

annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 10, 2024
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 10, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 11, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
sophia-guo pushed a commit to sophia-guo/openjdk-tests that referenced this issue Jan 11, 2024
smlambert added a commit that referenced this issue Jan 11, 2024
* Use all cores for jtreg instead of halving (#4933)

Signed-off-by: Stewart X Addison <sxa@redhat.com>

* Enable headless mode on RISC-V (#4935)

* Exclude java/lang/StringBuilder/HugeCapacity.java on OpenJ9 zlinux (#4940)

It's already excluded on jdk17+ for other reasons.

Issue eclipse-openj9/openj9#17323

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>

* Move custom targets to special level (#4941)

Signed-off-by: Shelley Lambert <slambert@gmail.com>

* Add 21 and 22 as supported versions in external tests (#4950)

related: #4949

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>

* cherry-pick

e37ba10 c5e7de8 0d7c837 76695ca 37b48e3 a45c03c

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

---------

Signed-off-by: Stewart X Addison <sxa@redhat.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Signed-off-by: Shelley Lambert <slambert@gmail.com>
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Co-authored-by: Stewart X Addison <6487691+sxa@users.noreply.github.com>
Co-authored-by: Ludovic Henry <git@ludovic.dev>
Co-authored-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Co-authored-by: Shelley Lambert <slambert@gmail.com>
Co-authored-by: Lan Xia <Lan_Xia@ca.ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 17, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 17, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 30, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 30, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 30, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 30, 2024
- remove check_version function
- remove set_version function
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 31, 2024
- remove check_version function
- remove set_version function
- remove supported_versions
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm added a commit to annaibm/aqa-tests that referenced this issue Jan 31, 2024
- remove check_version function
- remove set_version function
- remove supported_versions
resolves : adoptium#4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
LongyuZhang pushed a commit that referenced this issue Feb 6, 2024
- remove check_version function
- remove set_version function
- remove supported_versions
resolves : #4949

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants