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

sun/security/tools/jarsigner/emptymanifest.sh fails

    Details

    • Subcomponent:
    • Resolved In Build:
      b112
    • CPU:
      generic, x86
    • OS:
      windows, windows_xp
    • Verification:
      Not verified

      Backports

        Description

        Testsuite name: regression j2se
        test: sun/security/tools/jarsigner/emptymanifest.sh
        JDK/JRE tested: jdk 7 b107
        OS/architecture: winxp - i586
        Reproducible: Always
        Reproducible on machine: karatedo.russia

        Is it a platform specific regression: N

        Is it a Regression: N

        Test run log location:
        $ cat JTwork/sun/security/tools/jarsigner/emptymanifest.jtr
        #Test Results (version 2)
        #Tue Sep 07 17:46:11 MSD 2010
        #checksum:4bc39e7fc94e7d67
        #-----testdescription-----
        $file=K:\\regression\\workspaces\\170\\1.7.0_fcsb107\\j2se\\test\\sun\\security\
        \tools\\jarsigner\\emptymanifest.sh
        $root=K:\\regression\\workspaces\\170\\1.7.0_fcsb107\\j2se\\test
        keywords=bug6712755 shell
        run=USER_SPECIFIED shell emptymanifest.sh\r\n
        source=emptymanifest.sh
        title=jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.
        0_13

        #-----environment-----

        #-----testresult-----
        description=file:///K:/regression/workspaces/170/1.7.0_fcsb107/j2se/test/sun/sec
        urity/tools/jarsigner/emptymanifest.sh
        end=Tue Sep 07 17:46:11 MSD 2010
        environment=regtest
        execStatus=Failed. Execution failed: exit code 1
        javatestOS=Windows XP 5.1 (x86)
        javatestVersion=3.2.2_03
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages shell
        start=Tue Sep 07 17:46:03 MSD 2010
        test=sun/security/tools/jarsigner/emptymanifest.sh
        work=C:\\JQA\\regression\\7b107\\JTwork\\sun\\security\\tools\\jarsigner

        #section:script_messages
        ----------messages:(1/39)*----------
        JDK under test: C:\\jdk\\jdk1.7.0b107

        #section:shell
        ----------messages:(3/127)----------
        command: shell emptymanifest.sh []
        reason: User specified action: run shell emptymanifest.sh
        elapsed time (seconds): 8.395
        ----------System.out:(4/231)----------
          adding: META-INF/MANIFEST.MF (188 bytes security) (stored 0%)
          adding: A (188 bytes security) (stored 0%)
          adding: B (188 bytes security) (stored 0%)
        jarsigner: unable to sign jar: java.io.IOException: invalid header field
        ----------System.err:(2/169)----------
        rm: cannot unlink entry "emptymanifest.jks": The system cannot find the file spe
        cified.
        rm: cannot unlink entry "em.jar": The system cannot find the file specified.
        result: Failed. Execution failed: exit code 1


        test result: Failed. Execution failed: exit code 1


        Steps to reproduce:

        $ C:/jdk/jdk1.7.0b107/bin/java -jar K:/regression/tools/jtest-latest/lib/jtreg.jar -testjdk:C:/jdk/jdk1.7.0b107 K:/regression/workspaces/170/1.7.0_fcsbb107/j2se/test/sun/security/tools/jarsigner/emptymanifest.sh

        Directory "JTreport" not found: creating
        Directory "JTwork" not found: creating
        Directory "JTwork\scratch" not found: creating
        Test results: failed: 1
        Report written to JTreport\report.html
        Results written to C:\JQA\regression\7b107\JTwork
        Error: Some tests failed or other problems occurred.
        $ cat JTwork/
        JTwork/classes/ JTwork/jtData/ JTwork/scratch/ JTwork/sun/

          Issue Links

            Activity

            Hide
            weijun Weijun Wang added a comment -
            BT2:EVALUATION

            Using Java to output the empty line file.

            http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5c3bad1d7f8a
            Show
            weijun Weijun Wang added a comment - BT2:EVALUATION Using Java to output the empty line file. http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5c3bad1d7f8a

              People

              • Assignee:
                weijun Weijun Wang
                Reporter:
                ikobzaresunw Ivan Kobzarev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: