[JIRA] (JENKINS-59092) Blue Ocean does not allow us to list Bitbucket repositories

0 views
Skip to first unread message

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 26, 2019, 6:56:02 PM8/26/19
to jenkinsc...@googlegroups.com
Marcello Ribeiro created an issue
 
Jenkins / Bug JENKINS-59092
Blue Ocean does not allow us to list Bitbucket repositories
Issue Type: Bug Bug
Assignee: Unassigned
Components: blueocean-plugin
Created: 2019-08-26 22:55
Priority: Major Major
Reporter: Marcello Ribeiro

Blue Ocean does not allow us to list Bitbucket repositories:

Caused by: io.jenkins.blueocean.commons.ServiceException: Unknown Status Code
at io.jenkins.blueocean.blueocean_bitbucket_pipeline.HttpResponse.getContent(HttpResponse.java:71)
at io.jenkins.blueocean.blueocean_bitbucket_pipeline.cloud.BitbucketCloudApi.getDefaultBranch(BitbucketCloudApi.java:249)
at io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbRepo.toScmRepository(BbRepo.java:63)
at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer$BitbucketRepositories.<init>(BitbucketRepositoryContainer.java:82)
at io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketRepositoryContainer.getRepositories(BitbucketRepositoryContainer.java:41)
at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72)
... 120 more

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 26, 2019, 8:09:02 PM8/26/19
to jenkinsc...@googlegroups.com

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 26, 2019, 8:16:03 PM8/26/19
to jenkinsc...@googlegroups.com

jenkins@gavinmogan.com (JIRA)

unread,
Aug 27, 2019, 12:52:02 PM8/27/19
to jenkinsc...@googlegroups.com
Gavin Mogan assigned an issue to Jeremy Hartley
Change By: Gavin Mogan
Assignee: Gavin Mogan Jeremy Hartley

jenkins@gavinmogan.com (JIRA)

unread,
Aug 27, 2019, 12:52:03 PM8/27/19
to jenkinsc...@googlegroups.com
Gavin Mogan commented on Bug JENKINS-59092
 
Re: Blue Ocean does not allow us to list Bitbucket repositories

Can you confirm/post which versions of jenkins and blueocean you are using.

I'm re-assigning it to Jeremy for now as his team are the main maintainers.

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 3:36:02 PM8/27/19
to jenkinsc...@googlegroups.com

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 3:38:01 PM8/27/19
to jenkinsc...@googlegroups.com

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 3:40:01 PM8/27/19
to jenkinsc...@googlegroups.com
Marcello Ribeiro commented on Bug JENKINS-59092
 
Re: Blue Ocean does not allow us to list Bitbucket repositories

Gavin Mogan and Jeremy Hartley,
Please find attached  jenkins and blueocean versions.
And also down here:

Jenkins 2.176.2

Blue Ocean 1.18.1

Thanks!!

jenkins@gavinmogan.com (JIRA)

unread,
Aug 27, 2019, 4:09:02 PM8/27/19
to jenkinsc...@googlegroups.com

The fact that you are seeing the orgs, but not the repos is kinda confusing to me. It means you can connect just fine, and the credentials work.

I just tested master, and i can pull the list of repos without issue (in both org and personal)

Does it only happen for a single org? or the same for both org and personal account? (Looking at Eternal Loading.png) Is it possible there's a repo with some really weird characters or something?

I certainly can't reproduce it locally.

 

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 6:10:14 PM8/27/19
to jenkinsc...@googlegroups.com

jenkins@gavinmogan.com (JIRA)

unread,
Aug 27, 2019, 6:26:02 PM8/27/19
to jenkinsc...@googlegroups.com
 
Re: Blue Ocean does not allow us to list Bitbucket repositories

so seeing your new screenshot is it fixed now?

We still need more info cause its not reproduce able.

Feel free to add https://bitbucket.org/cb-gavinmogan/ to the repo in question so i can debug things, but I suspect you have sensitive items in there.

 

Feel free to add

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 6:46:02 PM8/27/19
to jenkinsc...@googlegroups.com

I am not certain about root case but i´ve just got a Bitbucket incident by their side and just after that the problem looks like solved also i my Blue Ocean. Now it takes some seconds and the list of repos come normally from Bitbucket API.

I will spend some hour of testing and restesting before close the issue...

Have my appologies because once it throwed an exception in BlueOcean i decided to open this issue and now i sounds like a Bitbucket incident...

If could suggest anything, i would say for having any message in the stacktrace pointing the finger for Bitbucket.

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 6:47:03 PM8/27/19
to jenkinsc...@googlegroups.com

I´ve posted  the incident response from Bitbucket team

 it is up here as an attached image

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 27, 2019, 6:49:02 PM8/27/19
to jenkinsc...@googlegroups.com

jhartley@cloudbees.com (JIRA)

unread,
Aug 28, 2019, 2:17:04 AM8/28/19
to jenkinsc...@googlegroups.com
Jeremy Hartley closed an issue as Cannot Reproduce
 

This turned out not to be an issue

Change By: Jeremy Hartley
Status: Open Closed
Resolution: Cannot Reproduce

jhartley@cloudbees.com (JIRA)

unread,
Aug 28, 2019, 2:17:04 AM8/28/19
to jenkinsc...@googlegroups.com
Jeremy Hartley commented on Bug JENKINS-59092
 
Re: Blue Ocean does not allow us to list Bitbucket repositories

Thanks Gavin Mogan for helping work with the customer to resolve this.

 

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 28, 2019, 12:11:03 PM8/28/19
to jenkinsc...@googlegroups.com

Gavin Mogan, as i said i´ve spent some time tested the issue, once it is intermitent and yesterday it seemed to be ok, but today it raised up again.
Same enviroment, same Bitbucket username/password.
One new information is: If i restart Jenkins process it runs ok by the first time.
I am recording a video with issue.

jenkins@gavinmogan.com (JIRA)

unread,
Aug 28, 2019, 1:10:03 PM8/28/19
to jenkinsc...@googlegroups.com
Gavin Mogan reopened an issue
 
Change By: Gavin Mogan
Resolution: Cannot Reproduce
Status: Closed Reopened

jenkins@gavinmogan.com (JIRA)

unread,
Aug 28, 2019, 1:11:02 PM8/28/19
to jenkinsc...@googlegroups.com
Gavin Mogan commented on Bug JENKINS-59092
 
Re: Blue Ocean does not allow us to list Bitbucket repositories

Marcello Ribeiro so I'm kinda at the limit I can do as an OSS contributor since I can't reproduce it. Also you have a kinda crappy work around so its not highest priority.

 

My suggestion is to try out the 30 minutes free cloudbees support and see if they can raise a ticket internally to get more traction on it - https://www.cloudbees.com/go/jenkins-support-ama

jenkins@gavinmogan.com (JIRA)

unread,
Aug 28, 2019, 1:12:02 PM8/28/19
to jenkinsc...@googlegroups.com
Gavin Mogan edited a comment on Bug JENKINS-59092
[~marcello_ribeiro] so I'm kinda at the limit I can do as an OSS contributor since I can't reproduce it. Also you have a kinda crappy work around so its not highest priority.

 

My suggestion is to try
to get as much information as you can prepareted, then try out the 30 minutes free cloudbees support and see if they can raise a ticket internally to get more traction on it -  [ https://www.cloudbees.com/go/jenkins-support-ama ]

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 28, 2019, 1:24:02 PM8/28/19
to jenkinsc...@googlegroups.com
Marcello Ribeiro edited a comment on Bug JENKINS-59092
[~jhartley], I don´t know if you could reopen that issue, once i have a detailled video with the issue evidence and its behaviour...

It only happens after second time we try listing the repos. (Exception is thrown every times, but the eternal "loading..." message happens only when you navigate any other Jenkins screens, you come back to pipeline creation screen and try it again)

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 28, 2019, 1:24:03 PM8/28/19
to jenkinsc...@googlegroups.com

Jeremy Hartley, I know if you could reopen that issue, once i have a detailled video with the issue evidence and its behaviour...

It only happens after second time we try listing the repos. (Exception is thrown every times, but the eternal "loading..." message happens only when you navigate any other Jenkins screens, you come back to pipeline creation screen and try it again)

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 28, 2019, 2:22:02 PM8/28/19
to jenkinsc...@googlegroups.com

Gavin Mogan thanks for you suggestion and i´ll try it as you said.

Its is no clear about what you mean with a "crappy work around". Can you please clear that?

jenkins@gavinmogan.com (JIRA)

unread,
Aug 28, 2019, 2:25:02 PM8/28/19
to jenkinsc...@googlegroups.com

oh I didn't read the message fully, I thought you said it would only break on the second time doing it, was fine after restart. No work around sorry.

I think you'll have better luck with the classic UI

marcello.ribeiro@vmbears.com.br (JIRA)

unread,
Aug 28, 2019, 2:44:03 PM8/28/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages