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

closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically

XMLWordPrintable

    • b89
    • x86_64
    • linux_oracle_6.0

        Testsuite name:Regression
        Test name(s):closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java
        Product(s) tested:jdk8u20b26(64bit)
        OS/architecture:oel7.0-x64

        Error log file (if present): http://scaaa008.us.oracle.com:9502/runs%2F568778.ManualSubmit-1/workDir/closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.jtr
        Reproducible: Always
        Reproducible on machine:Evergreen-machine
        [If Sometimes] Also reproducible on machine:

        Is it a Regression: NO (8u20b02 and 8u20b13 on same machine failed as the same issue)
        [If Regression] Regression introduced in release/build:
        Test result on the last GAed release for this train: 8u11b11(64bit) on same machine failed as the same issue
        [if Fail] Test result on FCS: 8u11b12(64bit) on same machine failed as the same issue

        Is it a platform specific issue: YES :8u20b26(64bit) on ubuntu14.04-x64 pass automatically
        [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:YES
        [If new configuration testing] Issue specific to execution mode or OS/browser version:OEL7.0-x64
         
        Steps to reproduce:
        1.Download regression workspace from http://jre.us.oracle.com/java/re/jdk/8u20/promoted/fcs/b26/ws/jdk/test/ to /regression
        2. Install test bundle JDK8u20b26 (download from http://jre.us.oracle.com/java/re/jdk/8u20/promoted/fcs/b26/bundles/linux-x64/jdk-8u20-linux-amd64.tar.gz) to /regression/jdk1.8.0_20
        3.Install stable jdk7u45 b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/linux-x64/jdk-7u45-linux-amd64.tar.gz) locate at /regression/jdk1.7.0_45
        4. Unzip Jtreg (download from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip) to /export/home/regression/
        5. Create the script regression.sh as follows and run it
        export JT_JAVA=/regression/jdk1.7.0_45
        /regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/regression/jdk1.8.0_20 -r:/regression/results/reportDir -w:/regression/results/workDir /regression/test/closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java

        Actual behavior:

        This case failed automatically and thrown the following exception:

        Error: wrong location on screen after COMPONENT_MOVED
        Location on screen is (200, 200) against right location (150, 150)
        Error: wrong location on screen after COMPONENT_MOVED
        Location on screen is (200, 200) against right location (150, 150)
        Failed component: java.awt.Frame[frame0,150,150,100x100,title=Frame F,resizable,normal]
        java.lang.RuntimeException: Test FAILED: COMPONENT_MOVED is sent 3 times after call to setBounds()
        at MovedResizedTwiceTest.fail(MovedResizedTwiceTest.java:236)
        at MovedResizedTwiceTest.checkMoved(MovedResizedTwiceTest.java:166)
        at MovedResizedTwiceTest.init(MovedResizedTwiceTest.java:91)
        at MovedResizedTwiceTest.main(MovedResizedTwiceTest.java:182)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

              ssadetsky Semyon Sadetsky (Inactive)
              michaelw Michael Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: