|
|
|
Re: RCPTT Maven packaging error [message #1690992 is a reply to message #1690985] |
Wed, 01 April 2015 13:04 |
Vasili Gulevich Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Jeevan Rex wrote on Wed, 01 April 2015 08:37Hi Vasili GulevichFriend,
I have filled those now as the following.
...
yet the error still exists.
There is a known issue with this plugin that is fails on artifacts, that were not installed or deployed. Be sure to install com.abc:com.abc.rcptt.product to your Maven repository.
Also, please, quote new error and new pom content.
[Updated on: Wed, 01 April 2015 13:12] Report message to a moderator
|
|
|
|
|
|
|
|
Re: RCPTT Maven packaging error [message #1692834 is a reply to message #1692794] |
Mon, 20 April 2015 07:00 |
|
Hello,
I see an error in attached log:
[INFO] Complete OK
[INFO] Verifying licenses...
[INFO] FM_New... No license. Project skipped.
[INFO] No tests to run.
[INFO] Finished at Mon Apr 06 02:18:44 PDT 2015
[INFO] Runner exit code is: 0
It means that you use proprietary version of runner.
RCPTT Runner recently became Open Source. You can find more information here.
Yours sincerely,
Olga.
|
|
|
Re: RCPTT Maven packaging error [message #1692868 is a reply to message #1692834] |
Mon, 20 April 2015 10:20 |
András Bátor Messages: 15 Registered: April 2014 |
Junior Member |
|
|
Hi!
Thanks for your answer. Now it works for me, if I run "mvc clean package" in terminal. But it doesn't work if I try to run it with Jenkins. It can not find my test files as you can see. Can you help with this problem?
Quote:Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Bator92/EMF-IncQuery-RCPTT-UI-Tests.git # timeout=10
Fetching upstream changes from https://github.com/Bator92/EMF-IncQuery-RCPTT-UI-Tests.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/Bator92/EMF-IncQuery-RCPTT-UI-Tests.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c795a28278a82aeb85b93e72f5221247e08e23c4 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f c795a28278a82aeb85b93e72f5221247e08e23c4
> git rev-list c795a28278a82aeb85b93e72f5221247e08e23c4 # timeout=10
[workspace] $ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/mavenHOME/bin/mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rcpttTests 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ rcpttTests ---
[INFO] Deleting /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target
[INFO]
[INFO] --- ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:resources (default-resources) @ rcpttTests ---
[INFO] Using AUT from /usr/eclipse-IncQuery-AUT
[INFO] Extracting RCPTT runner to /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/runner
[INFO] Copying project contents to target directory...
[INFO]
[INFO] --- ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:execute (default-execute) @ rcpttTests ---
[INFO] Runner command line is /bin/sh -c cd /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/runner/eclipse && /usr/java/jdk1.8.0_40/jre/bin/java -Xms128m -Xmx256m -Dcom.xored.q7.runner.returnTestFailure=true -jar /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/runner/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.eclipse.rcptt.runner.headless -data /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/runner-workspace -aut /usr/eclipse-IncQuery-AUT -autWsPrefix /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/aut-ws- -autConsolePrefix /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/results/aut-console- -q7report /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/results/rcpttTests.report -htmlReport /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/results/rcpttTests.html -junitReport /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/surefire-reports/TEST-rcpttTests.xml -import /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/projects/rcpttTests -testOptions 'testExecTimeout=300;execTimeout=3600' -shutdownListenerPort 8748
[INFO] The execution timeout is set to 3600 seconds
[INFO] Started at Mon Apr 20 11:43:06 CEST 2015
[INFO] RCPTT Runner version: 1.5.6
[INFO] Initializing target platform...
[INFO] Target platform is valid.
[INFO] Looking for tests...
[INFO] Existing projects in workspace:
[INFO] <none>
[INFO] No projects to import
[INFO] No projects ready to test
[INFO] No tests to run.
[INFO] Finished at Mon Apr 20 11:43:27 CEST 2015
[INFO] Runner exit code is: 0
[INFO]
[INFO] --- ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:package (default-package) @ rcpttTests ---
[INFO] Building zip: /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/projects/rcpttTests-1.0.0.zip
[INFO] Building zip: /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/IncQueryProject-rcpttTests-1.0.0-result.zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.887 s
[INFO] Finished at: 2015-04-20T11:43:29+02:00
[INFO] Final Memory: 9M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.xored.ci4rcptt:ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:package (default-package) on project rcpttTests: Could not read test results file /var/lib/jenkins/jobs/EMF-IncQuery_RCPTT_UI_Tests/workspace/target/surefire-reports/TEST-rcpttTests.junit.xml -> [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/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
[Updated on: Mon, 20 April 2015 10:20] Report message to a moderator
|
|
|
|
Re: RCPTT Maven packaging error [message #1692875 is a reply to message #1692873] |
Mon, 20 April 2015 11:21 |
András Bátor Messages: 15 Registered: April 2014 |
Junior Member |
|
|
Hi!
I have started using the nightly version of the runner. So, I downloaded the .zip file. My pom.xml looks like this now. But it doesn't works for me with Jenkins.:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Change groupId, artifactId and version -->
<artifactId>rcpttTests</artifactId>
<groupId>IncQueryProject</groupId>
<version>1.0.0</version>
<packaging>rcpttTest</packaging>
<!-- Change properies below to your values -->
<properties>
<autPath>/home/97204/Development/eclipse-IncQuery-AUT</autPath>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.xored.ci4rcptt</groupId>
<artifactId>ci4rcptt-maven-plugin</artifactId>
<version>1.5.6-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<aut>
<explicit>${autPath}</explicit>
</aut>
<runner>
<explicit>/home/97204/Downloads/rcptt.runner-incubation-1.5.6-N201504182315.zip</explicit>
</runner>
</configuration>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>xored-releases</id>
<name>Xored Maven repository</name>
<url>http://maven.xored.com/nexus/content/repositories/ci4rcptt-snapshots/</url>
</pluginRepository>
</pluginRepositories>
</project>
[Updated on: Mon, 20 April 2015 11:24] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: RCPTT Maven packaging error [message #1693341 is a reply to message #1693169] |
Thu, 23 April 2015 11:57 |
|
Hi,
It's interesting. I see in HTML-report, that workspace is applied.
In shared report in swt.info I see the following snippet:
view:Project Explorer {
id=org.eclipse.ui.navigator.ProjectExplorer
dirty=false
fastView=false
View(Project Explorer) {
Toolbar() {
Button(Collapse All (M1+M2+Numpad_Divide)) Button(Link with Editor) Button(Focus on Active Task (Alt+click to reveal filtered elements)) }
Tree() {
Item(> school.incquery [workspace origin/master 6fba308]) Item(> school.incquery.validation [workspace origin/master 6fba308]) Item(> school.instancemodel [workspace origin/master 6fba308]) }
}
}
And if I try to reproduce it locally with your test project swt.info contains
view:Project Explorer {
id=org.eclipse.ui.navigator.ProjectExplorer
dirty=false
fastView=false
View(Project Explorer) {
Toolbar() {
Button(Collapse All (M1+M2+Numpad_Divide)) Button(Link with Editor) Button(Focus on Active Task (Alt+click to reveal filtered elements)) }
Tree() {
Item(school.incquery) Item(school.instancemodel) {
Item(META-INF) Item(build.properties) Item(BUTE.school) Item(Hogwarts.school) Item(pom.xml) }
}
}
}
In your info there is Item(> school.instancemodel [workspace origin/master 6fba308]) instead of Item(school.instancemodel).
That's why tests fail. Do you have an idea why it happens?
As a workaround you can use regular expressions:
select ".*school.instancemodel.*/BUTE.school"
Yours sincerely,
Olga.
|
|
|
Re: RCPTT Maven packaging error [message #1693585 is a reply to message #1693341] |
Sat, 25 April 2015 19:22 |
Jeevan Rex Messages: 80 Registered: March 2015 Location: Bangalore |
Member |
|
|
Hi,
Now I have tried everything in a new environment in my personnel laptop. My AUT is nothing but the latest download of eclipse. I created a test case and did maven run. Was able to run, then will there be an issue with the earlier AUT? How can I find that?
Thank you.
Jeevan
[Updated on: Sun, 26 April 2015 10:58] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05674 seconds