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

[Mac,Retina] Unit test failures in 3D system tests on Retina display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8u60
    • 8u25, 8u40
    • javafx
    • None
    • 8u40-ea
      Mac OS X 10.9.5
      Retina display
      Intel Iris graphics

      I just ran the system tests on my Mac retina display and get the following failures:

      test3d.MeshCompareTest > testSnapshot3D[0] FAILED
          junit.framework.AssertionFailedError: expected:rgba(116,116,116,255) but was:rgba(254,254,254,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.MeshCompareTest.compareColors(MeshCompareTest.java:291)
              at test3d.MeshCompareTest.lambda$testSnapshot3D$379(MeshCompareTest.java:326)

      test3d.MeshCompareTest > testSnapshot3D[3] FAILED
          junit.framework.AssertionFailedError: expected:rgba(216,205,103,255) but was:rgba(222,205,53,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.MeshCompareTest.compareColors(MeshCompareTest.java:291)
              at test3d.MeshCompareTest.lambda$testSnapshot3D$379(MeshCompareTest.java:325)

      test3d.Snapshot3DTest > testSnapshot3D[0] FAILED
          junit.framework.AssertionFailedError: expected:rgba(186,186,186,255) but was:rgba(255,255,255,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:182)

      test3d.Snapshot3DTest > testSnapshot3D[2] FAILED
          junit.framework.AssertionFailedError: expected:rgba(73,205,50,255) but was:rgba(133,205,50,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:181)

      test3d.Snapshot3DTest > testSnapshot3D[3] FAILED
          junit.framework.AssertionFailedError: expected:rgba(73,205,150,255) but was:rgba(133,205,250,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:181)

      test3d.Snapshot3DTest > testSnapshot3D[4] FAILED
          junit.framework.AssertionFailedError: expected:rgba(235,235,235,255) but was:rgba(182,182,182,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:181)

      test3d.Snapshot3DTest > testSnapshot3D[6] FAILED
          junit.framework.AssertionFailedError: expected:rgba(200,205,50,255) but was:rgba(220,205,50,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:181)

      test3d.Snapshot3DTest > testSnapshot3D[7] FAILED
          junit.framework.AssertionFailedError: expected:rgba(200,205,225,255) but was:rgba(220,205,192,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.Snapshot3DTest.compareColors(Snapshot3DTest.java:148)
              at test3d.Snapshot3DTest.lambda$testSnapshot3D$386(Snapshot3DTest.java:181)

      test3d.TriangleMeshPNTValidationTest > testDegeneratedMeshUpdateNormals FAILED
          junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(182,0,0,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.TriangleMeshPNTValidationTest.lambda$testDegeneratedMeshUpdateNormals$393(TriangleMeshPNTValidationTest.java:161)

      test3d.TriangleMeshPNTValidationTest > testDegeneratedMeshUpdatePoints FAILED
          junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(182,0,0,255)
              at testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:169)
              at test3d.TriangleMeshPNTValidationTest.lambda$testDegeneratedMeshUpdatePoints$396(TriangleMeshPNTValidationTest.java:208)

      2179 tests completed, 10 failed, 583 skipped
      :systemTests:test FAILED

            ckyang Chien Yang (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: