[ https://issues.apache.org/jira/browse/SUREFIRE-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cory She updated SUREFIRE-1839: ------------------------------- Description: I am trying to run my tests via maven surefire plugin but when the test gets partway through, it crashes. However, if we run the test from the IDE and not from Maven, the test runs perfectly fine. macOS Catalina version 10.15.6 Sikuli version 2.0.1 Here is the output I got from the cmd line: vrazin@VLADIMIRs-MacBook-Pro sikuli-poc % [INFO] [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ sikuli-poc — ------------------------------------------------------- T E S T S ------------------------------------------------------- Running mac.MSWord Warning: Nashorn engine is planned to be removed from a future JDK release [log] CLICK on L[166,120]@S(0) (533 msec) [log] CLICK on L[166,121]@S(0) (529 msec) [log] ( ⌘ ) TYPE “a” # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00007fff6b17b8f1, pid=52645, tid=6659 # # JRE version: OpenJDK Runtime Environment (14.0.1+14) (build 14.0.1+14) # Java VM: OpenJDK 64-Bit Server VM (14.0.1+14, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63 # # No core dump will be written. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again # # An error report file with more information is saved as: # /Users/vrazin/my_work/Sikuli/zero/test-automation/sikuli-poc/hs_err_pid52645.log # # If you would like to submit a bug report, please visit: # [https://bugreport.java.com/bugreport/crash.jsp] # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. was: I am trying to run my sikuli tests via maven but whenever I need to type something into a field on the screen, maven immediately crashes. Clicking and mouse movements work fine, it's typing that always fails. However, if we run the test normally and not from Maven, the test types into the field just fine and the test passes. macOS Catalina version 10.15.6 Sikuli version 2.0.1 Here is the output I got from the cmd line: vrazin@VLADIMIRs-MacBook-Pro sikuli-poc % [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ sikuli-poc --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running mac.MSWord Warning: Nashorn engine is planned to be removed from a future JDK release [log] CLICK on L[166,120]@S(0) (533 msec) [log] CLICK on L[166,121]@S(0) (529 msec) [log] ( ⌘ ) TYPE “a” # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00007fff6b17b8f1, pid=52645, tid=6659 # # JRE version: OpenJDK Runtime Environment (14.0.1+14) (build 14.0.1+14) # Java VM: OpenJDK 64-Bit Server VM (14.0.1+14, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63 # # No core dump will be written. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again # # An error report file with more information is saved as: # /Users/vrazin/my_work/Sikuli/zero/test-automation/sikuli-poc/hs_err_pid52645.log # # If you would like to submit a bug report, please visit: # [https://bugreport.java.com/bugreport/crash.jsp] # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. > Maven test crashes when using keyboard to type > ---------------------------------------------- > > Key: SUREFIRE-1839 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1839 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 3.0.0-M5 > Environment: macOS Catalina version 10.15.6 > Sikuli version 2.0.1 > Reporter: Cory She > Priority: Blocker > Attachments: hs_err_pid38607.log > > > I am trying to run my tests via maven surefire plugin but when the test gets > partway through, it crashes. However, if we run the test from the IDE and > not from Maven, the test runs perfectly fine. > > macOS Catalina version 10.15.6 > Sikuli version 2.0.1 > > Here is the output I got from the cmd line: > > vrazin@VLADIMIRs-MacBook-Pro sikuli-poc % [INFO] > [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ sikuli-poc — > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running mac.MSWord > Warning: Nashorn engine is planned to be removed from a future JDK release > [log] CLICK on L[166,120]@S(0) (533 msec) > [log] CLICK on L[166,121]@S(0) (529 msec) > [log] ( ⌘ ) TYPE “a” > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGILL (0x4) at pc=0x00007fff6b17b8f1, pid=52645, tid=6659 > # > # JRE version: OpenJDK Runtime Environment (14.0.1+14) (build 14.0.1+14) > # Java VM: OpenJDK 64-Bit Server VM (14.0.1+14, mixed mode, sharing, tiered, > compressed oops, g1 gc, bsd-amd64) > # Problematic frame: > # C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63 > # > # No core dump will be written. Core dumps have been disabled. To enable > core dumping, try “ulimit -c unlimited” before starting Java again > # > # An error report file with more information is saved as: > # > /Users/vrazin/my_work/Sikuli/zero/test-automation/sikuli-poc/hs_err_pid52645.log > # > # If you would like to submit a bug report, please visit: > # [https://bugreport.java.com/bugreport/crash.jsp] > # The crash happened outside the Java Virtual Machine in native code. > # See problematic frame for where to report the bug. > -- This message was sent by Atlassian Jira (v8.3.4#803005)