Please apply DBUTILS-78_Future_v3.diff which I uploaded to JIRA. That should fix the race condition in the unit tests, and prevent GUMP from failing.
Thanks... Bill- On Tue, Sep 27, 2011 at 8:35 PM, Bill Speirs <bill.spe...@gmail.com> wrote: > Yea... it's a race condition, so it's not always going to trigger. > I've updated to the latest version from SVN, but that is still broken. > > I have a patch, but I guess it never made it through e-mail :-( > > I'll have to send it tomorrow from work, but I'll submit it via JIRA. > > Thanks... > > Bill- > > On Tue, Sep 27, 2011 at 6:00 PM, sebb <seb...@gmail.com> wrote: >> Test work OK for me with M221 and Java 1.5/1.6, but I get >> >> Test set: org.apache.commons.dbutils.AsyncQueryRunnerTest >> ------------------------------------------------------------------------------- >> Tests run: 33, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.813 >> sec <<< FAILURE! >> testGoodQuery(org.apache.commons.dbutils.AsyncQueryRunnerTest) Time >> elapsed: 0.078 sec <<< FAILURE! >> org.mockito.exceptions.verification.NeverWantedButInvoked: >> stmt.close(); >> Never wanted here: >> -> at >> org.apache.commons.dbutils.AsyncQueryRunnerTest.callGoodQuery(AsyncQueryRunnerTest.java:236) >> But invoked here: >> -> at org.apache.commons.dbutils.DbUtils.close(DbUtils.java:71) >> >> at >> org.apache.commons.dbutils.AsyncQueryRunnerTest.callGoodQuery(AsyncQueryRunnerTest.java:236) >> at >> org.apache.commons.dbutils.AsyncQueryRunnerTest.testGoodQuery(AsyncQueryRunnerTest.java:258) >> >> with >> >> java version "1.7.0" >> Java(TM) SE Runtime Environment (build 1.7.0-b147) >> Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing) >> >> >> On 27 September 2011 22:52, Simone Tripodi <simonetrip...@apache.org> wrote: >>> looks like the previous fix didn't work :( >>> Simo >>> >>> http://people.apache.org/~simonetripodi/ >>> http://www.99soft.org/ >>> >>> >>> >>> On Tue, Sep 27, 2011 at 10:41 PM, Gump <iss...@commons.apache.org> wrote: >>>> To whom it may engage... >>>> >>>> This is an automated request, but not an unsolicited one. For >>>> more information please visit http://gump.apache.org/nagged.html, >>>> and/or contact the folk at gene...@gump.apache.org. >>>> >>>> Project commons-dbutils has an issue affecting its community integration. >>>> This issue affects 1 projects. >>>> The current state of this project is 'Failed', with reason 'Build Failed'. >>>> For reference only, the following projects are affected by this: >>>> - commons-dbutils : Commons DbUtils >>>> >>>> >>>> Full details are available at: >>>> >>>> http://vmgump.apache.org/gump/public/apache-commons/commons-dbutils/index.html >>>> >>>> That said, some information snippets are provided here. >>>> >>>> The following annotations (debug/informational/warning/error messages) >>>> were provided: >>>> -DEBUG- Sole jar output [commons-dbutils-*[0-9T].jar] identifier set to >>>> project name >>>> -DEBUG- (Apache Gump generated) Apache Maven Settings in: >>>> /srv/gump/public/workspace/apache-commons/dbutils/gump_mvn_settings.xml >>>> -INFO- Failed with reason build failed >>>> -DEBUG- Maven POM in: >>>> /srv/gump/public/workspace/apache-commons/dbutils/pom.xml >>>> -INFO- Project Reports in: >>>> /srv/gump/public/workspace/apache-commons/dbutils/target/surefire-reports >>>> -DEBUG- Extracted fallback artifacts from Gump Repository >>>> >>>> >>>> >>>> The following work was performed: >>>> http://vmgump.apache.org/gump/public/apache-commons/commons-dbutils/gump_work/build_apache-commons_commons-dbutils.html >>>> Work Name: build_apache-commons_commons-dbutils (Type: Build) >>>> Work ended in a state of : Failed >>>> Elapsed: 24 secs >>>> Command Line: /opt/maven2/bin/mvn --batch-mode --settings >>>> /srv/gump/public/workspace/apache-commons/dbutils/gump_mvn_settings.xml >>>> package >>>> [Working Directory: /srv/gump/public/workspace/apache-commons/dbutils] >>>> M2_HOME: /opt/maven2 >>>> --------------------------------------------- >>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec >>>> Running org.apache.commons.dbutils.handlers.ArrayHandlerTest >>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec >>>> Running org.apache.commons.dbutils.handlers.ColumnListHandlerTest >>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec >>>> Running org.apache.commons.dbutils.handlers.BeanHandlerTest >>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec >>>> Running org.apache.commons.dbutils.handlers.BeanListHandlerTest >>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec >>>> Running org.apache.commons.dbutils.handlers.KeyedHandlerTest >>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec >>>> Running org.apache.commons.dbutils.ProxyFactoryTest >>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec >>>> Running org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSetTest >>>> Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec >>>> Running org.apache.commons.dbutils.wrappers.StringTrimmedResultSetTest >>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec >>>> Running org.apache.commons.dbutils.ResultSetIteratorTest >>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec >>>> Running org.apache.commons.dbutils.BeanProcessorTest >>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec >>>> Running org.apache.commons.dbutils.BasicRowProcessorTest >>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec >>>> Running org.apache.commons.dbutils.QueryLoaderTest >>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec >>>> Running org.apache.commons.dbutils.AsyncQueryRunnerTest >>>> Tests run: 33, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.861 sec >>>> <<< FAILURE! >>>> Running org.apache.commons.dbutils.QueryRunnerTest >>>> Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec >>>> >>>> Results : >>>> >>>> Failed tests: >>>> testGoodQueryPmdTrue(org.apache.commons.dbutils.AsyncQueryRunnerTest): >>>> testGoodQueryDefaultConstructor(org.apache.commons.dbutils.AsyncQueryRunnerTest): >>>> >>>> Tests run: 149, Failures: 2, Errors: 0, Skipped: 0 >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] There are test failures. >>>> >>>> Please refer to >>>> /srv/gump/public/workspace/apache-commons/dbutils/target/surefire-reports >>>> for the individual test results. >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] For more information, run Maven with the -e switch >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 23 seconds >>>> [INFO] Finished at: Tue Sep 27 20:41:16 UTC 2011 >>>> [INFO] Final Memory: 40M/97M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> --------------------------------------------- >>>> >>>> To subscribe to this information via syndicated feeds: >>>> - RSS: >>>> http://vmgump.apache.org/gump/public/apache-commons/commons-dbutils/rss.xml >>>> - Atom: >>>> http://vmgump.apache.org/gump/public/apache-commons/commons-dbutils/atom.xml >>>> >>>> ============================== Gump Tracking Only === >>>> Produced by Apache Gump(TM) version 2.3. >>>> Gump Run 05001827092011, vmgump.apache.org:vmgump:05001827092011 >>>> Gump E-mail Identifier (unique within run) #1. >>>> >>>> -- >>>> Apache Gump >>>> http://gump.apache.org/ [Instance: vmgump] >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>> For additional commands, e-mail: dev-h...@commons.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org