[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Service 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ service --- [INFO] Deleting /var/lib/jenkins/workspace/LETTA/service/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (pre-unit-test) @ service --- [INFO] argLine set to -javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/var/lib/jenkins/workspace/LETTA/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/LETTA/target/classes [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/workspace/LETTA/service/target/classes [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/lib/jenkins/workspace/LETTA/service/target/test-classes [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ service --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:8.2.1.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/8.2.1.Final/wildfly-dist-8.2.1.Final.zip to /var/lib/jenkins/workspace/LETTA/service/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-wildfly-resources) @ service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ service --- [INFO] Surefire report directory: /var/lib/jenkins/workspace/LETTA/service/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running es.uvigo.esei.dgss.letta.service.EventEJBTest INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final INFO [org.jboss.msc] JBoss MSC version 1.2.2.Final INFO [org.jboss.as] JBAS015899: WildFly 8.2.1.Final "Tweek" starting INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) INFO [org.xnio] XNIO version 3.3.0.Final INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.0.Final INFO [org.jboss.remoting] JBoss Remoting version 4.0.7.Final INFO [org.jboss.as.naming] JBAS011800: Activating Naming Subsystem INFO [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem. INFO [org.wildfly.extension.io] WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors INFO [org.jboss.as.security] JBAS013171: Activating Security Subsystem WARN [org.jboss.as.txn] JBAS010153: Node identifier property is set to the default value. Please make sure it is unique. INFO [org.jboss.as.webservices] JBAS015537: Activating WebServices Extension INFO [org.jboss.as.jsf] JBAS012615: Activated the following JSF Implementations: [main] INFO [org.jboss.as.security] JBAS013170: Current PicketBox version=4.0.21.Final INFO [org.jboss.as.connector.logging] JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final) INFO [org.wildfly.extension.undertow] JBAS017502: Undertow 1.1.8.Final starting INFO [org.wildfly.extension.undertow] JBAS017502: Undertow 1.1.8.Final starting INFO [org.jboss.as.naming] JBAS011802: Starting Naming Service INFO [org.jboss.as.mail.extension] JBAS015400: Bound mail session [java:jboss/mail/Default] INFO [org.jboss.as.connector.subsystems.datasources] JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) INFO [org.jboss.as.connector.deployers.jdbc] JBAS010417: Started Driver service with driver-name = h2 INFO [com.arjuna.ats.jbossatx] ARJUNA032010: JBossTS Recovery Service (tag: 9aa71) - JBoss Inc. INFO [org.wildfly.extension.undertow] JBAS017527: Creating file handler for path /var/lib/jenkins/workspace/LETTA/service/target/wildfly-8.2.1.Final/welcome-content INFO [org.wildfly.extension.undertow] JBAS017525: Started server default-server. INFO [com.arjuna.ats.arjuna] ARJUNA012324: Start RecoveryActivators INFO [org.wildfly.extension.undertow] JBAS017531: Host default-host starting INFO [com.arjuna.ats.arjuna] ARJUNA012296: ExpiredEntryMonitor running at Fri, 20 Nov 2015 14:39:57 INFO [com.arjuna.ats.arjuna] ARJUNA012343: RecoveryManagerImple is ready. Socket listener is turned off. INFO [com.arjuna.ats.jbossatx] ARJUNA032013: Starting transaction recovery manager INFO [org.wildfly.extension.undertow] JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080 INFO [com.arjuna.ats.jbossatx] ARJUNA032017: JBossTS Transaction Service (JTA version - tag: 9aa71) - JBoss Inc. INFO [org.jboss.as.server.deployment.scanner] JBAS015012: Started FileSystemDeploymentService for directory /var/lib/jenkins/workspace/LETTA/service/target/wildfly-8.2.1.Final/standalone/deployments INFO [org.jboss.as.connector.subsystems.datasources] JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] INFO [org.jboss.ws.common.management] JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final INFO [org.jboss.as] JBAS015961: Http management interface listening on http://127.0.0.1:9990/management INFO [org.jboss.as] JBAS015951: Admin console listening on http://127.0.0.1:9990 INFO [org.jboss.as] JBAS015874: WildFly 8.2.1.Final "Tweek" started in 9604ms - Started 188 of 238 services (83 services are lazy, passive or on-demand) INFO [org.xnio] XNIO version 3.2.0.Beta4 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.2.0.Beta4 INFO [org.jboss.remoting] JBoss Remoting version 4.0.7.Final INFO [org.jboss.as.repository] JBAS014900: Content added at location /var/lib/jenkins/workspace/LETTA/service/target/wildfly-8.2.1.Final/standalone/data/content/0a/ba500d52b854a47b0f8ada7adb1272ac7dc107/content INFO [org.jboss.as.server.deployment] JBAS015876: Starting deployment of "test.war" (runtime-name: "test.war") INFO [org.jboss.as.jpa] JBAS011401: Read persistence.xml for test INFO [org.jboss.as.jpa] JBAS011409: Starting Persistence Unit (phase 1 of 2) Service 'test.war#test' INFO [org.hibernate.jpa.internal.util.LogHelper] HHH000204: Processing PersistenceUnitInfo [ name: test ...] INFO [org.hibernate.Version] HHH000412: Hibernate Core {4.3.7.Final} INFO [org.hibernate.cfg.Environment] HHH000206: hibernate.properties not found INFO [org.hibernate.cfg.Environment] HHH000021: Bytecode provider name : javassist INFO [org.jboss.weld.deployer] JBAS016002: Processing weld deployment test.war INFO [org.hibernate.validator.internal.util.Version] HV000001: Hibernate Validator 5.1.3.Final INFO [org.jboss.weld.deployer] JBAS016005: Starting Services for CDI deployment: test.war INFO [org.jboss.weld.Version] WELD-000900: 2.2.6 (Final) INFO [org.jboss.weld.deployer] JBAS016008: Starting weld service for deployment test.war INFO [org.jboss.as.jpa] JBAS011409: Starting Persistence Unit (phase 2 of 2) Service 'test.war#test' INFO [org.hibernate.annotations.common.Version] HCANN000001: Hibernate Commons Annotations {4.0.4.Final} INFO [org.hibernate.dialect.Dialect] HHH000400: Using dialect: org.hibernate.dialect.H2Dialect WARN [org.hibernate.dialect.H2Dialect] HHH000431: Unable to determine H2 database version, certain features may not work INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] HHH000397: Using ASTQueryTranslatorFactory INFO [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000227: Running hbm2ddl schema export Hibernate: drop table Event if exists Hibernate: drop table Registration if exists Hibernate: drop table User if exists Hibernate: drop sequence hibernate_sequence ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: drop sequence hibernate_sequence ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Sequence "HIBERNATE_SEQUENCE" not found; SQL statement: drop sequence hibernate_sequence [90036-173] Hibernate: create table Event (id integer not null, date timestamp not null, eventType varchar(255) not null, shortDescription varchar(50) not null, title varchar(20) not null, primary key (id)) Hibernate: create table Registration (uuid varchar(32) not null, email varchar(100) not null, login varchar(20), password varchar(32) not null, role varchar(10) not null, primary key (uuid)) Hibernate: create table User (login varchar(20) not null, email varchar(100) not null, password varchar(32) not null, role varchar(10) not null, primary key (login)) Hibernate: alter table Registration add constraint UK_t606w44qrdbvqy8lk0x3kb0se unique (email) Hibernate: alter table User add constraint UK_e6gkqunxajvyxl5uctpl2vl2p unique (email) Hibernate: create sequence hibernate_sequence start with 1 increment by 1 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000230: Schema export complete INFO [org.wildfly.extension.undertow] JBAS017534: Registered web context: /test INFO [org.jboss.as.server] JBAS018559: Deployed "test.war" (runtime-name : "test.war") 14:40:21,169 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-2) Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'H2' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products. Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by event0_.date ASC limit ? Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by event0_.date ASC limit ? 14:40:22,465 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-25) Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'H2' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products. Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by rand() limit ? 14:40:22,890 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-30) Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'H2' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products. Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by event0_.date ASC limit ? Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by rand() limit ? 14:40:23,160 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-5) Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'H2' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products. Hibernate: select event0_.id as id1_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.shortDescription as shortDes4_0_, event0_.title as title5_0_ from Event event0_ order by rand() limit ? INFO [org.wildfly.extension.undertow] JBAS017535: Unregistered web context: /test INFO [org.jboss.as.jpa] JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'test.war#test' INFO [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000227: Running hbm2ddl schema export Hibernate: drop table Event if exists Hibernate: drop table Registration if exists Hibernate: drop table User if exists Hibernate: drop sequence hibernate_sequence INFO [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000230: Schema export complete INFO [org.jboss.weld.deployer] JBAS016009: Stopping weld service for deployment test.war INFO [org.jboss.as.jpa] JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'test.war#test' INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment test.war (runtime-name: test.war) in 202ms INFO [org.jboss.as.repository] JBAS014901: Content removed from location /var/lib/jenkins/workspace/LETTA/service/target/wildfly-8.2.1.Final/standalone/data/content/0a/ba500d52b854a47b0f8ada7adb1272ac7dc107/content INFO [org.jboss.as.server] JBAS018558: Undeployed "test.war" (runtime-name: "test.war") Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.721 sec - in es.uvigo.esei.dgss.letta.service.EventEJBTest INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS] INFO [org.wildfly.extension.undertow] JBAS017532: Host default-host stopping INFO [org.wildfly.extension.undertow] JBAS017521: Undertow HTTP listener default suspending INFO [org.jboss.as.connector.deployers.jdbc] JBAS010418: Stopped Driver service with driver-name = h2 INFO [org.wildfly.extension.undertow] JBAS017520: Undertow HTTP listener default stopped, was bound to /127.0.0.1:8080 INFO [org.wildfly.extension.undertow] JBAS017506: Undertow 1.1.8.Final stopping INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager INFO [org.jboss.as] JBAS015950: WildFly 8.2.1.Final "Tweek" stopped in 170ms Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (post-unit-test) @ service --- [INFO] Analyzed bundle 'Service' with 6 classes [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ service --- [INFO] Building jar: /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (pre-unit-test) @ service --- [INFO] argLine set to -javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/var/lib/jenkins/workspace/LETTA/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/LETTA/target/classes [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ service --- [INFO] Building jar: /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ service --- [INFO] Loading source files for package es.uvigo.esei.dgss.letta.service... Constructing Javadoc information... Standard Doclet version 1.8.0_60 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/EventEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/MailerEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/MailerStubEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/RegisterEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/package-frame.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/package-summary.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/package-tree.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/MailerEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/MailerStubEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/EventEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/RegisterEJB.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/help-doc.html... 1 warning [WARNING] Javadoc Warnings [WARNING] /var/lib/jenkins/workspace/LETTA/service/src/main/java/es/uvigo/esei/dgss/letta/service/MailerEJB.java:55: warning: no @param for login [WARNING] public void sendEmail(String login, String toAddress) throws MessagingException { [WARNING] ^ [INFO] Building jar: /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (pre-integration-test) @ service --- [INFO] argLine set to -javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/var/lib/jenkins/workspace/LETTA/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/LETTA/target/classes [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (post-integration-test) @ service --- [INFO] Analyzed bundle 'Service' with 6 classes [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ service --- [INFO] Installing /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/letta/service/0.0.1-SNAPSHOT/service-0.0.1-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/workspace/LETTA/service/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/letta/service/0.0.1-SNAPSHOT/service-0.0.1-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/letta/service/0.0.1-SNAPSHOT/service-0.0.1-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/LETTA/service/target/service-0.0.1-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/letta/service/0.0.1-SNAPSHOT/service-0.0.1-SNAPSHOT-javadoc.jar