GithubHelp home page GithubHelp logo

Times out, but travis succeeded about homu HOT 9 OPEN

rust-lang avatar rust-lang commented on July 22, 2024
Times out, but travis succeeded

from homu.

Comments (9)

pietroalbini avatar pietroalbini commented on July 22, 2024 1

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.

jtgeibel avatar jtgeibel commented on July 22, 2024

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.

carols10cents avatar carols10cents commented on July 22, 2024

Well now the queue looks like this:

Screen Shot of the homu queue

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.

carols10cents avatar carols10cents commented on July 22, 2024

Thank you Pietro!!

from homu.

smarnach avatar smarnach commented on July 22, 2024

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.

smarnach avatar smarnach commented on July 22, 2024

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.

smarnach avatar smarnach commented on July 22, 2024

I haven't heard back from Travis support so far. I will update this ticket as soon as I get a reply.

from homu.

smarnach avatar smarnach commented on July 22, 2024

@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.

smarnach avatar smarnach commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.