[ 
https://issues.apache.org/jira/browse/BEAM-4761?focusedWorklogId=125382&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-125382
 ]

ASF GitHub Bot logged work on BEAM-4761:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jul/18 08:03
            Start Date: 20/Jul/18 08:03
    Worklog Time Spent: 10m 
      Work Description: echauchot closed pull request #5966: [BEAM-4761] Run 
Nexmark on Dataflow
URL: https://github.com/apache/beam/pull/5966
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.test-infra/jenkins/NexmarkBigqueryProperties.groovy 
b/.test-infra/jenkins/NexmarkBigqueryProperties.groovy
index c7b2265ae71..4126b4c63ba 100644
--- a/.test-infra/jenkins/NexmarkBigqueryProperties.groovy
+++ b/.test-infra/jenkins/NexmarkBigqueryProperties.groovy
@@ -24,5 +24,5 @@ class NexmarkBigqueryProperties {
                                          '--project=apache-beam-testing',
                                          
'--resourceNameMode=QUERY_RUNNER_AND_MODE',
                                          '--exportSummaryToBigQuery=true',
-                                         
'--tempLocation=gs://temp-storage-for-perf-tests/'].join(' ')
-}
\ No newline at end of file
+                                         
'--tempLocation=gs://temp-storage-for-perf-tests/nexmark'].join(' ')
+}
diff --git a/.test-infra/jenkins/job_PostCommit_Java_Nexmark_Dataflow.groovy 
b/.test-infra/jenkins/job_PostCommit_Java_Nexmark_Dataflow.groovy
new file mode 100644
index 00000000000..f30c85feb68
--- /dev/null
+++ b/.test-infra/jenkins/job_PostCommit_Java_Nexmark_Dataflow.groovy
@@ -0,0 +1,106 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import CommonJobProperties as commonJobProperties
+import NexmarkBigqueryProperties
+import NoPhraseTriggeringPostCommitBuilder
+
+// This job runs the suite of ValidatesRunner tests against the Dataflow 
runner.
+NoPhraseTriggeringPostCommitBuilder.postCommitJob('beam_PostCommit_Java_Nexmark_Dataflow',
+        'Dataflow Runner Nexmark Tests', this) {
+  description('Runs the Nexmark suite on the Dataflow runner.')
+
+  // Execute concurrent builds if necessary.
+  concurrentBuild()
+  throttleConcurrentBuilds {
+    maxTotal(10)
+  }
+
+  // Set common parameters.
+  commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 240)
+
+  // Gradle goals for this job.
+  steps {
+    shell('echo *** RUN NEXMARK IN BATCH MODE USING DATAFLOW RUNNER ***')
+    gradle {
+      rootBuildScriptDir(commonJobProperties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      commonJobProperties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-google-cloud-dataflow-java"' +
+              ' -Pnexmark.args="' +
+              [NexmarkBigqueryProperties.nexmarkBigQueryArgs,
+              '--runner=DataflowRunner',
+              '--streaming=false',
+              '--suite=STRESS',
+              '--manageResources=false',
+              '--monitorJobs=true',
+              '--enforceEncodability=true',
+              '--enforceImmutability=true"'].join(' '))
+    }
+    shell('echo *** RUN NEXMARK IN STREAMING MODE USING DATAFLOW RUNNER ***')
+    gradle {
+      rootBuildScriptDir(commonJobProperties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      commonJobProperties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-google-cloud-dataflow-java"' +
+              ' -Pnexmark.args="' +
+              [NexmarkBigqueryProperties.nexmarkBigQueryArgs,
+              '--runner=DataflowRunner',
+              '--streaming=true',
+              '--suite=STRESS',
+              '--manageResources=false',
+              '--monitorJobs=true',
+              '--enforceEncodability=true',
+              '--enforceImmutability=true"'].join(' '))
+    }
+    shell('echo *** RUN NEXMARK IN SQL BATCH MODE USING DATAFLOW RUNNER ***')
+    gradle {
+      rootBuildScriptDir(commonJobProperties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      commonJobProperties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-google-cloud-dataflow-java"' +
+              ' -Pnexmark.args="' +
+              [NexmarkBigqueryProperties.nexmarkBigQueryArgs,
+              '--runner=DataflowRunner',
+              '--queryLanguage=sql',
+              '--streaming=false',
+              '--suite=STRESS',
+              '--manageResources=false',
+              '--monitorJobs=true',
+              '--enforceEncodability=true',
+              '--enforceImmutability=true"'].join(' '))
+    }
+    shell('echo *** RUN NEXMARK IN SQL STREAMING MODE USING DATAFLOW RUNNER 
***')
+    gradle {
+      rootBuildScriptDir(commonJobProperties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      commonJobProperties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-google-cloud-dataflow-java"' +
+              ' -Pnexmark.args="' +
+              [NexmarkBigqueryProperties.nexmarkBigQueryArgs,
+              '--runner=DataflowRunner',
+              '--queryLanguage=sql',
+              '--streaming=true',
+              '--suite=STRESS',
+              '--manageResources=false',
+              '--monitorJobs=true',
+              '--enforceEncodability=true',
+              '--enforceImmutability=true"'].join(' '))
+    }
+  }
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 125382)
    Time Spent: 3h 10m  (was: 3h)

> Add postCommit scripts and perfkit dashboards for nexmark on Dataflow runner
> ----------------------------------------------------------------------------
>
>                 Key: BEAM-4761
>                 URL: https://issues.apache.org/jira/browse/BEAM-4761
>             Project: Beam
>          Issue Type: Test
>          Components: examples-nexmark
>            Reporter: Etienne Chauchot
>            Assignee: Andrew Pilloud
>            Priority: Major
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to