[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 7 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 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 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.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.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.webservices] JBAS015537: Activating WebServices Extension
INFO [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.
INFO [org.jboss.as.security] JBAS013170: Current PicketBox version=4.0.21.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.jsf] JBAS012615: Activated the following JSF Implementations: [main]
INFO [org.jboss.as.naming] JBAS011802: Starting Naming Service
INFO [org.jboss.as.connector.logging] JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)
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 [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 [org.wildfly.extension.undertow] JBAS017531: Host default-host starting
INFO [com.arjuna.ats.jbossatx] ARJUNA032010: JBossTS Recovery Service (tag: 9aa71) - JBoss Inc.
INFO [com.arjuna.ats.arjuna] ARJUNA012324: Start RecoveryActivators
INFO [com.arjuna.ats.arjuna] ARJUNA012296: ExpiredEntryMonitor running at Thu, 26 Nov 2015 19:00:04
INFO [org.wildfly.extension.undertow] JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080
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 [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 11014ms - 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/00/34f96fdb5b7b5afaa18adc87561fa124ce1c2c/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.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] JNDI bindings for session bean named user-caller in deployment unit deployment "test.war" are as follows:
java:global/test/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:app/test/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:module/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:global/test/user-caller
java:app/test/user-caller
java:module/user-caller
INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] JNDI bindings for session bean named EventEJB in deployment unit deployment "test.war" are as follows:
java:global/test/EventEJB!es.uvigo.esei.dgss.letta.service.EventEJB
java:app/test/EventEJB!es.uvigo.esei.dgss.letta.service.EventEJB
java:module/EventEJB!es.uvigo.esei.dgss.letta.service.EventEJB
java:global/test/EventEJB
java:app/test/EventEJB
java:module/EventEJB
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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "EVENT" not found; SQL statement:
alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists [42102-173]
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
Hibernate: create table Event (id integer generated by default as identity, date timestamp not null, eventType varchar(255) not null, location varchar(100) not null, shortDescription varchar(50) not null, title varchar(20) not null, creator varchar(20) not null, primary key (id))
Hibernate: create table Registration (uuid varchar(36) 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: create table UserJoinsEvent (user_id varchar(20) not null, event_id integer not null)
Hibernate: alter table Registration add constraint UK_t606w44qrdbvqy8lk0x3kb0se unique (email)
Hibernate: alter table User add constraint UK_e6gkqunxajvyxl5uctpl2vl2p unique (email)
Hibernate: alter table Event add constraint FK_n69mp18a4red6wjjq1lwrfkba foreign key (creator) references User
Hibernate: alter table UserJoinsEvent add constraint FK_q3x9wnvajgu114f10heh8fxsu foreign key (event_id) references Event
Hibernate: alter table UserJoinsEvent add constraint FK_gfheji77usjpw6gpe8n5icmyn foreign key (user_id) references User
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")
[33m19:00:31,337 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.
[0mHibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: insert into Event (id, creator, date, eventType, location, shortDescription, title) values (null, ?, ?, ?, ?, ?, ?)
[33m19:00:33,333 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.
[0m[33m19:00:33,618 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-26) 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.
[0m[33m19:00:33,629 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-26) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by event0_.date ASC limit ?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by event0_.date ASC limit ?
[33m19:00:34,446 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-7) 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.
[0m[33m19:00:34,508 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-7) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by rand() limit ?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
[33m19:00:34,778 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-13) 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.
[0m[33m19:00:34,798 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-13) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by event0_.date ASC limit ?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by rand() limit ?
[33m19:00:35,091 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-18) 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.
[0m[33m19:00:35,098 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-18) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ order by rand() limit ?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
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 143ms
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/00/34f96fdb5b7b5afaa18adc87561fa124ce1c2c/content
INFO [org.jboss.as.server] JBAS018558: Undeployed "test.war" (runtime-name: "test.war")
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.768 sec - in es.uvigo.esei.dgss.letta.service.EventEJBTest
Running es.uvigo.esei.dgss.letta.service.SearchEJBTest
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/70/c3bb529d4134d4d8ed26037f860d16c9dd6984/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.jboss.weld.deployer] JBAS016002: Processing weld deployment test.war
INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] JNDI bindings for session bean named SearchEJB in deployment unit deployment "test.war" are as follows:
java:global/test/SearchEJB!es.uvigo.esei.dgss.letta.service.SearchEJB
java:app/test/SearchEJB!es.uvigo.esei.dgss.letta.service.SearchEJB
java:module/SearchEJB!es.uvigo.esei.dgss.letta.service.SearchEJB
java:global/test/SearchEJB
java:app/test/SearchEJB
java:module/SearchEJB
INFO [org.jboss.weld.deployer] JBAS016005: Starting Services for CDI deployment: test.war
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.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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "EVENT" not found; SQL statement:
alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists [42102-173]
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
Hibernate: create table Event (id integer generated by default as identity, date timestamp not null, eventType varchar(255) not null, location varchar(100) not null, shortDescription varchar(50) not null, title varchar(20) not null, creator varchar(20) not null, primary key (id))
Hibernate: create table Registration (uuid varchar(36) 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: create table UserJoinsEvent (user_id varchar(20) not null, event_id integer not null)
Hibernate: alter table Registration add constraint UK_t606w44qrdbvqy8lk0x3kb0se unique (email)
Hibernate: alter table User add constraint UK_e6gkqunxajvyxl5uctpl2vl2p unique (email)
Hibernate: alter table Event add constraint FK_n69mp18a4red6wjjq1lwrfkba foreign key (creator) references User
Hibernate: alter table UserJoinsEvent add constraint FK_q3x9wnvajgu114f10heh8fxsu foreign key (event_id) references Event
Hibernate: alter table UserJoinsEvent add constraint FK_gfheji77usjpw6gpe8n5icmyn foreign key (user_id) references User
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")
[33m19:00:42,921 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-21) 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.
[0m[33m19:00:42,969 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-21) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
[33m19:00:43,329 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-1) 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.
[0m[33m19:00:43,367 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-1) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
[33m19:00:43,644 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-6) 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.
[0m[33m19:00:43,667 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-6) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
[33m19:00:43,805 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-9) 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.
[0m[33m19:00:43,840 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-9) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
[33m19:00:43,979 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-12) 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.
[0m[33m19:00:44,015 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-12) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
[33m19:00:44,166 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-13) 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.
[0m[33m19:00:44,174 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-13) 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.
[0mHibernate: select event0_.id as id1_0_, event0_.creator as creator7_0_, event0_.date as date2_0_, event0_.eventType as eventTyp3_0_, event0_.location as location4_0_, event0_.shortDescription as shortDes5_0_, event0_.title as title6_0_ from Event event0_ where event0_.title like ? or event0_.shortDescription like ? order by event0_.date ASC
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
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 628ms
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/70/c3bb529d4134d4d8ed26037f860d16c9dd6984/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: 9.452 sec - in es.uvigo.esei.dgss.letta.service.SearchEJBTest
Running es.uvigo.esei.dgss.letta.service.UserEJBTest
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/a7/90a3e4fb4b7107a4b8f3a9885d3ba5c7077796/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.jboss.weld.deployer] JBAS016002: Processing weld deployment test.war
INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] JNDI bindings for session bean named UserEJB in deployment unit deployment "test.war" are as follows:
java:global/test/UserEJB!es.uvigo.esei.dgss.letta.service.UserEJB
java:app/test/UserEJB!es.uvigo.esei.dgss.letta.service.UserEJB
java:module/UserEJB!es.uvigo.esei.dgss.letta.service.UserEJB
java:global/test/UserEJB
java:app/test/UserEJB
java:module/UserEJB
INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] JNDI bindings for session bean named user-caller in deployment unit deployment "test.war" are as follows:
java:global/test/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:app/test/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:module/user-caller!es.uvigo.esei.dgss.letta.service.util.security.RoleCaller
java:global/test/user-caller
java:app/test/user-caller
java:module/user-caller
INFO [org.jboss.weld.deployer] JBAS016005: Starting Services for CDI deployment: test.war
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.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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "EVENT" not found; SQL statement:
alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists [42102-173]
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] HHH000389: Unsuccessful: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Table "USERJOINSEVENT" not found; SQL statement:
alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists [42102-173]
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
Hibernate: create table Event (id integer generated by default as identity, date timestamp not null, eventType varchar(255) not null, location varchar(100) not null, shortDescription varchar(50) not null, title varchar(20) not null, creator varchar(20) not null, primary key (id))
Hibernate: create table Registration (uuid varchar(36) 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: create table UserJoinsEvent (user_id varchar(20) not null, event_id integer not null)
Hibernate: alter table Registration add constraint UK_t606w44qrdbvqy8lk0x3kb0se unique (email)
Hibernate: alter table User add constraint UK_e6gkqunxajvyxl5uctpl2vl2p unique (email)
Hibernate: alter table Event add constraint FK_n69mp18a4red6wjjq1lwrfkba foreign key (creator) references User
Hibernate: alter table UserJoinsEvent add constraint FK_q3x9wnvajgu114f10heh8fxsu foreign key (event_id) references Event
Hibernate: alter table UserJoinsEvent add constraint FK_gfheji77usjpw6gpe8n5icmyn foreign key (user_id) references User
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")
[33m19:00:51,854 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-16) 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.
[0mHibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.login=?
Hibernate: select user0_.login as login1_2_, user0_.email as email2_2_, user0_.password as password3_2_, user0_.role as role4_2_ from User user0_ where user0_.email=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.email=?
Hibernate: insert into Registration (email, login, password, role, uuid) values (?, ?, ?, ?, ?)
[33m19:00:52,208 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-29) 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.
[0mHibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.login=?
Hibernate: select user0_.login as login1_2_, user0_.email as email2_2_, user0_.password as password3_2_, user0_.role as role4_2_ from User user0_ where user0_.email=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.email=?
Hibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: insert into Registration (email, login, password, role, uuid) values (?, ?, ?, ?, ?)
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.login=?
[31m19:00:52,266 ERROR [org.dbunit.assertion.DbUnitAssert] (default task-29) org.dbunit.assertion.DbComparisonFailure[row count (table=REGISTRATION)expected:<6>but was:<5>]
[0m[33m19:00:52,412 WARN [org.dbunit.dataset.AbstractTableMetaData] (default task-32) 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.
[0mHibernate: select user0_.login as login1_2_0_, user0_.email as email2_2_0_, user0_.password as password3_2_0_, user0_.role as role4_2_0_ from User user0_ where user0_.login=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.login=?
Hibernate: select user0_.login as login1_2_, user0_.email as email2_2_, user0_.password as password3_2_, user0_.role as role4_2_ from User user0_ where user0_.email=?
Hibernate: select registrati0_.uuid as uuid1_1_, registrati0_.email as email2_1_, registrati0_.login as login3_1_, registrati0_.password as password4_1_, registrati0_.role as role5_1_ from Registration registrati0_ where registrati0_.email=?
[31m19:00:52,446 ERROR [org.dbunit.assertion.DbUnitAssert] (default task-32) org.dbunit.assertion.DbComparisonFailure[row count (table=REGISTRATION)expected:<6>but was:<5>]
[0mINFO [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: alter table Event drop constraint FK_n69mp18a4red6wjjq1lwrfkba if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_q3x9wnvajgu114f10heh8fxsu if exists
Hibernate: alter table UserJoinsEvent drop constraint FK_gfheji77usjpw6gpe8n5icmyn if exists
Hibernate: drop table Event if exists
Hibernate: drop table Registration if exists
Hibernate: drop table User if exists
Hibernate: drop table UserJoinsEvent if exists
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 78ms
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/a7/90a3e4fb4b7107a4b8f3a9885d3ba5c7077796/content
INFO [org.jboss.as.server] JBAS018558: Undeployed "test.war" (runtime-name: "test.war")
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.689 sec - in es.uvigo.esei.dgss.letta.service.UserEJBTest
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.jboss.as.connector.deployers.jdbc] JBAS010418: Stopped Driver service with driver-name = h2
INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
INFO [org.wildfly.extension.undertow] JBAS017521: Undertow HTTP listener default suspending
INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
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 [org.jboss.as] JBAS015950: WildFly 8.2.1.Final "Tweek" stopped in 188ms
Results :
Tests run: 16, 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.mail...
Loading source files for package es.uvigo.esei.dgss.letta.service...
Loading source files for package es.uvigo.esei.dgss.letta.service.exceptions...
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/mail/DefaultMailer.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/Mailer.html...
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/SearchEJB.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/UserEJB.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/EmailDuplicateException.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/LoginDuplicateException.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/overview-frame.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/es/uvigo/esei/dgss/letta/service/exceptions/package-frame.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/package-summary.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/package-tree.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/package-frame.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/package-summary.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/package-tree.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/constant-values.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/serialized-form.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/class-use/Mailer.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/class-use/DefaultMailer.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/UserEJB.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/class-use/SearchEJB.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/exceptions/class-use/EmailDuplicateException.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/class-use/LoginDuplicateException.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/package-use.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/exceptions/package-use.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/es/uvigo/esei/dgss/letta/service/mail/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/overview-summary.html...
Generating /var/lib/jenkins/workspace/LETTA/service/target/apidocs/help-doc.html...
[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