[
https://issues.apache.org/jira/browse/FLINK-23611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404239#comment-17404239
]
Matthias commented on FLINK-23611:
----------------------------------
Another piece that I still don't fully understand is an assert error provided
in the {{mvn-1.log}} of the 2nd build's artifacts:
{code}
22:44:46,572 [Frontend (CLI/YARN Client) runner thread (startWithArgs()).] INFO
org.apache.flink.yarn.YarnTestBase [] - Runner
stopped with exception
java.lang.AssertionError: The YARN session returned with unexpected value=1
expected=0
at org.junit.Assert.fail(Assert.java:89) ~[junit-4.13.2.jar:4.13.2]
at
org.apache.flink.yarn.YarnTestBase$Runner.run(YarnTestBase.java:1154)
[test-classes/:?]
{code}
It indicates that we endup in [this if condition in
YarnTestBase:1153|https://github.com/apache/flink/blob/6e156bdbddc4cbdc0b79d469a7bfdb2e45071f12/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java#L1153].
The
[FlinkYarnSessionCli.run|https://github.com/apache/flink/blob/6e156bdbddc4cbdc0b79d469a7bfdb2e45071f12/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java#L1132]
call returned {{1}}. The [corresponding implementation is of this
method|https://github.com/apache/flink/blob/ad47fe246f7416c5685d1a38b8b8fb44ec503e86/flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java#L560-L685]
only returns {{0}} or fails with Exceptions, though.
> YARNSessionCapacitySchedulerITCase.testVCoresAreSetCorrectlyAndJobManagerHostnameAreShownInWebInterfaceAndDynamicPropertiesAndYarnApplicationNameAndTaskManagerSlots
> hangs on azure
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-23611
> URL: https://issues.apache.org/jira/browse/FLINK-23611
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Affects Versions: 1.14.0, 1.12.5
> Reporter: Xintong Song
> Assignee: Matthias
> Priority: Major
> Labels: test-stability
> Fix For: 1.14.0, 1.12.6
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=21439&view=logs&j=245e1f2e-ba5b-5570-d689-25ae21e5302f&t=e7f339b2-a7c3-57d9-00af-3712d4b15354&l=28959
--
This message was sent by Atlassian Jira
(v8.3.4#803005)