Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20698

CliScriptTestCase.testPowerShellScript fails on Windows 2k12r2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: EAP-XP-2.0.0.CR1
    • Fix Version/s: None
    • Component/s: Scripts, Test Suite
    • Labels:
      None

      Description

      The CliScriptTestCase.testPowerShellScript test case is failing on Windows 2k12r2, both with Oracle and OpenJDK JDKs (1.8 and 11), reporting the following output:

      ...
      16:55:03 [INFO] Running org.wildfly.scripts.test.AddUserTestCase
      16:55:17 [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 13.757 s - in org.wildfly.scripts.test.AddUserTestCase
      16:55:17 [INFO] Running org.wildfly.scripts.test.CliScriptTestCase
      16:55:42 [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 3, Time elapsed: 25.145 s <<< FAILURE! - in org.wildfly.scripts.test.CliScriptTestCase
      16:55:42 [ERROR] testPowerShellScript(org.wildfly.scripts.test.CliScriptTestCase)  Time elapsed: 7.317 s  <<< ERROR!
      16:55:42 java.io.IOException: org.jboss.dmr.stream.ModelException: Unexpected character 'A' while reading DMR stream
      16:55:42 	at org.jboss.dmr.ModelNode.fromStream(ModelNode.java:1753)
      16:55:42 	at org.wildfly.scripts.test.CliScriptTestCase.testScript(CliScriptTestCase.java:52)
      16:55:42 	at org.wildfly.scripts.test.ScriptTestCase.executeTests(ScriptTestCase.java:257)
      16:55:42 	at org.wildfly.scripts.test.ScriptTestCase.testPowerShellScript(ScriptTestCase.java:164)
      ...
      

      the test is passing on Windows 2k16.

      Environment:

      mvn -version

      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Java version: 1.8.0_265, vendor: Red Hat, Inc., runtime: C:\j\asts-core-bootablejar\5bd9e6f8\tools\java\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "windows"

      java -version

      openjdk version "1.8.0_265"
      OpenJDK Runtime Environment (build 1.8.0_265-b01)
      OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lvydra Lukas Vydra
              Reporter:
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: