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

[TESTBUG] "java/awt/textfield/setechochartest4/setechochartest4.java" failed because the test frame disappears on clicking "Click Several Times" button

XMLWordPrintable

    • b17
    • x86_64
    • linux_ubuntu, windows

        OS:
        Ubuntu

        Environments:
        Operating System: Ubuntu 24.04.1 LTS x64
        Hardware Model: Xen HVM domU
        Processor: Intel® Xeon® Silver 4210 × 8
        Memory: 8 GiB
        Windowing System: Wayland
        Disk Capacity: 64 GB
        LAF: N/A
        Reproducible: Always

        Failed on Release/Build: JDK_24_b27
        Is it a Regression in JDK 24 release: N/A
        [If Regression] Regression introduced in JDK 24 release/build: N/A
        Test result on the last GAed release for this train: N/A
        Is it a platform-specific issue: No. This issue happens on Linux. Not tested on Windows and MacOS yet.

        General description of the problem:
        The test case still display as instruction, the test frame is disappeared when clicking on the "Click Several Times" button.

        Affected tests:
        java/awt/textfield/setechochartest4/setechochartest4.java

        Steps to reproduce:

         1. Run command:
        #!/bin/sh -x
        export JAVA_HOME=/home/ubuntu/Desktop/reg/jdk-24
        export JT_HOME=/home/ubuntu/Desktop/reg/jtreg
        export PATH=$PATH:$JAVA_HOME/bin:$JT_HOME/bin

        jtreg \
        -ignore:quiet \
        -m \
        -gui \
        -e:WAYLAND_DISPLAY=wayland-0 \
        -e:DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \
        -e:XDG_RUNTIME_DIR=/run/user/1000 \
        -e:NO_AT_BRIDGE=1 \
        -nativepath:/home/ubuntu/Desktop/reg/jdk/jtreg/native \
        -exclude:/home/ubuntu/Desktop/reg/open/test/jdk/ProblemList.txt \
        -testjdk:/home/ubuntu/Desktop/reg/jdk-24 \
        -dir:/home/ubuntu/Desktop/reg/open/test/jdk \
        -reportDir:results27/JTreport \
        -workDir:results27/JTwork \
        -timeoutHandlerDir:/home/ubuntu/Desktop/reg/failure_handler/jtregFailureHandler.jar \
        -observerDir:/home/ubuntu/Desktop/reg/failure_handler/jtregFailureHandler.jar \
        -timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler \
        -observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver \
        -timeoutHandlerTimeout:0 \
        /home/ubuntu/Desktop/reg/open/test/jdk/:jdk_desktop

        2. Run test case "java/awt/textfield/setechochartest4/setechochartest4.java"
        3. Type the first text field with * character.
        4. Type the first text field with $ character.
        5. Type the first text field with $ character.
        6. Click on "Click Several times" button.

        Expected behavior:
        The test frame shouldn't disappear when clicking on the "Click Several Times" button

        Actual behavior:
        The test frame is disappeared when clicking on the "Click Several Times" button.
        (Please refer the log file, the video were attached)

        Any non-default VM flags:
         /home/ubuntu/Desktop/reg/jdk-24/bin/java \\
                -Dtest.vm.opts= \\
                -Dtest.tool.vm.opts= \\
                -Dtest.compiler.opts= \\
                -Dtest.java.opts= \\
                -Dtest.jdk=/home/ubuntu/Desktop/reg/jdk-24 \\
                -Dcompile.jdk=/home/ubuntu/Desktop/reg/jdk-24 \\
                -Dtest.timeout.factor=1.0 \\
                -Dtest.nativepath=/home/ubuntu/Desktop/reg/jdk/jtreg/native \\
                -Dtest.root=/home/ubuntu/Desktop/reg/open/test/jdk \\
                -Dtest.name=java/awt/TextField/SetEchoCharTest4/SetEchoCharTest4.java \\
                -Dtest.file=/home/ubuntu/Desktop/reg/open/test/jdk/java/awt/TextField/SetEchoCharTest4/SetEchoCharTest4.java \\
                -Dtest.src=/home/ubuntu/Desktop/reg/open/test/jdk/java/awt/TextField/SetEchoCharTest4 \\
                -Dtest.src.path=/home/ubuntu/Desktop/reg/open/test/jdk/java/awt/TextField/SetEchoCharTest4:/home/ubuntu/Desktop/reg/open/test/jdk/java/awt/regtesthelpers \\
                -Dtest.classes=/home/ubuntu/Desktop/reg/results27/JTwork/classes/java/awt/TextField/SetEchoCharTest4/SetEchoCharTest4.d \\
                -Dtest.class.path=/home/ubuntu/Desktop/reg/results27/JTwork/classes/java/awt/TextField/SetEchoCharTest4/SetEchoCharTest4.d:/home/ubuntu/Desktop/reg/results27/JTwork/classes/java/awt/regtesthelpers \\
                -Dtest.modules=java.desktop \\
                --add-modules java.desktop \\
                -Djava.library.path=/home/ubuntu/Desktop/reg/jdk/jtreg/native \\
                com.sun.javatest.regtest.agent.MainWrapper /home/ubuntu/Desktop/reg/results27/JTwork/java/awt/TextField/SetEchoCharTest4/SetEchoCharTest4.d/main.0.jta
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failure Reason: the test frame is disappeared when clicking on the "Click Several Times" button

        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failure Reason: the test frame is disappeared when clicking on the "Click Several Times" button

              honkar Harshitha Onkar
              imthauld Hau Dinh Le
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: