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

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

XMLWordPrintable

    • b112
    • generic, x86
    • windows, windows_xp
    • Not verified

        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/

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: