JDK-8088739 : [TestBug] RegionBackgroundImageUITest fail with timeout error
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8,openjfx15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-10-22
  • Updated: 2021-04-22
  • Resolved: 2021-04-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx17Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
We are getting unit test failures in several of the new RegionBackgroundImageUITest tests. Here is the list of failing tests from our nightly Hudson build.

    RegionBackgroundImageUITest.alignedImage
    RegionBackgroundImageUITest.alignedImage_Contain
    RegionBackgroundImageUITest.alignedImage_ContainNoRepeat
    RegionBackgroundImageUITest.alignedImage_Cover
    RegionBackgroundImageUITest.alignedImage_Position25PercentLeft
    RegionBackgroundImageUITest.alignedImage_Position25PercentRight
    RegionBackgroundImageUITest.alignedImage_PositionBottomRight
    RegionBackgroundImageUITest.alignedImage_PositionBottomRightRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionBottomRightRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenter
    RegionBackgroundImageUITest.alignedImage_PositionCenterBottom
    RegionBackgroundImageUITest.alignedImage_PositionCenterBottomRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterBottomRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenterFiftyPercentRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterFiftyPercentRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenterLeft
    RegionBackgroundImageUITest.alignedImage_PositionCenterLeftRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterLeftRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenterRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenterRight
    RegionBackgroundImageUITest.alignedImage_PositionCenterRightRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterRightRepeatY
    RegionBackgroundImageUITest.alignedImage_PositionCenterTop
    RegionBackgroundImageUITest.alignedImage_PositionCenterTopRepeatX
    RegionBackgroundImageUITest.alignedImage_PositionCenterTopRepeatY
    RegionBackgroundImageUITest.alignedImage_RepeatX
    RegionBackgroundImageUITest.alignedImage_RepeatY
    RegionBackgroundImageUITest.alignedImage_Round
    RegionBackgroundImageUITest.alignedImage_RoundSpace
    RegionBackgroundImageUITest.alignedImage_Space
    RegionBackgroundImageUITest.unalignedImage
    RegionBackgroundImageUITest.unalignedImage_Contain
    RegionBackgroundImageUITest.unalignedImage_ContainNoRepeat
    RegionBackgroundImageUITest.unalignedImage_Cover
    RegionBackgroundImageUITest.unalignedImage_Position25PercentLeft
    RegionBackgroundImageUITest.unalignedImage_Position25PercentRight
    RegionBackgroundImageUITest.unalignedImage_PositionBottomRight
    RegionBackgroundImageUITest.unalignedImage_PositionBottomRightRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionBottomRightRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenter
    RegionBackgroundImageUITest.unalignedImage_PositionCenterBottom
    RegionBackgroundImageUITest.unalignedImage_PositionCenterBottomRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterBottomRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenterFiftyPercent
    RegionBackgroundImageUITest.unalignedImage_PositionCenterFiftyPercentRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterFiftyPercentRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenterLeft
    RegionBackgroundImageUITest.unalignedImage_PositionCenterLeftRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterLeftRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenterRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenterRight
    RegionBackgroundImageUITest.unalignedImage_PositionCenterRightRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterRightRepeatY
    RegionBackgroundImageUITest.unalignedImage_PositionCenterTop
    RegionBackgroundImageUITest.unalignedImage_PositionCenterTopRepeatX
    RegionBackgroundImageUITest.unalignedImage_PositionCenterTopRepeatY
    RegionBackgroundImageUITest.unalignedImage_RepeatX
    RegionBackgroundImageUITest.unalignedImage_RepeatY
    RegionBackgroundImageUITest.unalignedImage_Round
Comments
Changeset: 56f2e17f Author: Ambarish Rapte <arapte@openjdk.org> Date: 2021-04-18 17:28:53 +0000 URL: https://git.openjdk.java.net/jfx/commit/56f2e17f
18-04-2021

Execution time for all the tests is more than 30 minutes because these tests do a lot of pixel color read on App thread. This can be fixed by capturing the scene into an Image and reading color from the image (not on App thread). All the tests passed on Win7 and Ubuntu, two tests fail on Mac, but on Win10 all the tests fail. It might be related to the not integer scaling factor of the platform. We shall take this issue in next test sprint.
20-11-2019

These tests require longer time to execute. If timeout duration is increased to 70000, then all of the tests pass.
11-11-2019

I plan to disable these tests until we can come up with a solution (which is why I am leaving the priority as P4...else would be a P2).
22-10-2013