Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1383

Jenkins logs an error when updating the commit status in GitHub

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Out of Date
    • None
    • None
    • Build/Packaging
    • None

    Description

      The pull request status seems to be updated, but the plugin logs the following error in the console. Perhaps a plugin update is needed?

      Could not update commit status of the Pull Request on GitHub.
      org.kohsuke.github.HttpException: Server returned HTTP response code: 201, message: 'Created' for URL: https://api.github.com/repos/infinispan/jdg/statuses/b6a3001fbe94dc5dc44c2d58f554e25b87dc650d
      	at org.kohsuke.github.Requester.parse(Requester.java:508)
      	at org.kohsuke.github.Requester._to(Requester.java:243)
      	at org.kohsuke.github.Requester.to(Requester.java:205)
      	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:866)
      	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:273)
      	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildStart(GhprbSimpleStatus.java:186)
      	at org.jenkinsci.plugins.ghprb.GhprbBuilds.onStarted(GhprbBuilds.java:132)
      	at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:24)
      	at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:17)
      	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:215)
      	at hudson.model.Run.execute(Run.java:1734)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.io.IOException: Failed to deserialize {"url":"https://api.github.com/repos/infinispan/jdg/statuses/b6a3001fbe94dc5dc44c2d58f554e25b87dc650d","id":4348980317,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jdg-productization-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/JDG-7.2.x--PRs/225/","context":"default","created_at":"2017-11-27T07:45:12Z","updated_at":"2017-11-27T07:45:12Z","creator":{"login":"jdg-bot","id":9263414,"avatar_url":"https://avatars0.githubusercontent.com/u/9263414?v=4","gravatar_id":"","url":"https://api.github.com/users/jdg-bot","html_url":"https://github.com/jdg-bot","followers_url":"https://api.github.com/users/jdg-bot/followers","following_url":"https://api.github.com/users/jdg-bot/following{/other_user}","gists_url":"https://api.github.com/users/jdg-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/jdg-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdg-bot/subscriptions","organizations_url":"https://api.github.com/users/jdg-bot/orgs","repos_url":"https://api.github.com/users/jdg-bot/repos","events_url":"https://api.github.com/users/jdg-bot/events{/privacy}","received_events_url":"https://api.github.com/users/jdg-bot/received_events","type":"User","site_admin":false}}
      	at org.kohsuke.github.Requester.parse(Requester.java:498)
      	... 13 more
      Caused by: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4348980317) out of range of int
       at [Source: java.io.StringReader@44076368; line: 1, column: 119] (through reference chain: org.kohsuke.github.GHCommitStatus["id"])
      	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:232)
      	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:197)
      	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1311)
      	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:297)
      	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
      	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
      	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
      	at org.kohsuke.github.Requester.parse(Requester.java:496)
      	... 13 more
      Caused by: com.fasterxml.jackson.core.JsonParseException: Numeric value (4348980317) out of range of int
       at [Source: java.io.StringReader@44076368; line: 1, column: 119]
      	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
      	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
      	at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(ParserBase.java:847)
      	at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:643)
      	at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseInteger(StdDeserializer.java:306)
      	at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:319)
      	at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:301)
      	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
      	at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
      	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
      	... 17 more
      

      Attachments

        Activity

          People

            jsenko@redhat.com Jakub Senko
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: