|
|
Re: Wrong tested application is started when tests are running with Tycho [message #1800946 is a reply to message #1800757] |
Thu, 10 January 2019 09:07 |
Alexey Chibisov Messages: 5 Registered: December 2018 |
Junior Member |
|
|
I've specified application using application tag. The error is now "Could not find application". But the situation is the same. Tycho does not copy my plugins in data directory.
Console log:
$ mvn verify -Dtycho.showEclipseLog=true
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.jkiss.dbeaver:org.jkiss.dbeaver.uitests:0.0.1-SNAPSHOT @ /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/2018-09/
[INFO] Adding repository http://download.eclipse.org/releases/2018-09
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/2018-09/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/2018-09/201809191002/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/2018-09/201809191002/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20180330011457/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20180330011457/repository/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20180330011457/repository
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20180330011457/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20180330011457/repository/
[INFO] Fetching p2.index from http://download.eclipse.org/nebula/releases/latest/
[INFO] Fetching p2.index from http://download.eclipse.org/nebula/releases/latest/
[INFO] Adding repository http://download.eclipse.org/nebula/releases/latest
[INFO] Adding repository https://dbeaver.io/eclipse-repo
[INFO] Adding repository http://eclipse-color-theme.github.com/update
[INFO] Fetching p2.index from http://download.eclipse.org/technology/swtbot/releases/latest/
[INFO] Fetching p2.index from http://download.eclipse.org/technology/swtbot/releases/latest/
[INFO] Adding repository http://download.eclipse.org/technology/swtbot/releases/latest
[INFO] Resolving dependencies of MavenProject: org.jkiss.dbeaver:org.jkiss.dbeaver.uitests:0.0.1-SNAPSHOT @ /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/pom.xml
[INFO] Resolving class path of MavenProject: org.jkiss.dbeaver:org.jkiss.dbeaver.uitests:0.0.1-SNAPSHOT @ /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/pom.xml
[INFO]
[INFO] ------------< org.jkiss.dbeaver:org.jkiss.dbeaver.uitests >-------------
[INFO] Building org.jkiss.dbeaver.uitests 0.0.1-SNAPSHOT
[INFO] ------------------------[ eclipse-test-plugin ]-------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:1.1.0:build-qualifier (default-build-qualifier) @ org.jkiss.dbeaver.uitests ---
[INFO] The project's OSGi version is 0.0.1.201901091644
[INFO]
[INFO] --- tycho-packaging-plugin:1.1.0:validate-id (default-validate-id) @ org.jkiss.dbeaver.uitests ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.1.0:validate-version (default-validate-version) @ org.jkiss.dbeaver.uitests ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.jkiss.dbeaver.uitests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:1.1.0:compile (default-compile) @ org.jkiss.dbeaver.uitests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.jkiss.dbeaver.uitests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (compiletests) @ org.jkiss.dbeaver.uitests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (test) @ org.jkiss.dbeaver.uitests ---
[INFO] No tests to run.
[INFO]
[INFO] --- target-platform-configuration:1.1.0:target-platform (default-target-platform) @ org.jkiss.dbeaver.uitests ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.1.0:package-plugin (default-package-plugin) @ org.jkiss.dbeaver.uitests ---
[INFO] Building jar: /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/org.jkiss.dbeaver.uitests-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:1.1.0:p2-metadata-default (default-p2-metadata-default) @ org.jkiss.dbeaver.uitests ---
[INFO]
[INFO] --- tycho-surefire-plugin:1.1.0:test (default-test) @ org.jkiss.dbeaver.uitests ---
[INFO] Expected eclipse log file: /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/data/.metadata/.log
[INFO] Command line:
[/opt/java/jdk1.8.0_161/jre/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -Dosgi.clean=true, -jar, /home/alexey_chibisov/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.5.100.v20180827-1352/org.eclipse.equinox.launcher-1.5.100.v20180827-1352.jar, -debug, -consolelog, -data, /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/data, -install, /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work, -configuration, /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.uitest, -testproperties, /home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/surefire.properties, -testApplication, org.jkiss.dbeaver.core.application.standalone, -product, org.jkiss.dbeaver.core.product, -nouithread]
Configuration location:
file:/home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/configuration/
Configuration file:
file:/home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/configuration/config.ini loaded
Install location:
file:/home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/target/work/
Framework located:
file:/home/alexey_chibisov/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.13.100.v20180827-1536/org.eclipse.osgi-3.13.100.v20180827-1536.jar
Framework classpath:
file:/home/alexey_chibisov/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.13.100.v20180827-1536/org.eclipse.osgi-3.13.100.v20180827-1536.jar
Debug options:
file:/home/alexey_chibisov/dev/dbeaver/test-plugins/org.jkiss.dbeaver.uitests/.options not found
Time to load bundles: 405
Starting application: 1291
Launching application org.jkiss.dbeaver.core.application.standalone...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.238 s
[INFO] Finished at: 2019-01-09T19:45:07+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.1.0:test (default-test) on project org.jkiss.dbeaver.uitests: Could not find application "org.jkiss.dbeaver.core.application.standalone" in the test runtime. Make sure that the test runtime includes the bundle which defines this application. -> [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
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04046 seconds