-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Powered by SuggestiMate
For new github repositories we receive 64 bit commit status's id's, this results in various errors (see below)
Snippet of the error (with some information removed)
com.fasterxml.jackson.core.JsonParseException: Numeric value (4295616343) out of range of int at [Source: \{ "url":"https://api.github.com/repos/LabD/waaromdoejehnetniet/statuses/0eb6453f8b03c985f6ee0bbc6d0e82e5821aef9a", "id":4295616343, "state":"pending", "description":"Flake8 checks in progress..", "target_url":("<redacted>","context":"continuous-integration/jenkins/flake8", "created_at":"2017-10-24T09:59:04Z", "updated_at":("2017-10-24T09:59:04Z", "note": "other keys removed" }}; line: 1, column: 133]
- is duplicated by
-
JENKINS-47820 GitHub Status setter: "201 Created" API response => Numeric value out of range of int
-
- Resolved
-
-
JENKINS-47632 github repo id overflowing java int
-
- Resolved
-
[JENKINS-47601] Issues with 64bit commit status id
Nothing we can do without full stack trace. Probably some of the plugins parse it with Jackson, but its not GitHub Plugin.
Also https://github.com/kohsuke/github-api should be checked
After some more invesitgation it indeed seems to be a github-api problem. I've updated the issue.
Sorry I didn't post the full stack trace immediately, my bad.
com.fasterxml.jackson.core.JsonParseException: Numeric value (4295854603) out of range of int at [Source: {"url":"https://api.github.com/repos/LabD/doethetniet/statuses/b330cd104d496fbc06c6e1f3766a11941464c000","id":4295854603,"state":"pending","description":"Flake8 checks in progress..","target_url":"https://the-jenkins-server/job/doethetniet/job/master/7/display/redirect","context":"continuous-integration/jenkins/flake8","created_at":"2017-10-25T18:23:29Z","updated_at":"2017-10-25T18:23:29Z","creator":{"login":"the-user","id":19224964,"avatar_url":"https://avatars1.githubusercontent.com/u/19224964?v=4","gravatar_id":"","url":"https://api.github.com/users/the-user","html_url":"https://github.com/the-user","followers_url":"https://api.github.com/users/the-user/followers","following_url":"https://api.github.com/users/the-user/following{/other_user}","gists_url":"https://api.github.com/users/the-user/gists{/gist_id}","starred_url":"https://api.github.com/users/the-user/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-user/subscriptions","organizations_url":"https://api.github.com/users/the-user/orgs","repos_url":"https://api.github.com/users/the-user/repos","events_url":"https://api.github.com/users/the-user/events{/privacy}","received_events_url":"https://api.github.com/users/the-user/received_events","type":"User","site_admin":false}}; line: 1, column: 133] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558) at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(ParserBase.java:928) at com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:866) at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:694) at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:306) at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:286) at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:504) at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:108) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:276) Caused: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4295854603) out of range of int at [Source: {"url":"https://api.github.com/repos/LabD/doethetniet/statuses/b330cd104d496fbc06c6e1f3766a11941464c000","id":4295854603,"state":"pending","description":"Flake8 checks in progress..","target_url":"https://the-jenkins-server/job/doethetniet/job/master/7/display/redirect","context":"continuous-integration/jenkins/flake8","created_at":"2017-10-25T18:23:29Z","updated_at":"2017-10-25T18:23:29Z","creator":{"login":"the-user","id":19224964,"avatar_url":"https://avatars1.githubusercontent.com/u/19224964?v=4","gravatar_id":"","url":"https://api.github.com/users/the-user","html_url":"https://github.com/the-user","followers_url":"https://api.github.com/users/the-user/followers","following_url":"https://api.github.com/users/the-user/following{/other_user}","gists_url":"https://api.github.com/users/the-user/gists{/gist_id}","starred_url":"https://api.github.com/users/the-user/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-user/subscriptions","organizations_url":"https://api.github.com/users/the-user/orgs","repos_url":"https://api.github.com/users/the-user/repos","events_url":"https://api.github.com/users/the-user/events{/privacy}","received_events_url":"https://api.github.com/users/the-user/received_events","type":"User","site_admin":false}}; line: 1, column: 133] at [Source: {"url":"https://api.github.com/repos/LabD/doethetniet/statuses/b330cd104d496fbc06c6e1f3766a11941464c000","id":4295854603,"state":"pending","description":"Flake8 checks in progress..","target_url":"https://the-jenkins-server/job/doethetniet/job/master/7/display/redirect","context":"continuous-integration/jenkins/flake8","created_at":"2017-10-25T18:23:29Z","updated_at":"2017-10-25T18:23:29Z","creator":{"login":"the-user","id":19224964,"avatar_url":"https://avatars1.githubusercontent.com/u/19224964?v=4","gravatar_id":"","url":"https://api.github.com/users/the-user","html_url":"https://github.com/the-user","followers_url":"https://api.github.com/users/the-user/followers","following_url":"https://api.github.com/users/the-user/following{/other_user}","gists_url":"https://api.github.com/users/the-user/gists{/gist_id}","starred_url":"https://api.github.com/users/the-user/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-user/subscriptions","organizations_url":"https://api.github.com/users/the-user/orgs","repos_url":"https://api.github.com/users/the-user/repos","events_url":"https://api.github.com/users/the-user/events{/privacy}","received_events_url":"https://api.github.com/users/the-user/received_events","type":"User","site_admin":false}}; line: 1, column: 123] (through reference chain: org.kohsuke.github.GHCommitStatus["id"]) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:388) at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:348) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1607) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:278) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:140) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3798) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2842) at org.kohsuke.github.Requester.parse(Requester.java:616) Caused: java.io.IOException: Failed to deserialize {"url":"https://api.github.com/repos/LabD/doethetniet/statuses/b330cd104d496fbc06c6e1f3766a11941464c000","id":4295854603,"state":"pending","description":"Flake8 checks in progress..","target_url":"https://the-jenkins-server/job/doethetniet/job/master/7/display/redirect","context":"continuous-integration/jenkins/flake8","created_at":"2017-10-25T18:23:29Z","updated_at":"2017-10-25T18:23:29Z","creator":{"login":"the-user","id":19224964,"avatar_url":"https://avatars1.githubusercontent.com/u/19224964?v=4","gravatar_id":"","url":"https://api.github.com/users/the-user","html_url":"https://github.com/the-user","followers_url":"https://api.github.com/users/the-user/followers","following_url":"https://api.github.com/users/the-user/following{/other_user}","gists_url":"https://api.github.com/users/the-user/gists{/gist_id}","starred_url":"https://api.github.com/users/the-user/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-user/subscriptions","organizations_url":"https://api.github.com/users/the-user/orgs","repos_url":"https://api.github.com/users/the-user/repos","events_url":"https://api.github.com/users/the-user/events{/privacy}","received_events_url":"https://api.github.com/users/the-user/received_events","type":"User","site_admin":false}} at org.kohsuke.github.Requester.parse(Requester.java:618) Caused: org.kohsuke.github.HttpException: Server returned HTTP response code: 201, message: 'Created' for URL: https://api.github.com/repos/LabD/doethetniet/statuses/b330cd104d496fbc06c6e1f3766a11941464c000 at org.kohsuke.github.Requester.parse(Requester.java:633) at org.kohsuke.github.Requester.parse(Requester.java:594) at org.kohsuke.github.Requester._to(Requester.java:272) at org.kohsuke.github.Requester.to(Requester.java:234) at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:1071) at org.jenkinsci.plugins.pipeline.githubstatusnotification.GitHubStatusNotificationStep$Execution.run(GitHubStatusNotificationStep.java:381) at org.jenkinsci.plugins.pipeline.githubstatusnotification.GitHubStatusNotificationStep$Execution.run(GitHubStatusNotificationStep.java:355) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:260) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Just found out that there already is a github issue for this: https://github.com/kohsuke/github-api/issues/387
After upgrading to 1.90, we are facing issues during sonarqube execution.
Commented the same in PR https://github.com/kohsuke/github-api/pull/388.
14:39:52 ERROR: Error during SonarQube Scanner execution 14:39:52 java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.ImmutableProjectReactor 14:39:52 at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:71) 14:39:52 at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632) 14:39:52 at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118) 14:39:52 at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136) 14:39:52 at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78) 14:39:52 at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309) 14:39:52 org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 14:39:52 at com.sun.proxy.$Proxy0.execute(Unknown Source) 14:39:52 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233) 14:39:52 at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151) 14:39:52 at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:123) 14:39:52 at org.sonarsource.scanner.cli.Main.execute(Main.java:77) 14:39:52 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 14:39:52 Caused by: java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: 'OK' for URL: https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb 14:39:52 at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:429) 14:39:52 at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:396) 14:39:52 at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44) 14:39:52 at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32) 14:39:52 at org.kohsuke.github.PagedIterable.asList(PagedIterable.java:42) 14:39:52 at org.sonar.plugins.github.PullRequestFacade.getCommitStatusForContext(PullRequestFacade.java:304) 14:39:52 at org.sonar.plugins.github.PullRequestFacade.createOrUpdateSonarQubeStatus(PullRequestFacade.java:274) 14:39:52 at org.sonar.plugins.github.PullRequestProjectBuilder.build(PullRequestProjectBuilder.java:54) 14:39:52 at org.sonar.scanner.scan.ProjectBuildersExecutor.execute(ProjectBuildersExecutor.java:53) 14:39:52 at org.sonar.scanner.scan.ImmutableProjectReactorProvider.provide(ImmutableProjectReactorProvider.java:32) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 14:39:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 14:39:52 at java.lang.reflect.Method.invoke(Method.java:498) 14:39:52 at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129) 14:39:52 at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39) 14:39:52 at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113) 14:39:52 at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270) 14:39:52 at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120) 14:39:52 at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58) 14:39:52 at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142) 14:39:52 at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96) 14:39:52 at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699) 14:39:52 at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647) 14:39:52 at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69) 14:39:52 ... 35 more 14:39:52 Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: 'OK' for URL: https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb 14:39:52 at org.kohsuke.github.Requester.parse(Requester.java:532) 14:39:52 at org.kohsuke.github.Requester.access$200(Requester.java:68) 14:39:52 at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:420) 14:39:52 ... 59 more 14:39:53 Caused by: java.io.IOException: Failed to deserialize [{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746903,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/362/","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:42Z","updated_at":"2017-11-06T08:43:42Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746836,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/361/","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:35Z","updated_at":"2017-11-06T08:43:35Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746503,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:10Z","updated_at":"2017-11-06T08:43:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300739434,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/361/","context":"PR_Unit_Test","created_at":"2017-11-06T08:32:20Z","updated_at":"2017-11-06T08:32:20Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300739315,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T08:32:10Z","updated_at":"2017-11-06T08:32:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300710232,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/360/","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:52Z","updated_at":"2017-11-06T07:39:52Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300709913,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/360/","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:15Z","updated_at":"2017-11-06T07:39:15Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300709809,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:04Z","updated_at":"2017-11-06T07:39:04Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707637,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/359/","context":"PR_Unit_Test","created_at":"2017-11-06T07:35:24Z","updated_at":"2017-11-06T07:35:24Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707264,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/359/","context":"PR_Unit_Test","created_at":"2017-11-06T07:34:46Z","updated_at":"2017-11-06T07:34:46Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707064,"state":"success","description":"Smoke Test is Passed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Smoke/436/","context":"PR_Smoke_Test","created_at":"2017-11-06T07:34:24Z","updated_at":"2017-11-06T07:34:24Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300700632,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:22:10Z","updated_at":"2017-11-06T07:22:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300696076,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/358/","context":"PR_Unit_Test","created_at":"2017-11-06T07:13:25Z","updated_at":"2017-11-06T07:13:25Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300695666,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/358/","context":"PR_Unit_Test","created_at":"2017-11-06T07:12:49Z","updated_at":"2017-11-06T07:12:49Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300695589,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:12:40Z","updated_at":"2017-11-06T07:12:40Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694770,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/357/","context":"PR_Unit_Test","created_at":"2017-11-06T07:10:57Z","updated_at":"2017-11-06T07:10:57Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694430,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/357/","context":"PR_Unit_Test","created_at":"2017-11-06T07:10:18Z","updated_at":"2017-11-06T07:10:18Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694191,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Smoke/436/","context":"PR_Smoke_Test","created_at":"2017-11-06T07:09:52Z","updated_at":"2017-11-06T07:09:52Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300689208,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:00:06Z","updated_at":"2017-11-06T07:00:06Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300689201,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Smoke_Test","created_at":"2017-11-06T07:00:05Z","updated_at":"2017-11-06T07:00:05Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}}] 14:39:53 at org.kohsuke.github.Requester.parse(Requester.java:522) 14:39:53 ... 61 more 14:39:53 Caused by: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4300746903) out of range of int 14:39:53 at [Source: java.io.StringReader@38704ff0; line: 1, column: 129] (through reference chain: org.kohsuke.github.GHCommitStatus["id"]) 14:39:53 at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:232) 14:39:53 at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:197) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1311) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:297) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121) 14:39:53 at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:151) 14:39:53 at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:18) 14:39:53 at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888) 14:39:53 at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034) 14:39:53 at org.kohsuke.github.Requester.parse(Requester.java:520) 14:39:53 ... 61 more 14:39:53 Caused by: com.fasterxml.jackson.core.JsonParseException: Numeric value (4300746903) out of range of int 14:39:53 at [Source: java.io.StringReader@38704ff0; line: 1, column: 129] 14:39:53 at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369) 14:39:53 at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532) 14:39:53 at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(ParserBase.java:847) 14:39:53 at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:643) 14:39:53 at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseInteger(StdDeserializer.java:306) 14:39:53 at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:319) 14:39:53 at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:301) 14:39:53 at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464) 14:39:53 at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295) 14:39:53 ... 67 more 14:39:53 ERROR: 14:39:53 ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
Comments in the PR indicate that this is due to a bug in some SonarQube plugin, which for unknown reasons is bundling its own copy of github-api rather than using the standard library wrapper plugin (or perhaps the issue is occurring outside the Jenkins process altogether). Anyway, not an issue here.
Hey! I ran into this same issue yesterday. Any workarounds? and when did GitHub start using 64bit commit status ids?
`