travis-ci / travis-ci

Free continuous integration platform for GitHub projects.
https://travis-ci.org
8.42k stars 721 forks source link

Build status unknown persists #3996

Closed qurben closed 9 years ago

qurben commented 9 years ago

The badge for https://travis-ci.org/Vennik/contextproject has been 'Build status: Unknown' for more than a day, while we currently have had multiple passing builds in that repository.

Is there a way we can fix this?

BanzaiMan commented 9 years ago

It appears that you deleted and re-created the repository with the same name. We currently do not handle this situation well, and the badge and the build state were disconnected. I've resolved the name conflict now, and the image should reflect the correct status.

shinnn commented 9 years ago

https://travis-ci.org/shinnn/gulp-gh-pages has the same issue.

image

When I reload the page, it sometimes shows "There are no builds for this repository".

image

And, the branch pull-down menu in the modal window is empty.

image

Note that shinnn/gulp-gh-pages repo has been transferred from rowoot/gulp-gh-pages since 23 Feb. https://github.com/shinnn/gulp-gh-pages/issues/50

BanzaiMan commented 9 years ago

@shinnn Sorry about the issue. I've resolved your conflict, too.

shinnn commented 9 years ago

Really quick response and fix! I confirmed the problem has been resolved. Thanks @BanzaiMan and Travis CI!

yannbertrand commented 9 years ago

Same problem with https://github.com/FriendsBet/API @BanzaiMan :-)

yannbertrand commented 9 years ago

Seem to be corrected now! Thanks!

danielstjules commented 9 years ago

@BanzaiMan We're currently seeing the same issue with https://github.com/mochajs/mocha/ Maybe it's the same problem?

BanzaiMan commented 9 years ago

@danielstjules Yes. And I resolved the conflict now.

danielstjules commented 9 years ago

Perfect, thank you! :)

drisso commented 9 years ago

I seem to experience the same issue in https://travis-ci.org/drisso/RUVSeq I did rename the repo and then renamed it back to the original name. I guess this might have created a similar conflict?

BanzaiMan commented 9 years ago

@drisso Sorry for the issue. I resolved your conflict.

drisso commented 9 years ago

Thank you @BanzaiMan!

Haehnchen commented 9 years ago

@BanzaiMan is this still an overall issue? also having problems here: https://travis-ci.org/Haehnchen/idea-php-symfony2-plugin

BanzaiMan commented 9 years ago

@Haehnchen Yes. I've resolved yours, too.

ajschumacher commented 9 years ago

Hi @BanzaiMan! Maybe the same thing is happening here? https://travis-ci.org/ajschumacher/mergic Is this something I could fix myself? Thanks!

BanzaiMan commented 9 years ago

@ajschumacher There was a conflict with yours, too. I resolved it, but the correct repository doesn't have any build, so it still shows "unknown".

ajschumacher commented 9 years ago

Works like a charm! Thanks @BanzaiMan!

TizianoPerrucci commented 9 years ago

Same problem here https://travis-ci.org/StarterSquad/prudentia , can I do anything? Thx

ifsnop commented 9 years ago

After deleting, unsetting and creating again travis-ci webooks from github/travis-ci, I still don't get a build "passed" banner in my project, I'm still stuck with the "unknown" banner.

https://travis-ci.org/ifsnop/mysqldump-php

Is there anything someone can do to fix it?

Thanks in advance!

ryanpetrello commented 9 years ago

I seem to be having this problem with a few projects of my own as well. Is there something I can do to correct this?

https://travis-ci.org/ryanpetrello/pecan https://travis-ci.org/pecan/pecan

joshk commented 9 years ago

Hi @ryanpetrello

https://travis-ci.org/ryanpetrello/pecan is fine, I see the status correctly

but https://travis-ci.org/pecan/pecan is marked as 'unknown' as the only builds for that repo have been Pull Requests. Once you have a build to a branch then the status should be reported correctly.

carlosrabelo commented 9 years ago

Same problem here https://travis-ci.org/carlosrabelo/mars

joshk commented 9 years ago

@carlosrabelo everything looks to be working now as you have just run your first build on the master branch. Happy testing.

guerrero commented 9 years ago

Hi guys, same problem here https://travis-ci.org/guerrero/stylint-loader. But I haven't deleted and re-created this repo or migrated it from another user or organization.

Thanks in advance!

RNAer commented 9 years ago

same situation here: https://travis-ci.org/biocore/micronota

daneah commented 9 years ago

I've got the same problem with https://github.com/working-bikes/working-bikes presently. I recently migrated this to an organization (I thought I did so before integrating Travis CI, but I could be mistaken).

daneah commented 8 years ago

@travis-ci are you able to provide support for these cases? Is there a workaround I can perform on my end?

BanzaiMan commented 8 years ago

@daneah https://travis-ci.org/working-bikes/working-bikes/builds shows green to me. Is that not what you want? builds_-_working-bikes_working-bikes_-_travis_ci

daneah commented 8 years ago

@BanzaiMan I was ultimately able to resolve this by forcing a few empty commits and pushing them. I was unable to select the master branch for the badge until I did so, probably because all previous builds had been based on pull requests. Thanks!

Mingling94 commented 8 years ago

https://github.com/NebulousLabs/Sia-UI has the same issue

danyaljj commented 8 years ago

Same issue here! https://travis-ci.com/IllinoisCogComp/lbjava

lbjava
BanzaiMan commented 8 years ago

@danyaljj Yours should be fixed now, since the "master" branch has a successful push build. Only push builds are considered for determining the status.

Akaryatrh commented 8 years ago

HI there,

@BanzaiMan I have the same problem with this repository : https://github.com/Akaryatrh/svgAssets And last build is all green : https://travis-ci.org/Akaryatrh/svgAssets

Moreover, only the master branch can be selected in the badge dropdown, is that an expected behavior ?

Thx for support!

BanzaiMan commented 8 years ago

@Akaryatrh The badge reflects push build statuses, but https://travis-ci.org/Akaryatrh/svgAssets/requests shows that push builds are disabled.

Akaryatrh commented 8 years ago

@BanzaiMan I activated push builds, badge is now green :) Thx for answer!

ChristopherKing42 commented 8 years ago

@BanzaiMan Same problem here it appears https://travis-ci.org/ChristopherKing42/skynet

ChristopherKing42 commented 8 years ago

@BanzaiMan Nvm, its fixed now.

ooade commented 8 years ago

I'm also having the same issue https://travis-ci.org/marhyorh/stackPie/requests. Thanks

ilp416 commented 8 years ago

I'm sorry. I have same problem https://travis-ci.org/ilp416/other_joins I have re-created repository.

BanzaiMan commented 8 years ago

@marhyorh Your repository does not contain .travis.yml. See https://raw.githubusercontent.com/marhyorh/stackPie/master/%20.travis.yml, there is a whitespace before '.travis.yml'.

BanzaiMan commented 8 years ago

@ilp416 Your repo's hook was invalid. I reset it. Please push a new commit to test.

ilp416 commented 8 years ago

@BanzaiMan Didn't run. https://travis-ci.org/ilp416/other_joins

ooade commented 8 years ago

You're right @BanzaiMan. Thanks! I didn't notice that, it's now passing.

DaikiMaekawa commented 8 years ago

I got the same issue here. https://github.com/DaikiMaekawa/akihabara_maps only gh-pages branch isn't detected for the travis badge.

DaikiMaekawa commented 8 years ago

@BanzaiMan can you fix the problem?

andreamazza89 commented 8 years ago

https://github.com/andreamazza89/airport_challenge

I think I have the same problem where the badge shows status as unknown, although the latest build passed. I wonder if you could help @BanzaiMan ?

Many thanks

BanzaiMan commented 8 years ago

@DaikiMaekawa We've never run a build for the gh-pages branch. https://travis-ci.org/DaikiMaekawa/akihabara_maps/branches (https://docs.travis-ci.com/user/customizing-the-build#Whitelisting-or-blacklisting-branches)

@andreamazza89 Your URL is wrong. The correct one is https://api.travis-ci.org/andreamazza89/airport_challenge.svg?branch=master (Drop .png at the end.)

DaikiMaekawa commented 8 years ago

@BanzaiMan oh, I see. Is there something way for build testing Github Pages with Travis?

BanzaiMan commented 8 years ago

@DaikiMaekawa Yes. Please whitelist the gh-pages branch. See the documentation.

andreamazza89 commented 8 years ago

@BanzaiMan Thank you very much!