Skip to content

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