cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: Cayenne-trunk » HSQLDB,JDK 1.6 (latest),Ubuntu #327
Date Mon, 14 Jun 2010 16:02:51 GMT
See <http://hudson.zones.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/327/changes>

Changes:

[aadamchik] DI-enabled unit tests

* implementing DataNode injection
* implementing closure-based query blocker
* switching test stacks to the new injectable testing:
	testmap (partial switch, as it is huge)

[aadamchik] CAY-1447 Switch ROP client to dependency injection

* undoing CayenneRuntime renaming to Runtime... Runtime by itself is too confusing
  and conflicted in a few places with java.lang.Runtime

[aadamchik] DI-enabled unit tests

* a simple framework for DI-based unit testing
* allowing annotations of non-public classes
* a better startup logging
* adding logging to DBHelper
* deleting "inheritance-map" stack that was attempting to deal with horizontal inheritance
* switching test stacks to the new injectable testing:
	inheritance-vertical,
	inheritance-single-table1
	quoted-identifiers

[aadamchik] refactoring and cleanup

* javadocs
* DIBootstrap new convenience method
* unused test class

------------------------------------------
[...truncated 69929 lines...]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1793, 2->ID_CLOB:221, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1794, 2->ID_CLOB:286, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1795, 2->ID_CLOB:264, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1796, 2->ID_CLOB:293, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1797, 2->ID_CLOB:294, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1798, 2->ID_CLOB:265, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ID:1799, 2->ID_CLOB:248, 3->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: SELECT t0.CLOB_TEST_ID, t0.CLOB_COL FROM CLOB_TEST t0 JOIN CLOB_TEST_RELATION t1 ON
(t0.CLOB_TEST_ID = t1.ID_CLOB) WHERE t1.VALUE = ? [bind: 1->VALUE:100]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logSelectCount
INFO: === returned 25 rows. - took 5 ms.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.69 sec
Running org.apache.cayenne.access.DataContextQueryCachingTest
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 2 queries.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33001, 'aaa')
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES
(33001, 'P', 33001, 4000)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: SELECT t0.DATE_OF_BIRTH, t0.ARTIST_ID, t0.ARTIST_NAME FROM ARTIST t0
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logSelectCount
INFO: === returned 1 row. - took 0 ms.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: update ARTIST set ARTIST_NAME = 'bbb' where ARTIST_ID = 33001
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: SELECT t0.DATE_OF_BIRTH, t0.ARTIST_ID, t0.ARTIST_NAME FROM ARTIST t0
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logSelectCount
INFO: === returned 1 row. - took 0 ms.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.cayenne.access.NestedDataContextParentPeerEventsTest
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO ARTIST (ARTIST_ID, ARTIST_NAME, DATE_OF_BIRTH) VALUES (?, ?, ?)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:256, 2->ARTIST_NAME:'X', 3->DATE_OF_BIRTH:NULL]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: UPDATE ARTIST SET ARTIST_NAME = ? WHERE ARTIST_ID = ?
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_NAME:'Y', 2->ARTIST_ID:256]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 2 queries.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO ARTIST (ARTIST_ID, ARTIST_NAME, DATE_OF_BIRTH) VALUES (?, ?, ?)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:257, 2->ARTIST_NAME:'X', 3->DATE_OF_BIRTH:NULL]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:258, 2->ARTIST_NAME:'Y', 3->DATE_OF_BIRTH:NULL]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO PAINTING (ARTIST_ID, ESTIMATED_PRICE, GALLERY_ID, PAINTING_DESCRIPTION,
PAINTING_ID, PAINTING_TITLE) VALUES (?, ?, ?, ?, ?, ?)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:257, 2->ESTIMATED_PRICE:NULL, 3->GALLERY_ID:NULL, 4->PAINTING_DESCRIPTION:NULL,
5->PAINTING_ID:246, 6->PAINTING_TITLE:'PPP']
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: UPDATE PAINTING SET ARTIST_ID = ? WHERE PAINTING_ID = ?
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:258, 2->PAINTING_ID:246]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 2 queries.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO ARTIST (ARTIST_ID, ARTIST_NAME, DATE_OF_BIRTH) VALUES (?, ?, ?)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:259, 2->ARTIST_NAME:'X', 3->DATE_OF_BIRTH:NULL]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: INSERT INTO PAINTING (ARTIST_ID, ESTIMATED_PRICE, GALLERY_ID, PAINTING_DESCRIPTION,
PAINTING_ID, PAINTING_TITLE) VALUES (?, ?, ?, ?, ?, ?)
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:NULL, 2->ESTIMATED_PRICE:NULL, 3->GALLERY_ID:NULL, 4->PAINTING_DESCRIPTION:NULL,
5->PAINTING_ID:247, 6->PAINTING_TITLE:'PY']
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:259, 2->ESTIMATED_PRICE:NULL, 3->GALLERY_ID:NULL, 4->PAINTING_DESCRIPTION:NULL,
5->PAINTING_ID:248, 6->PAINTING_TITLE:'PX']
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: UPDATE PAINTING SET ARTIST_ID = ? WHERE PAINTING_ID = ?
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logQueryParameters
INFO: [bind: 1->ARTIST_ID:259, 2->PAINTING_ID:247]
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logUpdateCount
INFO: === updated 1 row.
Jun 14, 2010 4:02:30 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Jun 14, 2010 4:02:31 PM org.apache.cayenne.access.QueryLogger logQueryStart
INFO: --- will run 1 query.
Jun 14, 2010 4:02:31 PM org.apache.cayenne.access.QueryLogger logBeginTransaction
INFO: --- transaction started.
Jun 14, 2010 4:02:31 PM org.apache.cayenne.access.QueryLogger logQuery
INFO: SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID, t0.PAINTING_DESCRIPTION, t0.ESTIMATED_PRICE,
t0.PAINTING_TITLE FROM PAINTING t0 WHERE t0.ARTIST_ID = ? [bind: 1->ARTIST_ID:259]
Jun 14, 2010 4:02:31 PM org.apache.cayenne.access.QueryLogger logSelectCount
INFO: === returned 2 rows. - took 0 ms.
Jun 14, 2010 4:02:31 PM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.914 sec
Running org.apache.cayenne.DataRowTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.cayenne.access.types.EnumTypeTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.cayenne.access.CustomQueryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

Failed tests: 
  testDeleteSameEntityQualifier(org.apache.cayenne.access.DataContextEJBQLDeleteTest)

Tests run: 2056, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://hudson.zones.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to <http://hudson.zones.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <http://hudson.zones.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 9 seconds
[INFO] Finished at: Mon Jun 14 16:02:31 UTC 2010
[INFO] Final Memory: 70M/420M
[INFO] ------------------------------------------------------------------------
Recording test results


Mime
View raw message