[ https://issues.apache.org/jira/browse/BEAM-7660?focusedWorklogId=315685&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-315685 ]
ASF GitHub Bot logged work on BEAM-7660: ---------------------------------------- Author: ASF GitHub Bot Created on: 20/Sep/19 13:51 Start Date: 20/Sep/19 13:51 Worklog Time Spent: 10m Work Description: kamilwu commented on pull request #9449: [BEAM-7660] Create Python ParDo load test job on Flink URL: https://github.com/apache/beam/pull/9449#discussion_r326637823 ########## File path: .test-infra/jenkins/job_LoadTests_ParDo_Flink_Python.groovy ########## @@ -0,0 +1,150 @@ +/* + * 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 CommonTestProperties +import LoadTestsBuilder as loadTestsBuilder +import PhraseTriggeringPostCommitBuilder +import Flink +import Docker + +String now = new Date().format("MMddHHmmss", TimeZone.getTimeZone('UTC')) + +def scenarios = { datasetName, sdkHarnessImageTag -> [ + [ + title : 'ParDo Python Load test: 2GB 100 byte records 10 times', + itClass : 'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo', + runner : CommonTestProperties.Runner.PORTABLE, + jobProperties: [ + job_name : 'load-tests-python-flink-batch-pardo-1-' + now, + project : 'apache-beam-testing', + publish_to_big_query : false, + metrics_dataset : datasetName, + metrics_table : 'python_flink_batch_pardo_1', + input_options : '\'{' + + '"num_records": 20000000,' + + '"key_size": 10,' + + '"value_size": 90}\'', + iterations : 10, + number_of_counter_operations: 0, + number_of_counters : 0, + parallelism : 5, + job_endpoint : 'localhost:8099', + environment_config : sdkHarnessImageTag, + environment_type : 'DOCKER', + ] + ], + [ + title : 'ParDo Python Load test: 2GB 100 byte records 200 times', + itClass : 'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo', + runner : CommonTestProperties.Runner.PORTABLE, + jobProperties: [ + job_name : 'load-tests-python-flink-batch-pardo-2-' + now, + project : 'apache-beam-testing', + publish_to_big_query : false, + metrics_dataset : datasetName, + metrics_table : 'python_flink_batch_pardo_2', + input_options : '\'{' + + '"num_records": 20000000,' + + '"key_size": 10,' + + '"value_size": 90}\'', + iterations : 200, + number_of_counter_operations: 0, + number_of_counters : 0, + parallelism : 5, + job_endpoint : 'localhost:8099', + environment_config : sdkHarnessImageTag, + environment_type : 'DOCKER', + ] + ], + [ + title : 'ParDo Python Load test: 2GB 100 byte records 10 counters', + itClass : 'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo', + runner : CommonTestProperties.Runner.PORTABLE, + jobProperties: [ + job_name : 'load-tests-python-flink-batch-pardo-3-' + now, + project : 'apache-beam-testing', + publish_to_big_query : false, + metrics_dataset : datasetName, + metrics_table : 'python_flink_batch_pardo_3', + input_options : '\'{' + + '"num_records": 20000000,' + + '"key_size": 10,' + + '"value_size": 90}\'', + iterations : 1, + number_of_counter_operations: 10, + number_of_counters : 1, + parallelism : 5, + job_endpoint : 'localhost:8099', + environment_config : sdkHarnessImageTag, + environment_type : 'DOCKER', + ] + ], + [ + title : 'ParDo Python Load test: 2GB 100 byte records 100 counters', + itClass : 'apache_beam.testing.load_tests.pardo_test:ParDoTest.testParDo', + runner : CommonTestProperties.Runner.PORTABLE, + jobProperties: [ + job_name : 'load-tests-python-flink-batch-pardo-4-' + now, + project : 'apache-beam-testing', + publish_to_big_query : false, + metrics_dataset : datasetName, + metrics_table : 'python_flink_batch_pardo_4', + input_options : '\'{' + + '"num_records": 20000000,' + + '"key_size": 10,' + + '"value_size": 90}\'', + iterations : 1, + number_of_counter_operations: 100, + number_of_counters : 1, + parallelism : 5, + job_endpoint : 'localhost:8099', + environment_config : sdkHarnessImageTag, + environment_type : 'DOCKER', + ] + ], +]} + +def loadTest = { scope, triggeringContext -> Review comment: Great to hear that! ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 315685) Time Spent: 3.5h (was: 3h 20m) > Create ParDo Python Load Test Jenkins Job [Flink] > ------------------------------------------------- > > Key: BEAM-7660 > URL: https://issues.apache.org/jira/browse/BEAM-7660 > Project: Beam > Issue Type: Sub-task > Components: testing > Reporter: Kamil Wasilewski > Assignee: Kamil Wasilewski > Priority: Major > Time Spent: 3.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)