ERROR: Actual result did not match expected result
INFO: Actual result ----------
['A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B']
INFO: Expected result ----------
['A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B']
ERROR: Checking result failed for 20161113214723_IntegrationTest_MultiSpoutsMultiTasks_861f6ed7-ca34-47c9-9bde-3ba3a2d802e4 topology :: ('Actual result did not match expected result', None)
We're seeing occasional failures like this in CI. This issue is that
IntegrationTestSpoutnow decrements thetuplesToAckcounter only when tuples are acked (commit link). Previously it decremented that counter even when afailcall was received. What this implies is that our test topologies are dropping tuples and the spout is re-transmitting them. Why the test topologies are dropping tuples is concerning.A few options we could pursue:
IntegrationTestSpoutback to decrement upon failure.atLeastOnceinstead ofexactlyOnce.