Conversation
…rvice parent. Added tests for BuildslaveManager. Updated old tests to conform to new service parent. Updated minor documents to conform to new change. Fixes :bb🐛`2547`.
master/buildbot/process/botmaster.py
Outdated
There was a problem hiding this comment.
Any reason to leave this commented out ?
There was a problem hiding this comment.
And I think the body of the function should go away as well.
|
👍 Two notes:
|
|
What @sa2ajj said :) |
|
So things to do:
and then we are good to go. Thanks, @kassemsandarusi |
…. Added onto the release notes.
|
I removed some of the remaining obselete items within Botmaster as well. |
|
Excellent. Let's wait for the Travis to say its opinion :) |
|
👍 |
|
Not fair Travis failing me on purpose. :P |
Make it possible to have slaves and builders with the same name Fixes ticket:2547
|
Thank you, @kassemsandarusi :) |
|
Interesting: we lost unicodeness somewhere... |
|
For the record Trac ticket is 3058. |
|
I'll take a look at it tonight. |
|
Looks like we really need more testing around the slave handling stuff (TRAC-3016 among others) |
|
Well this is embarassing. Do you have any idea where I should look? I've tried searching for references of anything that changed. edit: for the record, GMT -6 (CST) |
|
Oh I see, thanks. I thought my commit was reverted out of the master for a second. |
|
No it was not. However, we definitely need some integration tests. |
|
Right, I am actually looking right now into cleaning up the current unit tests and adding integration tests. |
|
Then, hopefully, we either see where the problem could be or will be more certain that things are OK 😄 |
|
@kassemsandarusi the test failure is not related to your change at all. It looks like the tags can be returned in different order, as a result comparison fails. |
|
But more tests are welcome :) |
|
@benallard, I don't think it's a manifestation of trac 3051. before this PR, my buildbot correctly schedules jobs. After this PR is doesn't. If I revert the 2 commits, then it's working. |
|
@delanne: Because you restarted your master ! You had the exact same symptoms as TRAC-3051, and I had the trouble before this PR. Beside, my master runs fine with this one in. |
|
So, why when I restart my master without the 2 commits it works, and when I restart my master with this 2 commits, it doesn't. That's weird. |
|
without these 2 commits, in my twistd.log, I can see: with the 2 commits, I don't see these lines => It seems that slaves aren't attached to builders. |
|
Then you know what's left to do ;) Roll up your sleeves, and start hacking ! It's free software after all ! |
|
@benallard there's an ongoing discussion on IRC atm. |
This patch fix the issue for me. |
|
Good fix - I missed that in review. |
This was a rather small issue, but i took the liberty of taking this opportunity to move the management of buildslaves into the buildslavemanager. This is my first patch so i would appreciate any feedback if possible.