JDK-8066162 : Test sun/security/smartcardio/TestDirect.java throws "No card terminals available" exception
  • Type: Bug
  • Component: security-libs
  • Affected Version: 9
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2014-11-28
  • Updated: 2014-12-01
  • Resolved: 2014-12-01
Related Reports
Duplicate :  
Description
Testsuite name:Awt Regression 
Test name:sun/security/smartcardio/TestDirect.java
Product tested:JDK9b40(64bit) 
OS/architecture:Win7-sp1-x64

Error log file:http://aurora.ru.oracle.com/slot-gw/645823.ManualSubmit-1/workDir/sun/security/smartcardio/TestDirect.jtr
   
Reproducible: Always 
Reproducible on machine: Evergreen-machine 
  [If Sometimes] Also reproducible on machine: 

Is it a Regression:YES
  [If Regression] Regression introduced in release/build: 
Test result on the last GAed release for this train: PASS(jdk8u31b10/win7-sp1-x64:pass)
  [if Fail] Test result on FCS:

Is it a platform specific issue:
  [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: 
  [If new configuration testing] Issue specific to execution mode or OS/browser version:

Steps to reproduce: 
 1.Download regression workspace from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/ws/jdk/ to C:/workspace/regression
 2. Install test bundle JDK9b40 (download from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/windows-x64/jdk-9-ea-windows-x64.exe) to C:/Java/jdk1.9.0 
 3.Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/windows-x64/jdk-7u45-windows-x64.exe) to C:/Java/jdk1.7.0_45
 4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b09/bundles/jtreg_bin-4.1-fcs-bin-b09_28_mar_2014.zip locate at C:/workspace/regression/
 5.Create the script regression.sh as follows and run it 
export JT_JAVA=C:/Java/jdk1.7.0_45 C:/workspace/regression/jtreg/win32/bin/jtreg -v -m -ignore:quiet -jdk:C:/Java/jdk1.9.0 -r:C:/workspace/regression/results/reportDir -w:C:/workspace/regression/results/workDir C:/workspace/regression/test/sun/security/smartcardio/TestDirect.java
	
Actual behavior: 
The case is failed automatically and thrown the "java.lang.Exception: No card terminals available" exception.
Comments
1) This is a manual test: * @run main/manual TestDirect 2) This test requires special hardware, as it's noted in the comments. 3) Behavior of this test is the same as of other tests from the same directory. 4) Closing the bug as a duplicate of the enhancement request JDK-8059212
01-12-2014

oel6.4-uek-x64/jdk9b40(64bit) the case sun/security/smartcardio/TestDirect.java has the same issue.
28-11-2014

Add case name for aurora RULE sun/security/smartcardio/TestDirect.java Exception java.lang.Exception: No card terminals available
28-11-2014