[
https://issues.apache.org/jira/browse/BEAM-8004?focusedWorklogId=297804&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-297804
]
ASF GitHub Bot logged work on BEAM-8004:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Aug/19 11:46
Start Date: 20/Aug/19 11:46
Worklog Time Spent: 10m
Work Description: kamilwu commented on pull request #9381: [BEAM-8004]
Fix flaky Flink load tests
URL: https://github.com/apache/beam/pull/9381#discussion_r315644002
##########
File path: .test-infra/jenkins/Infrastructure.groovy
##########
@@ -108,10 +108,13 @@ class Infrastructure {
static void scaleCluster(def context, String jobName, Integer workerCount) {
context.steps {
- // Keep one extra Dataproc VM for Flink's Job Manager
- workerCount += 1
- shell("echo Changing number of workers to ${workerCount}")
- shell("gcloud dataproc clusters update ${getClusterName(jobName)}
--num-workers=${workerCount} --quiet")
+ environmentVariables {
+ env("FLINK_NUM_WORKERS", workerCount)
+ }
+ shell("gcloud dataproc clusters delete ${getClusterName(jobName)}
--quiet")
Review comment:
I'm afraid reusing `teardownDataproc` is not possible because it appends
cluster deleting to postBuildScripts. `setupFlinkCluster` on the other hand is
troublesome (due to large number of arguments) and redundant (env variables are
preserved because `context` is the same entity).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 297804)
Time Spent: 1h 20m (was: 1h 10m)
> Flink Load tests are flaky
> --------------------------
>
> Key: BEAM-8004
> URL: https://issues.apache.org/jira/browse/BEAM-8004
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Lukasz Gajowy
> Assignee: Kamil Wasilewski
> Priority: Critical
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_LoadTests_Python_Combine_Flink_Batch/
> https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_LoadTests_Python_GBK_Flink_Batch/
> The tests are mostly failing (they sometimes succeed) due to issues with
> Dataproc cluster. The error:
> {code:java}
> root: DEBUG: java.net.UnknownHostException:
> beam-loadtests-python-gbk-flink-batch-68-w-10.c.apache-beam-testing.internal
> 13:35:25 at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
> 13:35:25 at java.net.InetAddress.getAllByName(InetAddress.java:1193)
> 13:35:25 at java.net.InetAddress.getAllByName(InetAddress.java:1127)
> 13:35:25 at java.net.InetAddress.getByName(InetAddress.java:1077)
> 13:35:25 at
> org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils.getRpcUrl(AkkaRpcServiceUtils.java:167)
> 13:35:25 at
> org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils.getRpcUrl(AkkaRpcServiceUtils.java:133)
> 13:35:25 at
> org.apache.flink.runtime.highavailability.HighAvailabilityServicesUtils.createHighAvailabilityServices(HighAvailabilityServicesUtils.java:89)
> 13:35:25 at
> org.apache.flink.client.program.ClusterClient.<init>(ClusterClient.java:159)
> 13:35:25 at
> org.apache.flink.client.program.rest.RestClusterClient.<init>(RestClusterClient.java:185)
> 13:35:25 at
> org.apache.flink.client.program.rest.RestClusterClient.<init>(RestClusterClient.java:158)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.start(RemoteExecutor.java:152)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.executePlanWithJars(RemoteExecutor.java:202)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.executePlan(RemoteExecutor.java:187)
> 13:35:25 at
> org.apache.flink.api.java.RemoteEnvironment.execute(RemoteEnvironment.java:173)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkBatchPortablePipelineTranslator$BatchTranslationContext.execute(FlinkBatchPortablePipelineTranslator.java:200)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkPipelineRunner.runPipelineWithTranslator(FlinkPipelineRunner.java:92)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkPipelineRunner.run(FlinkPipelineRunner.java:68)
> 13:35:25 at
> org.apache.beam.runners.fnexecution.jobsubmission.JobInvocation.runPipeline(JobInvocation.java:78)
> 13:35:25 at {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)