#Test Results (version 2) #Thu Jun 16 20:12:50 PDT 2016 #checksum:535bca8cdbc84dfd #-----testdescription----- $file=C\:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings\\NoTimestampTest.java $root=C\:\\jenkins\\workspace\\9-dev\\jdk\\test keywords=bug8024302 bug8026037 library=/lib/testlibrary ../ run=USER_SPECIFIED main NoTimestampTest\r\n source=NoTimestampTest.java title=Checks warnings if -tsa and -tsacert options are not specified #-----environment----- #-----testresult----- description=file\:/C\:/jenkins/workspace/9-dev/jdk/test/sun/security/tools/jarsigner/warnings/NoTimestampTest.java elapsed=4773 0\:00\:04.773 end=Thu Jun 16 20\:12\:50 PDT 2016 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: 'This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16).' missing from stdout/stderr hostname=scaaa274.us.oracle.com javatestOS=Windows Server 2012 R2 6.3 (x86) javatestVersion=4.4 jtregVersion=jtreg 4.2 fcs b02 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile main start=Thu Jun 16 20\:12\:45 PDT 2016 test=sun/security/tools/jarsigner/warnings/NoTimestampTest.java testJDK=c\:\\jenkins\\workspace\\9-dev\\jdk user.name=mach5-one work=C\:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\sun\\security\\tools\\jarsigner\\warnings #section:script_messages ----------messages:(11/730)*---------- JDK under test: c:\\jenkins\\workspace\\9-dev\\jdk java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+124-mach5-b677) Java HotSpot(TM) Client VM (build 9-ea+124-mach5-b677, mixed mode) Library /lib/testlibrary; kind: packages source directory: C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary class directory: C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary Library ../; kind: packages source directory: C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner class directory: C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner #section:build ----------messages:(5/148)---------- command: build NoTimestampTest reason: Named class compiled on demand Test directory: compile: NoTimestampTest elapsed time (seconds): 0.113 result: Passed. Build successful #section:compile ----------messages:(4/221)*---------- command: compile C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings\\NoTimestampTest.java reason: .class file out of date or does not exist Mode: agentvm elapsed time (seconds): 0.112 ----------configuration:(11/975)*---------- Boot Layer (javac execution environment) class path: C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\javatest.jar C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\jtreg.jar patch: java.base C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\patches\\java.base javac compilation environment class path: C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner ----------rerun:(25/3419)*---------- PATH='C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\cygwin\\user\\bin;C:\\cygwin\\bin;.;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn' \\ SystemDrive=C: \\ SystemRoot='C:\\Windows' \\ TEMP='C:\\Temp' \\ buildid=BUILD_ID \\ windir='C:\\Windows' \\ 'c:\\jenkins\\workspace\\9-dev\\jdk\\bin\\javac' \\ -J-ea \\ -J-esa \\ -J-Xmx512m \\ -J-Dtest.class.path.prefix='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner' \\ -J-Dtest.src='C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings' \\ -J-Dtest.src.path='C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner' \\ -J-Dtest.classes='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings' \\ -J-Dtest.class.path='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner' \\ -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts= \\ -J-Dtest.jdk='c:\\jenkins\\workspace\\9-dev\\jdk' \\ -J-Dcompile.jdk='c:\\jenkins\\workspace\\9-dev\\jdk' \\ -J-Dtest.timeout.factor=5.0 \\ -d 'C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings' \\ -sourcepath 'C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner' \\ -classpath 'C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner' 'C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings\\NoTimestampTest.java' ----------direct:(2/112)---------- Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. result: Passed. Compilation successful #section:main ----------messages:(4/135)---------- command: main NoTimestampTest reason: User specified action: run main NoTimestampTest Mode: agentvm elapsed time (seconds): 4.658 ----------configuration:(13/1091)*---------- Boot Layer class path: C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\javatest.jar C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\jtreg.jar patch: java.base C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\patches\\java.base Test Layer class path: C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner ----------rerun:(21/3205)*---------- PATH='C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\cygwin\\user\\bin;C:\\cygwin\\bin;.;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn' \\ SystemDrive=C: \\ SystemRoot='C:\\Windows' \\ TEMP='C:\\Temp' \\ buildid=BUILD_ID \\ windir='C:\\Windows' \\ 'c:\\jenkins\\workspace\\9-dev\\jdk\\bin\\java' \\ -Dtest.class.path.prefix='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner' \\ -Dtest.src='C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings' \\ -Dtest.src.path='C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner' \\ -Dtest.classes='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings' \\ -Dtest.class.path='C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner' \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk='c:\\jenkins\\workspace\\9-dev\\jdk' \\ -Dcompile.jdk='c:\\jenkins\\workspace\\9-dev\\jdk' \\ -Dtest.timeout.factor=5.0 \\ -classpath 'C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner\\warnings;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\lib\\testlibrary;C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\tier2\\JTwork\\jdk_test\\classes\\10\\sun\\security\\tools\\jarsigner;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\sun\\security\\tools\\jarsigner;C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\javatest.jar;C:\\jenkins\\workspace\\mach5data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\jtreg.jar' \\ NoTimestampTest ----------System.out:(20/1169)*---------- Timezone = Adding first.txt to unsigned.jar Command line: [c:\\jenkins\\workspace\\9-dev\\jdk\\bin\\keytool -genkey -alias alias -keyalg RSA -keysize 2048 -keystore keystore.jks -storepass password -keypass password -dname CN=Test -validity 365] Command line: [c:\\jenkins\\workspace\\9-dev\\jdk\\bin\\jarsigner -J-Duser.timezone= -keystore keystore.jks -storepass password -keypass password -signedjar signed.jar unsigned.jar alias] jar signed. Warning: The signer's certificate is self-signed. No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16). Command line: [c:\\jenkins\\workspace\\9-dev\\jdk\\bin\\jarsigner -J-Duser.timezone= -verify -keystore keystore.jks -storepass password -keypass password signed.jar alias] jar verified. Warning: This jar contains signatures that do not include a timestamp. Without a timestamp, users may not be able to validate this jar after any of the signer certificates expire (as early as 2017-06-16). Re-run with the -verbose and -certs options for more details. ----------System.err:(26/1446)---------- stdout: [jar verified. Warning: This jar contains signatures that do not include a timestamp. Without a timestamp, users may not be able to validate this jar after any of the signer certificates expire (as early as 2017-06-16). Re-run with the -verbose and -certs options for more details. ]; stderr: [] exitValue = 0 java.lang.RuntimeException: 'This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16).' missing from stdout/stderr at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106) at Test.checkVerifying(Test.java:156) at NoTimestampTest.start(NoTimestampTest.java:96) at NoTimestampTest.main(NoTimestampTest.java:44) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16).' missing from stdout/stderr test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16).' missing from stdout/stderr