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 tests fails intermittently with hotspot jdk8 on macosx|linux #1259

Open
sophia-guo opened this issue Aug 8, 2019 · 2 comments
Open
Labels
bug JBS issue need to report to JBS or reopen the issue in JBS
Projects

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Aug 8, 2019

Test category: openjdk
Testsuite name: jdk_net
Test name(s):

  • java/net/InetAddress/CheckJNI.java

  • java/net/Socket/LinkLocal.java

  • java/net/ipv6tests/B6521014.java

  • java/net/ipv6tests/TcpTest.java

  • java/rmi/transport/dgcDeadLock/DGCDeadLock.java

  • java/util/concurrent/locks/Lock/TimedAcquireLeak.java

Product(s) tested: OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-201907290328-b10)
OS/architecture: macosx
Platform specific: yes

Reproducibility: intermittent

Exception/Error from Log:

06:11:18  JavaTest Message: Test threw exception: java.net.ConnectException: Operation timed out (Connection timed out)
06:11:18  JavaTest Message: shutting down test
06:11:18  
06:11:18  STATUS:Failed.`main' threw exception: java.net.ConnectException: Operation timed out (Connection timed out)

JBS:

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_mac/13/

@sophia-guo sophia-guo added the JBS issue need to report to JBS or reopen the issue in JBS label Aug 8, 2019
@sophia-guo sophia-guo changed the title java/net/InetAddress/CheckJNI.java fails intermittently with hotspot jdk8 on macosx jdk_net tests fails intermittently with hotspot jdk8 on macosx Aug 8, 2019
@sophia-guo
Copy link
Contributor Author

java/util/logging/TestLoggerWeakRefLeak.java

JBS: https://bugs.openjdk.java.net/browse/JDK-8199767

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_mac/13/testReport/junit/java_util_logging_TestLoggerWeakRefLeak/java/TestLoggerWeakRefLeak/

Stacktrace

Execution failed: `main' threw exception: java.io.IOException: well-known file /var/folders/h1/b_v48zpd1zd54jblxnx58p3r0000gr/T/.java_pid34749 is not secure: file's group should be the current group (which is -1) but the group is 0    

Standard Output

Test for WeakReference leak in Logger object
call count = 1000
    

Standard Error

java.io.IOException: well-known file /var/folders/h1/b_v48zpd1zd54jblxnx58p3r0000gr/T/.java_pid34749 is not secure: file's group should be the current group (which is -1) but the group is 0
	at sun.tools.attach.BsdVirtualMachine.checkPermissions(Native Method)
	at sun.tools.attach.BsdVirtualMachine.<init>(BsdVirtualMachine.java:101)
	at sun.tools.attach.BsdAttachProvider.attachVirtualMachine(BsdAttachProvider.java:63)
	at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)
	at TestLoggerWeakRefLeak.getInstanceCountFromHeapHisto(TestLoggerWeakRefLeak.java:130)
	at TestLoggerWeakRefLeak.testIfLeaking(TestLoggerWeakRefLeak.java:80)
	at TestLoggerWeakRefLeak.main(TestLoggerWeakRefLeak.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)

JavaTest Message: Test threw exception: java.io.IOException: well-known file /var/folders/h1/b_v48zpd1zd54jblxnx58p3r0000gr/T/.java_pid34749 is not secure: file's group should be the current group (which is -1) but the group is 0
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.io.IOException: well-known file /var/folders/h1/b_v48zpd1zd54jblxnx58p3r0000gr/T/.java_pid34749 is not secure: file's group should be the current group (which is -1) but the group is 0
    

@karianna karianna added this to TODO in aqa-tests via automation Aug 13, 2019
@karianna karianna added the bug label Aug 13, 2019
@sophia-guo sophia-guo changed the title jdk_net tests fails intermittently with hotspot jdk8 on macosx jdk_net tests fails intermittently with hotspot jdk8|jdk8+ on macosx|linux Aug 16, 2019
@sophia-guo sophia-guo changed the title jdk_net tests fails intermittently with hotspot jdk8|jdk8+ on macosx|linux jdk_net tests fails intermittently with hotspot jdk8 on macosx|linux Aug 16, 2019
@sophia-guo
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug JBS issue need to report to JBS or reopen the issue in JBS
Projects
No open projects
aqa-tests
  
TODO
Development

No branches or pull requests

2 participants