Re: [Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-29 Thread Antoine Musso
Le 29/06/13 02:59, Roan Kattouw a écrit : * Attempt to merge the branch into master * If there is a conflict, reject the commit with a message saying something about a merge conflict, and abort * If there was no conflict, there is now a local (to the Jenkins server) merge commit that merges

[Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-28 Thread Arthur Richards
Mobile web is trying to merge https://gerrit.wikimedia.org/r/#/c/69585/ but PHPUnit tests are failing when Jenkins executes them. What's weird is that we've executed PHPUnit tests on our various local machines - with no failures. We've been scratching our heads trying to figure out what might be

Re: [Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-28 Thread Yuri Astrakhan
I once had similar issue due to the difference in how Jenkins (uses sqlite) differs from mariadb setup.That issue is still pending, and needs fixing in the way we set up sqlite database schema -- https://gerrit.wikimedia.org/r/#/c/48098/ Other than that, I only saw issues related to some leftover

Re: [Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-28 Thread Ryan Kaldari
We had the same problem with Echo. One thing to look out for is that SQLite requires unique index names across the full database. Also SQLite doesn't support ALTER TABLE CHANGE, so you may have to detect for SQLite and do some rename/copy/delete operation instead. Ryan Kaldari On 6/28/13

Re: [Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-28 Thread Antoine Musso
Le 28/06/13 19:50, Arthur Richards a écrit : Mobile web is trying to merge https://gerrit.wikimedia.org/r/#/c/69585/ but PHPUnit tests are failing when Jenkins executes them. What's weird is that we've executed PHPUnit tests on our various local machines - with no failures. We've been

Re: [Wikitech-l] PHPUnit tests fail from Jenkins but work fine locally

2013-06-28 Thread Roan Kattouw
On Fri, Jun 28, 2013 at 10:50 AM, Arthur Richards aricha...@wikimedia.org wrote: Mobile web is trying to merge https://gerrit.wikimedia.org/r/#/c/69585/ but PHPUnit tests are failing when Jenkins executes them. What's weird is that we've executed PHPUnit tests on our various local machines -