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

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

                Author: ASF GitHub Bot
            Created on: 20/Jun/18 15:17
            Start Date: 20/Jun/18 15:17
    Worklog Time Spent: 10m 
      Work Description: echauchot commented on a change in pull request #4976: 
[BEAM-4225] Add Nexmark PostCommit runs for spark, flink and direct runner and 
export to Bigquery
URL: https://github.com/apache/beam/pull/4976#discussion_r196823402
 
 

 ##########
 File path: .test-infra/jenkins/job_beam_PostCommit_Java_Nexmark_Direct.groovy
 ##########
 @@ -0,0 +1,80 @@
+/*
+ * 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 common_job_properties
+
+// This job runs the suite of ValidatesRunner tests against the Direct runner.
+job('beam_PostCommit_Java_Nexmark_Direct') {
+  description('Runs the Nexmark suite on the Direct runner.')
+
+  // Set common parameters.
+  common_job_properties.setTopLevelMainJobProperties(delegate, 'master', 240)
+
+  // Sets that this is a PostCommit job.
+  common_job_properties.setPostCommit(delegate)
+
+  // Allows triggering this build against pull requests.
+  common_job_properties.enablePhraseTriggeringFromPullRequest(
+    delegate,
+    'Apache Direct Runner Nexmark Tests',
+    'Run Direct Nexmark')
+
+  // Gradle goals for this job.
+  steps {
+    shell('echo *** RUN NEXMARK IN BATCH MODE USING DIRECT RUNNER ***')
+    gradle {
+      rootBuildScriptDir(common_job_properties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      common_job_properties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-direct-java"' +
+              ' -Pnexmark.args="' +
+              '        --bigQueryTable=nexmark\n'+
+              '        --bigQueryDataset=nexmark\n'+
+              '        --project=apache-beam-testing\n'+
+              '        --resourceNameMode=QUERY_RUNNER_AND_MODE\n'+
+              '        --exportSummaryToBigQuery=true\n'+
+              '        --runner=DirectRunner\n' +
+              '        --streaming=false\n' +
+              '        --suite=SMOKE\n' +
+              '        --manageResources=false\n' +
+              '        --monitorJobs=true\n' +
+              '        --enforceEncodability=true\n' +
+              '        --enforceImmutability=true"')
+    }
+    shell('echo *** RUN NEXMARK IN STREAMING MODE USING DIRECT RUNNER ***')
+    gradle {
+      rootBuildScriptDir(common_job_properties.checkoutDir)
+      tasks(':beam-sdks-java-nexmark:run')
+      common_job_properties.setGradleSwitches(delegate)
+      switches('-Pnexmark.runner=":beam-runners-direct-java"' +
+              ' -Pnexmark.args="' +
+              '        --bigQueryTable=nexmark\n'+
+              '        --bigQueryDataset=nexmark\n'+
+              '        --project=apache-beam-testing\n'+
+              '        --resourceNameMode=QUERY_RUNNER_AND_MODE\n'+
+              '        --exportSummaryToBigQuery=true\n'+
+              '        --runner=DirectRunner\n' +
+              '        --streaming=true\n' +
+              '        --suite=SMOKE\n' +
+              '        --manageResources=false\n' +
+              '        --monitorJobs=true\n' +
+              '        --enforceEncodability=true\n' +
+              '        --enforceImmutability=true"')
 
 Review comment:
   +1

----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 113753)
    Time Spent: 3h 40m  (was: 3.5h)

> Integrate Nexmark with perfkit dashboards
> -----------------------------------------
>
>                 Key: BEAM-4225
>                 URL: https://issues.apache.org/jira/browse/BEAM-4225
>             Project: Beam
>          Issue Type: Improvement
>          Components: examples-nexmark
>            Reporter: Etienne Chauchot
>            Assignee: Etienne Chauchot
>            Priority: Major
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> The aim is to run Nexmark as post-commits and export the results to the 
> performance dashboards:
> see the threads:
> [https://lists.apache.org/thread.html/9f8fe1c6df7d8bfe2697332e69722ca4edd2810adc6a914cdf32da29@%3Cdev.beam.apache.org%3E]
> https://lists.apache.org/thread.html/701196efd6e74b7715785d43019a4a73e8a093997f59662fdadf8f2a@%3Cdev.beam.apache.org%3E



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

Reply via email to