Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15718

Bamboo reports builds with incomplete jobs as successful

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.9, 5.8.2
    • 5.8
    • Builds

    Description

      Yesterday a couple of our builds had hanging jobs (which I guess is another problem); this morning I came in and the hanging jobs were marked as grey:

      But for unknown reason, Bamboo thinks this build was successful

      That's clearly wrong. It should have marked the build as incomplete but never as successful. Especially considering this could have started a deployment project.

      Note: the following system error was reported for the incomplete jobs:

      java.lang.RuntimeException: java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized
      	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:135)
      	at com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager.markSubscriptionAsConsumed(RemoteArtifactManager.java:28)
      	at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.retrieve(AbstractArtifactManager.java:320)
      	at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.prepareArtifacts(PrepareBuildTask.java:156)
      	at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
      	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)
      	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized
      	at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:129)
      	... 12 more
      

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              mmeinhold Martin Meinhold
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: