Comments (9)
A PR in the Cargo repository (rust-lang/cargo#7547) messed up humu's internal state, triggering an internal assertion. Now that I synchronized that repository everything started flowing again.
Dec 19 09:37:03 localhost homu: Traceback (most recent call last):
Dec 19 09:37:03 localhost homu: File "/usr/local/bin/bottle.py", line 862, in _handle
Dec 19 09:37:03 localhost homu: return route.call(**args)
Dec 19 09:37:03 localhost homu: File "/usr/local/bin/bottle.py", line 1742, in wrapper
Dec 19 09:37:03 localhost homu: rv = callback(*a, **ka)
Dec 19 09:37:03 localhost homu: File "/homu/homu/server.py", line 576, in github
Dec 19 09:37:03 localhost homu: g.queue_handler()
Dec 19 09:37:03 localhost homu: File "/homu/homu/main.py", line 1795, in queue_handler
Dec 19 09:37:03 localhost homu: return process_queue(states, repos, repo_cfgs, logger, buildbot_slots, db, git_cfg) # noqa
Dec 19 09:37:03 localhost homu: File "/homu/homu/main.py", line 1416, in process_queue
Dec 19 09:37:03 localhost homu: logger, db, git_cfg):
Dec 19 09:37:03 localhost homu: File "/homu/homu/main.py", line 1395, in start_build_or_rebuild
Dec 19 09:37:03 localhost homu: return start_build(state, repo_cfgs, *args)
Dec 19 09:37:03 localhost homu: File "/homu/homu/main.py", line 1206, in start_build
Dec 19 09:37:03 localhost homu: assert state.head_sha == pr.head.sha
Dec 19 09:37:03 localhost homu: AssertionError
I don't feel like closing the issue because the problem might happen again, but I don't have the time to track it down and fix it.
from homu.
I think I'm running into this on rust-lang/crates.io#1956 as well. The tests have passed, and it has not yet timed out.
from homu.
Well now the queue looks like this:
That is, there are approved PRs, but no pending PRs-- bors isn't doing anything :( #1964 did time out again and is at the bottom under failed.
from homu.
Thank you Pietro!!
from homu.
I think we saw two separate issues:
-
Homu stopped triggering builds for many PRs, so after "bors r+" nothing really happened. This affected all PRs for a while, and is now fixed again.
-
For some PRs, Homu detects timeouts while the build actually succeeded long before:
This problem only affects a few PRs, and it still persists, so I believe it is unrelated.
from homu.
The problem with timeouts seems to be a bug in Travis – see the discussion on rust-lang/crates.io#1964. I will contact Travis support.
from homu.
I haven't heard back from Travis support so far. I will update this ticket as soon as I get a reply.
from homu.
@carols10cents figured out how this happened (well done!)
Travis support replied with an answer to the effect of "well, this is indeed puzzling" a few days ago. I will update them and tell them to fix that bug. :)
This issue can be closed now (but I don't have permisison to close it myself).
from homu.
Maybe there is indeed a bug in Homu after all.
If the commit message of the commit Homu is testing contains one of the commands to skip the CI build, Homu will always time out trying to test the commit, even after the Travis bug that results in the previous commit being built is fixed. So it would be reasonable to strip these commands from the merge commit message on the auto
branch.
(Relevant code that would need to be changed)
from homu.
Related Issues (20)
- Sometimes approves the wrong commit HOT 9
- Escape HTML when generating rollup messages
- Run `try` with a specific parent commit
- GitHub Webhooks Delivery Instability
- `bors squash` ignored on rollups HOT 1
- bors squash does not close PRs HOT 3
- bors squash left commit separate from PR/rollup in gh history HOT 2
- Include repo name in merge commit message?
- Don't allow try-builds to be rolled up HOT 1
- Bors sometimes gets stuck, doesn't process the queue any more HOT 5
- bors should prevent rolling up already merged PRs
- "@bors rollup+" should work
- Race condition when PR gets pushed while bors dequeues?
- Use different email address for commits in different repos
- bors sometimes makes PRs haunted
- Clicking "synchronize" re-queues failed PRs
- When a PR gets "r-" during the auto build, bors thinks it's a try build
- Bors sometimes tests a different commit than what got approved
- Bors sometimes picks up an outdated commit
- Rebase instruction include the deprecated `--preserve-merges` option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homu.