On 09/29/2011 02:45 PM, Cajus Pollmeier wrote:
Hi,
qpid-cpp tests depend on qpid-tools - which are not available inside of the
qpid-cpp distribution.
Yes, though they should be skipped if it is not present.
In turn the tests fail if you use a build service -
which starts from scratch all the time.
Hmm... its the start_server that seems to fail. Can you check whether
there is anything obvious in qpidd.log in <build-dir>/src/tests?
For the test scripts itself, it would be great to have /bin/bash instead of
/bin/sh, because they make use of bashism and will fail with other POSIX
compliant shells.
- Cajus
8<------------------------------------------------------------------------
make check-TESTS
make[4]: Entering directory `/«PKGBUILDDIR»/src/tests'
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Running 323 test cases...
***************************************************
*** No errors detected
PASS: unit_test
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: run_cluster_test
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: cluster_read_credit
FAIL: test_watchdog
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: run_cluster_tests
PASS: federated_cluster_test
PASS: clustered_replication_test
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: run_cluster_authentication_test
python tools absent - skipping sasl_fed.
PASS: sasl_fed
python tools absent - skipping sasl_fed_ex.
PASS: sasl_fed_ex_dynamic
python tools absent - skipping sasl_fed_ex.
PASS: sasl_fed_ex_link
python tools absent - skipping sasl_fed_ex.
PASS: sasl_fed_ex_queue
python tools absent - skipping sasl_fed_ex.
PASS: sasl_fed_ex_route
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: sasl_fed_ex_route_cluster
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: sasl_fed_ex_link_cluster
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: sasl_fed_ex_queue_cluster
WARNING: Skipping cluster tests, the aisexec or corosync daemon is not
running.
PASS: sasl_fed_ex_dynamic_cluster
No certutil, skipping ssl test
PASS: ssl_test
FAIL: start_broker
2011-09-29 12:58:10 warning Connect failed: Connection refused
2011-09-29 12:58:10 warning Connection closed
Connection closed
FAIL: qpid-client-test
2011-09-29 12:58:12 warning Connect failed: Connection refused
2011-09-29 12:58:12 warning Connection closed
Connection closed
FAIL: quick_perftest
/«PKGBUILDDIR»/src/tests/quick_topictest FAILED:
Start subscriber 1
Start subscriber 0
2011-09-29 12:58:14 warning Connect failed: Connection refused
2011-09-29 12:58:14 warning Connection closed
Connection closed
FAIL: quick_topictest
Skipping header test as python libs not found
PASS: run_header_test
2011-09-29 12:58:16 warning Connect failed: Connection refused
2011-09-29 12:58:16 warning Connection closed
Connection closed
FAIL: quick_txtest
Skipping python tests, no python dir.
PASS: python_tests
2011-09-29 12:58:16 critical Unexpected error: Error in environment variables:
in option 'port': invalid option value
Use --help to see valid options
FAIL: stop_broker
PASS: run_federation_tests
PASS: run_acl_tests
PASS: run_cli_tests
Skipping replication test, plugins not built or python utils not located
PASS: replication_test
Skipping python tests, no python dir.
PASS: dynamic_log_level_test
Skipping queue flow control tests, no python dir.
PASS: run_queue_flow_limit_tests
====================================
7 of 32 tests failed
Please report to [email protected]
====================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/src/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20110929-1458
8<------------------------------------------------------------------------
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]