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

codecov step seems to have some issues with the GH api #109

Closed
v1v opened this issue Jul 4, 2019 · 0 comments · Fixed by #110
Closed

codecov step seems to have some issues with the GH api #109

v1v opened this issue Jul 4, 2019 · 0 comments · Fixed by #110
Assignees
Labels
automation bug Something isn't working

Comments

@v1v
Copy link
Member

v1v commented Jul 4, 2019

Let's see whether the codecov step error shown below is related to the implementation or an environmental issue

[2019-07-03T11:48:30.377Z]  at githubBranchRef.call(githubBranchRef.groovy:32)
[2019-07-03T11:48:30.377Z]  at codecov.call(codecov.groovy:58)

Full stacktrace:

[2019-07-03T11:48:30.377Z] Also:   org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution.cancel(CpsBodyExecution.java:253)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.steps.BodyExecution.cancel(BodyExecution.java:76)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStepExecution.stop(ParallelStepExecution.java:67)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.checkAllDone(ParallelStep.java:147)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.onFailure(ParallelStep.java:134)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:361)
[2019-07-03T11:48:30.377Z]      at com.cloudbees.groovy.cps.impl.ThrowBlock$1.receive(ThrowBlock.java:68)
[2019-07-03T11:48:30.377Z] Also:   org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution.cancel(CpsBodyExecution.java:253)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.steps.BodyExecution.cancel(BodyExecution.java:76)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStepExecution.stop(ParallelStepExecution.java:67)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.checkAllDone(ParallelStep.java:147)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.onFailure(ParallelStep.java:134)
[2019-07-03T11:48:30.377Z]      at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:361)
[2019-07-03T11:48:30.377Z]      at com.cloudbees.groovy.cps.impl.ThrowBlock$1.receive(ThrowBlock.java:68)
[2019-07-03T11:48:30.377Z] java.lang.NullPointerException: Cannot get property 'repo' on null object
[2019-07-03T11:48:30.377Z]  at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
[2019-07-03T11:48:30.377Z]  at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:174)
[2019-07-03T11:48:30.377Z]  at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:456)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.getProperty(DefaultInvoker.java:39)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20)
[2019-07-03T11:48:30.377Z]  at githubBranchRef.call(githubBranchRef.groovy:32)
[2019-07-03T11:48:30.377Z]  at codecov.call(codecov.groovy:58)
[2019-07-03T11:48:30.377Z]  at ___cps.transform___(Native Method)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66)
[2019-07-03T11:48:30.377Z]  at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source)
[2019-07-03T11:48:30.377Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2019-07-03T11:48:30.377Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.Next.step(Next.java:83)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
[2019-07-03T11:48:30.377Z]  at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
[2019-07-03T11:48:30.377Z]  at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
[2019-07-03T11:48:30.377Z]  at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:186)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:370)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:93)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:282)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:270)
[2019-07-03T11:48:30.377Z]  at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
[2019-07-03T11:48:30.377Z]  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2019-07-03T11:48:30.377Z]  at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
[2019-07-03T11:48:30.377Z]  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
[2019-07-03T11:48:30.377Z]  at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
[2019-07-03T11:48:30.377Z]  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2019-07-03T11:48:30.377Z]  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2019-07-03T11:48:30.377Z]  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2019-07-03T11:48:30.377Z]  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2019-07-03T11:48:30.377Z]  at java.lang.Thread.run(Thread.java:748)

Which might be related to

12:47:52  [WARN] makeGithubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/699 return the message : java.lang.Exception: httpRequest: Failure connecting to the service https://api.github.com/repos/elastic/apm-agent-java/pulls/699 : httpRequest: Failure connecting to the service https://api.github.com/repos/elastic/apm-agent-java/pulls/699 : 
12:47:52  Code: 502
12:47:52  Error: {
12:47:52    "message": "Server Error"
12:47:52  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants