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

"well-known file is not secure" causing failures in numerous tests #1353

Closed
johnoliver opened this issue Sep 18, 2019 · 6 comments
Closed

"well-known file is not secure" causing failures in numerous tests #1353

johnoliver opened this issue Sep 18, 2019 · 6 comments
Milestone

Comments

@johnoliver
Copy link
Contributor

This failure seems to have come up on a number of other issues:

#1267
#1259

Just caused a failure in https://ci.adoptopenjdk.net/job/Test_openjdk13_hs_extended.system_x86-64_mac/52/console

19:40:13  AG  11:40:13 > Attach will be done using agent jar file: /Users/jenkins/workspace/Test_openjdk13_hs_extended.system_x86-64_mac/jvmtest/system/openjdk-systemtest/openjdk.test.debugging/bin/StringModifierAgent.jar
19:40:14  AG  stderr Exception in thread "main" java.io.IOException: well-known file /var/folders/qb/mpy9xj1x7gd4v0vpwrc6c36m0000gr/T/.java_pid89377 is not secure: file's group should be the current group (which is -1) but the group is 0
19:40:14  AG  stderr 	at jdk.attach/sun.tools.attach.VirtualMachineImpl.checkPermissions(Native Method)
19:40:14  AG  stderr 	at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:108)
19:40:14  AG  stderr 	at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
19:40:14  AG  stderr 	at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
19:40:14  AG  stderr 	at net.adoptopenjdk.test.hcrAgent.agent.Attacher.main(Attacher.java:70)
19:40:14  STF 11:40:14.255 - **FAILED** Process AG  ended with exit code (1) and not the expected exit code/s (0)
@johnoliver johnoliver changed the title well-known file is not secure "well-known file is not secure" causing failures in numerous tests Sep 18, 2019
@smlambert
Copy link
Contributor

smlambert commented Sep 18, 2019

We have seen this failure across many tests, seems specific to Mac builds/machines. Will need to narrow down if its just on a particular machine or osx version.

Mentioned in #1267 (for java/lang/Class/GetPackageBootLoaderChildLayer.java) and #1259 (for java/util/logging/TestLoggerWeakRefLeak.java)

@smlambert
Copy link
Contributor

This instance of failure (HCRLateAttachWorkload test from the extended.system target) ran on test-macincloud-macos1014-x64-2

@sophia-guo
Copy link
Contributor

@M-Davies
Copy link
Contributor

Dup of adoptium/infrastructure#1274

@smlambert
Copy link
Contributor

I will close this as dup, and as its being actively worked in openjdk-infrastructure issue 1274.

@karianna karianna added this to the April 2020 milestone Apr 21, 2020
@karianna karianna removed the bug label Apr 21, 2020
@smlambert
Copy link
Contributor

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

5 participants