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

Some of the SizeToSceneTest fail in Ubuntu 24.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx25
    • javafx
    • None
    • generic
    • linux_ubuntu

      6/13 tests in SizeToSceneTest fail when run on Ubuntu 24.04 system with wayland.
      Same tests don't fail on Ubuntu22.04 with same hardware and FX code.
      If we use Xorg instead of wayland 8/13 tests fail in Ubuntu 24.04 system.

      Tests failing in wayland:

      SizeToSceneTest > testInitialSizeOnSizeToSceneThenFullscreen() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnSizeToSceneThenFullscreen(SizeToSceneTest.java:160)

      SizeToSceneTest > testInitialSizeAfterShowFullscreenThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowFullscreenThenSizeToScene(SizeToSceneTest.java:196)

      SizeToSceneTest > testInitialSizeAfterShowMaximizedThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowMaximizedThenSizeToScene(SizeToSceneTest.java:208)

      SizeToSceneTest > testInitialSizeAfterShowSizeToSceneThenMaximized() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowSizeToSceneThenMaximized(SizeToSceneTest.java:184)

      SizeToSceneTest > testInitialSizeOnMaximizedThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnMaximizedThenSizeToScene(SizeToSceneTest.java:127)

      SizeToSceneTest > testInitialSizeOnSizeToSceneThenMaximized() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnSizeToSceneThenMaximized(SizeToSceneTest.java:149)


      Tests failing in Xorg:

      SizeToSceneTest > testInitialSizeOnSizeToSceneThenFullscreen() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnSizeToSceneThenFullscreen(SizeToSceneTest.java:160)

      SizeToSceneTest > testInitialSizeAfterShowFullscreenThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowFullscreenThenSizeToScene(SizeToSceneTest.java:196)

      SizeToSceneTest > testInitialSizeAfterShowSizeToSceneThenFullscreen() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowSizeToSceneThenFullscreen(SizeToSceneTest.java:172)

      SizeToSceneTest > testInitialSizeOnFullscreenThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnFullscreenThenSizeToScene(SizeToSceneTest.java:138)

      SizeToSceneTest > testInitialSizeAfterShowMaximizedThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowMaximizedThenSizeToScene(SizeToSceneTest.java:208)

      SizeToSceneTest > testInitialSizeAfterShowSizeToSceneThenMaximized() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeAfterShowSizeToSceneThenMaximized(SizeToSceneTest.java:184)

      SizeToSceneTest > testInitialSizeOnMaximizedThenSizeToScene() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnMaximizedThenSizeToScene(SizeToSceneTest.java:127)

      SizeToSceneTest > testInitialSizeOnSizeToSceneThenMaximized() FAILED
          org.opentest4j.AssertionFailedError: 360.0 >= 1804.0 ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.javafx.stage.SizeToSceneTest.assertStageScreenBounds(SizeToSceneTest.java:82)
              at app//test.javafx.stage.SizeToSceneTest.testInitialSizeOnSizeToSceneThenMaximized(SizeToSceneTest.java:149)

            arapte Ambarish Rapte
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: