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

OpenJDK 11 jdk_nio, jdk_net failures #602

Closed
sophia-guo opened this issue Sep 28, 2018 · 12 comments
Closed

OpenJDK 11 jdk_nio, jdk_net failures #602

sophia-guo opened this issue Sep 28, 2018 · 12 comments
Labels
Projects
Milestone

Comments

@sophia-guo
Copy link
Contributor

Linux:
java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile.java
java/nio/channels/AsyncCloseAndInterrupt.java
java/nio/charset/spi/CharsetProviderBasicTest.java
java/nio/channels/DatagramChannel/ConnectExceptions.java
java/nio/channels/DatagramChannel/SendExceptions.java
java/nio/channels/SocketChannel/ExceptionTranslation.java
java/net/InetAddress/BadDottedIPAddress.java
java/net/InetAddress/CachedUnknownHostName.java
java/net/InetAddress/IPv4Formats.java
java/net/SocketPermission/SocketPermissionCollection.java
java/net/SocketPermission/Wildcard.java
java/net/Socks/SocksV4Test.java
java/net/URL/OpenStream.java
java/net/httpclient/ConnectExceptionTest.java

PPCLE:
java/nio/file/Files/InterruptCopy.java

@sophia-guo
Copy link
Contributor Author

PPCLE:
java/nio/file/Files/InterruptCopy.java Error while cleaning up threads after test
InterruptCopy.jtr.txt

@sophia-guo
Copy link
Contributor Author

java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile.java
UnixSocketFile.jtr.txt

@sophia-guo
Copy link
Contributor Author

all other nio failure;
channels.zip

all other jdk_net failrue:
net.zip

@karianna karianna added this to TODO in aqa-tests via automation Sep 28, 2018
@karianna karianna added the bug label Sep 28, 2018
@smlambert smlambert mentioned this issue Nov 5, 2018
@sophia-guo
Copy link
Contributor Author

sophia-guo commented Feb 6, 2019

Intermittent failures on linxu_x86:
java/net/Inet6Address/B6206527.java.B6206527
java/net/ipv6tests/B6521014.java.B6521014

Both get failure message 'java.net.BindException: Cannot assign requested address (Bind failed) ' when trying to sock.bind(new InetSocketAddress(sin, 0));

Execution failed: `main' threw exception: java.net.BindException: Cannot assign requested address (Bind failed)    

Standard Output

trying LL addr: /fe80:0:0:0:e8e4:8ff:fe76:3566%veth05b9a29
trying LL addr: /fe80:0:0:0:e8e4:8ff:fe76:3566
    

Standard Error

java.net.BindException: Cannot assign requested address (Bind failed)
	at java.base/java.net.PlainSocketImpl.socketBind(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:436)
	at java.base/java.net.ServerSocket.bind(ServerSocket.java:381)
	at java.base/java.net.ServerSocket.bind(ServerSocket.java:335)
	at B6206527.main(B6206527.java:58)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:834)

JavaTest Message: Test threw exception: java.net.BindException
JavaTest Message: shutting down test

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/155/

Tests failed on Openj9 same way as on HS.
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_x86-64_linux/273/

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Feb 6, 2019

Recently ( from Jan 2, 2019) random subset of of following tests intermittently fails on HS with unexpected errors. The failure is:

21:06:26 # A fatal error has been detected by the Java Runtime Environment:
21:06:26 #
21:06:26 #  SIGSEGV (0xb) at pc=0x00007fb8245387ca, pid=28972, tid=29819
21:06:26 #
21:06:26 # JRE version: OpenJDK Runtime Environment (11.0.2+9) (build 11.0.2+9-201902021908)
21:06:26 # Java VM: OpenJDK 64-Bit Server VM (11.0.2+9-201902021908, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
21:06:26 # Problematic frame:
21:06:26 # J 3174 c2 java.security.MessageDigest$Delegate.engineUpdate([BII)V java.base@11.0.2 (11 bytes) @ 0x00007fb8245387ca [0x00007fb8245382e0+0x00000000000004ea]
21:06:26 #
21:06:26 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
21:06:26 #
21:06:26 # An error report file with more information is saved as:
21:06:26 # /home/jenkins/workspace/openjdk11_hs_openjdktest_x86-64_linux/jvmtest/openjdk_regression/work/scratch/2/hs_err_pid28972.log
21:06:26 Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
21:06:26 #
21:06:26 # If you would like to submit a bug report, please visit:
21:06:26 #   https://github.com/AdoptOpenJDK/openjdk-build/issues
21:06:26 #856 

java/net/httpclient/AsFileDownloadTest.java
java/net/httpclient/InvalidInputStreamSubscriptionRequest.java
java/net/httpclient/StreamingBody.java
java/net/httpclient/http2/ContinuationFrameTest.java
java/net/httpclient/SpecialHeadersTest.java
java/net/httpclient/http2/BadHeadersTest.java

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/156/consoleFull
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/153/consoleFull
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/154/consoleFull
Issue also opened in adoptium/temurin-build#893

Newly happened:
java/net/httpclient/http2/BadHeadersTest.java
java/net/httpclient/DigestEchoClientSSL.java
java/net/httpclient/ResponseBodyBeforeError.java
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/156/consoleFull
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/157/consoleFull
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_linux/158/

@sophia-guo
Copy link
Contributor Author

Intermittent test failures on Win
java/nio/channels/AsynchronousFileChannel/Basic.java
java/nio/channels/AsynchronousSocketChannel/Basic.java

JBS reported and open :https://bugs.openjdk.java.net/browse/JDK-7052549

@sophia-guo
Copy link
Contributor Author

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Feb 8, 2019

jdk/nio/zipfs/ZipFSTester.java intermittently failed on Mac&ppc64le

Standard Error

java.nio.file.FileSystemException: /xyz95/efg9 -> is a directory
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:565)
	at jdk.zipfs/jdk.nio.zipfs.ZipPath.newInputStream(ZipPath.java:708)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:273)
	at java.base/java.nio.file.Files.newInputStream(Files.java:155)
	at ZipFSTester.test1(ZipFSTester.java:230)
	at ZipFSTester.main(ZipFSTester.java:95)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:834)

JavaTest Message: Test complete.

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_macos/122/testReport/junit/jdk_nio_zipfs_ZipFSTester/java/ZipFSTester/
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_ppc64le_linux/141/

Also failed on MacXL with openj9, though the behavior is different.

Standard Error

java.nio.file.ProviderNotFoundException: Provider not found
	at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:430)
	at ZipFSTester.test1(ZipFSTester.java:150)
	at ZipFSTester.main(ZipFSTester.java:95)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:825)

JavaTest Message: Test threw exception: java.nio.file.ProviderNotFoundException
JavaTest Message: shutting down test

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_x86-64_macos_macosXL/17/testReport/junit/jdk_nio_zipfs_ZipFSTester/java/ZipFSTester/

Exclude for both IMPL as test behavior may be different with fix in openjdk. Not need to investigate openj9 behavior for now.

@sophia-guo
Copy link
Contributor Author

java/net/httpclient/UnknownBodyLengthTest.java intermittently failed on Win
same failure reported in JBS: https://bugs.openjdk.java.net/browse/JDK-8210130 as resolved.

@smlambert
Copy link
Contributor

So for issues that have been marked as resolved, we need to check if we have the fix in the openjdk source we use (and if we do, why we still see a failure), and if not, we need to encourage someone to port the fix to the branch we take our source from.

@sophia-guo
Copy link
Contributor Author

java/nio/channels/DatagramChannel/Promiscuous.java fails with 'java.net.SocketException: Exec format error'

Standard Error

java.net.SocketException: Exec format error
	at java.base/sun.nio.ch.Net.joinOrDrop4(Native Method)
	at java.base/sun.nio.ch.Net.join4(Net.java:542)
	at java.base/sun.nio.ch.DatagramChannelImpl.innerJoin(DatagramChannelImpl.java:999)
	at java.base/sun.nio.ch.DatagramChannelImpl.join(DatagramChannelImpl.java:1017)
	at Promiscuous.test(Promiscuous.java:175)
	at Promiscuous.main(Promiscuous.java:220)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:834)

JavaTest Message: Test threw exception: java.net.SocketException
JavaTest Message: shutting down test

    

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_hs_openjdktest_x86-64_macos/132/consoleFull

@sophia-guo
Copy link
Contributor Author

Close this one as issue has been addressed by adoptium/temurin-build#893

aqa-tests automation moved this from TODO to Done Oct 7, 2020
@karianna karianna added this to the October 2020 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
aqa-tests
  
Done
Development

No branches or pull requests

3 participants