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

[macos] java/awt/MenuBar/TestNoScreenMenuBar.java failed with "menu item action was not performed"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      java/awt/MenuBar/TestNoScreenMenuBar.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/230)----------
      command: main TestNoScreenMenuBar
      reason: User specified action: run main/othervm TestNoScreenMenuBar
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 15.726
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(2/2471)----------
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S269158/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fede4a9c-e986-44f4-9324-b26f333726e3/runs/3a86c60a-d84f-4b41-9865-eac536e0e10f/testoutput/test-support/jtreg_open_test_jdk_jdk_desktop/classes/java/awt/MenuBar/TestNoScreenMenuBar.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/src.full/open/test/jdk/java/awt/MenuBar:/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S269158/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fede4a9c-e986-44f4-9324-b26f333726e3/runs/3a86c60a-d84f-4b41-9865-eac536e0e10f/testoutput/test-support/jtreg_open_test_jdk_jdk_desktop/classes/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar TestNoScreenMenuBar mark ]
      [Other frame]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S269158/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fede4a9c-e986-44f4-9324-b26f333726e3/runs/3a86c60a-d84f-4b41-9865-eac536e0e10f/testoutput/test-support/jtreg_open_test_jdk_jdk_desktop/classes/java/awt/MenuBar/TestNoScreenMenuBar.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/src.full/open/test/jdk/java/awt/MenuBar:/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S269158/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fede4a9c-e986-44f4-9324-b26f333726e3/runs/3a86c60a-d84f-4b41-9865-eac536e0e10f/testoutput/test-support/jtreg_open_test_jdk_jdk_desktop/classes/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+20-1679/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar TestNoScreenMenuBar mark
      ----------System.err:(15/1038)----------
      java.lang.RuntimeException: Test failed: menu item action was not performed
      at TestNoScreenMenuBar.waitForAction(TestNoScreenMenuBar.java:138)
      at TestNoScreenMenuBar.performMenuItemTest(TestNoScreenMenuBar.java:124)
      at TestNoScreenMenuBar.main(TestNoScreenMenuBar.java:191)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: menu item action was not performed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: menu item action was not performed
      ----------rerun:(41/6480)*----------

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: