qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Danek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDIT-75) Install QPIDIT correctly in a Docker image
Date Fri, 03 Mar 2017 17:00:46 GMT

    [ https://issues.apache.org/jira/browse/QPIDIT-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894709#comment-15894709
] 

Jiri Danek commented on QPIDIT-75:
----------------------------------

In the last iteration is seems to be a broker enhancement ;) see https://issues.jboss.org/browse/ENTMQBR-520

My understanding is that QPIDIT needs to ensure that receiver starts listening before sender
does the sending, otherwise the message will be lost. Alternatively, running QPIDIT may require
that queues be precreated on the Artemis 2.0.0 broker.

> Install QPIDIT correctly in a Docker image
> ------------------------------------------
>
>                 Key: QPIDIT-75
>                 URL: https://issues.apache.org/jira/browse/QPIDIT-75
>             Project: Apache QPID IT
>          Issue Type: Test
>          Components: Installation
>            Reporter: Jiri Danek
>            Assignee: Kim van der Riet
>            Priority: Minor
>         Attachments: Dockerfile
>
>
> I checked out QPID-IT and wanted to run it for myself. I decided to use Fedora 25 in
docker, because I wanted to have a reproducible setup.
> I created a Dockerfile which installs prerequisites and QPID-IT. When I run tests, it
always freezes after few tests.
> Is there anything wrong about the install?
> Steps to use the Dockerfile
> 1) place the Dockerfile in the top directory of qpid-interop-test
> 2) {{% docker build -t interop .}}
> 3) {{% docker run --rm -it interop bash -c "/artemis200i0/bin/artemis-service start;
sleep 10; export PYTHONPATH=/usr/lib64/proton/bindings/python/; export QIT_INSTALL_PREFIX=/usr;
src/python/qpid_interop_test/amqp_types_test.py --exclude-shim RheaJs"}}
> {noformat}
> Starting artemis-service
> artemis-service is now running (14)
> WARNING: AMQP DotNetLite shims not installed
> Test Broker: apache-activemq-artemis v.2.0.0-SNAPSHOT on <platform not found>
> test_binary_ProtonCpp->ProtonCpp (__main__.BinaryTestCase) ... ok
> test_binary_ProtonCpp->ProtonPython (__main__.BinaryTestCase) ... ok
> test_binary_ProtonPython->ProtonCpp (__main__.BinaryTestCase) ... ok
> test_binary_ProtonPython->ProtonPython (__main__.BinaryTestCase) ... ok
> test_boolean_ProtonCpp->ProtonCpp (__main__.BooleanTestCase) ... 
> {noformat}
> And it stays stuck for quite long time. The output is the same every time I run this.
I did not wait for long enough to see if it gets unstuck, I admit.
> If I run this with the 1.5.3 broker, meaning in step 3) I do {{% docker run --rm -it
interop bash -c "/artemis153i0/bin/artemis-service start; sleep 10; export PYTHONPATH=/usr/lib64/proton/bindings/python/;
export QIT_INSTALL_PREFIX=/usr; src/python/qpid_interop_test/amqp_types_test.py --exclude-shim
RheaJs"}} then the tests seem to succeed, so maybe it is just incompatible with Artemis 2.0.0...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message