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

java os.name property value ${buildjdk.os.name} not recognised on build-osuosl-aix72-ppc64-3 #5520

Open
smlambert opened this issue Aug 21, 2024 · 3 comments

Comments

@smlambert
Copy link
Contributor

Need to investigate

java os.name property value ${buildjdk.os.name} not recognised. Update the get-platform-prefix macrodef in stf.build/include/top.xml


From https://ci.adoptium.net/job/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/5/console running on build-osuosl-aix72-ppc64-3 :

02:52:00  BUILD FAILED
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/TKG/scripts/build_test.xml:95: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/common.xml:392: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/common.xml:383: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:83: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:517: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:576: java os.name property value ${buildjdk.os.name} not recognised.  Update the get-platform-prefix macrodef in stf.build/include/top.xml
02:52:00  
02:52:00  Total time: 7 seconds
02:52:01  1
02:52:01  gmake[1]: *** [compile.mk:45: compile] Error 1
02:52:01  gmake[1]: Leaving directory '/home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/TKG'
02:52:01  gmake: *** [makefile:87: compile] Error 2
[Pipeline] }
@jiekang
Copy link
Contributor

jiekang commented Aug 25, 2024

Related issue where it was intermittent and root cause was not found:

#3997

@jiekang
Copy link
Contributor

jiekang commented Aug 25, 2024

The logs show one clean run:

02:51:58  setup-java-properties:
02:51:58       [echo] java_home is ${java_home}
02:51:58       [echo] java.home is /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image
02:51:58  [echoproperties] #Ant properties
02:51:58  [echoproperties] #Fri Aug 09 06:51:58 GMT 2024
02:51:58  [echoproperties] buildjdk./home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/../lib=
02:51:58  [echoproperties] buildjdk./home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/lib=
02:51:58  [echoproperties] buildjdk./lib=
02:51:58  [echoproperties] buildjdk./opt/freeware/lib=
02:51:58  [echoproperties] buildjdk./opt/freeware/lib/pthread=
02:51:58  [echoproperties] buildjdk./usr/jdk-17.0.11+9/../lib=
02:51:58  [echoproperties] buildjdk./usr/jdk-17.0.11+9/lib=
02:51:58  [echoproperties] buildjdk./usr/jdk-17.0.11+9/lib/server=
02:51:58  [echoproperties] buildjdk./usr/lib=
02:51:58  [echoproperties] buildjdk.OpenJDK=64-Bit Server VM Temurin-23+36-202408081905 (build 23-beta+36-ea, mixed mode)
02:51:58  [echoproperties] buildjdk.Property=settings\:
02:51:58  [echoproperties] buildjdk.file.encoding=UTF-8
02:51:58  [echoproperties] buildjdk.file.separator=/
02:51:58  [echoproperties] buildjdk.java.class.path=
02:51:58  [echoproperties] buildjdk.java.class.version=67.0
02:51:58  [echoproperties] buildjdk.java.home=/home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image
02:51:58  [echoproperties] buildjdk.java.io.tmpdir=/tmp/
02:51:58  [echoproperties] buildjdk.java.library.path=/home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/lib/server
02:51:58  [echoproperties] buildjdk.java.runtime.name=OpenJDK Runtime Environment
02:51:58  [echoproperties] buildjdk.java.runtime.version=23-beta+36-ea
02:51:58  [echoproperties] buildjdk.java.specification.name=Java Platform API Specification
02:51:58  [echoproperties] buildjdk.java.specification.vendor=Oracle Corporation
02:51:58  [echoproperties] buildjdk.java.specification.version=23
02:51:58  [echoproperties] buildjdk.java.vendor=Eclipse Adoptium
02:51:58  [echoproperties] buildjdk.java.vendor.url=https\://adoptium.net/
02:51:58  [echoproperties] buildjdk.java.vendor.url.bug=https\://github.com/adoptium/adoptium-support/issues
02:51:58  [echoproperties] buildjdk.java.vendor.version=Temurin-23+36-202408081905
02:51:58  [echoproperties] buildjdk.java.version=23-beta
02:51:58  [echoproperties] buildjdk.java.version.date=2024-09-17
02:51:58  [echoproperties] buildjdk.java.vm.compressedOopsMode=Zero based
02:51:58  [echoproperties] buildjdk.java.vm.info=mixed mode
02:51:58  [echoproperties] buildjdk.java.vm.name=OpenJDK 64-Bit Server VM
02:51:58  [echoproperties] buildjdk.java.vm.specification.name=Java Virtual Machine Specification
02:51:58  [echoproperties] buildjdk.java.vm.specification.vendor=Oracle Corporation
02:51:58  [echoproperties] buildjdk.java.vm.specification.version=23
02:51:58  [echoproperties] buildjdk.java.vm.vendor=Eclipse Adoptium
02:51:58  [echoproperties] buildjdk.java.vm.version=23-beta+36-ea
02:51:58  [echoproperties] buildjdk.jdk.debug=release
02:51:58  [echoproperties] buildjdk.line.separator=\\n 
02:51:58  [echoproperties] buildjdk.native.encoding=ISO8859-1
02:51:58  [echoproperties] buildjdk.openjdk=version "23-beta" 2024-09-17
02:51:58  [echoproperties] buildjdk.os.arch=ppc64
02:51:58  [echoproperties] buildjdk.os.name=AIX
02:51:58  [echoproperties] buildjdk.os.version=7.2
02:51:58  [echoproperties] buildjdk.path.separator=\:
02:51:58  [echoproperties] buildjdk.stderr.encoding=ISO8859-1
02:51:58  [echoproperties] buildjdk.stdout.encoding=ISO8859-1
02:51:58  [echoproperties] buildjdk.sun.arch.data.model=64
02:51:58  [echoproperties] buildjdk.sun.boot.library.path=/home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/lib
02:51:58  [echoproperties] buildjdk.sun.cpu.endian=big
02:51:58  [echoproperties] buildjdk.sun.io.unicode.encoding=UnicodeBig
02:51:58  [echoproperties] buildjdk.sun.java.launcher=SUN_STANDARD
02:51:58  [echoproperties] buildjdk.sun.jnu.encoding=ISO8859-1
02:51:58  [echoproperties] buildjdk.sun.management.compiler=HotSpot 64-Bit Tiered Compilers
02:51:58  [echoproperties] buildjdk.user.dir=/home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/aqa-systemtest/openjdk.build
02:51:58  [echoproperties] buildjdk.user.home=/home/jenkins
02:51:58  [echoproperties] buildjdk.user.language=en
02:51:58  [echoproperties] buildjdk.user.name=jenkins
02:51:58     [delete] Deleting: /tmp/openjdk.java.build.properties.631348112

Followed by the error run where deletion of the openjdk.java.build.properties file is earlier (too early?).

02:51:59  setup-java-properties:
02:51:59       [echo] java_home is ${java_home}
02:51:59       [echo] java.home is /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image
02:51:59  [echoproperties] #Ant properties
02:51:59  [echoproperties] #Fri Aug 09 06:51:59 GMT 2024
02:51:59  [echoproperties] buildjdk.Property=settings\:
02:51:59  [echoproperties] buildjdk.file.encoding=UTF-8
02:51:59  [echoproperties] buildjdk.file.separator=/
02:51:59  [echoproperties] buildjdk.jav=
02:51:59  [echoproperties] buildjdk.java.class.path=
02:51:59  [echoproperties] buildjdk.java.class.version=67.0
02:51:59     [delete] Deleting: /tmp/openjdk.java.build.properties.1864659393
02:52:00  
02:52:00  BUILD FAILED
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/TKG/scripts/build_test.xml:95: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/common.xml:392: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/common.xml:383: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:83: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:517: The following error occurred while executing this line:
02:52:00  /home/jenkins/workspace/Test_openjdk23_hs_extended.system_ppc64_aix_testList_0/aqa-tests/system/STF/stf.build/include/top.xml:576: java os.name property value ${buildjdk.os.name} not recognised.  Update the get-platform-prefix macrodef in stf.build/include/top.xml

@jiekang
Copy link
Contributor

jiekang commented Aug 26, 2024

The setup-java-properties target has an unless field that seems to indicate it should only run once, but that does not seem to work here:

	<target name="setup-java-properties" unless="setup_java_properties_run">
		<property name="setup_java_properties_run" value="true"/>

https://github.com/adoptium/STF/blob/c21e789072cf5aa3f7cc58be5116da1024ffc5a0/stf.build/include/top.xml#L65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants