[
https://issues.apache.org/jira/browse/BEAM-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Łukasz Gajowy resolved BEAM-4140.
---------------------------------
Resolution: Done
Fix Version/s: 2.5.0
> Beam repo is cloned 2 times instead of one during Performance test jenkins
> Jobs
> -------------------------------------------------------------------------------
>
> Key: BEAM-4140
> URL: https://issues.apache.org/jira/browse/BEAM-4140
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Łukasz Gajowy
> Assignee: Łukasz Gajowy
> Priority: Minor
> Fix For: 2.5.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> +Proof:+
> Example Jenkins job logs can be found here (any job):
> [https://builds.apache.org/view/A-D/view/Beam/job/beam_PerformanceTests_JDBC/]
> . This is best visible if one searches logs by "git clone".
> First, cloning is done by a Jenkins job to a $WORKSPACE/src directory:
> [https://github.com/apache/beam/blob/9c9f4ceceb87933da2b03304efd21edf55216937/.test-infra/jenkins/common_job_properties.groovy#L96]
> The second one is performed by Perfkit:
> [https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/blob/f852afab0f71489958240299706878c1e51f1e89/perfkitbenchmarker/beam_benchmark_helper.py#L141]
> +Reasons I think this should be changed:+
> 1. This seems to be redundant. We either can utilize "beam_location"
> Perfkit's flag or not clone the repo to '$WORKSPACE/src' directory.
> 2. By cloning inside Perfkit we use the master branch. This is misguiding
> when developers want to test their Pull Requests in terms of performance
> (this is possible thanks to current Jenkins job configuration).
> 3. This also makes running on PR useless when developers add new code. It's
> not on master so Perfkit won't be able to pull it.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)