https://bugzilla.wikimedia.org/show_bug.cgi?id=67163

Antoine "hashar" Musso <has...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |has...@free.fr

--- Comment #1 from Antoine "hashar" Musso <has...@free.fr> ---
Thanks Erik, I have posted on wikitech-l:

arlier today I slightly changed how Jenkins run the MediaWiki extension job. 
Specifically the way the database is updated. 

We used to simply:

 php maintenance/update.php


I wanted to log the SQL queries behind added to the database and the script has
a --schema option to do just that. So Jenkins now:

 php maintenance/update.php --schema update_sql.log
 sleep 1
 php maintenance/update.php


The sleep is needed because --schema still write to the update_log database. 
The two runs ends up having the same ul_key in the table since it just vary by
timestamp (so if two run occurs in the same second, the second has a duplicate
key error).

There should be a better fix, but sleep 1 works ™


Flow had an issue with the tests failing because --schema still run the post-db
maintenance script (might be the cause of above problem).

Erik Bernhardson figured out a temporary workaround for Flow:

 https://gerrit.wikimedia.org/r/#/c/142303/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to