[
https://issues.apache.org/jira/browse/FLINK-15319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000564#comment-17000564
]
Zheng Hu commented on FLINK-15319:
----------------------------------
I guess it was timeout to download the kafka binary packages because the logs
said it took 120s to fail the test
{code}
19:06:22.427 [INFO] Running
org.apache.flink.tests.util.kafka.StreamingKafkaITCase
19:11:10.964 [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 288.522 s <<< FAILURE! - in
org.apache.flink.tests.util.kafka.StreamingKafkaITCase
19:11:10.981 [ERROR] testKafka[2:
kafka-version:2.2.0](org.apache.flink.tests.util.kafka.StreamingKafkaITCase)
Time elapsed: 120.016 s <<< ERROR!
java.io.IOException: Process failed due to timeout.
{code}
and we've set the package download timeout to 2min.
{code}
log.info("Downloading {}.", url);
AutoClosableProcess
.create(
CommandLineWrapper.wget(url)
.targetDir(scopedDownloadDir)
.build())
.runBlocking(Duration.ofMinutes(2));
{code}
So seems we need to increase the timeout to 5min or some configurable value.
> flink-end-to-end-tests-common-kafka fails due to timeout
> --------------------------------------------------------
>
> Key: FLINK-15319
> URL: https://issues.apache.org/jira/browse/FLINK-15319
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.11.0
> Reporter: Yun Tang
> Priority: Major
>
> {code:java}
> 17:47:50.589 [INFO] Running
> org.apache.flink.tests.util.kafka.StreamingKafkaITCase
> 17:51:35.273 [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time
> elapsed: 224.68 s <<< FAILURE! - in
> org.apache.flink.tests.util.kafka.StreamingKafkaITCase
> 17:51:35.273 [ERROR] testKafka[2:
> kafka-version:2.2.0](org.apache.flink.tests.util.kafka.StreamingKafkaITCase)
> Time elapsed: 120.008 s <<< ERROR!
> java.io.IOException: Process failed due to timeout.
> {code}
> Instance: [https://api.travis-ci.com/v3/job/268159458/log.txt]
>
> It seems logs not uploaded to transfer.sh
--
This message was sent by Atlassian Jira
(v8.3.4#803005)