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

Headful test failures on metal pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Delivered
    • Icon: P3 P3
    • internal
    • internal
    • javafx
    • fx-sandbox:metal branch

      I did a headful test run on my macOS 14.x / M1 and got the following failures. This is in addition to the failures + crash in Snapshot2Test, tracked by JDK-8331210.

      To reproduce:

      $ gradle sdk shims
      $ gradle --info -PTEST_ONLY=true -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test

      DashedRectTest > TestDashedPath FAILED
          java.lang.AssertionError: bad pixel at (10, 5) = -1 expected: -16776961
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.DashedRectTest.checkPixel(DashedRectTest.java:179)
              at test.com.sun.marlin.DashedRectTest.lambda$TestDashedPath$0(DashedRectTest.java:169)

      ScaleClipTest > TestNegativeScaleClipPath STANDARD_ERROR
          testNegativeScale[ORTHO] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testNegativeScale[NON_ORTHO] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testNegativeScale[COMPLEX] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

      ScaleClipTest > TestNegativeScaleClipPath FAILED
          java.lang.AssertionError: TestNegativeScaleClipPath has failures.
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.TestNegativeScaleClipPath(ScaleClipTest.java:132)

      ScaleClipTest > TestMarginScaleClipPath STANDARD_ERROR
          testMarginScale[ORTHO] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testMarginScale[NON_ORTHO] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testMarginScale[COMPLEX] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

      ScaleClipTest > TestMarginScaleClipPath FAILED
          java.lang.AssertionError: TestMarginScaleClipPath has failures.
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.TestMarginScaleClipPath(ScaleClipTest.java:155)


      ScaleClipTest > TestNegativeScaleClipPath STANDARD_ERROR
          testNegativeScale[ORTHO] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testNegativeScale[NON_ORTHO] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testNegativeScale[COMPLEX] failed:
          java.lang.AssertionError: bad pixel at (25, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testNegativeScale(ScaleClipTest.java:203)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestNegativeScaleClipPath$0(ScaleClipTest.java:121)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

      ScaleClipTest > TestNegativeScaleClipPath FAILED
          java.lang.AssertionError: TestNegativeScaleClipPath has failures.
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.TestNegativeScaleClipPath(ScaleClipTest.java:132)

      ScaleClipTest > TestMarginScaleClipPath STANDARD_ERROR
          testMarginScale[ORTHO] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testMarginScale[NON_ORTHO] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          testMarginScale[COMPLEX] failed:
          java.lang.AssertionError: bad pixel at (0, 25) = -1 expected: -16777216
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.checkPixel(ScaleClipTest.java:261)
              at test.com.sun.marlin.ScaleClipTest.testMarginScale(ScaleClipTest.java:252)
              at test.com.sun.marlin.ScaleClipTest.lambda$TestMarginScaleClipPath$1(ScaleClipTest.java:144)
              at test.util.Util.lambda$submit$0(Util.java:105)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
              at javafx.graphics@23-internal/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
              at javafx.graphics@23-internal/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

      ScaleClipTest > TestMarginScaleClipPath FAILED
          java.lang.AssertionError: TestMarginScaleClipPath has failures.
              at org.junit.Assert.fail(Assert.java:89)
              at test.com.sun.marlin.ScaleClipTest.TestMarginScaleClipPath(ScaleClipTest.java:155)


      SnapshotLightsTest > testSubSceneNodeSnapshotLighting() FAILED
          org.opentest4j.AssertionFailedError: expected: <-1> but was: <-16776961>
              at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
              at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527)
              at app//test.javafx.scene.SnapshotLightsTest.compareSnapshots(SnapshotLightsTest.java:104)
              at app//test.javafx.scene.SnapshotLightsTest.lambda$testSubSceneNodeSnapshotLighting$1(SnapshotLightsTest.java:133)

      SnapshotLightsTest > testSubSceneSnapshotWithSceneLights() FAILED
          org.opentest4j.AssertionFailedError: expected: <-1> but was: <-16776961>
              at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
              at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527)
              at app//test.javafx.scene.SnapshotLightsTest.compareSnapshots(SnapshotLightsTest.java:104)
              at app//test.javafx.scene.SnapshotLightsTest.lambda$testSubSceneSnapshotWithSceneLights$2(SnapshotLightsTest.java:158)

      PixelBufferDrawTest > testIntArgbPreDirectBuffer FAILED
          java.lang.AssertionError: expected:<0.20000000298023224> but was:<0.9215686321258545>
              at org.junit.Assert.fail(Assert.java:89)
              at org.junit.Assert.failNotEquals(Assert.java:835)
              at org.junit.Assert.assertEquals(Assert.java:555)
              at org.junit.Assert.assertEquals(Assert.java:685)
              at test.robot.javafx.scene.PixelBufferDrawTest.compareColor(PixelBufferDrawTest.java:190)
              at test.robot.javafx.scene.PixelBufferDrawTest.verifyColor(PixelBufferDrawTest.java:204)
              at test.robot.javafx.scene.PixelBufferDrawTest.performTest(PixelBufferDrawTest.java:232)
              at test.robot.javafx.scene.PixelBufferDrawTest.testIntArgbPreDirectBuffer(PixelBufferDrawTest.java:239)

      PixelBufferDrawTest > testByteBgraPreDirectBuffer FAILED
          java.lang.AssertionError: expected:<0.20000000298023224> but was:<0.9215686321258545>
              at org.junit.Assert.fail(Assert.java:89)
              at org.junit.Assert.failNotEquals(Assert.java:835)
              at org.junit.Assert.assertEquals(Assert.java:555)
              at org.junit.Assert.assertEquals(Assert.java:685)
              at test.robot.javafx.scene.PixelBufferDrawTest.compareColor(PixelBufferDrawTest.java:190)
              at test.robot.javafx.scene.PixelBufferDrawTest.verifyColor(PixelBufferDrawTest.java:204)
              at test.robot.javafx.scene.PixelBufferDrawTest.performTest(PixelBufferDrawTest.java:232)
              at test.robot.javafx.scene.PixelBufferDrawTest.testByteBgraPreDirectBuffer(PixelBufferDrawTest.java:253)

            arapte Ambarish Rapte
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: