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

envDetect NumberFormatException: For input string: "" #17790

Closed
pshipton opened this issue Jul 13, 2023 · 1 comment
Closed

envDetect NumberFormatException: For input string: "" #17790

pshipton opened this issue Jul 13, 2023 · 1 comment

Comments

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_x86-64_linux_OpenJDK21/4 - ub16x64j96

15:22:47  /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_x86-64_linux_OpenJDK21/openjdkbinary/j2sdk-image/bin/java -cp ./bin/TestKitGen.jar org.openj9.envInfo.EnvDetector
15:22:47  uname -a
15:22:48  bash -c cat /proc/cpuinfo | grep processor | wc -l
15:22:48  uname -m
15:22:48  uname -p
15:22:48  bash -c cat /proc/cpuinfo | grep 'model name' | uniq
15:22:48  uname -s
15:22:48  bash -c ulimit -a
15:22:48  bash -c if grep -sq 'docker\|lxc' /proc/1/cgroup; then echo 'running on docker'; else echo 'not on docker'; fi
15:22:48  bash -c grep '^NAME' /etc/os-release | awk -F'=' ' gsub(/"/,"") { print $2}'
15:22:48  bash -c grep '^VERSION_ID' /etc/os-release | awk -F'=' ' gsub(/"/,"") { print $2}'
15:22:48  bash -c cat /etc/os-release
15:22:48  bash -c ant -version
15:22:48  bash -c make --version
15:22:48  bash -c perl --version
15:22:48  bash -c curl --version | head -n 1 | awk '{ print $2 }'
15:22:48  gcc -dumpversion
15:22:48  bash -c xlC -qversion | grep 'Version' 
15:22:49  bash -c gdb --version | head -1
15:22:49  lldb --version
15:22:49  bash -c ldd --version | head -1
15:22:49  Exception in thread "main" java.lang.NumberFormatException: For input string: ""
15:22:49  	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
15:22:49  	at java.base/java.lang.Integer.parseInt(Integer.java:671)
15:22:49  	at java.base/java.lang.Integer.parseInt(Integer.java:777)
15:22:49  	at org.openj9.envInfo.MachineInfo.versionStr2ArrList(MachineInfo.java:133)
15:22:49  	at org.openj9.envInfo.MachineInfo.validateVersion(MachineInfo.java:148)
15:22:49  	at org.openj9.envInfo.MachineInfo.validateInfo(MachineInfo.java:179)
15:22:49  	at org.openj9.envInfo.MachineInfo.checkInfo(MachineInfo.java:97)
15:22:49  	at org.openj9.envInfo.EnvDetector.parseArgs(EnvDetector.java:33)
15:22:49  	at org.openj9.envInfo.EnvDetector.main(EnvDetector.java:28)
15:22:49  makefile:73: recipe for target 'envDetect' failed

Same problem
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_x86-64_linux_OpenJDK21/4 - cent7-x64-4

Changes from yesterday's build:
adoptium/TKG@f86a77e...e77928f
adoptium/aqa-tests@73443d2...5d30587

Looks like adoptium/TKG#457 is the cause.
@llxia @renfeiw

@llxia
Copy link
Contributor

llxia commented Jul 14, 2023

Close this issue as the PR is reverted and the next build is green.
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_x86-64_linux_OpenJDK21/5/

@llxia llxia closed this as completed Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants