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

Standalone compilation is broken for JDK21 during autogen phase with DYNAMIC_COMPILE=true #482

Closed
smlambert opened this issue Dec 13, 2023 · 3 comments

Comments

@smlambert
Copy link
Contributor

smlambert commented Dec 13, 2023

Error summary:
cannot find the following tests: compile


Failure when attempting to run local testing via command-line, fails to find the compile target:

make -f makeGen.mk AUTO_DETECT= MODE=buildList TESTTARGET=compile TESTLIST=
make[1]: Entering directory '/Users/[email protected]/work2/aqa-tests/TKG'
perl scripts/configure.pl
/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home//bin/java -cp "./bin/TestKitGen.jar:/json-simple.jar" org.testKitGen.MainRunner --mode=buildList --spec=osx_x86-64 --microArch= --osLabel="" --jdkVersion=21 --impl=hotspot --vendor="eclipse" --buildList=openjdk --iterations=1 --aotIterations= --testFlag= --testTarget=compile --testList= --numOfMachines= --testTime= --TRSSURL= 
Modes data parsed from resources/modes.xml and resources/ottawa.csv.


Starting to generate build list.

Parsing /Users/[email protected]/work2/aqa-tests/TKG/../openjdk/playlist.xml
Generated /Users/[email protected]/work2/aqa-tests/TKG/../TKG/buildInfo.mk

Error: cannot find the following tests: compile (note: group target such as sanity is not accepted inside testList)

make[1]: *** [makeGen.mk:45: autogen] Error 1
make[1]: Leaving directory '/Users/[email protected]/work2/aqa-tests/TKG'
make: *** [makefile:91: buildListGen] Error 2

This was reported against a case where BUILD_LIST=functional, but has been reproduced with BUILD_LIST=openjdk also.

USE_TESTENV_PROPERTIES=true
BUILD_LIST=functional
JDK_VERSION=21
DYNAMIC_COMPILE=true
TARGET=sanity.functional
JDK_IMPL=hotspot

were the settings this was first reported on.

Appears related to DYNAMIC_COMPILE=true setting.

@smlambert smlambert changed the title Standalone compilation is broken for JDK21 Standalone compilation is broken for JDK21 during autogen phase Dec 13, 2023
@smlambert smlambert changed the title Standalone compilation is broken for JDK21 during autogen phase Standalone compilation is broken for JDK21 during autogen phase with DYNAMIC_COMPILE=true Dec 13, 2023
@smlambert
Copy link
Contributor Author

When switching DYNAMIC_COMPILE=false and running from the v0.9.9-release branch to compile OPENJ9_BRANCH=v0.41.0-release functional test material, there is a separate compilation failure (issue raised here:
eclipse-openj9/openj9#18620).

@sophia-guo
Copy link
Contributor

sophia-guo commented Dec 13, 2023

I've tried aqa-tests master with Microsoft jdk21 https://aka.ms/download-jdk/microsoft-jdk-21.0.1-macOS-aarch64.tar.gz locally. Can't reproduce it with DYNAMIC_COMPILE=none.

@smlambert
Copy link
Contributor Author

Closing as will not address in the v0.9.9-release branch.

@smlambert smlambert closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Adoptium 4Q 2023 Plan Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants