Bamboo integration is filling up Sidekiq's morgue
Summary
A Bamboo CI configured project is currently filling up the Sidekiq's morgue
Steps to reproduce
Configure a project with Bamboo service integration.
What is the current bug behavior?
As seen on the Sidekiq dashboard:
Queue reactive_caching
Job ReactiveCachingWorker
Arguments
"BambooService", 123456, "abc123abc123abc123abc123abc123", "48-test"
JID xyz321xyz321xyz321
Created At 18 minutes ago
Enqueued 14 minutes ago
Last Retry 14 minutes ago
Error
Error Class TypeError
Error Message no implicit conversion of String into Integer
Our Sentry instance says that the responsible line is:
def read_build_page(response)
if response.code != 200 || response['results']['results']['size'] == '0'
# If actual build link can't be determined, send user to build summary page.
URI.join("#{bamboo_url}/", "browse/#{build_key}").to_s
else
# If actual build link is available, go to build result page.
>>>>> result_key = response['results']['results']['result']['planResultKey']['key']
URI.join("#{bamboo_url}/", "browse/#{result_key}").to_s
end
end
What is the expected correct behavior?
Even if the integration is failing, it should not fill up the morgue with a job every few seconds.
Running on Gitlab 11.2.3-ee (aadca994)
Edited by Daniel Juarez