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

Failed to verify manifestVersion for the jdk7 b105 bundle

XMLWordPrintable

    • 7
    • b131
    • x86
    • windows_vista
    • Verified

        Testsuite name: Stress

        JDK/JRE tested:jre7b105

        OS/architecture: winvista-x86 and winxp-x64

        Reproducible: Always

        Is it a platform specific regression: N

        Is it a Regression: N

         

        Steps to reproduce:

        1. Prepare the testing environment.

        2. Run the ManifestOffline

        2.1 Install the jre-7-ea-windows-i586.exe bundle

        2.2 Using deployment_6_UR_master_ws\deployment\src\install\testbase\common\bin> sigcheck.exe q m to verify all *.exe files under the $JRE_HOME/bin

         

        For the related verify_JRE_manifest.sh script:

        sExeList=`find . -name "*.exe"`

         

        # check each one has manifest verified

        for f in $sExeList ; do

           sCheck=`${SRC_DIR}/bin/sigcheck -q -m "$f" | grep Verified: | awk '{print $2}'`

           if [ "$sCheck" != "Signed" ] ;then

              echo "File found unsigned: $f"

              PASSFAIL="1"

           fi

           sCheck=`${SRC_DIR}/bin/sigcheck -q -m "$f" | grep manifestVersion`

           if [ -z "$sCheck" ] ;then

              echo "File found w/o manifest: $f"

              PASSFAIL="1"

           fi

        done

         

        Actual behavior:

        The test case ManifestOffline is failed and the logs as follow:

        [2010-08-19T00:35:30.12] File found unsigned: ./bin/appletviewer.exe

        [2010-08-19T00:35:30.12] File found w/o manifest: ./bin/appletviewer.exe

        [2010-08-19T00:35:30.12] File found unsigned: ./bin/apt.exe

        [2010-08-19T00:35:30.12] File found w/o manifest: ./bin/apt.exe

        [2010-08-19T00:35:30.12] File found unsigned: ./bin/extcheck.exe

        [2010-08-19T00:35:30.12] File found w/o manifest: ./bin/extcheck.exe

        [2010-08-19T00:35:30.12] File found unsigned: ./bin/HtmlConverter.exe

        [2010-08-19T00:35:30.12] File found unsigned: ./bin/idlj.exe

        [2010-08-19T00:35:30.12] File found w/o manifest: ./bin/idlj.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jar.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jar.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jarsigner.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jarsigner.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/java-rmi.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/java-rmi.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/java.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javac.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/javac.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javadoc.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/javadoc.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javah.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/javah.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javap.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/javap.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javaw.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/javaws.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jconsole.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jconsole.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jdb.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jdb.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jhat.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jhat.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jinfo.exe

        [2010-08-19T00:35:45.51] File found w/o manifest: ./bin/jinfo.exe

        [2010-08-19T00:35:45.51] File found unsigned: ./bin/jmap.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jmap.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jps.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jps.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jrunscript.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jrunscript.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jsadebugd.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jsadebugd.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jstack.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jstack.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jstat.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jstat.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jstatd.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/jstatd.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/jvisualvm.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/keytool.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/keytool.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/kinit.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/kinit.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/klist.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/klist.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/ktab.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/ktab.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/native2ascii.exe

        [2010-08-19T00:35:59.67] File found w/o manifest: ./bin/native2ascii.exe

        [2010-08-19T00:35:59.67] File found unsigned: ./bin/orbd.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/orbd.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/pack200.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/pack200.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/packager.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/policytool.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/policytool.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/rmic.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/rmic.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/rmid.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/rmid.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/rmiregistry.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/rmiregistry.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/schemagen.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/schemagen.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/serialver.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/serialver.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/servertool.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/servertool.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/tnameserv.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/tnameserv.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/unpack200.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/unpack200.exe

        [2010-08-19T00:36:14.59] File found unsigned: ./bin/wsgen.exe

        [2010-08-19T00:36:14.59] File found w/o manifest: ./bin/wsgen.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./bin/wsimport.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./bin/wsimport.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./bin/xjc.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./bin/xjc.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/java-rmi.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./jre/bin/java-rmi.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/java.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/javacpl.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/javaw.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/javaws.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/jbroker.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/jp2launcher.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/jqs.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/jqsnotify.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/keytool.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./jre/bin/keytool.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/kinit.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./jre/bin/kinit.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/klist.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./jre/bin/klist.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/ktab.exe

        [2010-08-19T00:36:29.19] File found w/o manifest: ./jre/bin/ktab.exe

        [2010-08-19T00:36:29.19] File found unsigned: ./jre/bin/orbd.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/orbd.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/pack200.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/pack200.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/policytool.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/policytool.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/rmid.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/rmid.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/rmiregistry.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/rmiregistry.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/servertool.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/servertool.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/ssvagent.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/tnameserv.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/tnameserv.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/bin/unpack200.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./jre/bin/unpack200.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./jre/lib/launcher.exe

        [2010-08-19T00:36:40.89] File found unsigned: ./lib/visualvm/platform11/lib/nbexec.exe

        [2010-08-19T00:36:40.89] File found w/o manifest: ./lib/visualvm/platform11/lib/nbexec.exe

        [2010-08-19T00:36:40.89]

        [2010-08-19T00:36:40.89] verify_JRE_manifest.sh failed!

        [2010-08-19T00:36:40.89]

        [2010-08-19T00:36:40.89] FAIL - verification of installed manifest failed!

         

         

         

        Add comments for this bug:

        I used the sigcheck.exe to verify java-rmi.exe for jre7b105 manually and got the below the result:

        C:\workspace\deployment_6_UR_master_ws\deployment\src\install\testbase\common\bi

        n>sigcheck.exe -q -m "C:\Program Files (x86)\Java\jre7\bin\java-rmi.exe"

        c:\program files (x86)\java\jre7\bin\java-rmi.exe:

                Verified: Signed

                Signing date: 3:57 AM 8/13/2010

                Publisher: Oracle

                Description: Java(TM) Platform SE binary

                Product: Java(TM) Platform SE 7

                Version: 7.0.0.105

                File version: 7.0.0.105

         

        For the jre6u22b01, it works well, please refer to the below information:

        C:\workspace\deployment_6_UR_master_ws\deployment\src\install\testbase\common\bi

        n>sigcheck.exe -q -m "c:\Program Files (x86)\Java\jre6\bin\java.exe"

        c:\program files (x86)\java\jre6\bin\java.exe:

                Verified: Signed

                Signing date: 8:16 PM 7/21/2010

                Publisher: Oracle

                Description: Java(TM) Platform SE binary

                Product: Java(TM) Platform SE 6 U22

                Version: 6.0.220.1

                File version: 6.0.220.1

                Manifest:

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

        <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

          <assemblyIdentity version="6.0.220.1"

             processorArchitecture="X86"

             name="java.exe"

             type="win32"/>

         

          <description>Java(TM) SE Runtime Environment java Process.</description>

          <dependency>

            <dependentAssembly>

              <assemblyIdentity

                type="win32"

                name="Microsoft.Windows.Common-Controls"

                version="6.0.0.0"

                processorArchitecture="*"

                publicKeyToken="6595b64144ccf1df"

                language="*"

              />

            </dependentAssembly>

          </dependency>

          <!-- Identify the application security requirements. -->

          <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">

            <security>

              <requestedPrivileges>

                <requestedExecutionLevel

                  level="asInvoker"

                  uiAccess="false"/>

                </requestedPrivileges>

               </security>

          </trustInfo>

        </assembly>

              jqzuo Jennifer Zuo (Inactive)
              tonyli Tony Li (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: