Failing Test: net.corda.node.amqp.ProtonWrapperTests.shared AMQPClient threadpool tests

Description

Open Source flaky test

java.lang.AssertionError: Expected <true>, actual <false>.

The test was seen to be failing at: https://ci01.dev.r3.com/view/Build%20Monitor%20View/job/Test-Collectors/job/corda-release-4.5/129/testReport/junit/net.corda.node.amqp/ProtonWrapperTests/shared_AMQPClient_threadpool_tests/

Full test log attached.

In the test there are a number of re-connection attempts performed and at the last round of re-connection there seem to be a problem. Server thinks that the client is connected, but on the client side there is:

i.e. no connection.

Note: Test was seen failing in Jenkins OS, but never failed in ENT where this test is different and executed with more parameter permutations. Also test was never seen failing in TC in OS or ENT.

Suggested course of investigation:

  1. Add logging to the test clearly marking each stage in connect/disconnect;

  2. Add additional logging to AMQPClient to elaborate why Failed to connect is happening;

  3. Make a temporal change to execute said test 100s of times repeatedly such that single execution on Jenkins will prove if this test stable or not.

Assignee

Viktor Kolomeyko

Reporter

Euan Cairncross

Labels

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

3

Build cut

None

Feature Team

Kernel Group
Configure