[INFO] [INFO] --< es.uvigo.esei.dgss.teamA.microstories:dgss2526-teamA-microstories-rest >-- [INFO] Building REST 0.1.0-SNAPSHOT [5/7] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ dgss2526-teamA-microstories-rest --- [INFO] Deleting /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss2526-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/microstories-2526-teamA/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/microstories-2526-teamA/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss2526-teamA-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/microstories-2526-teamA/rest/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss2526-teamA-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss2526-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) @ dgss2526-teamA-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/test-classes [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss2526-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/microstories-2526-teamA/rest/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss2526-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) @ dgss2526-teamA-microstories-rest --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running es.uvigo.esei.microstories.rest.ResourceUnitTestSuite 12:00:45,266 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final 12:00:46,030 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1 12:00:46,596 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting 12:00:52,083 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 12:00:52,190 INFO [org.xnio] (MSC service thread 1-3) XNIO version 3.4.0.Final 12:00:52,231 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.0.Final 12:00:52,482 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.21.Final 12:00:52,649 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem. 12:00:52,700 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 44) WFLYNAM0001: Activating Naming Subsystem 12:00:52,771 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. 12:00:52,830 INFO [org.jboss.as.security] (ServerService Thread Pool -- 49) WFLYSEC0002: Activating Security Subsystem 12:00:52,839 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 42) WFLYJSF0007: Activated the following JSF Implementations: [main] 12:00:52,875 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) WFLYWS0002: Activating WebServices Extension 12:00:52,968 INFO [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final) 12:00:53,022 INFO [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service 12:00:53,050 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 12:00:53,118 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.6.Final 12:00:53,205 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.0.Final starting 12:00:53,219 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 12:00:53,482 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 12:00:53,489 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2 12:00:54,362 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 51) WFLYUT0014: Creating file handler for path '/var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 12:00:54,403 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server. 12:00:54,418 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting 12:00:54,829 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:28080 12:00:55,417 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/dgss2526/teamA/microstories] 12:00:55,417 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 12:00:57,385 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final 12:00:57,539 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. 12:00:57,540 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. 12:00:57,546 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. 12:00:57,547 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. 12:00:57,566 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) WFLYDS0013: Started FileSystemDeploymentService for directory /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/wildfly-10.1.0.Final/standalone/deployments 12:00:57,895 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 12:00:58,825 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:29990/management 12:00:58,826 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:29990 12:00:58,826 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 13206ms - Started 302 of 506 services (325 services are lazy, passive or on-demand) 12:01:01,220 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.doServiceDeploy is null. It won't be invoked. 12:01:06,160 INFO [org.jboss.remoting] (main) JBoss Remoting version 5.0.2.Final 12:01:06,712 INFO [org.xnio] (main) XNIO version 3.5.1.Final 12:01:06,746 INFO [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.1.Final 12:01:07,091 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.2.Final 12:01:17,275 WARN [org.jboss.as.arquillian.container.ArchiveDeployer] (main) Failed to undeploy test.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0216: Management resource '[(\"deployment\" => \"test.war\")]' not found"}} [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.333 s <<< FAILURE! - in es.uvigo.esei.microstories.rest.ResourceUnitTestSuite [ERROR] es.uvigo.esei.microstories.rest.StoryResourceRestTest Time elapsed: 35.333 s <<< ERROR! org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: test.war Caused by: java.net.ConnectException: WFLYPRT0023: Could not connect to remote+http://127.0.0.1:29990. The connection timed out 12:01:17,633 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.undeploy is null. It won't be invoked. 12:01:18,304 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 12:01:18,305 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/dgss2526/teamA/microstories] 12:01:18,321 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0019: Host default-host stopping 12:01:18,365 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = h2 12:01:18,446 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTP listener default suspending 12:01:18,450 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:28080 12:01:18,454 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004: Undertow 1.4.0.Final stopping 12:01:18,744 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 898ms [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] StoryResourceRestTest.es.uvigo.esei.microstories.rest.StoryResourceRestTest ยป Deployment [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /var/lib/jenkins/workspace/microstories-2526-teamA/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) @ dgss2526-teamA-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 3 classes [INFO] [INFO] --- maven-war-plugin:3.3.2:war (default-war) @ dgss2526-teamA-microstories-rest --- [INFO] Packaging webapp [INFO] Assembling webapp [dgss2526-teamA-microstories-rest] in [/var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/workspace/microstories-2526-teamA/rest/src/main/webapp] [INFO] Building war: /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss2526-teamA-microstories-rest >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss2526-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/microstories-2526-teamA/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/microstories-2526-teamA/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 @ dgss2526-teamA-microstories-rest <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss2526-teamA-microstories-rest --- [INFO] Building jar: /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss2526-teamA-microstories-rest --- [INFO] Loading source files for package es.uvigo.esei.microstories.annotations... Loading source files for package es.uvigo.esei.microstories.rest... Loading source files for package es.uvigo.esei.microstories.converters... Loading source files for package es.uvigo.esei.microstories.providers... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/DateFormat.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/StoryResource.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/DateParamConverter.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/DateParamConverterProvider.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/overview-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/package-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/package-summary.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/package-tree.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/package-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/package-summary.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/package-tree.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/package-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/package-summary.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/package-tree.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/package-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/package-summary.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/package-tree.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/class-use/DateFormat.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/class-use/StoryResource.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/class-use/DateParamConverter.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/class-use/DateParamConverterProvider.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/annotations/package-use.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/converters/package-use.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/providers/package-use.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/es/uvigo/esei/microstories/rest/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/overview-summary.html... Generating /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss2526-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/microstories-2526-teamA/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/microstories-2526-teamA/target/classes [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss2526-teamA-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 3 classes [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss2526-teamA-microstories-rest --- [INFO] Installing /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war [INFO] Installing /var/lib/jenkins/workspace/microstories-2526-teamA/rest/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/microstories-2526-teamA/rest/target/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamA/microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar