-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
jdk8 java/nio/file/Files/probeContentType/Basic.java failed on test-docker-fedora34-x64-1 #2631
Comments
Same issue for jdk8 tests: Grinder on test-ibmcloud-ubuntu1604-x64-1 passed: |
Initial suspicion is that this test will fail on docker containers |
java/nio/file/Files/probeContentType/Basic.java test-docker-fedora34-x64-1 test-docker-ubuntu2204-x64-1 test-docker-ubuntu1804-x64-1 test-docker-ubuntu2004-x64-2 test-docker-ubuntu2010-x64-2 test-docker-fedora35-x64-1 |
java/net/Inet6Address/B6206527.java.B6206527 test-docker-fedora34-x64-1 test-docker-ubuntu2204-x64-1 test-docker-ubuntu1804-x64-1 test-docker-ubuntu2004-x64-2 test-docker-ubuntu2010-x64-2 test-docker-fedora35-x64-1 |
java/net/ipv6tests/B6521014.java test-docker-fedora34-x64-1 test-docker-ubuntu2204-x64-1 test-docker-ubuntu1804-x64-1 test-docker-ubuntu2004-x64-2 test-docker-ubuntu2010-x64-2 test-docker-fedora35-x64-1 |
The tests continue to fail only on test-docker-fedora34-x64-1. Passes on the other dockerstatic containers. The ipv6 issues are interesting. This is related, #1105, but I dont think the solution to that issue helps here. The dockerstatic containers do have ipv6 enabled; I added this to the /etc/docker/daemon.json file a while ago:
I will try creating another fedora container and see if the tests still fail on that one |
Created a new fedora34 container test-docker-fedora34-x64-2 java/nio/file/Files/probeContentType/Basic.java java/net/Inet6Address/B6206527.java.B6206527 java/net/ipv6tests/B6521014.java |
Fedora34 has reached end of life, so it is worth upgrading to fedora 36 anyway. I'm going to spin up a fedora36 container and run the tests on it |
Rerunning the tests on our other fedora boxes: java/nio/file/Files/probeContentType/Basic.java java/net/Inet6Address/B6206527.java.B6206527 java/net/ipv6tests/B6521014.java test-docker-fedora35-armv8l-1 : java/nio/file/Files/probeContentType/Basic.java java/net/Inet6Address/B6206527.java.B6206527 java/net/ipv6tests/B6521014.java |
Newly created https://ci.adoptopenjdk.net/computer/test-docker-fedora36-x64-1/ java/nio/file/Files/probeContentType/Basic.java java/net/Inet6Address/B6206527.java.B6206527 java/net/ipv6tests/B6521014.java |
The ipv6 tests pass on the f35 containers but fail on the f36 one. This may be due to the dockerhost of the f36 container, https://ci.adoptopenjdk.net/computer/docker-packet-ubuntu2004-amd-1/ while the former containers are on https://ci.adoptopenjdk.net/computer/docker-packet-ubuntu2004-intel-1/. I'm going to build an f36 container on the latter dockerhost to test |
Created another f36 container https://ci.adoptopenjdk.net/computer/test-docker-fedora36-x64-2/, on https://ci.adoptopenjdk.net/computer/docker-packet-ubuntu2004-intel-1/ Rerunning tests, I expect Basic to still fail. Ive installed java/nio/file/Files/probeContentType/Basic.java java/net/Inet6Address/B6206527.java.B6206527 java/net/ipv6tests/B6521014.java |
Ipv6 test pass when the docker container is on https://ci.adoptopenjdk.net/computer/docker-packet-ubuntu2004-intel-1/, so theres a difference in docker ipv6 config between the two dockerhost machines |
ref the failing Basic test, the failure lies here: https://github.com/adoptium/jdk8u/blob/a18e9043fa2a0a14098e1ec25d32577aaac6c023/jdk/test/java/nio/file/Files/probeContentType/Basic.java#L45 creates a html file, but when its 'type' is tested here https://github.com/adoptium/jdk8u/blob/a18e9043fa2a0a14098e1ec25d32577aaac6c023/jdk/test/java/nio/file/Files/probeContentType/Basic.java#L118, instead of return |
Cannot seem to get the Basic test to pass on Fedora. The following is a simple java file which zones in on what is causing this error, where foo.html is an html file.
On fedora it returns
Which is correct. On a working machine, the above java file will return |
I think installing |
Installing |
jdk8 java/nio/file/Files/probeContentType/Basic.java failed on test-docker-fedora34-x64-1
Any other details:
test-ibmcloud-ubuntu1604-x64-1 : https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/5027/
test-docker-fedora34-x64-1: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/5026/
https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/45/
History show https://trss.adoptium.net/deepHistory?testId=62ae0eb4250c3c428c287b29
The text was updated successfully, but these errors were encountered: