Skip to content

Latest repeatedly builds stale code #2254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaraco opened this issue Jun 3, 2016 · 17 comments
Closed

Latest repeatedly builds stale code #2254

jaraco opened this issue Jun 3, 2016 · 17 comments
Assignees
Labels
Support Support question

Comments

@jaraco
Copy link
Contributor

jaraco commented Jun 3, 2016

Details

Per pypa/setuptools#604, I'm migrating the project to RTD as PyPI is dropping support for doc hosting. I've gotten access to the setuptools project, which was formerly configured for Mercurial (Bitbucket), which may be implicated in this issue.

After moving from Mercurial to Git, the project failed to build because it was missing dependencies, so I pushed this commit and reconfigured the project in RTD to use for docs/requirements.txt. The build failed, so I retried a couple of times manually building latest.

Excepted (erm, Expected) Result

As seen in the UI, latest should build the VCS default branch. In this case, it's a git repo and 'master' is configured as the default branch in Github. Therefore, it should build the aforementioned commit, which is in master.

screen shot 2016-06-03 at 14 04 37

Actual Result

Instead, the build failed:

screen shot 2016-06-03 at 14 07 46

I retried several times, but repeatedly got the same error.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

it seems that after waiting a few minutes and triggering another latest build, it now got the latest commit:

screen shot 2016-06-03 at 14 09 40

So while I thought maybe it was an issue with having been a Mercurial project, because I saw default here:

screen shot 2016-06-03 at 14 11 51

Apparently the issue is only a lag between when commits are pushed and when they can be pulled. Is that by design?

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

It's happening again, now with pypa/setuptools@8fea560. I'll keep repeatedly building until I get a different response and see if I can assess how long the stale builds continue.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

Oh, this is interesting. It seems one build went back to a commit even older than the one that finally built before:

screen shot 2016-06-03 at 14 21 09

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

And again

screen shot 2016-06-03 at 14 22 47

How weird.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

More than 6 minutes and RTD is still building pypa/setuptools@f12843c13

@jaraco
Copy link
Contributor Author

jaraco commented Jun 3, 2016

15 minutes and it's still building one of two older commits. I'm going to take a break from this effort for now.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 4, 2016

Hours later, problem still exists.
screen shot 2016-06-03 at 21 03 41

@jaraco
Copy link
Contributor Author

jaraco commented Jun 4, 2016

I set the branch to the default, master, and that triggered a build, which grabbed the latest tip:
screen shot 2016-06-03 at 21 09 47

@agjohnson
Copy link
Contributor

I'll take a look into this, it seems I might need to go in an clean out the old project commit history.

@agjohnson agjohnson added the Support Support question label Jun 4, 2016
@agjohnson agjohnson self-assigned this Jun 4, 2016
@agjohnson
Copy link
Contributor

It seems the last build did in fact complete successfully without having to alter the out of date versions:
http://readthedocs.org/projects/setuptools/builds/4068321/

Does this seem resolved?

@jaraco
Copy link
Contributor Author

jaraco commented Jun 4, 2016

Yes, sort-of. It seems that setting the branch manually seems to have worked around the issue.

@agjohnson
Copy link
Contributor

I suspect this is a matter of stale version/commit info. If it stops working, I can wipe the existing version and commit info from the project.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 4, 2016

I'll remove the branch override and see if the issue re-emerges, in which case it's worth trying a wipe to see if the project can be restored to a state that behaves as expected.

@hldh214
Copy link

hldh214 commented Jun 4, 2016

err1

Server Error

@Grummfy
Copy link

Grummfy commented Jun 5, 2016

seems same as #2255

@stsewd
Copy link
Member

stsewd commented Apr 16, 2018

@jaraco I think this is related to #3913

@stsewd stsewd added the Needed: more information A reply from issue author is required label May 10, 2018
@agjohnson agjohnson removed the Needed: more information A reply from issue author is required label Jun 8, 2018
@agjohnson
Copy link
Contributor

Closing as a duplicate, and due to lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

5 participants