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-Python-Java-Test #811
Date Tue, 04 Feb 2014 05:36:55 GMT
See <https://builds.apache.org/job/Qpid-Python-Java-Test/811/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

[pmoravec] QPID-5519: ACL property/properties for paged queues - fixed typo, added tests and
documentation

[pmoravec] QPID-5534: [C++ broker] Headers exchange can route a message to one queue multiple
times

------------------------------------------
[...truncated 2471 lines...]
jar-tests:
      [jar] Building MANIFEST-only jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-broker-plugins-websocket-tests-0.27.jar

jar-sources:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-broker-plugins-websocket-0.27-sources.jar

libs:

copy-bin:

copy-etc:

postbuild:

copy-broker-plugin-jars-deps:

copy-broker-plugin-jars:
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/broker-plugins/lib

build:
     [echo] Running ant for module : systests

prepare:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/src
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/api/systests
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/test-api/systests
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/results/systests

precompile:

compile:
     [echo] Targeting : 1.6
    [javac] Compiling 207 source files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 3 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8En
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes/org/apache/qpid/test/unit/message/UTF8En
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Jp
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes/org/apache/qpid/test/unit/message/UTF8Jp
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/systests.log4j
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes/systests.log4j

copy-extra-resources:

copy-resources:
     [echo] Copying resources from /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/resources
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/classes...

copy-project-resources-metainf:
     [copy] Copying 3 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/META-INF

copy-module-resources-metainf:

copy-module-src-resources-metainf:
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/META-INF

copy-files-to-module-metainf:

jar.manifest:

jar.nomanifest:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-systests-0.27.jar

jar:

precompile-tests:

compile-tests:
    [javac] Compiling 207 source files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 3 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8En
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes/org/apache/qpid/test/unit/message/UTF8En
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Jp
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes/org/apache/qpid/test/unit/message/UTF8Jp
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/systests/src/main/java/systests.log4j
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/systests/test/classes/systests.log4j

copy-test-resources:

jar-tests:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-systests-tests-0.27.jar

jar-sources:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-systests-0.27-sources.jar

libs:

copy-bin:

copy-etc:
     [copy] Copying 15 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/etc

postbuild:

copy-broker-plugin-jars-deps:

copy-broker-plugin-jars:

build:
     [echo] Running ant for module : perftests

prepare:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/src
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/api/perftests
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/test-api/perftests
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/results/perftests

precompile:

compile:
     [echo] Targeting : 1.6
    [javac] Compiling 93 source files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes
    [javac] Note: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/disttest/jms/ControllerJmsDelegate.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 2 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/main/java/json2.js
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes/json2.js
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/main/java/test-utils.js
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes/test-utils.js

copy-extra-resources:

copy-resources:
     [echo] Copying resources from /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/main/resources
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes...
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/classes

copy-project-resources-metainf:
     [copy] Copying 3 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/META-INF

copy-module-resources-metainf:

copy-module-src-resources-metainf:

copy-files-to-module-metainf:

jar.manifest:

jar.nomanifest:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-perftests-0.27.jar

jar:

precompile-tests:

compile-tests:
    [javac] Compiling 62 source files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 12 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/disttest/controller/config/ConfigReaderTest-test-config.js
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/disttest/controller/config/ConfigReaderTest-test-config.js
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/disttest/controller/config/JavaScriptConfigEvaluatorTest-test-config.js
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/disttest/controller/config/JavaScriptConfigEvaluatorTest-test-config.js
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/disttest/controller/config/sampleConfig.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/disttest/controller/config/sampleConfig.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/disttest/results/formatting/expectedOutput.csv
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/disttest/results/formatting/expectedOutput.csv
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controllerandclient/iteratingFeature.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controllerandclient/iteratingFeature.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controllerandclient/produceClient.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controllerandclient/produceClient.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controllerandclient/producerAndConsumerInSeparateClients.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controllerandclient/producerAndConsumerInSeparateClients.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controllerandclient/producerAndThreeConsumersInSeparateClients.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controllerandclient/producerAndThreeConsumersInSeparateClients.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controllerandclient/testWithTwoTests.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controllerandclient/testWithTwoTests.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/controlleronly/distributedControllerTest.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/controlleronly/distributedControllerTest.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/endtoend/endtoend.json
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/endtoend/endtoend.json
     [copy] Copying /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/perftests/src/test/java/org/apache/qpid/systest/disttest/perftests.systests.properties
to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/scratch/perftests/test/classes/org/apache/qpid/systest/disttest/perftests.systests.properties

copy-test-resources:

jar-tests:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-perftests-tests-0.27.jar

jar-sources:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-perftests-0.27-sources.jar

libs:
     [copy] Copying 1 file to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib

copy-bin:

copy-etc:
     [copy] Copying 52 files to /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/etc

postbuild:

copy-broker-plugin-jars-deps:

copy-broker-plugin-jars:

build:

check-manifest:

manifest:
      [jar] Building jar: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/java/build/lib/qpid-all.jar

BUILD SUCCESSFUL
Total time: 51 seconds
[Qpid-Python-Java-Test] $ /bin/bash -xe /tmp/hudson7332686965982597973.sh
++ ps -ef
++ grep org.apache.qpid.server.Main
++ grep -v grep
++ awk '{print $2}'
+ oldpid=
+ '[' '' ']'
+ pwd
/x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test
+ cd trunk/qpid/python
+ ulimit -n
40000
+ ulimit -n 1024
+ ulimit -n
1024
+ port=25672
++ pwd
+ CONFIG_JSON=/x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
+ cat
+ echo Config json: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
Config json: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
+ ls -la /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
-rw-r--r-- 1 jenkins jenkins 498 Feb  4 05:32 /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
+ ant -file qpid-python-test-ant.xml -Dqpid.executable=../java/build/bin/qpid-server '-Dpython.test.ignore=-I../java/test-profiles/python_tests/Java010PythonExcludes
-I../java/test-profiles/python_tests/JavaPre010PythonExcludes' '-Dpython.test.modules=-m qpid_tests.broker_0_10
-m qpid_tests.broker_0_9 -m qpid_tests.broker_0_8 -m qmf.console' -Dqpid.port=25672 '-Dqpid.executable.args=-sp
/x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json -st
json' test
Buildfile: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/qpid-python-test-ant.xml

clean:
   [delete] Deleting directory /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/build/results
   [delete] Deleting directory /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/build/work

init:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/build/results
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/build/work

ensure-port-free:

start-broker:
     [echo] Starting Qpid with ../java/build/bin/qpid-server -sp /x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/config.json
-st json

run-tests:
     [echo] Running test-suite
     [exec] Result: 1

stop-broker:
     [echo] Stopping Qpid 20693

kill-broker:

report:

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/qpid-python-test-ant.xml:113:
Test(s) failed

Total time: 4 minutes 8 seconds
Build step 'Execute shell' 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