[jboss-jira] [JBoss JIRA] (AS7-2996) TS: AS7 testsuite does not take -Djboss.dist from CLI and always runs against the built AS7 from /build/target/jboss-as* dir
Ivo Studensky (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Dec 13 10:25:10 EST 2011
[ https://issues.jboss.org/browse/AS7-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650488#comment-12650488 ]
Ivo Studensky commented on AS7-2996:
------------------------------------
Adding an example of failure invoked by this issue:
{noformat}
$ cd git/jboss-as/testsuite/integration/xts
$ mvn clean install -Dtest=XTSUnitTestCase -Djboss.dist=$JBOSS_HOME
.
.
[INFO] --- maven-antrun-plugin:1.6:run (build-xts.server) @ jboss-as-testsuite-integration-xts ---
[INFO] Executing tasks
main:
build-xts:
[echo] Building AS instance "xts" from /mnt/hudson_workspace/workspace/jbossts-xts-testsuite/git/jboss-as/testsuite/integration/xts/../../../build/target/jboss-as-7.1.0.CR1-SNAPSHOT to /mnt/hudson_workspace/workspace/jbossts-xts-testsuite/git/jboss-as/testsuite/integration/xts/target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.111s
[INFO] Finished at: Tue Dec 13 05:40:48 EST 2011
[INFO] Final Memory: 41M/260M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (build-xts.server) on project jboss-as-testsuite-integration-xts: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /mnt/hudson_workspace/workspace/jbossts-xts-testsuite/git/jboss-as/testsuite/integration/src/test/scripts/xts-build.xml:31: The following error occurred while executing this line:
[ERROR] /mnt/hudson_workspace/workspace/jbossts-xts-testsuite/git/jboss-as/testsuite/integration/src/test/scripts/common-targets.xml:101: /mnt/hudson_workspace/workspace/jbossts-xts-testsuite/git/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT does not exist.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{noformat}
> TS: AS7 testsuite does not take -Djboss.dist from CLI and always runs against the built AS7 from /build/target/jboss-as* dir
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-2996
> URL: https://issues.jboss.org/browse/AS7-2996
> Project: Application Server 7
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Ivo Studensky
> Assignee: Ondrej Zizka
>
> Please check the usage of -Djboss.dist parameter provided from the command line. It seems the testsuite does not take it and still uses jboss.dist as defined in testsuite/pom.xml#<properties>. Looks like maven properties are a bit different than system properties, read for example the following:
> http://maven.40175.n5.nabble.com/Overriding-properties-from-command-line-arguments-td3345432.html
> Thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list