Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing after switch from Thucydides to Serenity #195

Open
cpswan opened this issue Dec 13, 2017 · 1 comment
Open

Tests failing after switch from Thucydides to Serenity #195

cpswan opened this issue Dec 13, 2017 · 1 comment

Comments

@cpswan
Copy link

cpswan commented Dec 13, 2017

I've been using this repo as part of Jenkins training, so it gets built a lot.

Jenkins: 2.46.1 (and 2.92)
JDK: 8u152
Maven: 3.3.9 (also tried 3.5.2 despite previously seeing issues with 3.5.0)

All of the above runs within a Docker container on the excellent Katacoda training platform.

Full Jenkins console log at this gist, but here are the highlights:

###First warning

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.2.201409121644:report (jacoco-site) @ gameoflife-web ---
[INFO] Analyzed bundle 'gameoflife-web' with 2 classes

[INFO] 
[INFO] --- serenity-maven-plugin:1.8.3:aggregate (serenity-reports) @ gameoflife-web ---
[INFO] Downloading: https://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-core/1.8.3/serenity-core-1.8.3.pom
[WARNING] The POM for net.serenity-bdd:serenity-core:jar:1.8.3 is missing, no dependency information available
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-core/3.5.0/maven-core-3.5.0.pom

Second warning

[WARNING] Failed to getClass for net.serenitybdd.maven.plugins.SerenityAggregatorMojo
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] gameoflife ......................................... SUCCESS [ 25.745 s]
[INFO] gameoflife-build ................................... SUCCESS [  8.837 s]
[INFO] gameoflife-core .................................... SUCCESS [ 16.027 s]
[INFO] gameoflife-web ..................................... FAILURE [ 12.775 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 min
[INFO] Finished at: 2017-12-13T19:50:16+00:00
[INFO] Final Memory: 35M/85M
[INFO] ------------------------------------------------------------------------

Error

Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.8.3:aggregate (serenity-reports) on project gameoflife-web: Execution serenity-reports of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.8.3:aggregate failed: Plugin net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.8.3 or one of its dependencies could not be resolved: Could not find artifact net.serenity-bdd:serenity-core:jar:1.8.3 in central (https://repo.maven.apache.org/maven2) -> [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/PluginResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :gameoflife-web
JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-build/pom.xml to com.wakaleo.gameoflife/gameoflife-build/1.0-SNAPSHOT/gameoflife-build-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-build/target/gameoflife-build-1.0-SNAPSHOT.jar to com.wakaleo.gameoflife/gameoflife-build/1.0-SNAPSHOT/gameoflife-build-1.0-SNAPSHOT.jar
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/pom.xml to com.wakaleo.gameoflife/gameoflife/1.0-SNAPSHOT/gameoflife-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-core/pom.xml to com.wakaleo.gameoflife/gameoflife-core/1.0-SNAPSHOT/gameoflife-core-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-core/target/gameoflife-core-1.0-SNAPSHOT.jar to com.wakaleo.gameoflife/gameoflife-core/1.0-SNAPSHOT/gameoflife-core-1.0-SNAPSHOT.jar
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-web/pom.xml to com.wakaleo.gameoflife/gameoflife-web/1.0-SNAPSHOT/gameoflife-web-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/jenkins_home/workspace/GameOfLife/gameoflife-web/target/gameoflife.war to com.wakaleo.gameoflife/gameoflife-web/1.0-SNAPSHOT/gameoflife-web-1.0-SNAPSHOT.war
channel stopped
Archiving artifacts
Finished: FAILURE

I'm going to try backing up to before the Updated dependencies commit from 4 Dec 2017, but I'm pretty sure that will fix it as everything's been fine before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@cpswan and others