[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building REST 0.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss2122-teamA-microstories-rest --- [INFO] Deleting /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss2122-teamA-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories 2122 - Team A/target/classes" [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss2122-teamA-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss2122-teamA-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss2122-teamA-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss2122-teamA-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/test-classes [INFO] /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/src/test/java/es/uvigo/esei/dgss/teamA/microstories/rest/StoryResourceUnitTest.java: /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/src/test/java/es/uvigo/esei/dgss/teamA/microstories/rest/StoryResourceUnitTest.java uses unchecked or unsafe operations. [INFO] /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/src/test/java/es/uvigo/esei/dgss/teamA/microstories/rest/StoryResourceUnitTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss2122-teamA-microstories-rest --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss2122-teamA-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss2122-teamA-microstories-rest --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running es.uvigo.esei.dgss.teamA.microstories.rest.ResourceIntegrationTestSuite 18:53:29,268 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final 18:53:29,920 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1 18:53:30,276 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting 18:53:33,256 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 18:53:33,302 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.4.0.Final 18:53:33,333 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.4.0.Final 18:53:33,439 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.21.Final 18:53:33,550 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 35) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors 18:53:33,580 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 44) WFLYNAM0001: Activating Naming Subsystem 18:53:33,591 INFO [org.jboss.as.security] (ServerService Thread Pool -- 49) WFLYSEC0002: Activating Security Subsystem 18:53:33,616 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem. 18:53:33,617 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 50) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique. 18:53:33,643 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) WFLYWS0002: Activating WebServices Extension 18:53:33,668 INFO [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final 18:53:33,722 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 42) WFLYJSF0007: Activated the following JSF Implementations: [main] 18:53:33,760 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service 18:53:33,767 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.4.0.Final starting 18:53:33,861 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 18:53:33,908 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 18:53:33,954 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final) 18:53:34,012 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2 18:53:34,345 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 51) WFLYUT0014: Creating file handler for path '/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 18:53:34,450 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server. 18:53:34,457 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting 18:53:34,577 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:38080 18:53:35,803 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/dgss2122/teamA/microstories] 18:53:35,808 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 18:53:36,409 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/wildfly-10.1.0.Final/standalone/deployments 18:53:36,707 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final 18:53:36,824 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 57) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:53:36,825 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 57) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:53:36,854 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:53:36,862 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:53:36,957 INFO [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 18:53:37,232 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:39990/management 18:53:37,233 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:39990 18:53:37,233 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 7730ms - Started 302 of 506 services (325 services are lazy, passive or on-demand) [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.435 s <<< FAILURE! - in es.uvigo.esei.dgss.teamA.microstories.rest.ResourceIntegrationTestSuite [ERROR] es.uvigo.esei.dgss.teamA.microstories.rest.StoryResourceRestTest Time elapsed: 10.428 s <<< ERROR! org.jboss.arquillian.persistence.core.exception.InvalidResourceLocation: Unable to locate owners.xml. File does not exist also in default location datasets/ [INFO] Running es.uvigo.esei.dgss.teamA.microstories.rest.ResourceUnitTestSuite [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in es.uvigo.esei.dgss.teamA.microstories.rest.ResourceUnitTestSuite [ERROR] initializationError(es.uvigo.esei.dgss.teamA.microstories.rest.ResourceUnitTestSuite) Time elapsed: 0 s <<< ERROR! java.lang.Exception: class 'es.uvigo.esei.dgss.teamA.microstories.rest.ResourceUnitTestSuite' (possibly indirectly) contains itself as a SuiteClass 18:53:38,019 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.undeploy is null. It won't be invoked. 18:53:38,070 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 18:53:38,071 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/dgss2122/teamA/microstories] 18:53:38,105 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: Host default-host stopping 18:53:38,117 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = h2 18:53:38,119 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTP listener default suspending 18:53:38,120 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:38080 18:53:38,125 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.4.0.Final stopping 18:53:38,155 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 87ms [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] ResourceUnitTestSuite.initializationError » class 'es.uvigo.esei.dgss.teamA.m... [ERROR] StoryResourceRestTest.es.uvigo.esei.dgss.teamA.microstories.rest.StoryResourceRestTest » InvalidResourceLocation [INFO] [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ dgss2122-teamA-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 1 classes [INFO] [INFO] --- maven-war-plugin:2.2:war (default-war) @ dgss2122-teamA-microstories-rest --- [INFO] Packaging webapp [INFO] Assembling webapp [dgss2122-teamA-microstories-rest] in [/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/src/main/webapp] [INFO] Webapp assembled in [23 msecs] [INFO] Building war: /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT.war [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss2122-teamA-microstories-rest >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss2122-teamA-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories 2122 - Team A/target/classes" [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss2122-teamA-microstories-rest <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss2122-teamA-microstories-rest --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss2122-teamA-microstories-rest --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamA.microstories.rest... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/StoryResource.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/package-frame.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/package-summary.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/package-tree.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/class-use/StoryResource.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/es/uvigo/esei/dgss/teamA/microstories/rest/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss2122-teamA-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories 2122 - Team A/target/classes" [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss2122-teamA-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 1 classes [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss2122-teamA-microstories-rest --- [INFO] Installing /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT.war to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2122-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT.war [INFO] Installing /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2122-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2122-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories 2122 - Team A/rest/target/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2122-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2122-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar