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

jdk_net and jdk_tools FAILED on test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 #2882

Closed
smlambert opened this issue Jan 14, 2023 · 9 comments

Comments

@smlambert
Copy link
Contributor

smlambert commented Jan 14, 2023

2 test cases in jdk_net target fail on a couple of static docker nodes with Cannot run program "hostname" and
Several test cases in jdk_tools target fail with diff: command not found

Console output:

[2023-01-14T00:13:03.085Z] Command line: [hostname]
[2023-01-14T00:13:03.085Z] executeProcess() failed: java.io.IOException: Cannot run program "hostname": error=2, No such file or directory
[2023-01-14T00:13:03.085Z] --- ProcessLog ---
[2023-01-14T00:13:03.085Z] cmd: hostname
[2023-01-14T00:13:03.085Z] exitvalue: null
[2023-01-14T00:13:03.085Z] stderr: null
[2023-01-14T00:13:03.085Z] stdout: null
[2023-01-14T00:13:03.085Z] 
[2023-01-14T00:13:03.085Z] Client side failed: Get hostname failed.
[2023-01-14T00:13:03.085Z] STDERR:
[2023-01-14T00:13:03.085Z] java.lang.RuntimeException: Get hostname failed.

...

20:06:31  STDERR:
20:06:31  /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/tools/jrunscript/jrunscript-fTest.sh: line 48: diff: command not found

Test Info
Test Name: jdk_net_1
Test Duration: 16 min 1 sec
Machine: test-docker-ubi8-x64-2
TRSS link for the test output: https://trss.adoptium.net/output/test?id=63c21271ed0b30773ba34529

Build Info
Build Name: Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1
Jenkins Build start time: Jan 13 2023, 06:19 pm
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/78/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=63c21190ed0b30773ba3410b

Java Version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b06, mixed mode)

This test has been failed 2 times since Jan 11 2023, 12:15 pm
Java Version when the issue first seen
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b06, mixed mode)
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/76/

The test failed on machine test-docker-ubi8-x64-2 1 times
The test failed on machine test-docker-fedora35-x64-1 1 times


Screen Shot 2023-01-13 at 9 53 35 PM

@smlambert smlambert changed the title jdk_net_1 FAILED on test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 jdk_net FAILED on test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 Jan 14, 2023
@smlambert
Copy link
Contributor Author

Are test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 new machines? Seems the process to bring machines online was not followed for these 2.

@smlambert smlambert changed the title jdk_net FAILED on test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 jdk_net and jdk_tools FAILED on test-docker-ubi8-x64-2 and test-docker-fedora35-x64-1 Jan 14, 2023
@smlambert
Copy link
Contributor Author

smlambert commented Jan 15, 2023

@smlambert
Copy link
Contributor Author

jdk_management target also fails on test-docker-ubi8-x64-2 with

[2023-01-15T21:38:32.190Z] TEST FAILED: TestSystemLoadAvg test failed 5 runs
[2023-01-15T21:38:32.190Z] STDERR:
[2023-01-15T21:38:32.190Z] Exception in thread "main" java.io.IOException: Cannot run program "/usr/bin/uptime": error=2, No such file or directory
[2023-01-15T21:38:32.190Z] 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
[2023-01-15T21:38:32.190Z] 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
[2023-01-15T21:38:32.190Z] 	at GetSystemLoadAverage.checkLoadAvg(GetSystemLoadAverage.java:90)
[2023-01-15T21:38:32.190Z] 	at GetSystemLoadAverage.main(GetSystemLoadAverage.java:64)

@smlambert
Copy link
Contributor Author

I have disabled https://ci.adoptopenjdk.net/computer/test-docker-ubi8-x64-2/ since sanity.openjdk and extended.openjdk will fail on it (jdk_net, jdk_tools, jdk_management).

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Jan 17, 2023

I've installed procps-ng,hostname, diffutils onto test-docker-ubi8-x64-2 which has given it uptime, diff and hostname
Rerunning
https://ci.adoptopenjdk.net/job/Grinder/6361/console

@Haroon-Khel
Copy link
Contributor

Got the failures down to the following two

java/security/cert/CertPathBuilder/targetConstraints/BuildEEBasicConstraints.java.BuildEEBasicConstraint
java/security/cert/pkix/policyChanges/TestPolicy.java.TestPolicy

I'll keep the two machines offline for now to keep triage work easier

@Haroon-Khel
Copy link
Contributor

The two failing java/security tests now pass on all 6 machines

@Haroon-Khel
Copy link
Contributor

Issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants