qpid-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Qpid-Java-Java-BDB-TestMatrix » JDK 1.6 (latest),Ubuntu,java-bdb.0-10 #1274
Date Tue, 04 Feb 2014 11:14:52 GMT
See <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/1274/changes>

Changes:

[aconway] QPID-5528: HA add missing QPID_BROKER_EXTERN declarations.

Missing from previous commit
 r1564010 | QPID-5528: HA Clean up error messages around rolled-back transactions.

[aconway] QPID-5528: HA Clean up error messages around rolled-back transactions.

A simple transaction test on a 3 node cluster generates a lot of errors and
rollback messages in the broker logs even though the test code never rolls back a
transaction. E.g.

  qpid-cluster-benchmark -b 20.0.20.200 -n1 -m 1000 -q3 -s2 -r2 --send-arg=--tx --send-arg=10
--receive-arg=--tx --receive-arg=10

The errors are caused by queues being deleted while backup brokers are using
them. This happens a lot in the transaction test because a transactional session
must create a new transaction when the previous one closes. When the session
closes the open transaction is rolled back automatically. Thus there is almost
always an empty transaction that is created then immediately rolled back at the
end of the session. Backup brokers may still be in the process of subscribing to
the transaction's replication queue at this point, causing (harmlesss) errors.

This commit takes the following steps to clean up the unwanted error and rollback messages:

HA TX messages cleaned up:
- Remove log messages about rolling back/destroying empty transactions.
- Remove misleading "backup disconnected" message for cancelled transactions.
- Remove spurious warning about ignored unreplicated dequeues.
- Include TxReplicator destroy in QueueReplicator mutex, idempotence check before destroy.

Allow HA to suppress/modify broker exception logging:
- Move broker exception logging into ErrorListener
- Every SessionHandler has DefaultErrorListener that does the same logging as before.
- Added SessionHandlerObserver to allow plugins to change the error listener.
- HA plugin set ErrorListeners to log harmless exceptions as HA debug messages.

Unrelated cleanup:
- Broker now logs "incoming execution exceptions" as debug messages rather than ignoring.
- Exception prefixes: don't add the prefix if already present.

The exception test above should now pass without errors or rollback messages in the logs.

[gsim] NO-JIRA: minor additions to readme

------------------------------------------
[...truncated 6164 lines...]
test:
     [echo] Using profile:java-bdb.0-10
    [junit] Running org.apache.qpid.server.store.berkeleydb.jmx.BDBHAMessageStoreManagerMBeanTest
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
     [echo] Running ant for module : bdbstore/jmx

touch-failed:
     [echo] Running ant for module : bdbstore/systests

prepare:

precompile:

compile:
     [echo] Targeting : 1.6

copy-extra-resources:
     [echo] Copying extra resources from <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/bdbstore/src/test/resources>
to <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/build/scratch/bdbstore/systests/classes...>

copy-resources:

copy-project-resources-metainf:

copy-module-resources-metainf:

copy-module-src-resources-metainf:

copy-files-to-module-metainf:

jar.manifest:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

copy-test-resources:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

copy-broker-plugin-jars-deps:

copy-broker-plugin-jars:

build:

test:
     [echo] Using profile:java-bdb.0-10
    [junit] Running org.apache.qpid.server.store.berkeleydb.BDBBackupTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.552 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.BDBMessageStoreTest
    [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 1.613 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.BDBUpgradeTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 7.599 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.HAClusterBlackboxTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 22.928 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.HAClusterManagementTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 99.099 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.HAClusterTwoNodeTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 139.493 sec
    [junit] Running org.apache.qpid.server.store.berkeleydb.HAClusterWhiteboxTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 75.83 sec
     [echo] Running ant for module : bdbstore/systests

touch-failed:
     [echo] Running ant for module : perftests/visualisation-jfc

checkjfree-request-props:
     [echo] Running ant for module : perftests/visualisation-jfc

jfree-licence-note:
     [echo] *NOTE* The JFreeChart and JFreeCommon libraries required by this optional module
are licensed under the LGPL Licence, which is not compatible with the Apache Licence v2.0.
     [echo] 
     [echo] For a copy of the LGPL Licence, please see:
     [echo] http://www.gnu.org/licenses/lgpl.html
     [echo]        

download-ivy:

load-ivy:

configure-ivy:
[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/ivysettings.retrieve.xml>

download-jfree:
     [echo] Resolving and retrieving dependencies...
[ivy:resolve] :: resolving dependencies :: org/apache#qpid;0.27
[ivy:resolve] 	confs: [jfree]
[ivy:resolve] 	found jfree#jfreechart;1.0.13 in m2repo
[ivy:resolve] 	found jfree#jcommon;1.0.16 in m2repo
[ivy:resolve] :: resolution report :: resolve 111ms :: artifacts dl 2ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|       jfree      |   2   |   0   |   0   |   0   ||   2   |   0   |
	---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org/apache#qpid [sync]
[ivy:retrieve] 	confs: [jfree]
[ivy:retrieve] 	0 artifacts copied, 2 already retrieved (0kB/3ms)

check-jfree-jars:

jfree-licence-note-optional:

jfree-jar-required:

checkcsvjdbc-request-props:
     [echo] Running ant for module : perftests/visualisation-jfc

csvjdbc-licence-note:
     [echo] *NOTE* The CSVJDBC library required by this optional module is licensed under
the LGPL Licence, which is not compatible with the Apache Licence v2.0.
     [echo] 
     [echo] For a copy of the LGPL Licence, please see:
     [echo] http://www.gnu.org/licenses/lgpl.html
     [echo]        

download-ivy:

load-ivy:

configure-ivy:
[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/ivysettings.retrieve.xml>

download-csvjdbc:
     [echo] Resolving and retrieving dependencies...
[ivy:resolve] :: resolving dependencies :: org/apache#qpid;0.27
[ivy:resolve] 	confs: [csvjdbc]
[ivy:resolve] 	found net.sourceforge.csvjdbc#csvjdbc;1.0.8 in csvjdbc
[ivy:resolve] :: resolution report :: resolve 74ms :: artifacts dl 1ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      csvjdbc     |   1   |   0   |   0   |   0   ||   1   |   0   |
	---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org/apache#qpid [sync]
[ivy:retrieve] 	confs: [csvjdbc]
[ivy:retrieve] 	0 artifacts copied, 1 already retrieved (0kB/3ms)

check-csvjdbc-jars:

csvjdbc-licence-note-optional:

csvjdbc-jar-required:

prepare:

precompile:

compile:
     [echo] Targeting : 1.6

jar.manifest:
      [jar] Building jar: <https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/build/lib/qpid-perftests-visualisation-jfc-0.27.jar>

copy-extra-resources:

copy-resources:

copy-project-resources-metainf:

copy-module-resources-metainf:

copy-module-src-resources-metainf:

copy-files-to-module-metainf:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

copy-test-resources:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

copy-broker-plugin-jars-deps:

copy-broker-plugin-jars:

module.build:

build:

test:
     [echo] Using profile:java-bdb.0-10
    [junit] Running org.apache.qpid.disttest.charting.chartbuilder.BaseChartBuilderTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.75 sec
    [junit] Running org.apache.qpid.disttest.charting.chartbuilder.ChartBuilderFactoryTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
    [junit] Running org.apache.qpid.disttest.charting.chartbuilder.ChartProductionTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.968 sec
    [junit] Running org.apache.qpid.disttest.charting.chartbuilder.ColorFactoryTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
    [junit] Running org.apache.qpid.disttest.charting.chartbuilder.TimeSeriesBuilderCallbackTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
    [junit] Running org.apache.qpid.disttest.charting.definition.ChartingDefinitionCreatorTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.056 sec
    [junit] Running org.apache.qpid.disttest.charting.definition.SeriesDefinitionCreatorTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
    [junit] Running org.apache.qpid.disttest.charting.seriesbuilder.JdbcSeriesBuilderTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.131 sec
    [junit] Running org.apache.qpid.disttest.charting.seriesbuilder.JdbcUrlGeneratorTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
    [junit] Running org.apache.qpid.disttest.charting.seriesbuilder.SeriesRowTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
    [junit] Running org.apache.qpid.disttest.charting.writer.ChartWriterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.285 sec
     [echo] Running ant for module : perftests/visualisation-jfc

touch-failed:

BUILD FAILED
<https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/ws/trunk/qpid/java/build.xml>:107:
TEST SUITE FAILED

Total time: 24 minutes 10 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results

Mime
View raw message