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

RuntimePackageTest.java#id0 failed RuntimePackageTest.testUsrInstallDir2

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK15 CI:

      tools/jpackage/share/RuntimePackageTest.java#id0

      Here's a snippet from the log file:

      Required packages: [libc6, libgcc-s1, zlib1g]
      Using default package resource template.control [DEB control file] (add control to the resource-dir to customize).
      Using default package resource template.preinst [DEB preinstall script] (add preinst to the resource-dir to customize).
      Using default package resource template.prerm [DEB prerm script] (add prerm to the resource-dir to customize).
      Using default package resource template.postinst [DEB postinstall script] (add postinst to the resource-dir to customize).
      Using default package resource template.postrm [DEB postrm script] (add postrm to the resource-dir to customize).
      Generating DEB for installer to: /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb.
      Running [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage3760611710117855397/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb]
      dpkg-deb: building package 'usrinstalldir2runtimepackagetest' in '/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb'.
      semop(1): encountered an error: Invalid argument
      /bin/fakeroot: 1: kill: No such process

      java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage3760611710117855397/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb] exited with 1 code
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:467)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:146)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:680)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:549)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
      jdk.incubator.jpackage.internal.PackagerException: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage3760611710117855397/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb] exited with 1 code
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:159)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:680)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:549)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
      Caused by: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage3760611710117855397/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S117/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/63cb6f5e-092d-4403-9da0-e81b8f7d9257/runs/7cc5037a-74ef-4f51-8301-c7739c0c698e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testUsrInstallDir2/output/usrinstalldir2runtimepackagetest_1.0-1_amd64.deb] exited with 1 code
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:467)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:146)
      ... 4 more
      TRACE: exec: Done. Exit code: 1
      ERROR: Expected [0]. Actual [1]: Check command [/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+28-1391/linux-x64.jdk/jdk-15/bin/jpackage --dest ./testUsrInstallDir2/output --name UsrInstallDir2RuntimePackageTest --type deb --runtime-image /opt/mach5/mesos/work_dir/jib-master/install/jdk-15+28-1391/linux-x64.jdk/jdk-15 --install-dir /usr/lib/Java --verbose](12) exited with 0 code
      [ FAILED ] RuntimePackageTest.testUsrInstallDir2; checks=1
      [==========] 3 tests ran
      [ PASSED ] 2 tests
      [ FAILED ] 1 test, listed below
      [ FAILED ] RuntimePackageTest.testUsrInstallDir2; workDir=[./testUsrInstallDir2]
      1 FAILED TEST
      ----------System.err:(69/5081)----------

            asemenyuk Alexey Semenyuk
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: