flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (Jira)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-15651) JarHandlerTest.testRunJar fails on travis
Date Wed, 29 Jan 2020 08:38:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-15651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chesnay Schepler closed FLINK-15651.
------------------------------------
    Fix Version/s: 1.10.1
                   1.11.0
       Resolution: Fixed

master: 23ff230ee18087760e763337f50bdb63e57fbd7b
1.10: 0709bf1039078867c9165806a70be7e8429cd2c1 

> JarHandlerTest.testRunJar fails on travis
> -----------------------------------------
>
>                 Key: FLINK-15651
>                 URL: https://issues.apache.org/jira/browse/FLINK-15651
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / REST
>    Affects Versions: 1.10.0
>            Reporter: Zhu Zhu
>            Assignee: Chesnay Schepler
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.11.0, 1.10.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The test JarHandlerTest.testRunJar fails on travis with error below:
> {code:java}
> 09:48:58.828 [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
2.061 s <<< FAILURE! - in org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest
> 09:48:58.829 [ERROR] testRunJar(org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest)
 Time elapsed: 0.2 s  <<< FAILURE!
> java.lang.AssertionError: 
> Expected: a string containing "ProgramInvocationException"
>      but: was "[Service temporarily unavailable due to an ongoing leader election. Please
refresh.]"
> 	at org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest.runTest(JarHandlerTest.java:125)
> 	at org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest.testRunJar(JarHandlerTest.java:74)
> {code}
> Seems the cause is the client sends request before the leader election is done.
> https://api.travis-ci.com/v3/job/276751147/log.txt



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

Mime
View raw message