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

test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails in agentvm mode

XMLWordPrintable

    • b94
    • Not verified

      This test has been failing in jtreg agentvm mode since JDK-8005472 was pushed.

      #Test Results (version 2)
      #Wed May 29 17:22:34 IST 2013
      #checksum:1ad341c5282988a3
      #-----testdescription-----
      $file=/u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java
      $root=/u/alanb/ws/tl/jdk/test
      author=Jaroslav Bachorik
      keywords=bug6937053 bug8005472
      run=USER_SPECIFIED clean TestSerializationMismatch\nUSER_SPECIFIED main TestSerializationMismatch\n
      source=TestSerializationMismatch.java
      title=Tests for the RMI unmarshalling errors not to cause silent failure.

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

      #-----testresult-----
      description=file\:/u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java
      elapsed=468 0\:00\:00.468
      end=Wed May 29 17\:22\:34 IST 2013
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.reflect.InvocationTargetException
      hostname=ashtown.ie.oracle.com
      javatestOS=Linux 3.2.0-23-generic (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 dev b00
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages clean build compile main
      start=Wed May 29 17\:22\:34 IST 2013
      test=com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java
      user.name=albatem
      work=/u/alanb/testing/jtreg/JTwork/com/sun/jmx/remote/NotificationMarshalVersions

      #section:script_messages
      ----------messages:(5/271)----------
      JDK under test: (/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-albatem_2013_05_22_20_23-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b33, mixed mode)


      #section:clean
      ----------messages:(3/137)----------
      command: clean TestSerializationMismatch
      reason: User specified action: run clean TestSerializationMismatch
      elapsed time (seconds): 0.0
      result: Passed. Clean successful

      #section:build
      ----------messages:(3/109)----------
      command: build TestSerializationMismatch
      reason: Named class compiled on demand
      elapsed time (seconds): 0.04
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/225)----------
      command: compile -XDignore.symbol.file=true /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.04
      ----------direct:(2/196)----------
      Note: /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/137)----------
      command: main TestSerializationMismatch
      reason: User specified action: run main TestSerializationMismatch
      elapsed time (seconds): 0.427
      ----------System.out:(8/1456)----------
      setting up the output dirs
      cleaning /u/alanb/testing/jtreg/JTwork/classes/6/com/sun/jmx/remote/NotificationMarshalVersions/Client/
      cleaning /u/alanb/testing/jtreg/JTwork/classes/6/com/sun/jmx/remote/NotificationMarshalVersions/Server/
      compiling client
      Running: javac [-d, /u/alanb/testing/jtreg/JTwork/classes/6/com/sun/jmx/remote/NotificationMarshalVersions/Client/, -sourcepath, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Client/, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Client/Client.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Client/ConfigKey.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Client/TestNotification.java]
      compiling server
      Running: javac [-d, /u/alanb/testing/jtreg/JTwork/classes/6/com/sun/jmx/remote/NotificationMarshalVersions/Server/, -sourcepath, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/Server.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/ConfigKey.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/TestNotification.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/Ste.java, /u/alanb/ws/tl/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/Server/SteMBean.java]
      starting server
      ----------System.err:(25/1653)----------
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at TestSerializationMismatch.startServer(TestSerializationMismatch.java:89)
      at TestSerializationMismatch.main(TestSerializationMismatch.java:39)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)
      at Server.start(Server.java:19)
      ... 12 more

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException


      test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException

            jbachorik Jaroslav BachorĂ­k
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: