You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2016/05/16 22:05:13 UTC

[jira] [Updated] (INFRA-11878) GitHub-based jenkins builds are failing before starting

     [ https://issues.apache.org/jira/browse/INFRA-11878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Halperin updated INFRA-11878:
------------------------------------
    Description: 
Maybe the same issue affecting Thrift

See:
+ https://builds.apache.org/job/beam_PreCommit_MavenVerify/1185/console 
+ https://builds.apache.org/job/Thrift-precommit/473/console
+ https://builds.apache.org/job/Thrift-precommit/471/console

{code}
[EnvInject] - Mask passwords passed as build parameters.
GitHub pull request #341 to apache/incubator-beam
[EnvInject] - Loading node environment variables.
Building remotely on beam2 (beam) in workspace /home/jenkins/jenkins-slave/workspace/beam_PreCommit_MavenVerify
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/incubator-beam.git # timeout=10
Fetching upstream changes from https://github.com/apache/incubator-beam.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/apache/incubator-beam.git +refs/heads/*:refs/remotes/origin/*
 > git config core.sparsecheckout # timeout=10
 > git checkout -f origin/master # timeout=10
 > git branch -a # timeout=10
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git checkout -b master origin/master
FATAL: Could not checkout master with start point origin/master
hudson.plugins.git.GitException: Could not checkout master with start point origin/master
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1962)
	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:62)

...

Caused by: hudson.plugins.git.GitException: Command "git checkout -b master origin/master" returned status code 1:
stdout: sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubApiaryClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubTestClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PushbackSideInputDoFnRunner.java: needs merge
sdks/java/core/src/test/java/org/apache/beam/sdk/util/IdentitySideInputWindowFn.java: needs merge

stderr: error: you need to resolve your current index first

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1693)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:62)
{code}

  was:
See https://builds.apache.org/job/beam_PreCommit_MavenVerify/1185/console for an example

{code}
[EnvInject] - Mask passwords passed as build parameters.
GitHub pull request #341 to apache/incubator-beam
[EnvInject] - Loading node environment variables.
Building remotely on beam2 (beam) in workspace /home/jenkins/jenkins-slave/workspace/beam_PreCommit_MavenVerify
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/incubator-beam.git # timeout=10
Fetching upstream changes from https://github.com/apache/incubator-beam.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/apache/incubator-beam.git +refs/heads/*:refs/remotes/origin/*
 > git config core.sparsecheckout # timeout=10
 > git checkout -f origin/master # timeout=10
 > git branch -a # timeout=10
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git checkout -b master origin/master
FATAL: Could not checkout master with start point origin/master
hudson.plugins.git.GitException: Could not checkout master with start point origin/master
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1962)
	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:62)

...

Caused by: hudson.plugins.git.GitException: Command "git checkout -b master origin/master" returned status code 1:
stdout: sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubApiaryClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubTestClient.java: needs merge
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PushbackSideInputDoFnRunner.java: needs merge
sdks/java/core/src/test/java/org/apache/beam/sdk/util/IdentitySideInputWindowFn.java: needs merge

stderr: error: you need to resolve your current index first

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1693)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:62)
{code}

        Summary: GitHub-based jenkins builds are failing before starting  (was: BEAM jenkins builds are failing before starting)

> GitHub-based jenkins builds are failing before starting
> -------------------------------------------------------
>
>                 Key: INFRA-11878
>                 URL: https://issues.apache.org/jira/browse/INFRA-11878
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Daniel Halperin
>
> Maybe the same issue affecting Thrift
> See:
> + https://builds.apache.org/job/beam_PreCommit_MavenVerify/1185/console 
> + https://builds.apache.org/job/Thrift-precommit/473/console
> + https://builds.apache.org/job/Thrift-precommit/471/console
> {code}
> [EnvInject] - Mask passwords passed as build parameters.
> GitHub pull request #341 to apache/incubator-beam
> [EnvInject] - Loading node environment variables.
> Building remotely on beam2 (beam) in workspace /home/jenkins/jenkins-slave/workspace/beam_PreCommit_MavenVerify
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://github.com/apache/incubator-beam.git # timeout=10
> Fetching upstream changes from https://github.com/apache/incubator-beam.git
>  > git --version # timeout=10
>  > git -c core.askpass=true fetch --tags --progress https://github.com/apache/incubator-beam.git +refs/heads/*:refs/remotes/origin/*
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f origin/master # timeout=10
>  > git branch -a # timeout=10
>  > git rev-parse remotes/origin/master^{commit} # timeout=10
>  > git checkout -b master origin/master
> FATAL: Could not checkout master with start point origin/master
> hudson.plugins.git.GitException: Could not checkout master with start point origin/master
> 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1962)
> 	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
> 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:62)
> ...
> Caused by: hudson.plugins.git.GitException: Command "git checkout -b master origin/master" returned status code 1:
> stdout: sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubApiaryClient.java: needs merge
> sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubClient.java: needs merge
> sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubTestClient.java: needs merge
> sdks/java/core/src/main/java/org/apache/beam/sdk/util/PushbackSideInputDoFnRunner.java: needs merge
> sdks/java/core/src/test/java/org/apache/beam/sdk/util/IdentitySideInputWindowFn.java: needs merge
> stderr: error: you need to resolve your current index first
> 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1693)
> 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:62)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)