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

Arvid Heise commented on FLINK-19864:
-------------------------------------

>From my experience so far, there are no Azure-only issues. It's rather that 
>you quite often run into completely overloaded VMs on Azure and rare errors 
>pop up.
What I usually do is to tightly run things in parallel to overload my system as 
well:

{noformat}
for i in {0..99}; do mkdir logs/$i; for j in {0..7}; do 
FLINK_DIR=../flink-dist/target/flink-1.12-SNAPSHOT-bin/flink-1.12-SNAPSHOT mvn 
surefire:test -nsu -Dfast -Drat.skip=true  
-Dtest=org.apache.flink.test.checkpointing.UnalignedCheckpointITCase#shouldPerformUnalignedCheckpointOnNonParallelLocalChannel
 -pl flink-tests &>logs/$i/test_$j.txt &; ((j == 7)) && wait; done; done
{noformat}

This runs 100 waves of 8 parallel tests. I can usually provoke errors that do 
not pop up with >1k single process repetitions.

> TwoInputStreamTaskTest.testWatermarkMetrics failed with "expected:<1> but 
> was:<-9223372036854775808>"
> -----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-19864
>                 URL: https://issues.apache.org/jira/browse/FLINK-19864
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Metrics, Runtime / Task
>    Affects Versions: 1.12.0
>            Reporter: Dian Fu
>            Priority: Critical
>              Labels: test-stability
>             Fix For: 1.12.0
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=8541&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33&t=7c61167f-30b3-5893-cc38-a9e3d057e392
> {code}
> 2020-10-28T22:40:44.2528420Z [ERROR] 
> testWatermarkMetrics(org.apache.flink.streaming.runtime.tasks.TwoInputStreamTaskTest)
>  Time elapsed: 1.528 s <<< FAILURE! 2020-10-28T22:40:44.2529225Z 
> java.lang.AssertionError: expected:<1> but was:<-9223372036854775808> 
> 2020-10-28T22:40:44.2541228Z at org.junit.Assert.fail(Assert.java:88) 
> 2020-10-28T22:40:44.2542157Z at 
> org.junit.Assert.failNotEquals(Assert.java:834) 2020-10-28T22:40:44.2542954Z 
> at org.junit.Assert.assertEquals(Assert.java:645) 
> 2020-10-28T22:40:44.2543456Z at 
> org.junit.Assert.assertEquals(Assert.java:631) 2020-10-28T22:40:44.2544002Z 
> at 
> org.apache.flink.streaming.runtime.tasks.TwoInputStreamTaskTest.testWatermarkMetrics(TwoInputStreamTaskTest.java:540)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to