[ https://issues.apache.org/jira/browse/BEAM-5985?focusedWorklogId=179511&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-179511 ]
ASF GitHub Bot logged work on BEAM-5985: ---------------------------------------- Author: ASF GitHub Bot Created on: 28/Dec/18 15:53 Start Date: 28/Dec/18 15:53 Worklog Time Spent: 10m Work Description: kkucharc commented on pull request #7184: [BEAM-5985] Create jenkins jobs to run the load tests for Java SDK URL: https://github.com/apache/beam/pull/7184#discussion_r244349984 ########## File path: .test-infra/jenkins/job_LoadTests_Java.groovy ########## @@ -0,0 +1,85 @@ +/* + * 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 LoadTestsBuilder as loadTestsBuilder +import CommonJobProperties as commonJobProperties + + +def testsConfigurations = [ + [ + jobName : 'beam_Java_LoadTests_GroupByKey_Direct_Small', + jobDescription : 'Runs GroupByKey load tests on direct runner small records 10b', + itClass : 'org.apache.beam.sdk.loadtests.GroupByKeyLoadTest', + prCommitStatusName: 'Java GroupByKey Small Java Load Test Direct', + prTriggerPhase : 'Run GroupByKey Small Java Load Test Direct', + runner : loadTestsBuilder.Runner.DIRECT, + jobProperties : [ + publishToBigQuery: true, + bigQueryDataset : 'load_test_PRs', + bigQueryTable : 'direct_gbk_small', + sourceOptions : '{"numRecords":1000000000,"splitPointFrequencyRecords":1,"keySizeBytes":1,"valueSizeBytes":9,"numHotKeys":0,"hotKeyFraction":0,"seed":123456,"bundleSizeDistribution":{"type":"const","const":42},"forceNumInitialBundles":100,"progressShape":"LINEAR","initializeDelayDistribution":{"type":"const","const":42}}', + stepOptions : '{"outputRecordsPerInputRecord":1,"preservesInputKeyDistribution":true,"perBundleDelay":10000,"perBundleDelayType":"MIXED","cpuUtilizationInMixedDelay":0.5}', + fanout : 10, + iterations : 1, + ] + + ], + [ + jobName : 'beam_Java_LoadTests_GroupByKey_Dataflow_Small', + jobDescription : 'Runs GroupByKey load tests on Dataflow runner small records 10b', + itClass : 'org.apache.beam.sdk.loadtests.GroupByKeyLoadTest', + prCommitStatusName: 'Java GroupByKey Small Load Test Dataflow', + prTriggerPhase : 'Run GroupByKey Small Java Load Test Dataflow', + runner : loadTestsBuilder.Runner.DATAFLOW, + jobProperties : [ + publishToBigQuery : true, + bigQueryDataset : 'load_test_PRs', + bigQueryTable : 'dataflow_gbk_small', + sourceOptions : '{"numRecords":1000000000,"splitPointFrequencyRecords":1,"keySizeBytes":1,"valueSizeBytes":9,"numHotKeys":0,"hotKeyFraction":0,"seed":123456,"bundleSizeDistribution":{"type":"const","const":42},"forceNumInitialBundles":100,"progressShape":"LINEAR","initializeDelayDistribution":{"type":"const","const":42}}', + stepOptions : '{"outputRecordsPerInputRecord":1,"preservesInputKeyDistribution":true,"perBundleDelay":10000,"perBundleDelayType":"MIXED","cpuUtilizationInMixedDelay":0.5}', + fanout : 10, + iterations : 1, + maxNumWorkers : 10, + ] + + ], +] + +for (testConfiguration in testsConfigurations) { + create_load_test_job(testConfiguration) +} + +private void create_load_test_job(testConfiguration) { Review comment: I changed it, thanks for suggestion! ---------------------------------------------------------------- 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: 179511) Time Spent: 8h 20m (was: 8h 10m) > Create jenkins jobs to run the load tests for Java SDK > ------------------------------------------------------ > > Key: BEAM-5985 > URL: https://issues.apache.org/jira/browse/BEAM-5985 > Project: Beam > Issue Type: Sub-task > Components: testing > Reporter: Lukasz Gajowy > Assignee: Kasia Kucharczyk > Priority: Major > Time Spent: 8h 20m > Remaining Estimate: 0h > > How/how often/in what cases we run those tests is yet to be decided (this is > part of the task) -- This message was sent by Atlassian JIRA (v7.6.3#76005)