You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2008/05/30 02:41:45 UTC

[jira] Created: (QPID-1105) Patches and additions to port to Windows

Patches and additions to port to Windows
----------------------------------------

                 Key: QPID-1105
                 URL: https://issues.apache.org/jira/browse/QPID-1105
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker, C++ Client, Code Generator
    Affects Versions: M3
         Environment: Windows, Visual Studio .NET 2005 (aka VC8)
            Reporter: Steve Huston
         Attachments: windows_port_changes.diff

I'm attaching three files with:

1. Patches to trunk svn version (last updated this morning), windows_port_changes.diff
2. Files added for this work, qpid_new_files.tar.gz
3. Description of what's changed, WINDOWS_BUILD_NOTES
   Note that one file, qpid/cpp/src/qpid/sys/posix/IOHandle.cpp, is removed.

The state of things I see here when building on Linux (RHEL 4) is that the C++ broker, client, and tests all build. For tests (make check) I get:

Running 88 test cases...
2008-may-29 18:44:43 error framing-error: Frame size too small 0 (qpid/framing/AMQFrame.cpp:81)
2008-may-29 18:44:43 error Exception in client dispatch thread: Exception: Connection closed by broker

*** No errors detected
==26547== Memcheck, a memory error detector.
==26547== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==26547== Using LibVEX rev 1367, a library for dynamic binary translation.
==26547== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==26547== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==26547== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==26547==
==26547== My PID = 26547, parent PID = 26543.  Prog and args are:
==26547==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-unit_test
==26547== For more details, rerun with: -v

( a long list of valgrind issues and leaks)

==26547==
==26547== LEAK SUMMARY:
==26547==    definitely lost: 2880 bytes in 20 blocks.
==26547==    indirectly lost: 23810595 bytes in 779 blocks.
==26547==      possibly lost: 459355 bytes in 11 blocks.
==26547==    still reachable: 16 bytes in 1 blocks.
==26547==         suppressed: 0 bytes in 0 blocks.
Valgrind reported errors in ; see above.
FAIL: unit_test

then a long list of OK...

OK (82)
PASS: run-unit-tests
PASS: start_broker
==26745==    definitely lost: 144 bytes in 1 blocks.
==26745==    indirectly lost: 2032789 bytes in 66 blocks.
==26745==      possibly lost: 131222 bytes in 3 blocks.

( another long list of memory leaks )

Found memory leaks (see log file, ./client_test.vglog); see above.
FAIL: client_test
PublishThread exception: Exception: Connection closed by broker
==26805==    definitely lost: 144 bytes in 1 blocks.
==26805==    indirectly lost: 1967254 bytes in 65 blocks.
==26805==      possibly lost: 201711 bytes in 101 blocks.
==26805== Memcheck, a memory error detector.
==26805== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==26805== Using LibVEX rev 1367, a library for dynamic binary translation.
==26805== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==26805== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==26805== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==26805==
==26805== My PID = 26805, parent PID = 26795.  Prog and args are:
==26805==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-perftest
==26805==    --summary
==26805==    --count
==26805==    100
==26805== For more details, rerun with: -v

(long list of leaks)

==26805==
==26805== LEAK SUMMARY:
==26805==    definitely lost: 144 bytes in 1 blocks.
==26805==    indirectly lost: 1967254 bytes in 65 blocks.
==26805==      possibly lost: 201711 bytes in 101 blocks.
==26805==    still reachable: 6710186 bytes in 408 blocks.
==26805==         suppressed: 0 bytes in 0 blocks.
Found memory leaks (see log file, ./perftest.vglog); see above.
FAIL: quick_perftest
PASS: quick_topictest

then a long sequence of this message repeated many times but from different files and line numbers:
/home/shuston/qpid/trunk/qpid/python/qpid/datatypes.py:128: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
  self.value = value & 0xFFFFFFFF

then a bunch of ERRORs:

test_broker_connectivity (tests_0-10.management.ManagementTest) ... ERROR
test_self_session_id (tests_0-10.management.ManagementTest) ... ERROR
test_standard_exchanges (tests_0-10.management.ManagementTest) ... ERROR
test_system_object (tests_0-10.management.ManagementTest) ... ERROR
test_example (tests_0-10.example.ExampleTest) ... ERROR
test_auto_rollback (tests_0-10.tx.TxTests) ... ERROR
test_commit (tests_0-10.tx.TxTests) ... ERROR
test_rollback (tests_0-10.tx.TxTests) ... ERROR
test_ack_message_from_deleted_queue (tests_0-10.persistence.PersistenceTests) ... ERROR
test_delete_queue_after_publish (tests_0-10.persistence.PersistenceTests) ... ERROR
test_queue_deletion (tests_0-10.persistence.PersistenceTests) ... ERROR
test_bad_resume (tests_0-10.dtx.DtxTests) ... ERROR
test_commit_unknown (tests_0-10.dtx.DtxTests) ... ERROR
test_end (tests_0-10.dtx.DtxTests) ... ERROR
test_end_suspend_and_fail (tests_0-10.dtx.DtxTests) ... ERROR
test_end_unknown_xid (tests_0-10.dtx.DtxTests) ... ERROR
test_forget_xid_on_completion (tests_0-10.dtx.DtxTests) ... ERROR
test_get_timeout (tests_0-10.dtx.DtxTests) ... ERROR
test_get_timeout_unknown (tests_0-10.dtx.DtxTests) ... ERROR
test_implicit_end (tests_0-10.dtx.DtxTests) ... ERROR
test_invalid_commit_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
test_invalid_commit_one_phase_false (tests_0-10.dtx.DtxTests) ... ERROR
test_invalid_commit_one_phase_true (tests_0-10.dtx.DtxTests) ... ERROR
test_invalid_prepare_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
test_invalid_rollback_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
test_prepare_unknown (tests_0-10.dtx.DtxTests) ... ERROR
test_rollback_unknown (tests_0-10.dtx.DtxTests) ... ERROR
test_select_required (tests_0-10.dtx.DtxTests) ... ERROR
test_set_timeout (tests_0-10.dtx.DtxTests) ... ERROR
test_simple_commit (tests_0-10.dtx.DtxTests) ... ERROR
test_simple_prepare_commit (tests_0-10.dtx.DtxTests) ... ERROR
test_simple_prepare_rollback (tests_0-10.dtx.DtxTests) ... ERROR
test_simple_rollback (tests_0-10.dtx.DtxTests) ... ERROR
test_start_already_known (tests_0-10.dtx.DtxTests) ... ERROR
test_start_join (tests_0-10.dtx.DtxTests) ... ERROR
test_start_join_and_resume (tests_0-10.dtx.DtxTests) ... ERROR
test_suspend_resume (tests_0-10.dtx.DtxTests) ... ERROR
test_suspend_start_end_resume (tests_0-10.dtx.DtxTests) ... ERROR
test (tests_0-10.exchange.DeclareMethodPassiveFieldNotFoundRuleTests) ... ERROR
testDefaultExchange (tests_0-10.exchange.DefaultExchangeRuleTests) ... ERROR
testHeadersBindNoMatchArg (tests_0-10.exchange.ExchangeTests) ... ERROR
testMatchAll (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
testMatchAny (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
testDifferentDeclaredType (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
testTypeNotKnown (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
testDirect (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
testFanout (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
testHeaders (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
testTopic (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
testAmqDirect (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
testAmqFanOut (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
testAmqMatch (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
testAmqTopic (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
test_autodelete_shared (tests_0-10.queue.QueueTests) ... ERROR
test_bind (tests_0-10.queue.QueueTests) ... ERROR
test_bind_queue_existence (tests_0-10.queue.QueueTests) ... ERROR
test_declare_exclusive (tests_0-10.queue.QueueTests) ... ERROR
test_declare_passive (tests_0-10.queue.QueueTests) ... ERROR
test_delete_ifempty (tests_0-10.queue.QueueTests) ... ERROR
test_delete_ifunused (tests_0-10.queue.QueueTests) ... ERROR
test_delete_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
test_delete_simple (tests_0-10.queue.QueueTests) ... ERROR
test_purge (tests_0-10.queue.QueueTests) ... ERROR
test_purge_empty_name (tests_0-10.queue.QueueTests) ... ERROR
test_purge_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
test_unbind_direct (tests_0-10.queue.QueueTests) ... ERROR
test_unbind_fanout (tests_0-10.queue.QueueTests) ... ERROR
test_unbind_headers (tests_0-10.queue.QueueTests) ... ERROR
test_unbind_topic (tests_0-10.queue.QueueTests) ... ERROR
test_delete_while_used_by_exchange (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
test_delete_while_used_by_queue (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
test_queue_delete (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
test_unroutable (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
test_ack_and_no_ack (tests_0-10.broker.BrokerTests) ... ERROR
test_simple_delivery_immediate (tests_0-10.broker.BrokerTests) ... ERROR
test_simple_delivery_queued (tests_0-10.broker.BrokerTests) ... ERROR
test_ack (tests_0-10.message.MessageTests) ... ERROR
test_acquire (tests_0-10.message.MessageTests) ... ERROR
test_acquire_with_no_accept_and_credit_flow (tests_0-10.message.MessageTests) ... ERROR
test_cancel (tests_0-10.message.MessageTests) ... ERROR
test_consume_exclusive (tests_0-10.message.MessageTests) ... ERROR
test_consume_exclusive2 (tests_0-10.message.MessageTests) ... ERROR
test_consume_queue_not_found (tests_0-10.message.MessageTests) ... ERROR
test_consume_queue_not_specified (tests_0-10.message.MessageTests) ... ERROR
test_consume_unique_consumers (tests_0-10.message.MessageTests) ... ERROR
test_credit_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
test_credit_flow_messages (tests_0-10.message.MessageTests) ... ERROR
test_empty_body (tests_0-10.message.MessageTests) ... ERROR
test_incoming_start (tests_0-10.message.MessageTests) ... ERROR
test_no_local (tests_0-10.message.MessageTests) ... ERROR
test_no_local_awkward (tests_0-10.message.MessageTests) ... ERROR
test_no_local_exclusive_subscribe (tests_0-10.message.MessageTests) ... ERROR
test_ranged_ack (tests_0-10.message.MessageTests) ... ERROR
test_reject (tests_0-10.message.MessageTests) ... ERROR
test_release (tests_0-10.message.MessageTests) ... ERROR
test_release_ordering (tests_0-10.message.MessageTests) ... ERROR
test_release_unacquired (tests_0-10.message.MessageTests) ... ERROR
test_subscribe_not_acquired (tests_0-10.message.MessageTests) ... ERROR
test_subscribe_not_acquired_2 (tests_0-10.message.MessageTests) ... ERROR
test_subscribe_not_acquired_3 (tests_0-10.message.MessageTests) ... ERROR
test_window_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
test_window_flow_messages (tests_0-10.message.MessageTests) ... ERROR
test_exchange_bound_direct (tests_0-10.query.QueryTests) ... ERROR
test_exchange_bound_fanout (tests_0-10.query.QueryTests) ... ERROR
test_exchange_bound_header (tests_0-10.query.QueryTests) ... ERROR
test_exchange_bound_topic (tests_0-10.query.QueryTests) ... ERROR
test_exchange_query (tests_0-10.query.QueryTests) ... ERROR
test_queue_query (tests_0-10.query.QueryTests) ... ERROR
test_queue_query_unknown (tests_0-10.query.QueryTests) ... ERROR

Each one then reports very similar output:
======================================================================
ERROR: test_broker_connectivity (tests_0-10.management.ManagementTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
    self.conn.start(timeout=10)
  File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
    raise Timeout()
Timeout

and finishing up with:
Ran 109 tests in 1090.776s

FAILED (errors=109)
=======================================
NOTE: the following tests were ignored:
tests.codec.FieldTableTestCase.test_field_table_decode
tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
tests.codec.FieldTableTestCase.test_field_table_name_value_pair
tests_0-10.execution.ExecutionTests.test_flush
tests_0-10.dtx.DtxTests.test_recover
tests_0-10.message.MessageTests.test_no_size
tests_0-10.message.MessageTests.test_qos_prefetch_count
tests_0-10.message.MessageTests.test_qos_prefetch_size
tests_0-10.message.MessageTests.test_recover
tests_0-10.message.MessageTests.test_recover_requeue
tests_0-10.testlib.TestBaseTest.testAssertEmptyFail
tests_0-10.testlib.TestBaseTest.testAssertEmptyPass
tests_0-10.testlib.TestBaseTest.testMessageProperties
=======================================
FAIL python tests for 0-10-errata
FAIL: python_tests
PASS: stop_broker
Running federation tests using brokers on ports 47053 47054
test_bridge_create_and_close (federation.FederationTests) ... ERROR
test_pull_from_exchange (federation.FederationTests) ... ERROR
test_pull_from_queue (federation.FederationTests) ... ERROR
test_tracing (federation.FederationTests) ... ERROR

======================================================================
ERROR: test_bridge_create_and_close (federation.FederationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
    self.conn.start(timeout=10)
  File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
    raise Timeout()
Timeout

======================================================================
ERROR: test_pull_from_exchange (federation.FederationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
    self.conn.start(timeout=10)
  File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
    raise Timeout()
Timeout

======================================================================
ERROR: test_pull_from_queue (federation.FederationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
    self.conn.start(timeout=10)
  File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
    raise Timeout()
Timeout

======================================================================
ERROR: test_tracing (federation.FederationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
    self.conn.start(timeout=10)
  File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
    raise Timeout()
Timeout

----------------------------------------------------------------------
Ran 4 tests in 40.072s

FAILED (errors=4)
FAIL federation tests
FAIL: run_federation_tests
==============================================
5 of 9 tests failed
Please report to qpid-dev@incubator.apache.org
==============================================

I assume that these failures are not expected... any hints on where to start looking for clues? Log files, etc.?

I'll attach the files (patches, additions, description) to this issue, and wait for some guidance on whether or not the state of things re my results above are sufficient to ask the developers to work on integrating the changes.

Note, as I mentioned previously on qpid-dev, the common lib will build on Windows, but client and broker won't link properly due to the need for added import/export symbol declarations. This issue's purpose is to get the base changes and refactoring in place and get a stake in the ground from which other people can then jump in and help finish the Windows things and test it.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1105) Patches and additions to port to Windows

Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston updated QPID-1105:
-------------------------------

    Attachment: qpid_new_files.tar.gz

New files added during the Windows porting work.

> Patches and additions to port to Windows
> ----------------------------------------
>
>                 Key: QPID-1105
>                 URL: https://issues.apache.org/jira/browse/QPID-1105
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client, Code Generator
>    Affects Versions: M3
>         Environment: Windows, Visual Studio .NET 2005 (aka VC8)
>            Reporter: Steve Huston
>         Attachments: qpid_new_files.tar.gz, WINDOWS_BUILD_NOTES, windows_port_changes.diff
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I'm attaching three files with:
> 1. Patches to trunk svn version (last updated this morning), windows_port_changes.diff
> 2. Files added for this work, qpid_new_files.tar.gz
> 3. Description of what's changed, WINDOWS_BUILD_NOTES
>    Note that one file, qpid/cpp/src/qpid/sys/posix/IOHandle.cpp, is removed.
> The state of things I see here when building on Linux (RHEL 4) is that the C++ broker, client, and tests all build. For tests (make check) I get:
> Running 88 test cases...
> 2008-may-29 18:44:43 error framing-error: Frame size too small 0 (qpid/framing/AMQFrame.cpp:81)
> 2008-may-29 18:44:43 error Exception in client dispatch thread: Exception: Connection closed by broker
> *** No errors detected
> ==26547== Memcheck, a memory error detector.
> ==26547== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26547== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26547== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26547== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547==
> ==26547== My PID = 26547, parent PID = 26543.  Prog and args are:
> ==26547==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-unit_test
> ==26547== For more details, rerun with: -v
> ( a long list of valgrind issues and leaks)
> ==26547==
> ==26547== LEAK SUMMARY:
> ==26547==    definitely lost: 2880 bytes in 20 blocks.
> ==26547==    indirectly lost: 23810595 bytes in 779 blocks.
> ==26547==      possibly lost: 459355 bytes in 11 blocks.
> ==26547==    still reachable: 16 bytes in 1 blocks.
> ==26547==         suppressed: 0 bytes in 0 blocks.
> Valgrind reported errors in ; see above.
> FAIL: unit_test
> then a long list of OK...
> OK (82)
> PASS: run-unit-tests
> PASS: start_broker
> ==26745==    definitely lost: 144 bytes in 1 blocks.
> ==26745==    indirectly lost: 2032789 bytes in 66 blocks.
> ==26745==      possibly lost: 131222 bytes in 3 blocks.
> ( another long list of memory leaks )
> Found memory leaks (see log file, ./client_test.vglog); see above.
> FAIL: client_test
> PublishThread exception: Exception: Connection closed by broker
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805== Memcheck, a memory error detector.
> ==26805== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26805== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26805== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26805== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805==
> ==26805== My PID = 26805, parent PID = 26795.  Prog and args are:
> ==26805==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-perftest
> ==26805==    --summary
> ==26805==    --count
> ==26805==    100
> ==26805== For more details, rerun with: -v
> (long list of leaks)
> ==26805==
> ==26805== LEAK SUMMARY:
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805==    still reachable: 6710186 bytes in 408 blocks.
> ==26805==         suppressed: 0 bytes in 0 blocks.
> Found memory leaks (see log file, ./perftest.vglog); see above.
> FAIL: quick_perftest
> PASS: quick_topictest
> then a long sequence of this message repeated many times but from different files and line numbers:
> /home/shuston/qpid/trunk/qpid/python/qpid/datatypes.py:128: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
>   self.value = value & 0xFFFFFFFF
> then a bunch of ERRORs:
> test_broker_connectivity (tests_0-10.management.ManagementTest) ... ERROR
> test_self_session_id (tests_0-10.management.ManagementTest) ... ERROR
> test_standard_exchanges (tests_0-10.management.ManagementTest) ... ERROR
> test_system_object (tests_0-10.management.ManagementTest) ... ERROR
> test_example (tests_0-10.example.ExampleTest) ... ERROR
> test_auto_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_commit (tests_0-10.tx.TxTests) ... ERROR
> test_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_ack_message_from_deleted_queue (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_delete_queue_after_publish (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_queue_deletion (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_bad_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_commit_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_suspend_and_fail (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_unknown_xid (tests_0-10.dtx.DtxTests) ... ERROR
> test_forget_xid_on_completion (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_implicit_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_false (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_true (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_prepare_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_rollback_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_prepare_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_rollback_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_select_required (tests_0-10.dtx.DtxTests) ... ERROR
> test_set_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_already_known (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join_and_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_start_end_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test (tests_0-10.exchange.DeclareMethodPassiveFieldNotFoundRuleTests) ... ERROR
> testDefaultExchange (tests_0-10.exchange.DefaultExchangeRuleTests) ... ERROR
> testHeadersBindNoMatchArg (tests_0-10.exchange.ExchangeTests) ... ERROR
> testMatchAll (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testMatchAny (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testDifferentDeclaredType (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testTypeNotKnown (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testDirect (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testFanout (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testHeaders (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testTopic (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testAmqDirect (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqFanOut (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqMatch (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqTopic (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> test_autodelete_shared (tests_0-10.queue.QueueTests) ... ERROR
> test_bind (tests_0-10.queue.QueueTests) ... ERROR
> test_bind_queue_existence (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_exclusive (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_passive (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifempty (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifunused (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_simple (tests_0-10.queue.QueueTests) ... ERROR
> test_purge (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_empty_name (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_direct (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_fanout (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_headers (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_topic (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_while_used_by_exchange (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_delete_while_used_by_queue (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_queue_delete (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_unroutable (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_ack_and_no_ack (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_immediate (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_queued (tests_0-10.broker.BrokerTests) ... ERROR
> test_ack (tests_0-10.message.MessageTests) ... ERROR
> test_acquire (tests_0-10.message.MessageTests) ... ERROR
> test_acquire_with_no_accept_and_credit_flow (tests_0-10.message.MessageTests) ... ERROR
> test_cancel (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive2 (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_found (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_specified (tests_0-10.message.MessageTests) ... ERROR
> test_consume_unique_consumers (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_empty_body (tests_0-10.message.MessageTests) ... ERROR
> test_incoming_start (tests_0-10.message.MessageTests) ... ERROR
> test_no_local (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_awkward (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_exclusive_subscribe (tests_0-10.message.MessageTests) ... ERROR
> test_ranged_ack (tests_0-10.message.MessageTests) ... ERROR
> test_reject (tests_0-10.message.MessageTests) ... ERROR
> test_release (tests_0-10.message.MessageTests) ... ERROR
> test_release_ordering (tests_0-10.message.MessageTests) ... ERROR
> test_release_unacquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_2 (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_3 (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_exchange_bound_direct (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_fanout (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_header (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_topic (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query_unknown (tests_0-10.query.QueryTests) ... ERROR
> Each one then reports very similar output:
> ======================================================================
> ERROR: test_broker_connectivity (tests_0-10.management.ManagementTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> and finishing up with:
> Ran 109 tests in 1090.776s
> FAILED (errors=109)
> =======================================
> NOTE: the following tests were ignored:
> tests.codec.FieldTableTestCase.test_field_table_decode
> tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
> tests.codec.FieldTableTestCase.test_field_table_name_value_pair
> tests_0-10.execution.ExecutionTests.test_flush
> tests_0-10.dtx.DtxTests.test_recover
> tests_0-10.message.MessageTests.test_no_size
> tests_0-10.message.MessageTests.test_qos_prefetch_count
> tests_0-10.message.MessageTests.test_qos_prefetch_size
> tests_0-10.message.MessageTests.test_recover
> tests_0-10.message.MessageTests.test_recover_requeue
> tests_0-10.testlib.TestBaseTest.testAssertEmptyFail
> tests_0-10.testlib.TestBaseTest.testAssertEmptyPass
> tests_0-10.testlib.TestBaseTest.testMessageProperties
> =======================================
> FAIL python tests for 0-10-errata
> FAIL: python_tests
> PASS: stop_broker
> Running federation tests using brokers on ports 47053 47054
> test_bridge_create_and_close (federation.FederationTests) ... ERROR
> test_pull_from_exchange (federation.FederationTests) ... ERROR
> test_pull_from_queue (federation.FederationTests) ... ERROR
> test_tracing (federation.FederationTests) ... ERROR
> ======================================================================
> ERROR: test_bridge_create_and_close (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_exchange (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_queue (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_tracing (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ----------------------------------------------------------------------
> Ran 4 tests in 40.072s
> FAILED (errors=4)
> FAIL federation tests
> FAIL: run_federation_tests
> ==============================================
> 5 of 9 tests failed
> Please report to qpid-dev@incubator.apache.org
> ==============================================
> I assume that these failures are not expected... any hints on where to start looking for clues? Log files, etc.?
> I'll attach the files (patches, additions, description) to this issue, and wait for some guidance on whether or not the state of things re my results above are sufficient to ask the developers to work on integrating the changes.
> Note, as I mentioned previously on qpid-dev, the common lib will build on Windows, but client and broker won't link properly due to the need for added import/export symbol declarations. This issue's purpose is to get the base changes and refactoring in place and get a stake in the ground from which other people can then jump in and help finish the Windows things and test it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1105) Patches and additions to port to Windows

Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston updated QPID-1105:
-------------------------------

    Attachment: WINDOWS_BUILD_NOTES

A description of what was changed to arrive at the patches and new files. Also some notes on things required to build on Windows.

> Patches and additions to port to Windows
> ----------------------------------------
>
>                 Key: QPID-1105
>                 URL: https://issues.apache.org/jira/browse/QPID-1105
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client, Code Generator
>    Affects Versions: M3
>         Environment: Windows, Visual Studio .NET 2005 (aka VC8)
>            Reporter: Steve Huston
>         Attachments: qpid_new_files.tar.gz, WINDOWS_BUILD_NOTES, windows_port_changes.diff
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I'm attaching three files with:
> 1. Patches to trunk svn version (last updated this morning), windows_port_changes.diff
> 2. Files added for this work, qpid_new_files.tar.gz
> 3. Description of what's changed, WINDOWS_BUILD_NOTES
>    Note that one file, qpid/cpp/src/qpid/sys/posix/IOHandle.cpp, is removed.
> The state of things I see here when building on Linux (RHEL 4) is that the C++ broker, client, and tests all build. For tests (make check) I get:
> Running 88 test cases...
> 2008-may-29 18:44:43 error framing-error: Frame size too small 0 (qpid/framing/AMQFrame.cpp:81)
> 2008-may-29 18:44:43 error Exception in client dispatch thread: Exception: Connection closed by broker
> *** No errors detected
> ==26547== Memcheck, a memory error detector.
> ==26547== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26547== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26547== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26547== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547==
> ==26547== My PID = 26547, parent PID = 26543.  Prog and args are:
> ==26547==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-unit_test
> ==26547== For more details, rerun with: -v
> ( a long list of valgrind issues and leaks)
> ==26547==
> ==26547== LEAK SUMMARY:
> ==26547==    definitely lost: 2880 bytes in 20 blocks.
> ==26547==    indirectly lost: 23810595 bytes in 779 blocks.
> ==26547==      possibly lost: 459355 bytes in 11 blocks.
> ==26547==    still reachable: 16 bytes in 1 blocks.
> ==26547==         suppressed: 0 bytes in 0 blocks.
> Valgrind reported errors in ; see above.
> FAIL: unit_test
> then a long list of OK...
> OK (82)
> PASS: run-unit-tests
> PASS: start_broker
> ==26745==    definitely lost: 144 bytes in 1 blocks.
> ==26745==    indirectly lost: 2032789 bytes in 66 blocks.
> ==26745==      possibly lost: 131222 bytes in 3 blocks.
> ( another long list of memory leaks )
> Found memory leaks (see log file, ./client_test.vglog); see above.
> FAIL: client_test
> PublishThread exception: Exception: Connection closed by broker
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805== Memcheck, a memory error detector.
> ==26805== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26805== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26805== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26805== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805==
> ==26805== My PID = 26805, parent PID = 26795.  Prog and args are:
> ==26805==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-perftest
> ==26805==    --summary
> ==26805==    --count
> ==26805==    100
> ==26805== For more details, rerun with: -v
> (long list of leaks)
> ==26805==
> ==26805== LEAK SUMMARY:
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805==    still reachable: 6710186 bytes in 408 blocks.
> ==26805==         suppressed: 0 bytes in 0 blocks.
> Found memory leaks (see log file, ./perftest.vglog); see above.
> FAIL: quick_perftest
> PASS: quick_topictest
> then a long sequence of this message repeated many times but from different files and line numbers:
> /home/shuston/qpid/trunk/qpid/python/qpid/datatypes.py:128: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
>   self.value = value & 0xFFFFFFFF
> then a bunch of ERRORs:
> test_broker_connectivity (tests_0-10.management.ManagementTest) ... ERROR
> test_self_session_id (tests_0-10.management.ManagementTest) ... ERROR
> test_standard_exchanges (tests_0-10.management.ManagementTest) ... ERROR
> test_system_object (tests_0-10.management.ManagementTest) ... ERROR
> test_example (tests_0-10.example.ExampleTest) ... ERROR
> test_auto_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_commit (tests_0-10.tx.TxTests) ... ERROR
> test_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_ack_message_from_deleted_queue (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_delete_queue_after_publish (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_queue_deletion (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_bad_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_commit_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_suspend_and_fail (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_unknown_xid (tests_0-10.dtx.DtxTests) ... ERROR
> test_forget_xid_on_completion (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_implicit_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_false (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_true (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_prepare_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_rollback_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_prepare_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_rollback_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_select_required (tests_0-10.dtx.DtxTests) ... ERROR
> test_set_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_already_known (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join_and_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_start_end_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test (tests_0-10.exchange.DeclareMethodPassiveFieldNotFoundRuleTests) ... ERROR
> testDefaultExchange (tests_0-10.exchange.DefaultExchangeRuleTests) ... ERROR
> testHeadersBindNoMatchArg (tests_0-10.exchange.ExchangeTests) ... ERROR
> testMatchAll (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testMatchAny (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testDifferentDeclaredType (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testTypeNotKnown (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testDirect (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testFanout (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testHeaders (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testTopic (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testAmqDirect (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqFanOut (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqMatch (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqTopic (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> test_autodelete_shared (tests_0-10.queue.QueueTests) ... ERROR
> test_bind (tests_0-10.queue.QueueTests) ... ERROR
> test_bind_queue_existence (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_exclusive (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_passive (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifempty (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifunused (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_simple (tests_0-10.queue.QueueTests) ... ERROR
> test_purge (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_empty_name (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_direct (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_fanout (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_headers (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_topic (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_while_used_by_exchange (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_delete_while_used_by_queue (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_queue_delete (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_unroutable (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_ack_and_no_ack (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_immediate (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_queued (tests_0-10.broker.BrokerTests) ... ERROR
> test_ack (tests_0-10.message.MessageTests) ... ERROR
> test_acquire (tests_0-10.message.MessageTests) ... ERROR
> test_acquire_with_no_accept_and_credit_flow (tests_0-10.message.MessageTests) ... ERROR
> test_cancel (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive2 (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_found (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_specified (tests_0-10.message.MessageTests) ... ERROR
> test_consume_unique_consumers (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_empty_body (tests_0-10.message.MessageTests) ... ERROR
> test_incoming_start (tests_0-10.message.MessageTests) ... ERROR
> test_no_local (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_awkward (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_exclusive_subscribe (tests_0-10.message.MessageTests) ... ERROR
> test_ranged_ack (tests_0-10.message.MessageTests) ... ERROR
> test_reject (tests_0-10.message.MessageTests) ... ERROR
> test_release (tests_0-10.message.MessageTests) ... ERROR
> test_release_ordering (tests_0-10.message.MessageTests) ... ERROR
> test_release_unacquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_2 (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_3 (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_exchange_bound_direct (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_fanout (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_header (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_topic (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query_unknown (tests_0-10.query.QueryTests) ... ERROR
> Each one then reports very similar output:
> ======================================================================
> ERROR: test_broker_connectivity (tests_0-10.management.ManagementTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> and finishing up with:
> Ran 109 tests in 1090.776s
> FAILED (errors=109)
> =======================================
> NOTE: the following tests were ignored:
> tests.codec.FieldTableTestCase.test_field_table_decode
> tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
> tests.codec.FieldTableTestCase.test_field_table_name_value_pair
> tests_0-10.execution.ExecutionTests.test_flush
> tests_0-10.dtx.DtxTests.test_recover
> tests_0-10.message.MessageTests.test_no_size
> tests_0-10.message.MessageTests.test_qos_prefetch_count
> tests_0-10.message.MessageTests.test_qos_prefetch_size
> tests_0-10.message.MessageTests.test_recover
> tests_0-10.message.MessageTests.test_recover_requeue
> tests_0-10.testlib.TestBaseTest.testAssertEmptyFail
> tests_0-10.testlib.TestBaseTest.testAssertEmptyPass
> tests_0-10.testlib.TestBaseTest.testMessageProperties
> =======================================
> FAIL python tests for 0-10-errata
> FAIL: python_tests
> PASS: stop_broker
> Running federation tests using brokers on ports 47053 47054
> test_bridge_create_and_close (federation.FederationTests) ... ERROR
> test_pull_from_exchange (federation.FederationTests) ... ERROR
> test_pull_from_queue (federation.FederationTests) ... ERROR
> test_tracing (federation.FederationTests) ... ERROR
> ======================================================================
> ERROR: test_bridge_create_and_close (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_exchange (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_queue (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_tracing (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ----------------------------------------------------------------------
> Ran 4 tests in 40.072s
> FAILED (errors=4)
> FAIL federation tests
> FAIL: run_federation_tests
> ==============================================
> 5 of 9 tests failed
> Please report to qpid-dev@incubator.apache.org
> ==============================================
> I assume that these failures are not expected... any hints on where to start looking for clues? Log files, etc.?
> I'll attach the files (patches, additions, description) to this issue, and wait for some guidance on whether or not the state of things re my results above are sufficient to ask the developers to work on integrating the changes.
> Note, as I mentioned previously on qpid-dev, the common lib will build on Windows, but client and broker won't link properly due to the need for added import/export symbol declarations. This issue's purpose is to get the base changes and refactoring in place and get a stake in the ground from which other people can then jump in and help finish the Windows things and test it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1105) Patches and additions to port to Windows

Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston updated QPID-1105:
-------------------------------

    Attachment: windows_port_changes.diff

Diffs from svn trunk updated mid-day (US east coast) Thur May 29

> Patches and additions to port to Windows
> ----------------------------------------
>
>                 Key: QPID-1105
>                 URL: https://issues.apache.org/jira/browse/QPID-1105
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client, Code Generator
>    Affects Versions: M3
>         Environment: Windows, Visual Studio .NET 2005 (aka VC8)
>            Reporter: Steve Huston
>         Attachments: windows_port_changes.diff
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I'm attaching three files with:
> 1. Patches to trunk svn version (last updated this morning), windows_port_changes.diff
> 2. Files added for this work, qpid_new_files.tar.gz
> 3. Description of what's changed, WINDOWS_BUILD_NOTES
>    Note that one file, qpid/cpp/src/qpid/sys/posix/IOHandle.cpp, is removed.
> The state of things I see here when building on Linux (RHEL 4) is that the C++ broker, client, and tests all build. For tests (make check) I get:
> Running 88 test cases...
> 2008-may-29 18:44:43 error framing-error: Frame size too small 0 (qpid/framing/AMQFrame.cpp:81)
> 2008-may-29 18:44:43 error Exception in client dispatch thread: Exception: Connection closed by broker
> *** No errors detected
> ==26547== Memcheck, a memory error detector.
> ==26547== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26547== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26547== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26547== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547==
> ==26547== My PID = 26547, parent PID = 26543.  Prog and args are:
> ==26547==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-unit_test
> ==26547== For more details, rerun with: -v
> ( a long list of valgrind issues and leaks)
> ==26547==
> ==26547== LEAK SUMMARY:
> ==26547==    definitely lost: 2880 bytes in 20 blocks.
> ==26547==    indirectly lost: 23810595 bytes in 779 blocks.
> ==26547==      possibly lost: 459355 bytes in 11 blocks.
> ==26547==    still reachable: 16 bytes in 1 blocks.
> ==26547==         suppressed: 0 bytes in 0 blocks.
> Valgrind reported errors in ; see above.
> FAIL: unit_test
> then a long list of OK...
> OK (82)
> PASS: run-unit-tests
> PASS: start_broker
> ==26745==    definitely lost: 144 bytes in 1 blocks.
> ==26745==    indirectly lost: 2032789 bytes in 66 blocks.
> ==26745==      possibly lost: 131222 bytes in 3 blocks.
> ( another long list of memory leaks )
> Found memory leaks (see log file, ./client_test.vglog); see above.
> FAIL: client_test
> PublishThread exception: Exception: Connection closed by broker
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805== Memcheck, a memory error detector.
> ==26805== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26805== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26805== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26805== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805==
> ==26805== My PID = 26805, parent PID = 26795.  Prog and args are:
> ==26805==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-perftest
> ==26805==    --summary
> ==26805==    --count
> ==26805==    100
> ==26805== For more details, rerun with: -v
> (long list of leaks)
> ==26805==
> ==26805== LEAK SUMMARY:
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805==    still reachable: 6710186 bytes in 408 blocks.
> ==26805==         suppressed: 0 bytes in 0 blocks.
> Found memory leaks (see log file, ./perftest.vglog); see above.
> FAIL: quick_perftest
> PASS: quick_topictest
> then a long sequence of this message repeated many times but from different files and line numbers:
> /home/shuston/qpid/trunk/qpid/python/qpid/datatypes.py:128: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
>   self.value = value & 0xFFFFFFFF
> then a bunch of ERRORs:
> test_broker_connectivity (tests_0-10.management.ManagementTest) ... ERROR
> test_self_session_id (tests_0-10.management.ManagementTest) ... ERROR
> test_standard_exchanges (tests_0-10.management.ManagementTest) ... ERROR
> test_system_object (tests_0-10.management.ManagementTest) ... ERROR
> test_example (tests_0-10.example.ExampleTest) ... ERROR
> test_auto_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_commit (tests_0-10.tx.TxTests) ... ERROR
> test_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_ack_message_from_deleted_queue (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_delete_queue_after_publish (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_queue_deletion (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_bad_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_commit_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_suspend_and_fail (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_unknown_xid (tests_0-10.dtx.DtxTests) ... ERROR
> test_forget_xid_on_completion (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_implicit_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_false (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_true (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_prepare_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_rollback_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_prepare_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_rollback_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_select_required (tests_0-10.dtx.DtxTests) ... ERROR
> test_set_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_already_known (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join_and_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_start_end_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test (tests_0-10.exchange.DeclareMethodPassiveFieldNotFoundRuleTests) ... ERROR
> testDefaultExchange (tests_0-10.exchange.DefaultExchangeRuleTests) ... ERROR
> testHeadersBindNoMatchArg (tests_0-10.exchange.ExchangeTests) ... ERROR
> testMatchAll (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testMatchAny (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testDifferentDeclaredType (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testTypeNotKnown (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testDirect (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testFanout (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testHeaders (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testTopic (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testAmqDirect (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqFanOut (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqMatch (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqTopic (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> test_autodelete_shared (tests_0-10.queue.QueueTests) ... ERROR
> test_bind (tests_0-10.queue.QueueTests) ... ERROR
> test_bind_queue_existence (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_exclusive (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_passive (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifempty (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifunused (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_simple (tests_0-10.queue.QueueTests) ... ERROR
> test_purge (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_empty_name (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_direct (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_fanout (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_headers (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_topic (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_while_used_by_exchange (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_delete_while_used_by_queue (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_queue_delete (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_unroutable (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_ack_and_no_ack (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_immediate (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_queued (tests_0-10.broker.BrokerTests) ... ERROR
> test_ack (tests_0-10.message.MessageTests) ... ERROR
> test_acquire (tests_0-10.message.MessageTests) ... ERROR
> test_acquire_with_no_accept_and_credit_flow (tests_0-10.message.MessageTests) ... ERROR
> test_cancel (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive2 (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_found (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_specified (tests_0-10.message.MessageTests) ... ERROR
> test_consume_unique_consumers (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_empty_body (tests_0-10.message.MessageTests) ... ERROR
> test_incoming_start (tests_0-10.message.MessageTests) ... ERROR
> test_no_local (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_awkward (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_exclusive_subscribe (tests_0-10.message.MessageTests) ... ERROR
> test_ranged_ack (tests_0-10.message.MessageTests) ... ERROR
> test_reject (tests_0-10.message.MessageTests) ... ERROR
> test_release (tests_0-10.message.MessageTests) ... ERROR
> test_release_ordering (tests_0-10.message.MessageTests) ... ERROR
> test_release_unacquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_2 (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_3 (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_exchange_bound_direct (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_fanout (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_header (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_topic (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query_unknown (tests_0-10.query.QueryTests) ... ERROR
> Each one then reports very similar output:
> ======================================================================
> ERROR: test_broker_connectivity (tests_0-10.management.ManagementTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> and finishing up with:
> Ran 109 tests in 1090.776s
> FAILED (errors=109)
> =======================================
> NOTE: the following tests were ignored:
> tests.codec.FieldTableTestCase.test_field_table_decode
> tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
> tests.codec.FieldTableTestCase.test_field_table_name_value_pair
> tests_0-10.execution.ExecutionTests.test_flush
> tests_0-10.dtx.DtxTests.test_recover
> tests_0-10.message.MessageTests.test_no_size
> tests_0-10.message.MessageTests.test_qos_prefetch_count
> tests_0-10.message.MessageTests.test_qos_prefetch_size
> tests_0-10.message.MessageTests.test_recover
> tests_0-10.message.MessageTests.test_recover_requeue
> tests_0-10.testlib.TestBaseTest.testAssertEmptyFail
> tests_0-10.testlib.TestBaseTest.testAssertEmptyPass
> tests_0-10.testlib.TestBaseTest.testMessageProperties
> =======================================
> FAIL python tests for 0-10-errata
> FAIL: python_tests
> PASS: stop_broker
> Running federation tests using brokers on ports 47053 47054
> test_bridge_create_and_close (federation.FederationTests) ... ERROR
> test_pull_from_exchange (federation.FederationTests) ... ERROR
> test_pull_from_queue (federation.FederationTests) ... ERROR
> test_tracing (federation.FederationTests) ... ERROR
> ======================================================================
> ERROR: test_bridge_create_and_close (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_exchange (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_queue (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_tracing (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ----------------------------------------------------------------------
> Ran 4 tests in 40.072s
> FAILED (errors=4)
> FAIL federation tests
> FAIL: run_federation_tests
> ==============================================
> 5 of 9 tests failed
> Please report to qpid-dev@incubator.apache.org
> ==============================================
> I assume that these failures are not expected... any hints on where to start looking for clues? Log files, etc.?
> I'll attach the files (patches, additions, description) to this issue, and wait for some guidance on whether or not the state of things re my results above are sufficient to ask the developers to work on integrating the changes.
> Note, as I mentioned previously on qpid-dev, the common lib will build on Windows, but client and broker won't link properly due to the need for added import/export symbol declarations. This issue's purpose is to get the base changes and refactoring in place and get a stake in the ground from which other people can then jump in and help finish the Windows things and test it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (QPID-1105) Patches and additions to port to Windows

Posted by "Steve Huston (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston closed QPID-1105.
------------------------------

    Resolution: Invalid

I'm withdrawing this issue. I discussed the approach with Andrew Stitcher and we agreed to pursue a different path to getting the Windows port running.

I'll re-do the Windows port and submit a new JIRA for it.

The patch for this JIRA included a number of things done to resolve warnings and other non-Windows issues in general. I'll submit those issues as separate JIRAs for individual consideration.


> Patches and additions to port to Windows
> ----------------------------------------
>
>                 Key: QPID-1105
>                 URL: https://issues.apache.org/jira/browse/QPID-1105
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client, Code Generator
>    Affects Versions: M3
>         Environment: Windows, Visual Studio .NET 2005 (aka VC8)
>            Reporter: Steve Huston
>         Attachments: qpid_new_files.tar.gz, WINDOWS_BUILD_NOTES, windows_port_changes.diff
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I'm attaching three files with:
> 1. Patches to trunk svn version (last updated this morning), windows_port_changes.diff
> 2. Files added for this work, qpid_new_files.tar.gz
> 3. Description of what's changed, WINDOWS_BUILD_NOTES
>    Note that one file, qpid/cpp/src/qpid/sys/posix/IOHandle.cpp, is removed.
> The state of things I see here when building on Linux (RHEL 4) is that the C++ broker, client, and tests all build. For tests (make check) I get:
> Running 88 test cases...
> 2008-may-29 18:44:43 error framing-error: Frame size too small 0 (qpid/framing/AMQFrame.cpp:81)
> 2008-may-29 18:44:43 error Exception in client dispatch thread: Exception: Connection closed by broker
> *** No errors detected
> ==26547== Memcheck, a memory error detector.
> ==26547== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26547== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26547== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26547== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26547==
> ==26547== My PID = 26547, parent PID = 26543.  Prog and args are:
> ==26547==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-unit_test
> ==26547== For more details, rerun with: -v
> ( a long list of valgrind issues and leaks)
> ==26547==
> ==26547== LEAK SUMMARY:
> ==26547==    definitely lost: 2880 bytes in 20 blocks.
> ==26547==    indirectly lost: 23810595 bytes in 779 blocks.
> ==26547==      possibly lost: 459355 bytes in 11 blocks.
> ==26547==    still reachable: 16 bytes in 1 blocks.
> ==26547==         suppressed: 0 bytes in 0 blocks.
> Valgrind reported errors in ; see above.
> FAIL: unit_test
> then a long list of OK...
> OK (82)
> PASS: run-unit-tests
> PASS: start_broker
> ==26745==    definitely lost: 144 bytes in 1 blocks.
> ==26745==    indirectly lost: 2032789 bytes in 66 blocks.
> ==26745==      possibly lost: 131222 bytes in 3 blocks.
> ( another long list of memory leaks )
> Found memory leaks (see log file, ./client_test.vglog); see above.
> FAIL: client_test
> PublishThread exception: Exception: Connection closed by broker
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805== Memcheck, a memory error detector.
> ==26805== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805== Using LibVEX rev 1367, a library for dynamic binary translation.
> ==26805== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==26805== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
> ==26805== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==26805==
> ==26805== My PID = 26805, parent PID = 26795.  Prog and args are:
> ==26805==    /home/shuston/qpid/trunk/qpid/cpp/src/tests/.libs/lt-perftest
> ==26805==    --summary
> ==26805==    --count
> ==26805==    100
> ==26805== For more details, rerun with: -v
> (long list of leaks)
> ==26805==
> ==26805== LEAK SUMMARY:
> ==26805==    definitely lost: 144 bytes in 1 blocks.
> ==26805==    indirectly lost: 1967254 bytes in 65 blocks.
> ==26805==      possibly lost: 201711 bytes in 101 blocks.
> ==26805==    still reachable: 6710186 bytes in 408 blocks.
> ==26805==         suppressed: 0 bytes in 0 blocks.
> Found memory leaks (see log file, ./perftest.vglog); see above.
> FAIL: quick_perftest
> PASS: quick_topictest
> then a long sequence of this message repeated many times but from different files and line numbers:
> /home/shuston/qpid/trunk/qpid/python/qpid/datatypes.py:128: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
>   self.value = value & 0xFFFFFFFF
> then a bunch of ERRORs:
> test_broker_connectivity (tests_0-10.management.ManagementTest) ... ERROR
> test_self_session_id (tests_0-10.management.ManagementTest) ... ERROR
> test_standard_exchanges (tests_0-10.management.ManagementTest) ... ERROR
> test_system_object (tests_0-10.management.ManagementTest) ... ERROR
> test_example (tests_0-10.example.ExampleTest) ... ERROR
> test_auto_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_commit (tests_0-10.tx.TxTests) ... ERROR
> test_rollback (tests_0-10.tx.TxTests) ... ERROR
> test_ack_message_from_deleted_queue (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_delete_queue_after_publish (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_queue_deletion (tests_0-10.persistence.PersistenceTests) ... ERROR
> test_bad_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_commit_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_suspend_and_fail (tests_0-10.dtx.DtxTests) ... ERROR
> test_end_unknown_xid (tests_0-10.dtx.DtxTests) ... ERROR
> test_forget_xid_on_completion (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_get_timeout_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_implicit_end (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_false (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_commit_one_phase_true (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_prepare_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_invalid_rollback_not_ended (tests_0-10.dtx.DtxTests) ... ERROR
> test_prepare_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_rollback_unknown (tests_0-10.dtx.DtxTests) ... ERROR
> test_select_required (tests_0-10.dtx.DtxTests) ... ERROR
> test_set_timeout (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_commit (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_prepare_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_simple_rollback (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_already_known (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join (tests_0-10.dtx.DtxTests) ... ERROR
> test_start_join_and_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test_suspend_start_end_resume (tests_0-10.dtx.DtxTests) ... ERROR
> test (tests_0-10.exchange.DeclareMethodPassiveFieldNotFoundRuleTests) ... ERROR
> testDefaultExchange (tests_0-10.exchange.DefaultExchangeRuleTests) ... ERROR
> testHeadersBindNoMatchArg (tests_0-10.exchange.ExchangeTests) ... ERROR
> testMatchAll (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testMatchAny (tests_0-10.exchange.HeadersExchangeTests) ... ERROR
> testDifferentDeclaredType (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testTypeNotKnown (tests_0-10.exchange.MiscellaneousErrorsTests) ... ERROR
> testDirect (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testFanout (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testHeaders (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testTopic (tests_0-10.exchange.RecommendedTypesRuleTests) ... ERROR
> testAmqDirect (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqFanOut (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqMatch (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> testAmqTopic (tests_0-10.exchange.RequiredInstancesRuleTests) ... ERROR
> test_autodelete_shared (tests_0-10.queue.QueueTests) ... ERROR
> test_bind (tests_0-10.queue.QueueTests) ... ERROR
> test_bind_queue_existence (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_exclusive (tests_0-10.queue.QueueTests) ... ERROR
> test_declare_passive (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifempty (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_ifunused (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_simple (tests_0-10.queue.QueueTests) ... ERROR
> test_purge (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_empty_name (tests_0-10.queue.QueueTests) ... ERROR
> test_purge_queue_exists (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_direct (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_fanout (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_headers (tests_0-10.queue.QueueTests) ... ERROR
> test_unbind_topic (tests_0-10.queue.QueueTests) ... ERROR
> test_delete_while_used_by_exchange (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_delete_while_used_by_queue (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_queue_delete (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_unroutable (tests_0-10.alternate_exchange.AlternateExchangeTests) ... ERROR
> test_ack_and_no_ack (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_immediate (tests_0-10.broker.BrokerTests) ... ERROR
> test_simple_delivery_queued (tests_0-10.broker.BrokerTests) ... ERROR
> test_ack (tests_0-10.message.MessageTests) ... ERROR
> test_acquire (tests_0-10.message.MessageTests) ... ERROR
> test_acquire_with_no_accept_and_credit_flow (tests_0-10.message.MessageTests) ... ERROR
> test_cancel (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive (tests_0-10.message.MessageTests) ... ERROR
> test_consume_exclusive2 (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_found (tests_0-10.message.MessageTests) ... ERROR
> test_consume_queue_not_specified (tests_0-10.message.MessageTests) ... ERROR
> test_consume_unique_consumers (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_credit_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_empty_body (tests_0-10.message.MessageTests) ... ERROR
> test_incoming_start (tests_0-10.message.MessageTests) ... ERROR
> test_no_local (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_awkward (tests_0-10.message.MessageTests) ... ERROR
> test_no_local_exclusive_subscribe (tests_0-10.message.MessageTests) ... ERROR
> test_ranged_ack (tests_0-10.message.MessageTests) ... ERROR
> test_reject (tests_0-10.message.MessageTests) ... ERROR
> test_release (tests_0-10.message.MessageTests) ... ERROR
> test_release_ordering (tests_0-10.message.MessageTests) ... ERROR
> test_release_unacquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_2 (tests_0-10.message.MessageTests) ... ERROR
> test_subscribe_not_acquired_3 (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_bytes (tests_0-10.message.MessageTests) ... ERROR
> test_window_flow_messages (tests_0-10.message.MessageTests) ... ERROR
> test_exchange_bound_direct (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_fanout (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_header (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_bound_topic (tests_0-10.query.QueryTests) ... ERROR
> test_exchange_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query (tests_0-10.query.QueryTests) ... ERROR
> test_queue_query_unknown (tests_0-10.query.QueryTests) ... ERROR
> Each one then reports very similar output:
> ======================================================================
> ERROR: test_broker_connectivity (tests_0-10.management.ManagementTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> and finishing up with:
> Ran 109 tests in 1090.776s
> FAILED (errors=109)
> =======================================
> NOTE: the following tests were ignored:
> tests.codec.FieldTableTestCase.test_field_table_decode
> tests.codec.FieldTableTestCase.test_field_table_multiple_name_value_pair
> tests.codec.FieldTableTestCase.test_field_table_name_value_pair
> tests_0-10.execution.ExecutionTests.test_flush
> tests_0-10.dtx.DtxTests.test_recover
> tests_0-10.message.MessageTests.test_no_size
> tests_0-10.message.MessageTests.test_qos_prefetch_count
> tests_0-10.message.MessageTests.test_qos_prefetch_size
> tests_0-10.message.MessageTests.test_recover
> tests_0-10.message.MessageTests.test_recover_requeue
> tests_0-10.testlib.TestBaseTest.testAssertEmptyFail
> tests_0-10.testlib.TestBaseTest.testAssertEmptyPass
> tests_0-10.testlib.TestBaseTest.testMessageProperties
> =======================================
> FAIL python tests for 0-10-errata
> FAIL: python_tests
> PASS: stop_broker
> Running federation tests using brokers on ports 47053 47054
> test_bridge_create_and_close (federation.FederationTests) ... ERROR
> test_pull_from_exchange (federation.FederationTests) ... ERROR
> test_pull_from_queue (federation.FederationTests) ... ERROR
> test_tracing (federation.FederationTests) ... ERROR
> ======================================================================
> ERROR: test_bridge_create_and_close (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_exchange (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_pull_from_queue (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ======================================================================
> ERROR: test_tracing (federation.FederationTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/testlib.py", line 358, in setUp
>     self.conn.start(timeout=10)
>   File "/home/shuston/qpid/trunk/qpid/python/qpid/connection.py", line 145, in start
>     raise Timeout()
> Timeout
> ----------------------------------------------------------------------
> Ran 4 tests in 40.072s
> FAILED (errors=4)
> FAIL federation tests
> FAIL: run_federation_tests
> ==============================================
> 5 of 9 tests failed
> Please report to qpid-dev@incubator.apache.org
> ==============================================
> I assume that these failures are not expected... any hints on where to start looking for clues? Log files, etc.?
> I'll attach the files (patches, additions, description) to this issue, and wait for some guidance on whether or not the state of things re my results above are sufficient to ask the developers to work on integrating the changes.
> Note, as I mentioned previously on qpid-dev, the common lib will build on Windows, but client and broker won't link properly due to the need for added import/export symbol declarations. This issue's purpose is to get the base changes and refactoring in place and get a stake in the ground from which other people can then jump in and help finish the Windows things and test it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.