Comments (10)
from openj9-openjdk-jdk.
@smlambert Are these still causing issues? Also, was this just on Windows or on other platforms as well?
from openj9-openjdk-jdk.
@smlambert I have run all these tests on my local Windows system using JDK Next and all tests passed.
JDK version was:
openjdk 13-internal 2019-09-17
OpenJDK Runtime Environment (build 13-internal+0-adhoc.Administrator.openj9-openjdk-jdk)
Eclipse OpenJ9 VM (build master-ffeaf288e, JRE 13 Windows Server 2016 amd64-64-Bit Compressed References 20190610_000000 (JIT enabled, AOT enabled)
OpenJ9 - ffeaf288e
OMR - adf08c9e
JCL - 1031586d8c based on jdk-13+24)
Running jenkins test jobs to see if they fail using them.
If they do this may point to an infrastructure / test framework issue, as they do work locally.
from openj9-openjdk-jdk.
Strange. When running using the Jenkins grinder jobs, the tests do fail with the error stated above.
Investigating why this is the case for Jenkins and not locally!!
from openj9-openjdk-jdk.
Ran the test locally and they pass.
The tests are using the TEMP & TMP environment variable set as "C:\cygwin64\tmp".
However, if these are unset or set to "C:\Windows" , as per the jenkins test system that seems to be failing, the local tests also fail.
It seems that the 'jenkins' userid is unable to access the "C:\Windows" directory.
@smlambert Based on the above investigation, is it possible for the test systems be modified to use a different value for the TEMP and TMP environment variables, one which the 'jenkins' userid can access, which then should allow these tests to pass.
from openj9-openjdk-jdk.
Thanks for your investigation @groeges, will look and see what we can do to update value of TEMP/TMP to allow Jenkins user access & tests to pass. FYI @llxia
from openj9-openjdk-jdk.
@smlambert @llxia Did you manage to update the test machines and therefore get these tests passing.
If so, are we now able to close this issue and/or raise a test infrastructure issue for this, as it now seems it doesn't seem related to the jdk extensions repositories.
from openj9-openjdk-jdk.
fyi @LongyuZhang could you take a look of this issue? Thanks
from openj9-openjdk-jdk.
@groeges Hi Steve, we tried to set both TMP and TEMP to "C:\cygwin64\tmp" on Jenkins as you suggested, but jdk_security1 with jdk13 still failed with "access is denied". Following is the console output, could you check it? Thanks.
18:17:53 Eclipse OpenJ9 VM (build ibm_sdk-e8ab99c9c6, JRE 13 Windows Server 2012 R2 amd64-64-Bit Compressed References 20190710_8 (JIT enabled, AOT enabled)
18:17:53 OpenJ9 - e8ab99c9c6
18:17:53 OMR - be27021a
18:17:53 JCL - 1d0112e9684 based on jdk-13+28)
18:27:19 cd 'C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\TestConfig\test_output_15632294373719\jdk_security1_0\work\scratch\4' && \
18:27:19 PATH='C:\cygwin64\bin;C:\Strawberry\perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\openjdk\jdk8\bin;C:\apache-ant\apache-ant-1.10.5\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft Windows Performance Toolkit' \
18:27:19 SystemDrive=C: \
18:27:19 SystemRoot='C:\Windows' \
18:27:19 TEMP='C:\cygwin64\tmp' \
18:27:19 TMP='C:\cygwin64\tmp' \
18:27:19 windir='C:\Windows' \
18:27:19 'C:\Users\jenkins\workspace\Grinder_Sandbox\openjdkbinary\j2sdk-image\bin\java' \
18:27:19 -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\TestConfig\test_output_15632294373719\jdk_security1_0\work\classes\6\java\security\KeyPairGenerator\FinalizeHalf.d;C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\openjdk\openjdk-jdk\test\jdk\java\security\KeyPairGenerator' \
18:27:19 -Dtest.src='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\openjdk\openjdk-jdk\test\jdk\java\security\KeyPairGenerator' \
18:27:19 -Dtest.src.path='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\openjdk\openjdk-jdk\test\jdk\java\security\KeyPairGenerator' \
18:27:19 -Dtest.classes='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\TestConfig\test_output_15632294373719\jdk_security1_0\work\classes\6\java\security\KeyPairGenerator\FinalizeHalf.d' \
18:27:19 -Dtest.class.path='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\TestConfig\test_output_15632294373719\jdk_security1_0\work\classes\6\java\security\KeyPairGenerator\FinalizeHalf.d' \
18:27:19 -Dtest.vm.opts='-ea -esa -Xmx512m -Xcompressedrefs' \
18:27:19 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-Xcompressedrefs' \
18:27:19 -Dtest.compiler.opts= \
18:27:19 -Dtest.java.opts= \
18:27:19 -Dtest.jdk='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdkbinary\j2sdk-image' \
18:27:19 -Dcompile.jdk='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdkbinary\j2sdk-image' \
18:27:19 -Dtest.timeout.factor=8.0 \
18:27:19 -Dtest.root='C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\openjdk\openjdk-jdk\test\jdk' \
18:27:19 -classpath 'C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\TestConfig\test_output_15632294373719\jdk_security1_0\work\classes\6\java\security\KeyPairGenerator\FinalizeHalf.d;C:\Users\jenkins\workspace\Grinder_Sandbox\openjdk-tests\openjdk\openjdk-jdk\test\jdk\java\security\KeyPairGenerator;C:\Users\jenkins\workspace\Grinder_Sandbox\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Grinder_Sandbox\jvmtest\openjdk\jtreg\lib\jtreg.jar' \
18:27:19 FinalizeHalf
18:27:19 STDERR:
18:27:19 java.security.ProviderException: java.security.KeyException: Access is denied.
18:27:19
18:27:19 at jdk.crypto.mscapi/sun.security.mscapi.CKeyPairGenerator$RSA.generateKeyPair(CKeyPairGenerator.java:126)
18:27:19 at java.base/java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:722)
18:27:19 at FinalizeHalf.test(FinalizeHalf.java:76)
18:27:19 at FinalizeHalf.main(FinalizeHalf.java:54)
18:27:19 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:27:19 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
18:27:19 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:27:19 at java.base/java.lang.reflect.Method.invoke(Method.java:567)
18:27:19 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
18:27:19 at java.base/java.lang.Thread.run(Thread.java:831)
18:27:19 Caused by: java.security.KeyException: Access is denied.
18:27:19
18:27:19 at jdk.crypto.mscapi/sun.security.mscapi.CKeyPairGenerator$RSA.generateCKeyPair(Native Method)
18:27:19 at jdk.crypto.mscapi/sun.security.mscapi.CKeyPairGenerator$RSA.generateKeyPair(CKeyPairGenerator.java:121)
18:27:19 ... 9 more
18:27:19
18:27:19 JavaTest Message: Test threw exception: java.security.ProviderException
18:27:19 JavaTest Message: shutting down test
18:27:19
18:27:19 STDOUT:
18:27:19 Checking SunJCE, DiffieHellman
18:27:19 Checking SunJCE, DiffieHellman
18:27:19 Checking SunJCE, DiffieHellman
18:27:19 Checking SunJCE, DiffieHellman
18:27:19 Checking SUN, DSA
18:27:19 Checking SUN, DSA
18:27:19 Checking SUN, DSA
18:27:19 Checking SUN, DSA
18:27:19 Checking SunRsaSign, RSA
18:27:19 Checking SunRsaSign, RSA
18:27:19 Checking SunRsaSign, RSA
18:27:19 Checking SunRsaSign, RSA
18:27:19 Checking SunMSCAPI, RSA
18:27:19
18:27:19 TEST RESULT: Failed. Execution failed: `main' threw exception: java.security.ProviderException: java.security.KeyException: Access is denied.
from openj9-openjdk-jdk.
Shoud we disable there testcase temporarily
from openj9-openjdk-jdk.
Related Issues (20)
- Build_JDKnext_x86-64_windows No rule to make target 'java.desktop<cr>' HOT 1
- Windows openj9-staging failing to compile, merge problem HOT 6
- Include debug symbols in the SDK HOT 3
- Github actions from upstream OpenJDK running on PRs HOT 1
- Have builds print the SHAs being used HOT 10
- Update Openj9PropsExt.java to set necessary Properties for @requeries expressions HOT 1
- Contribute #260 to OpenJDK HOT 4
- Contribute #282 to OpenJDK
- Re-enable NativeGCM lost due to OpenJDK update 8255557: Decouple GCM from CipherCore HOT 2
- Missing TEST.groups file needed to enable AGCT unit testing HOT 8
- Tags in extension repos HOT 1
- --disable-warnings-as-errors-o* is ignored in cmake mode HOT 5
- CRIU: Performance regression
- Porting adopting RI java.lang.Thread/ThreadGroup w/ --enable-openjdk-thread-support to other Java levels HOT 2
- Enabling CMake by default for cross-compiles HOT 14
- PR build limitation: test framework takes the default extension repo branch instead of current change HOT 2
- openjdk-tag.gmk:OPENJDK_TAG doesn't match actual openjdk tag merged HOT 1
- Contribute #535 to OpenJDK HOT 2
- Extension test change is not picked up by PR builds. HOT 7
- SunPKCS11 fails silently when there is an error in the PKCS11 configuration file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openj9-openjdk-jdk.