[
https://issues.apache.org/jira/browse/BEAM-11796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288696#comment-17288696
]
Tyson Hamilton commented on BEAM-11796:
---------------------------------------
Wiping out the workspace already happens AFAICT, from the logs:
*16:00:06* Wiping out workspace first.*16:00:06* Cloning the remote Git
repository
One other suggestion, based on old bugs, could be to use the command line
instead of the git plugin for checking out the repository. It seems like there
have been past issues with the plugin, but I don't know what version is being
used:
https://stackoverflow.com/questions/15395157/jenkins-git-plugin-checkoutconflictexception
> beam_PostCommit_Website_Publish failing (checkout conflict)
> -----------------------------------------------------------
>
> Key: BEAM-11796
> URL: https://issues.apache.org/jira/browse/BEAM-11796
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: Brian Hulette
> Priority: P1
> Attachments: websites.png
>
>
> Earliest failure was
> https://ci-beam.apache.org/job/beam_PostCommit_Website_Publish/7299/
> Doesn't seem to be permanently failing, every once in a while it succeeds,
> e.g. https://ci-beam.apache.org/job/beam_PostCommit_Website_Publish/7342/
> The failures contain the following long
> {code}
> 16:01:36 > Task :website:commitWebsite FAILED
> 16:01:36
> 16:01:36 FAILURE: Build failed with an exception.
> 16:01:36
> 16:01:36 * Where:
> 16:01:36 Build file
> '/home/jenkins/26ff11f4/workspace/beam_PostCommit_Website_Publish/src/website/build.gradle'
> line: 275
> 16:01:36
> 16:01:36 * What went wrong:
> 16:01:36 Execution failed for task ':website:commitWebsite'.
> 16:01:36 > org.eclipse.jgit.api.errors.CheckoutConflictException: Checkout
> conflict with files:
> 16:01:36 website/www/site/static/images/mascot/beam_mascot.ai
> 16:01:36 website/www/site/static/images/mascot/big_data.ai
> 16:01:36 website/www/site/static/images/mascot/learning_independently.ai
> 16:01:36 website/www/site/static/images/mascot/model_sheet.ai
> 16:01:36
> 16:01:36 * Try:
> 16:01:36 Run with --stacktrace option to get the stack trace. Run with --info
> or --debug option to get more log output. Run with --scan to get full
> insights.
> 16:01:36
> 16:01:36 * Get more help at https://help.gradle.org
> 16:01:36
> 16:01:36 Deprecated Gradle features were used in this build, making it
> incompatible with Gradle 7.0.
> 16:01:36 Use '--warning-mode all' to show the individual deprecation warnings.
> 16:01:36 See
> https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
> 16:01:36
> 16:01:36 BUILD FAILED in 1m 6s
> 16:01:36 12 actionable tasks: 10 executed, 2 up-to-date
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)