[jbossws-issues] [JBoss JIRA] (JBWS-4104) Elytron configuration in testsuite no longer working

Jan Blizňák (JIRA) issues at jboss.org
Thu Mar 1 19:51:00 EST 2018


     [ https://issues.jboss.org/browse/JBWS-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Blizňák updated JBWS-4104:
------------------------------
    Git Pull Request: https://github.com/jbossws/jbossws-cxf/pull/48


Fixed in https://github.com/jbossws/jbossws-cxf/pull/48.

The first problem was caused by schema version change in standalone.xml for particular subsystems, eg. {{urn:jboss:domain:undertow:4.0}} vs. {{urn:jboss:domain:undertow:5.0}}.
The other problem was a syntax typo, leftover from migration to new gmavenplus plugin.

> Elytron configuration in testsuite no longer working
> ----------------------------------------------------
>
>                 Key: JBWS-4104
>                 URL: https://issues.jboss.org/browse/JBWS-4104
>             Project: JBoss Web Services
>          Issue Type: Bug
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-5.2.0.Final
>            Reporter: Jan Blizňák
>            Assignee: Jan Blizňák
>
> gmavenplus task fails when running with elytron profile
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1100,hudson,elytron -DnoLogRedirect -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-shared-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-shared-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [  3.376 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... SUCCESS [  2.845 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... FAILURE [ 16.367 s]
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.830 s
> [INFO] Finished at: 2018-03-01T17:04:27+01:00
> [INFO] Final Memory: 87M/1060M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-shared-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: startup failed:
> [ERROR] Script1.groovy: 52: expecting ''', found '\n' @ line 52, column 96.
> [ERROR]    ies',['path':rolesPropFile']])
> [ERROR]                                  ^
> {code}
> Another error with wildfly1200 profile:
> {noformat}
> mvn -B integration-test -Dnodeploy -Pwildfly1200,hudson,elytron -DnoLogRedirect -Dserver.home=/tmp/wildfly-12.0.0.Final-SNAPSHOT -Dtest=notest
> {noformat}
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
> [INFO] Using Groovy 2.4.7 to perform execute.
> [INFO] Fetching Groovy script from file:////tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/scripts/jbws-testsuite-default-elytron.groovy.
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] JBoss Web Services - Stack CXF Testsuite ........... SUCCESS [  3.053 s]
> [INFO] JBoss Web Services - Stack CXF Specific Tests ...... FAILURE [  2.377 s]
> [INFO] JBoss Web Services - Stack Agnostic Tests .......... SKIPPED
> [INFO] JBoss Web Services - Stack CXF Performance Tests ... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.689 s
> [INFO] Finished at: 2018-03-01T17:06:43+01:00
> [INFO] Final Memory: 63M/1071M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath. InvocationTargetException: Cannot invoke method children() on null object -> [Help 1]{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbossws-issues mailing list