Closed (fixed)
Project:
Project Issue File Review
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Feb 2010 at 03:05 UTC
Updated:
15 Mar 2010 at 17:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
boombatower commentedIt seems the tests experiencing this never had any result returned...yet they show mysql as failed...and fail to queue for retesting since they are queued.
Comment #2
boombatower commentedTo demonstrate how weird this is behaving.
Comment #3
boombatower commentedI cannot re-create these problems on qa-scratch.
Comment #4
webchickThis has completely blocked core development for the past three days. I think that qualifies as critical.
What can we do to get you some help to debug this?
Comment #5
boombatower commented#705290: Database dump
I really have no idea what's going on. The symptoms aren't even consistent, much less the fact that I can do the same thing on qa-scratch and qa and it will fail on qa and work on qa-scratch.
Comment #6
dave reidYeah this is really wierd. Seems like we're stuck somewhere in limbo with confirming client/test slave tests. Something's obviously up since this has been a couple days now.
Comment #7
pwolanin commentedWould it be possible to install fresh and queue tests starting from some known date?
Comment #8
boombatower commentedThat or just fry all data over last week to two weeks. I am really not sure what else to do.
Comment #9
rfayIMO it would be better to just get things going again one way or another, if that's possible, even it it means using a fresh clean box or something.
Comment #10
boombatower commentedWith my read access to qa.drupal.org database I have discovered some things.
1. pifr_test_environment looks good (so relevant environment determination code works)
2. results get environment_id of 0
3. why ignored re-test requests do not send back a positive response to project client (unrelated)
My assumption is something has to be messed up with result saving to generate a 0 entry, so lets look at where results are saved.
pifr_server.test.inc:352
So that leaves us with a) the pifr_environment_status tables gets messed up, b) is magically empty and FALSE is returned and cast to int as 0, or c) magic!
All values for a fresh test that was only queued, never re-queued, never tested look good.
Interestingly all the results that have environment_id of 0 are of code 3 or 5 (only 2 5's). 3 being a failure to checkout code. This would seem like someone had a wonky client running (which there were several news one recently), and it hosed everything.
Comment #11
boombatower commentedLooking at the log for a test that got messed up you see the following.
Test client #33 is the only one with two environments: mysql and coder. Scratch has no clients that support both (registered that way anyway), but does have the coder environment enabled. Thus the only decent difference between the setups.
Comment #12
boombatower commentedThe place where all the code starts is:
thus I will setup a client on qa-scratch just like #33 and then see if I can replicate the 0 somewhere in the code.
Comment #13
boombatower commentedSetup coder review on #32 which I have access to and got everything running on qa-scratch...running client confirmation at the moment.
Comment #14
boombatower commentedWell HEAD is broken, so I put DamZ's client into debug mode so it would only run one test and pass...worked. I then ran a number of patches through the system..not problems.
I am really starting to think a data flush is in order or at least more recent data. Something is very weird....and I just can't seem to track it down to recreate it.
I'll try and be around tomorrow so we can make a decision, its 4am here.
Comment #15
berdirFYI, all tests except page cache and update core/contrib with the patch at #705854: clickLink() does not work for url_target containing a fragment and breaks testing worked for me and the failing tests could be due to my setup, I've seen atleast the page cache fails before.
Without the linked patch, there are over 105 fails, and 27 exceptions.
Comment #16
boombatower commentedDecided to just fry bad data, I ask killies to run the following:
Better query if we have to do this again (hopefully after figure it out):
Comment #18
boombatower commentedDamZ found the piece of flawed logic (oversight from addition of environments). I have updated logic in patch.
Comment #19
boombatower commentedCommitted.