[ 
https://issues.apache.org/jira/browse/BEAM-7788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892066#comment-16892066
 ] 

Udi Meiri commented on BEAM-7788:
---------------------------------

I think that the speed up from keeping the git workspace around is minimal.
On my relatively powerful workstation and network connection a full clone of 
Beam takes 6-7s (128MiB downloaded). A shallow clone takes about 1s less.

I found that the Jenkins git plugin already has functionality to wipe the 
workspace: 
https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.ScmContext.git

> Go modules breaking precommits?
> -------------------------------
>
>                 Key: BEAM-7788
>                 URL: https://issues.apache.org/jira/browse/BEAM-7788
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go, testing
>            Reporter: Udi Meiri
>            Priority: Major
>
> Lots of errors like:
> {code}
> 01:32:36  > git clean -fdx # timeout=10
> 01:32:38 FATAL: Command "git clean -fdx" returned status code 1:
> 01:32:38 stdout: 
> 01:32:38 stderr: warning: failed to remove 
> sdks/go/.gogradle/project_gopath/pkg/mod/[email protected]/zpages/example_test.go
> ... [lots of files listed]
> {code}
> Examples:
> https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Commit/3886/consoleFull
> https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Commit/3884/consoleFull
> https://builds.apache.org/job/beam_PreCommit_JavaPortabilityApi_Commit/3790/consoleFull
> https://builds.apache.org/job/beam_PreCommit_JavaPortabilityApi_Commit/3788/consoleFull
> cc: [~lostluck]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to