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

All jlink tests failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • tools
    • b124
    • generic
    • generic
    • Verified

      #Test Results (version 2)
      #Thu Jun 09 14:54:09 PDT 2016
      #checksum:771080e520c6e2b8
      #-----testdescription-----
      $file=/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink/IntegrationTest.java
      $root=/scratch/jenkins/workspace/9-dev/jdk/test
      author=Jean-Francois Denise
      library=../lib
      modules=java.base/jdk.internal.jimage jdk.jdeps/com.sun.tools.classfile jdk.jlink/jdk.tools.jlink jdk.jlink/jdk.tools.jlink.builder jdk.jlink/jdk.tools.jlink.internal jdk.jlink/jdk.tools.jlink.internal.plugins jdk.jlink/jdk.tools.jmod jdk.jlink/jdk.tools.jimage jdk.compiler
      run=USER_SPECIFIED build tests.*\nUSER_SPECIFIED main IntegrationTest\n
      source=IntegrationTest.java
      title=Test integration API

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

      #-----testresult-----
      description=file\:/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink/IntegrationTest.java
      elapsed=219 0\:00\:00.219
      end=Thu Jun 09 14\:54\:09 PDT 2016
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.NullPointerException
      hostname=scaaa756.us.oracle.com
      javatestOS=Linux 3.8.13-55.1.6.el7uek.x86_64 (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.2 fcs b02
      modules=java.base/jdk.internal.jimage jdk.jdeps/com.sun.tools.classfile jdk.jlink/jdk.tools.jlink jdk.jlink/jdk.tools.jlink.builder jdk.jlink/jdk.tools.jlink.internal jdk.jlink/jdk.tools.jlink.internal.plugins jdk.jlink/jdk.tools.jmod jdk.jlink/jdk.tools.jimage jdk.compiler
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build build compile main
      start=Thu Jun 09 14\:54\:09 PDT 2016
      test=tools/jlink/IntegrationTest.java
      testJDK=/scratch/jenkins/workspace/9-dev/jdk
      user.name=mach5-one
      work=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/tools/jlink

      #section:script_messages
      ----------messages:(8/425)----------
      JDK under test: /scratch/jenkins/workspace/9-dev/jdk
      openjdk version "9-ea"
      OpenJDK Runtime Environment (build 9-ea+123-mach5-b634)
      OpenJDK 64-Bit Server VM (build 9-ea+123-mach5-b634, mixed mode)

      Library ../lib; kind: packages
         source directory: /scratch/jenkins/workspace/9-dev/jdk/test/tools/lib
         class directory: /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib

      #section:build
      ----------messages:(3/101)----------
      command: build tests.*
      reason: User specified action: run build tests.*
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:build
      ----------messages:(5/142)----------
      command: build IntegrationTest
      reason: Named class compiled on demand
      Test directory:
        compile: IntegrationTest
      elapsed time (seconds): 0.15
      result: Passed. Build successful

      #section:compile
      ----------messages:(4/185)----------
      command: compile /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink/IntegrationTest.java
      reason: .class file out of date or does not exist
      Mode: agentvm
      elapsed time (seconds): 0.15
      ----------configuration:(18/1309)----------
      Boot Layer (javac execution environment)
        class path: /scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar
                    /scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar
        patch: java.base /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/patches/java.base

      javac compilation environment
        add exports: java.base/jdk.internal.jimage ALL-UNNAMED
                     jdk.jdeps/com.sun.tools.classfile ALL-UNNAMED
                     jdk.jlink/jdk.tools.jimage ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.builder ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.internal ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.internal.plugins ALL-UNNAMED
                     jdk.jlink/jdk.tools.jmod ALL-UNNAMED
        class path: /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink
                     /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink
                     /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib

      ----------rerun:(33/2889)*----------
      HOME=/opt/mach5/mach5-one \\
      LANG=en_US.UTF-8 \\
      LC_ALL=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      buildid=BUILD_ID \\
          /scratch/jenkins/workspace/9-dev/jdk/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx512m \\
              -J-Dtest.class.path.prefix=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib \\
              -J-Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink \\
              -J-Dtest.src.path=/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/lib \\
              -J-Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink \\
              -J-Dtest.class.path=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib \\
              -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -J-Dtest.compiler.opts= \\
              -J-Dtest.java.opts= \\
              -J-Dtest.jdk=/scratch/jenkins/workspace/9-dev/jdk \\
              -J-Dcompile.jdk=/scratch/jenkins/workspace/9-dev/jdk \\
              -J-Dtest.timeout.factor=5.0 \\
              -J-Dtest.modules='java.base/jdk.internal.jimage jdk.jdeps/com.sun.tools.classfile jdk.jlink/jdk.tools.jlink jdk.jlink/jdk.tools.jlink.builder jdk.jlink/jdk.tools.jlink.internal jdk.jlink/jdk.tools.jlink.internal.plugins jdk.jlink/jdk.tools.jmod jdk.jlink/jdk.tools.jimage jdk.compiler' \\
              -XaddExports:java.base/jdk.internal.jimage=ALL-UNNAMED \\
              -XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jlink=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jlink.builder=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jlink.internal=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jlink.internal.plugins=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jmod=ALL-UNNAMED \\
              -XaddExports:jdk.jlink/jdk.tools.jimage=ALL-UNNAMED \\
              -d /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink \\
              -sourcepath /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/lib \\
              -classpath /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink/IntegrationTest.java
      result: Passed. Compilation successful

      #section:main
      ----------messages:(4/131)----------
      command: main IntegrationTest
      reason: User specified action: run main IntegrationTest
      Mode: agentvm
      elapsed time (seconds): 0.069
      ----------configuration:(19/1328)----------
      Boot Layer
        class path: /scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar
                    /scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar
        patch: java.base /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/patches/java.base

      Test Layer
        add exports: java.base/jdk.internal.jimage ALL-UNNAMED
                     jdk.jdeps/com.sun.tools.classfile ALL-UNNAMED
                     jdk.jlink/jdk.tools.jimage ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.builder ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.internal ALL-UNNAMED
                     jdk.jlink/jdk.tools.jlink.internal.plugins ALL-UNNAMED
                     jdk.jlink/jdk.tools.jmod ALL-UNNAMED
        class path: /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink
                     /scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink
                     /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib
                     /scratch/jenkins/workspace/9-dev/jdk/test/tools/lib

      ----------rerun:(21/2222)*----------
      HOME=/opt/mach5/mach5-one \\
      LANG=en_US.UTF-8 \\
      LC_ALL=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      buildid=BUILD_ID \\
          /scratch/jenkins/workspace/9-dev/jdk/bin/java \\
              -Dtest.class.path.prefix=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib \\
              -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink \\
              -Dtest.src.path=/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/lib \\
              -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink \\
              -Dtest.class.path=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib \\
              -Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/scratch/jenkins/workspace/9-dev/jdk \\
              -Dcompile.jdk=/scratch/jenkins/workspace/9-dev/jdk \\
              -Dtest.timeout.factor=5.0 \\
              -Dtest.modules='java.base/jdk.internal.jimage jdk.jdeps/com.sun.tools.classfile jdk.jlink/jdk.tools.jlink jdk.jlink/jdk.tools.jlink.builder jdk.jlink/jdk.tools.jlink.internal jdk.jlink/jdk.tools.jlink.internal.plugins jdk.jlink/jdk.tools.jmod jdk.jlink/jdk.tools.jimage jdk.compiler' \\
              -classpath /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/jlink:/scratch/jenkins/workspace/9-dev/jdk/test/tools/jlink:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier2/JTwork/jdk_test/classes/12/tools/lib:/scratch/jenkins/workspace/9-dev/jdk/test/tools/lib:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar \\
              IntegrationTest
      ----------System.out:(7/101)----------
      jdk.tools.jlink.Jlink@67b3218c
      output=null
      modulepaths=
      modules=
      limitmodules=
      endian=LITTLE_ENDIAN

      ----------System.err:(18/1252)----------
      java.lang.NullPointerException
      at jdk.tools.jlink.internal.plugins.ResourceFilter.<init>(jdk.jlink@9-ea/ResourceFilter.java:57)
      at jdk.tools.jlink.internal.plugins.ResourceFilter.<init>(jdk.jlink@9-ea/ResourceFilter.java:50)
      at jdk.tools.jlink.internal.plugins.DefaultCompressPlugin.configure(jdk.jlink@9-ea/DefaultCompressPlugin.java:110)
      at jdk.tools.jlink.internal.PluginRepository.newPlugin(jdk.jlink@9-ea/PluginRepository.java:89)
      at jdk.tools.jlink.Jlink.newPlugin(jdk.jlink@9-ea/Jlink.java:60)
      at IntegrationTest.apitest(IntegrationTest.java:204)
      at IntegrationTest.main(IntegrationTest.java:173)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

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

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


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

            jlaskey Jim Laskey
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: