apupier commented on PR #30165:
URL: https://github.com/apache/camel/pull/30165#issuecomment-6911891539
example of failing test on main branch:
DST seed 3 of
KinesisConsumerDstTest.everyRecordIsRoutedOnceByEachConsumerAndAfterItsCheckpoint
failed: escape: the code under test reached an escape point the harness does
not control (strict mode): virtual clock read from a thread outside the
harness: Camel (camel-41) thread #14 - aws2-kinesis:foo. Fix or avoid it, or
allow it with @DstInstrument(allowEscapes) when it cannot change the result
Replay: @DstSeed(3) or -Ddst.seed=3
Trace hash f8e61dedf0ac04b93549d0532c8eccbe7c1ea568f6ef5cc3e1380dea6f2068ef,
2474 lines, full trace:
target/dst/KinesisConsumerDstTest.everyRecordIsRoutedOnceByEachConsumerAndAfterItsCheckpoint/seed-3.trace
Last 40 lines:
#1573 t=133017 [wakeup] run wake processing of m44
#1574 t=133069 [wakeup] run wake ListShards
#1574 t=133069 [Kinesis_shard_monitor] block 24ms ListShards
#1575 t=133093 [wakeup] run wake ListShards
#1575 t=133093 [aws2-kinesis://dst] ledger completed
shardId-000000000002/m44
#1575 t=133093 [aws2-kinesis://dst] ledger routed
shardId-000000000002/end-shardId-000000000002
#1575 t=133093 [aws2-kinesis://dst] block 21ms processing of
end-shardId-000000000002
#1576 t=133114 [wakeup] run wake processing of end-shardId-000000000002
#1576 t=133114 [aws2-kinesis://dst] ledger completed
shardId-000000000002/end-shardId-000000000002
#1577 t=133163 [operator] run finisher
#1578 t=133214 [aws2-kinesis://dst] run Kinesis2Consumer (periodic)
#1578 t=133214 [aws2-kinesis://dst] block 54ms GetRecords it-230
#1579 t=133268 [wakeup] run wake GetRecords it-230
#1579 t=133268 [aws2-kinesis://dst] ledger fetched
shardId-000000000001/end-shardId-000000000001
#1579 t=133268 [aws2-kinesis://dst] fake: GetRecords shardId-000000000001
returns 1 records from 13
#1579 t=133268 [aws2-kinesis://dst] ledger routed
shardId-000000000001/end-shardId-000000000001
#1579 t=133268 [aws2-kinesis://dst] block 63ms processing of
end-shardId-000000000001
#1580 t=133331 [wakeup] run wake processing of end-shardId-000000000001
#1580 t=133331 [aws2-kinesis://dst] ledger completed
shardId-000000000001/end-shardId-000000000001
#1580 t=133331 [aws2-kinesis://dst] block 60ms GetRecords it-231
#1581 t=133391 [wakeup] run wake GetRecords it-231
#1582 t=133491 [aws2-kinesis://dst] run Kinesis2Consumer (periodic)
#1582 t=133491 [aws2-kinesis://dst] block 26ms GetRecords it-232
#1583 t=133517 [wakeup] run wake GetRecords it-232
#1583 t=133517 [aws2-kinesis://dst] block 80ms GetRecords it-233
#1584 t=133597 [wakeup] run wake GetRecords it-233
#1585 t=133663 [operator] run finisher
#1585 t=133663 [main] check the consumer uses the Kinesis API as
documented: ok
#1585 t=133663 [main] check a consumer routes a record at most once, apart
from a record after its checkpoint: ok
#1585 t=133663 [main] check a restarted route resumes after its
checkpoint: ok
#1585 t=133663 [main] check every record is routed once the faults
cleared, apart from records skipped by a LATEST iterator: ok
#1585 t=133663 [main] check the checkpoint reaches the last record of each
open shard once the faults cleared: ok
#1585 t=133663 [main] drop 2 pending tasks
#1585 t=133663 [main] wait up to 5000ms for result of
DefaultShutdownStrategy$ShutdownTask
#1586 t=133663 [ShutdownTask] run DefaultShutdownStrategy$ShutdownTask
#1586 t=133663 [ShutdownTask] shutdown executor Kinesis_shard_monitor
#1586 t=133663 [ShutdownTask] cancel Kinesis2Consumer
#1586 t=133663 [ShutdownTask] shutdown executor aws2-kinesis://dst
#1586 t=133663 [main] shutdown executor ShutdownTask
#1586 t=133663 [main] FAILED org.apache.camel.test.dst.DstViolation:
escape: the code under test reached an escape point the harness does not
control (strict mode): virtual clock read from a thread outside the harness:
Camel (camel-41) thread #14 - aws2-kinesis:foo. Fix or avoid it, or allow it
with @DstInstrument(allowEscapes) when it cannot change the result
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]