Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8072608

[TEST_BUG] The value of 'KeyStore Type' isn't 'jks'

XMLWordPrintable

      Testsuite name:Awt Regression
      Test name:sun/security/tools/policytool/i18n.sh
      Product tested:JDK 9b48(64bit)
      OS/architecture:Solaris 11

      Error log file:http://aurora.ru.oracle.com/slot-gw/696924.ManualSubmit-1/workDir/sun/security/tools/policytool/i18n.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:jdk9b45:Fail
      Test result on the last GAed release for this train:
       [if Fail] Test result on FCS:

      Is it a platform specific issue:NO
        [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/promoted/ea/b45/ws/jdk/ to /var/root/workspace/regression
       2. Install test bundle JDK9b45 (download from http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/b45/bundles/macosx-x86_64/jdk-9-ea-macosx-x86_64.dmg) to /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk
       3.Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/macosx-x86_64/jdk-7u45-macosx-x86_64.dmg) to /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk
       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 /var/root/workspace/regression
       5.Create the script regression.sh as follows and run it
      export JT_JAVA=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/
      /var/root/workspace/regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/ -r:/var/root/workspace/regression/results/reportDir -w:/var/root/workspace/regression/results/workDir /var/root/workspace/regression/ws/jdk/test/sun/security/tools/policytool/i18n.sh
      6. Please click "done". the dialog is pop up.
      7.<b>Preparation</b>: Find (or create) a temporary directory that you have write
      access to (Example: 'C:\tmp' on Windows or '/tmp' on other systems) and Copy the files "ks", "good", "bad" from the scratch sub-directory of this test's working directory (the -w argument of jtreg) into the temporary directory.
      8.Pull down 'KeyStore' menu and select 'Edit'.
      9.Enter KeyStore URL "file:/tmp/ks" (Or use the temporary directory mentioned in the preparation if it's not '/tmp'. For example, "file:/C:/tmp/ks" on Windows) but leave other fields empty. Click 'OK'. Should succeed.
      10.Pull down 'KeyStore' menu and select 'Edit'.
      11.Confirm URL and Type values. The Type should be "jks".
         
      Actual behavior:
      1.This case failed automatically while running together with other cases.
      2.Rerun the test case: Step9:Enter KeyStore URL "file:/tmp/ks" but leave other fields empty. Click 'OK',then Pull down 'KeyStore' menu and select 'Edit' again, the KeyStore Type isn't "jks", just return "pkcs12",refer to jks.jpg.

      Validation:
      jdk9b43(64bit)/Mac10.9-x64:Pass
      jdk9b44(64bit)/Mac10.9-x64:Pass
      jdk9b45(64bit)/win7-sp1-x64:Fail
      jdk9b44(64bit)/win7-sp1-x64:Pass

            vinnie Vincent Ryan
            pchopra Pooja Chopra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: