See
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/478/>
------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA JEST
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target>
[INFO] [buildnumber:create {execution: default}]
[INFO] [enforcer:enforce {execution: default}]
[INFO] [checkstyle:checkstyle {execution: default}]
[INFO] Starting audit...
Audit done.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 25 source files to
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/classes>
[INFO] [compiler:testCompile {execution: test-source-compile}]
[INFO] Compiling 4 source files to
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/test-classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
enhance:
enhance.all.entities:
[echo] running enhancer
87 test-jest INFO [pool-1-thread-1 for channel] openjpa.Tool - Enhancer
running on type "class demo.DataLoader".
174 test-jest INFO [pool-1-thread-1 for channel] openjpa.Tool - Enhancer
running on type "class demo.Actor".
265 test-jest INFO [pool-1-thread-1 for channel] openjpa.Tool - Enhancer
running on type "class demo.Movie".
288 test-jest INFO [pool-1-thread-1 for channel] openjpa.Tool - Enhancer
running on type "class demo.Actor$Gender".
291 test-jest INFO [pool-1-thread-1 for channel] openjpa.Tool - No metadata
was found for 2 classes; they have been enhanced as persistence-aware. If you
intended for any of these classes to be persistence-capable, then this means
that OpenJPA could not find any metadata for those classes. This can happen if
the directory containing your metadata is not in your CLASSPATH, or if your
metadata files are not named properly. See the documentation on metadata
placement for more information. Persistence-aware classes: [class
demo.DataLoader, class demo.Actor$Gender]
[INFO] Executed tasks
[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.openjpa.persistence.jest.TestJEST
Starting Servlet Container from WEB-INF/web.xml
Base URI http://localhost/jest
Standalone Deployment Mode true
Creating Standalone Persistent Unit test-jest
24 test-jest INFO [main] openjpa.Runtime - Starting OpenJPA 2.4.1-SNAPSHOT
105 test-jest INFO [main] openjpa.jdbc.JDBC - Using dictionary class
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
1306 test-jest INFO [main] openjpa.jdbc.JDBC - Connected to Apache Derby
version 10.10 using JDBC driver Apache Derby Embedded JDBC Driver version
10.8.2.2 - (1181258).
2006 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 4896844 CREATE TABLE Actor (id VARCHAR(255) NOT NULL, dob
TIMESTAMP, firstName VARCHAR(255), gender SMALLINT, lastName VARCHAR(255),
PARTNER_ID VARCHAR(255), PRIMARY KEY (id))
2054 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[48 ms] spent
2055 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 26426059 CREATE TABLE Actor_Movie (ACTOR_ID VARCHAR(255),
MOVIES_ID VARCHAR(255))
2060 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[5 ms] spent
2060 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 2456372 CREATE TABLE Movie (id VARCHAR(255) NOT NULL, title
VARCHAR(255), YEAR0 INTEGER, PRIMARY KEY (id))
2078 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[18 ms] spent
2079 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 22129680 CREATE TABLE Movie_Actor (MOVIE_ID VARCHAR(255),
ACTORS_ID VARCHAR(255))
2084 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[5 ms] spent
2084 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 20050612 CREATE INDEX I_ACTOR_PARTNER ON Actor (PARTNER_ID)
2094 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[10 ms] spent
2094 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 1008536 CREATE INDEX I_CTR_MOV_ACTOR_ID ON Actor_Movie
(ACTOR_ID)
2102 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[8 ms] spent
2102 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 5884085 CREATE INDEX I_CTR_MOV_ELEMENT ON Actor_Movie
(MOVIES_ID)
2110 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[8 ms] spent
2111 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 1810905 CREATE INDEX I_MV_CTOR_ELEMENT ON Movie_Actor
(ACTORS_ID)
2118 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[7 ms] spent
2119 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
executing stmnt 11780687 CREATE INDEX I_MV_CTOR_MOVIE_ID ON Movie_Actor
(MOVIE_ID)
2129 test-jest TRACE [main] openjpa.jdbc.SQL - <t 25799861, conn 27901603>
[10 ms] spent
Created Standalone Persistent Unit
test-jest:org.apache.openjpa.persistence.EntityManagerFactoryImpl@6937f9
JEST Servlet is initialized for "test-jest" persistence unit.
line 2 column 1 - Error: <metamodel> is not recognized!
line 3 column 3 - Error: <entity> is not recognized!
line 4 column 5 - Error: <id> is not recognized!
line 5 column 6 - Error: <basic> is not recognized!
line 6 column 6 - Error: <basic> is not recognized!
line 7 column 6 - Error: <basic> is not recognized!
line 8 column 6 - Error: <enum> is not recognized!
This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<metamodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<entity name="Actor">
<id type="String">id</id>
<basic type="Date">dob</basic>
<basic type="String">firstName</basic>
<basic type="String">lastName</basic>
<enum type="Gender">gender</enum>
<one-to-one type="Actor">partner</one-to-one>
<one-to-many member-type="Movie" type="Set">movies</one-to-many>
</entity>
<entity name="Movie">
<id type="String">id</id>
<basic type="String">title</basic>
<basic type="int">year</basic>
<one-to-many member-type="Actor" type="Set">actors</one-to-many>
</entity>
<uri>http://localhost/jest/domain</uri>
<description>JEST domain command prints the persistent domain
model</description>
</metamodel>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.842 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/openjpa-jest-2.4.1-SNAPSHOT.jar>
[INFO] [jar:jar {execution: default-jar}]
[INFO] [jar:test-jar {execution: attach-tests}]
[INFO] Building jar:
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/openjpa-jest-2.4.1-SNAPSHOT-tests.jar>
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-jest-2.4.1-SNAPSHOT.jar
[INFO] Checking legal files in: openjpa-jest-2.4.1-SNAPSHOT-tests.jar
[INFO] [apache-rat:check {execution: default}]
[INFO] Exclude: **/.*/**
[INFO] Exclude: **/target/**/*
[INFO] [install:install {execution: default-install}]
[INFO] Installing
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/openjpa-jest-2.4.1-SNAPSHOT.jar>
to
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openjpa/openjpa-jest/2.4.1-SNAPSHOT/openjpa-jest-2.4.1-SNAPSHOT.jar
[INFO] Installing
<https://builds.apache.org/job/OpenJPA-trunk-deploy/org.apache.openjpa$openjpa-jest/ws/target/openjpa-jest-2.4.1-SNAPSHOT-tests.jar>
to
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openjpa/openjpa-jest/2.4.1-SNAPSHOT/openjpa-jest-2.4.1-SNAPSHOT-tests.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'de416f04e9b6f2c096d2f7c1f4249aa670f51405'; remote =
'5f53d48f4fecc46bd68bd1a1e35b18d37e93d9d6' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'de416f04e9b6f2c096d2f7c1f4249aa670f51405'; remote =
'5f53d48f4fecc46bd68bd1a1e35b18d37e93d9d6' - IGNORING
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/openjpa/openjpa-jest/2.4.1-SNAPSHOT/openjpa-jest-2.4.1-20150506.064828-3.jar
217K uploaded (openjpa-jest-2.4.1-20150506.064828-3.jar)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
https://repository.apache.org/content/repositories/snapshots/org/apache/openjpa/openjpa-jest/2.4.1-SNAPSHOT/openjpa-jest-2.4.1-20150506.064828-3.jar.md5.
Return code is: 502
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43 minutes 56 seconds
[INFO] Finished at: Wed May 06 07:31:53 UTC 2015
[INFO] Final Memory: 190M/641M
[INFO] ------------------------------------------------------------------------