[
https://issues.apache.org/jira/browse/BEAM-7502?focusedWorklogId=276602&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-276602
]
ASF GitHub Bot logged work on BEAM-7502:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Jul/19 10:16
Start Date: 15/Jul/19 10:16
Worklog Time Spent: 10m
Work Description: lgajowy commented on pull request #9042: [BEAM-7502]
Create ParDo Python Load Test Jenkins job
URL: https://github.com/apache/beam/pull/9042#discussion_r303367577
##########
File path: .test-infra/jenkins/job_LoadTests_ParDo_Python.groovy
##########
@@ -0,0 +1,153 @@
+/*
+ * 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 LoadTestsBuilder as loadTestsBuilder
+import PhraseTriggeringPostCommitBuilder
+
+def now = new Date().format("MMddHHmmss", TimeZone.getTimeZone('UTC'))
+
+def loadTestConfigurations = { datasetName -> [
+ [
+ title : 'ParDo Python Load test: 2GB 100 byte records
10 times',
+ itClass :
'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ job_name :
'load-tests-python-dataflow-batch-pardo-1-' + now,
+ project : 'apache-beam-testing',
+ temp_location :
'gs://temp-storage-for-perf-tests/smoketests',
+ publish_to_big_query : true,
+ metrics_dataset : datasetName,
+ metrics_table : 'python_dataflow_batch_pardo_1',
+ input_options : '\'{' +
+ '"num_records": 20000000,' +
+ '"key_size": 10,' +
+ '"value_size": 90}\'',
+ iterations : 10,
+ number_of_counter_operations: 0,
+ number_of_counters : 1,
+ num_workers : 5,
+ autoscaling_algorithm: 'NONE',
+ ]
+ ],
+ [
+ title : 'ParDo Python Load test: 2GB 100 byte records
200 times',
+ itClass :
'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ job_name :
'load-tests-python-dataflow-batch-pardo-2-' + now,
+ project : 'apache-beam-testing',
+ temp_location :
'gs://temp-storage-for-perf-tests/smoketests',
+ publish_to_big_query : true,
+ metrics_dataset : datasetName,
+ metrics_table : 'python_dataflow_batch_pardo_2',
+ input_options : '\'{' +
+ '"num_records": 20000000,' +
+ '"key_size": 10,' +
+ '"value_size": 90}\'',
+ iterations : 200,
+ number_of_counter_operations: 0,
+ number_of_counters : 1,
+ num_workers : 5,
+ autoscaling_algorithm: 'NONE',
+ ]
+ ],
+ [
+ title : 'ParDo Python Load test: 2GB 100 byte records
10 counters',
+ itClass :
'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ job_name :
'load-tests-python-dataflow-batch-pardo-3-' + now,
+ project : 'apache-beam-testing',
+ temp_location :
'gs://temp-storage-for-perf-tests/smoketests',
+ publish_to_big_query : true,
+ metrics_dataset : datasetName,
+ metrics_table : 'python_dataflow_batch_pardo_3',
+ input_options : '\'{' +
+ '"num_records": 20000000,' +
+ '"key_size": 10,' +
+ '"value_size": 90}\'',
+ iterations : 10,
+ number_of_counter_operations: 10,
+ number_of_counters : 1,
+ num_workers : 5,
+ autoscaling_algorithm: 'NONE',
+ ]
+ ],
+]}
+
+def loadTestConfigurationManyCounters = { datasetName -> [
Review comment:
I don't think splitting the job to 2 jobs is the solution here. It is very
weird that it takes so much time (above 2 hours) to run, whereas java needs 28
minutes to run all the tests (as we discussed offline). Could you investigate
this a little bit more? Maybe the pipeline shape is not as we think it is?
----------------------------------------------------------------
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: 276602)
> Create ParDo Python Load Test Jenkins Job
> -----------------------------------------
>
> Key: BEAM-7502
> URL: https://issues.apache.org/jira/browse/BEAM-7502
> Project: Beam
> Issue Type: Sub-task
> Components: testing
> Reporter: Kasia Kucharczyk
> Assignee: Kamil Wasilewski
> Priority: Major
> Time Spent: 4h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)