Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-4496] Fix #3 for branch fetch failure on job_PostCommit_Website_Publish #6544

Merged
merged 3 commits into from
Oct 2, 2018
Merged

[BEAM-4496] Fix #3 for branch fetch failure on job_PostCommit_Website_Publish #6544

merged 3 commits into from
Oct 2, 2018

Conversation

alanmyrvold
Copy link
Member

Still failing:
https://builds.apache.org/job/beam_PostCommit_Website_Publish/57/
05:01:02 git fetch https://gitbox.apache.org/repos/asf/beam.git asf-site
05:01:02 Starting process 'command 'sh''. Working directory: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Website_Publish/src/website Command: sh -c git fetch https://gitbox.apache.org/repos/asf/beam.git asf-site
05:01:02 Successfully started process 'command 'sh''
05:01:02 From https://gitbox.apache.org/repos/asf/beam
05:01:02 * branch asf-site -> FETCH_HEAD
05:01:02 :beam-website:commitWebsite (Thread[Task worker for ':' Thread 11,5,main]) completed. Took 1.494 secs.
05:01:02
05:01:02 FAILURE: Build failed with an exception.
05:01:02
05:01:02 * Where:
05:01:02 Build file '/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Website_Publish/src/website/build.gradle' line: 130
05:01:02
05:01:02 * What went wrong:
05:01:02 Execution failed for task ':beam-website:commitWebsite'.
05:01:02 > org.eclipse.jgit.api.errors.RefNotFoundException: Ref asf-site cannot be resolved
05:01:02

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

@alanmyrvold
Copy link
Member Author

+R: @swegner PTAL? Still failing. Mysterious why it succeeds as a pull request.

@swegner
Copy link
Contributor

swegner commented Oct 2, 2018

I was able to reproduce this by doing a single-branch clone of beam and then running the build:

git clone --single-branch --branch master git@github.com:apache/beam.git .
./gradlew :beam-website:commitWebsite -x :beam-website:testWebsite --scan

https://gradle.com/s/7zo63xrlmsomg

It seems asf-site cannot be resolved unless it is an existing branch. I suspect there's no mapping for it in the remote config. Let me try some more git kung-fu.. https://github.com/alanmyrvold/beam/pull/4

fixup! Ensure git fetch command works even without remote mapping config
@swegner swegner merged commit 9d65ee9 into apache:master Oct 2, 2018
@swegner
Copy link
Contributor

swegner commented Oct 2, 2018

cc @Ardagan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants