[02:10:32] I am trying to clone browser tests. The git repository listed on https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Setup_instructions#Setup_your_computer doesn't seem to work. [02:11:04] Should I get the tests from https://github.com/wikimedia/mediawiki-selenium ? [02:40:39] https://gerrit.wikimedia.org/r/qa/browsertests doesnt' work? [02:40:57] i just cloned it fine... [02:41:04] After running git clone https://github.com/wikimedia/qa-browsertests.git I got an empty folder. [02:42:20] Just ran git clone https://gerrit.wikimedia.org/r/qa/browsertests and got the same directory with only .git. [02:42:48] Did you run any other commands after the git clone command? [02:42:59] No [02:43:04] Do you not see a README.md file? [02:43:19] The browsertests repo says [02:43:22] "Please see https://github.com/wikimedia/mediawiki-selenium for instructions on how to run tests." [02:43:26] Yes. It has instructions on running the tests. [02:44:00] After the clone I got a README.md file and a .git directory but nothing else. [02:44:21] Did you look at the readme? ;) [02:45:47] Yes. Am I supposed to clone mediawiki-selenium? I don't see a tests directory in the repo. [02:48:06] I am trying to follow the instructions on https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Running_tests to get the test code. [02:48:17] 3Wikimedia / 3Quality Assurance: Quality Assurance/Browser testing/Setup instructions is out of date - 10https://bugzilla.wikimedia.org/72732 (10Sam Reed (reedy)) 3NEW p:3Unprio s:3normal a:3None https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Setup_instructions#Setup_your_computer... [02:48:34] That selenium repo doesn't contains the tests, it's the stuff that's needed to run the tests [02:49:16] As per the instructions, they're in tests/browser [02:49:17] a la https://github.com/wikimedia/mediawiki/tree/master/tests/browser [02:49:41] I guess you want to clone the repo, and then read the readme given or at https://github.com/wikimedia/mediawiki-selenium [02:51:45] The first instruction is "cd tests/browser", but I don't have a tests/browser directory yet. Are the tests in the repo for mediawiki core? [02:51:51] Yeah [02:51:55] Or in the relevant extension [02:52:23] https://github.com/wikimedia/mediawiki-selenium#repositories [02:52:25] That means I have to clone the mediawiki core even though I just want to run some browser tests. [02:53:36] Yes [02:53:46] How are you gonna run the browser tests without something to run them against? [02:55:03] I am going to use http://en.wikipedia.beta.wmflabs.org/ [03:05:51] Yippee, build fixed! [03:05:51] Project browsertests-ZeroBanner-en.m.wikipedia.org-linux-phantomjs build #233: FIXED in 45 sec: https://integration.wikimedia.org/ci/job/browsertests-ZeroBanner-en.m.wikipedia.org-linux-phantomjs/233/ [04:13:36] Yippee, build fixed! [04:13:36] Project browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce build #253: FIXED in 56 min: https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce/253/ [05:13:17] I am running some automated browser tests. Firefox gets opened but URL never seems to get entered. I am using latest firefox 33.02. Does it sound like an issue with selenium? [05:14:34] Yippee, build fixed! [05:14:34] Project browsertests-CirrusSearch-test2.wikipedia.org-linux-firefox-sauce build #232: FIXED in 1 min 30 sec: https://integration.wikimedia.org/ci/job/browsertests-CirrusSearch-test2.wikipedia.org-linux-firefox-sauce/232/ [05:39:10] Yippee, build fixed! [05:39:10] Project browsertests-VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce build #367: FIXED in 1 hr 3 min: https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/367/ [08:12:12] Yippee, build fixed! [08:12:13] Project browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce build #256: FIXED in 26 min: https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce/256/ [08:53:40] (03CR) 10Zfilipin: "Thanks for the +2 Dan. Antoine, could you please deploy the change?" [integration/config] - 10https://gerrit.wikimedia.org/r/168061 (https://bugzilla.wikimedia.org/69245) (owner: 10Zfilipin) [09:16:48] (03CR) 10Zfilipin: [C: 031] "Looks good. Did not +2 because I have a question. See inline comments." (032 comments) [ruby/api] - 10https://gerrit.wikimedia.org/r/168310 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [10:03:18] (03CR) 10Zfilipin: "Dan, should Style/SignalException rule then be moved from .rubocop_todo.yml to .rubocop.yml file?" [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [10:05:22] (03CR) 10Zfilipin: "Should this commit be abandoned?" [selenium] - 10https://gerrit.wikimedia.org/r/159644 (owner: 10Dduvall) [11:56:01] (03CR) 10Zfilipin: "recheck" [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [11:56:03] (03CR) 10jenkins-bot: [V: 04-1] Fixed RuboCop offense Style/SignalException [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [12:12:02] Tobi_WMDE_SW: http://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby [13:07:11] 3Wikimedia Labs / 3deployment-prep (beta): HHVM fcgi restart during scap runs cause 503s (and failed tests) - 10https://bugzilla.wikimedia.org/72366#c19 (10Antoine "hashar" Musso (WMF)) When the change "make scap restart HHVM" ( https://gerrit.wikimedia.org/r/#/c/163078/ ) has been deployed on the beta clust... [13:13:51] (03CR) 10Hashar: "Deployed :)" [integration/config] - 10https://gerrit.wikimedia.org/r/168061 (https://bugzilla.wikimedia.org/69245) (owner: 10Zfilipin) [13:36:03] (03PS1) 10Zfilipin: WIP experiment to see if this will fix VisualEditor language screenshot job [integration/config] - 10https://gerrit.wikimedia.org/r/170023 [13:58:11] (03CR) 10Zfilipin: WIP experiment to see if this will fix VisualEditor language screenshot job (031 comment) [integration/config] - 10https://gerrit.wikimedia.org/r/170023 (owner: 10Zfilipin) [14:17:31] (03PS1) 10Cscott: WIP: add jobs to update ocg in beta on merge. [integration/config] - 10https://gerrit.wikimedia.org/r/170030 [14:19:33] (03CR) 10jenkins-bot: [V: 04-1] WIP: add jobs to update ocg in beta on merge. [integration/config] - 10https://gerrit.wikimedia.org/r/170030 (owner: 10Cscott) [14:19:43] (03PS1) 10Cscott: Add jenkins jobs for OCG ZIM backend. [integration/config] - 10https://gerrit.wikimedia.org/r/170031 [14:22:57] (03CR) 10jenkins-bot: [V: 04-1] Add jenkins jobs for OCG ZIM backend. [integration/config] - 10https://gerrit.wikimedia.org/r/170031 (owner: 10Cscott) [14:28:56] Project browsertests-Wikidata-SmokeTests-linux-firefox-sauce build #33: FAILURE in 11 min: https://integration.wikimedia.org/ci/job/browsertests-Wikidata-SmokeTests-linux-firefox-sauce/33/ [14:43:08] (03CR) 10Cscott: "hey, hashar: it looks like the jenkins jobs for this repo are still set up to require a patch to jenkins-job-builder-config before the pat" [integration/config] - 10https://gerrit.wikimedia.org/r/170031 (owner: 10Cscott) [14:53:13] Project browsertests-Wikidata-WikidataTests-linux-firefox-sauce build #24: ABORTED in 31 min: https://integration.wikimedia.org/ci/job/browsertests-Wikidata-WikidataTests-linux-firefox-sauce/24/ [15:27:57] 3Wikimedia / 3Continuous integration: fix the qunit tests for wikidata: mwext-Wikibase-qunit - 10https://bugzilla.wikimedia.org/72184#c1 (10Jan Zerebecki) It seems /srv/localhost/qunit/ is missing on the instances. That is created by puppet class contint::qunit_localhost which is not applied on that host. It... [15:43:10] !log Going to upgrade Zuul and monitor the result over the next hour. [15:43:12] hello :) [15:43:12] Logged the message, Master [15:45:14] !log Upgrading Zuul reference copy from upstream c9d11ab..1f4f8e1 [15:45:15] Logged the message, Master [15:45:56] 3Wikimedia Labs / 3deployment-prep (beta): HHVM fcgi restart during scap runs cause 503s (and failed tests) - 10https://bugzilla.wikimedia.org/72366#c20 (10Bryan Davis) When we talked with Emir from Facebook this spring he outlined how they handle restarts for each node: * Load balancer polls /status.php on... [15:48:12] Yippee, build fixed! [15:48:12] Project browsertests-Wikidata-SmokeTests-linux-firefox-sauce build #35: FIXED in 19 min: https://integration.wikimedia.org/ci/job/browsertests-Wikidata-SmokeTests-linux-firefox-sauce/35/ [15:54:33] !log Zuul: merging in https://review.openstack.org/#/c/128921/3 which should fix jobs being stuck in queue on merge/gearman failures. {{bug|72113}} [15:54:34] Logged the message, Master [15:55:26] 3Wikimedia / 3Continuous integration: [upstream] Zuul prepareRef does not handle failure to connect to Gearman - 10https://bugzilla.wikimedia.org/72113#c4 (10Antoine "hashar" Musso (WMF)) 5NEW>3ASSI I am now deploying https://review.openstack.org/#/c/128921/3 by merging in our Zuul fork at integration/zu... [15:58:28] 3Wikimedia / 3Continuous integration: [upstream] Zuul: status.json API should be able to filter by change - 10https://bugzilla.wikimedia.org/47609#c5 (10Antoine "hashar" Musso (WMF)) 5NEW>3ASSI a:3Antoine "hashar" Musso (WMF) I am now upgrading Zuul which bring the upstream change. We will most probabl... [16:14:52] (03CR) 10Dduvall: "Oh yeah, good point. I'll move it." [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [16:26:54] PROBLEM - CI: Low disk space on /var on labmon1001 is CRITICAL: CRITICAL: integration.integration-puppetmaster.diskspace._var.byte_avail.value (11.11%) [16:28:58] 3Wikimedia / 3Continuous integration: [upstream] Zuul: status.json API should be able to filter by change - 10https://bugzilla.wikimedia.org/47609#c7 (10Antoine "hashar" Musso (WMF)) Created attachment 16957 --> https://bugzilla.wikimedia.org/attachment.cgi?id=16957&action=edit json result for /stats/chang... [16:29:42] 3Wikimedia / 3Continuous integration: [upstream] Zuul: status.json API should be able to filter by change - 10https://bugzilla.wikimedia.org/47609#c8 (10Antoine "hashar" Musso (WMF)) 5PATC>3RESO/FIX This has been deployed in production. Will let us implement: Bug 47527 - Status update in Gerrit of curre... [16:29:58] (03CR) 10Dduvall: Fixed RuboCop offense Metrics/LineLength (031 comment) [ruby/api] - 10https://gerrit.wikimedia.org/r/168310 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [16:31:01] (03PS2) 10Dduvall: Ignore RuboCop offense Style/SignalException [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [16:31:41] 3Wikimedia / 3Continuous integration: Status update in Gerrit of current queued commit/testing request - 10https://bugzilla.wikimedia.org/47527#c5 (10Antoine "hashar" Musso (WMF)) Created attachment 16958 --> https://bugzilla.wikimedia.org/attachment.cgi?id=16958&action=edit json result for /status/change/... [16:34:19] !log Upgraded kibana to v3.1.1 [16:34:21] Logged the message, Master [16:34:31] !log cleared out /var/ on integration-puppetmaster [16:34:33] Logged the message, Master [16:37:13] RECOVERY - CI: Low disk space on /var on labmon1001 is OK: OK: All targets OK [16:37:41] (03PS4) 10Dduvall: Fixed RuboCop offense Metrics/LineLength [ruby/api] - 10https://gerrit.wikimedia.org/r/168310 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [16:44:59] 3Wikimedia / 3Continuous integration: Zuul status page is frozen, status.json is cached by misc Varnish - 10https://bugzilla.wikimedia.org/72766 (10Antoine "hashar" Musso (WMF)) 3NEW p:3Unprio s:3normal a:3None I have upgraded Zuul to fix Bug 47609 - [upstream] Zuul: status.json API should be able to... [17:08:20] hey [17:08:35] I have a quick question about the github -> travis integration for the wikimedia org [17:08:56] is anybody familiar with the process of activating travis testing for one of our mirrored repos? [17:09:46] I am an owner, but don't have much luck activating the web hook for the repo or getting the repo to show up in my travis-ci.{org,com} profiles [17:14:06] gwicke: given timing, that's probably a good question for the QA mailing list. [17:14:18] (end of day for antoine/zeljko) [17:14:58] okay [17:15:07] gwicke: ask on the QA list you will reach out folks that have experience with Travis :-D [17:15:35] yeah, Tobi from WMDE has good cross over (travis and jenkins) experience [17:16:02] that would be even nicer, as it would let us use gerrit with pre-merge testing [17:26:43] mail sent [17:26:56] 3Wikimedia / 3Continuous integration: Zuul status page is frozen, status.json is cached by misc Varnish - 10https://bugzilla.wikimedia.org/72766#c1 (10Antoine "hashar" Musso (WMF)) Cache-Control might be sent with https://review.openstack.org/#/c/132073/ [17:35:57] 3Wikimedia / 3Continuous integration: Zuul status page is frozen, status.json is cached by misc Varnish - 10https://bugzilla.wikimedia.org/72766#c2 (10Antoine "hashar" Musso (WMF)) 5NEW>3RESO/INV I was trying with curl but our web page uses a cache breaker so there is no need for Cache-Control headers in... [17:37:46] and that is the end of the day :D [17:39:53] hashar: g'night :) [17:54:48] (03Abandoned) 10Hashar: WIP Environment abstraction layer [selenium] - 10https://gerrit.wikimedia.org/r/159644 (owner: 10Dduvall) [17:57:43] (03CR) 10Hashar: "During my last vacations, I made integration-zuul-layoutvalidation fails whenever Zuul is configured to trigger jobs that are not deployed" [integration/config] - 10https://gerrit.wikimedia.org/r/170031 (owner: 10Cscott) [17:58:23] (03CR) 10Hashar: [C: 031] "Actually reviewed the change it is straightforward. Feel free to +2 merge / deploy whenever :]" [integration/config] - 10https://gerrit.wikimedia.org/r/170031 (owner: 10Cscott) [18:02:34] (03CR) 10Hashar: "Inline are some informations to setup the instance as a Jenkins slave :-)" (031 comment) [integration/config] - 10https://gerrit.wikimedia.org/r/170030 (owner: 10Cscott) [18:39:28] Project browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-windows_7-internet_explorer-11-sauce build #45: FAILURE in 37 min: https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-windows_7-internet_explorer-11-sauce/45/ [18:59:08] http://meta.wikimedia.beta.wmflabs.org/wiki/Special:GlobalRenameQueue/closed [18:59:10] (Cannot contact the database server: Unknown database 'cswiki' (10.68.17.94)) [18:59:27] I don't see a cswiki on beta. [19:01:23] mysql> select count(*) from localuser where lu_wiki="cswiki"; [19:01:24] 19 [19:01:29] where did beta's cswiki go? [19:01:39] http://cs.wikipedia.beta.wmflabs.org/ [19:04:51] bd808: thank you very much for your help the other day. I was able to run the some automated UI tests. [19:05:44] 3Wikimedia Labs / 3deployment-prep (beta): References to non-existent cswiki in beta's centralauth db - 10https://bugzilla.wikimedia.org/72773 (10Kunal Mehta (Legoktm)) 3NEW p:3Unprio s:3major a:3None http://cs.wikipedia.beta.wmflabs.org/ does not exist mysql> select count(*) from localnames where l... [19:05:56] 3Wikimedia Labs / 3deployment-prep (beta): References to non-existent cswiki in beta's centralauth db - 10https://bugzilla.wikimedia.org/72773#c1 (10Kunal Mehta (Legoktm)) Also breaking http://meta.wikimedia.beta.wmflabs.org/wiki/Special:GlobalRenameQueue/closed [19:09:17] IIRC there's something in bugzilla for this [19:11:13] 3Wikimedia Labs / 3deployment-prep (beta): Beta cluster centralauth accounts points to no longer existing wikis - 10https://bugzilla.wikimedia.org/63396#c8 (10Alex Monk) *** Bug 72773 has been marked as a duplicate of this bug. *** [19:11:13] 3Wikimedia Labs / 3deployment-prep (beta): References to non-existent cswiki in beta's centralauth db - 10https://bugzilla.wikimedia.org/72773#c2 (10Alex Monk) 5NEW>3RESO/DUP *** This bug has been marked as a duplicate of bug 63396 *** [19:12:26] Krenair: ugh, thanks [19:42:32] (03CR) 10Cscott: "Hashar: see https://gerrit.wikimedia.org/r/170130 for the puppet role definitions." [integration/config] - 10https://gerrit.wikimedia.org/r/170030 (owner: 10Cscott) [19:43:57] Yippee, build fixed! [19:43:58] Project browsertests-Echo-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce build #155: FIXED in 10 min: https://integration.wikimedia.org/ci/job/browsertests-Echo-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/155/ [19:45:57] 3Wikimedia / 3Continuous integration: Jenkins: Various jobs broken after mediawiki/vendor became required (mw-get-core needs mediawiki-vendor) - 10https://bugzilla.wikimedia.org/72700 (10Krinkle) [20:02:42] Project browsertests-UploadWizard-commons.wikimedia.beta.wmflabs.org-linux-firefox-sauce build #273: FAILURE in 8 min 15 sec: https://integration.wikimedia.org/ci/job/browsertests-UploadWizard-commons.wikimedia.beta.wmflabs.org-linux-firefox-sauce/273/ [20:20:40] I have some phpunit tests in our project that only intermittently fail on jenkins. Maybe 1 in 5 or 1 in 10 runs hits at least one test failure [20:21:04] I've tried running the tests in a loop overnight on my laptop with the db switched over to sqlite (only major thing i could think of that was different in jenkins) but it doesn't trigger the error [20:21:36] so, i'm wondering how i can best replicate jenkins locally, or if there is a way i can boot up a labs instance and make set itself up like a jenkins job runner so i can try to replicate? [20:49:48] Project browsertests-VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce build #368: FAILURE in 1 hr 5 min: https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/368/ [20:53:47] Project browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce build #299: FAILURE in 51 min: https://integration.wikimedia.org/ci/job/browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/299/ [21:02:12] 3Wikimedia Labs / 3deployment-prep (beta): Rename all occurences of "deployment-prep" to "beta-cluster" - 10https://bugzilla.wikimedia.org/72694#c4 (10Antoine "hashar" Musso (WMF)) Recreating the project from scratch definitely takes a few days. Migrating the instances to a new labs project would most proba... [21:03:41] 3Wikimedia / 3Continuous integration: [upstream] Zuul prepareRef does not handle failure to connect to Gearman - 10https://bugzilla.wikimedia.org/72113#c5 (10Antoine "hashar" Musso (WMF)) The patch has been deployed. Lets monitor the issue for a few days. [21:10:57] 3Wikimedia / 3Continuous integration: Jenkins: Set up jsduck test and publish jobs for MobileFrontend - 10https://bugzilla.wikimedia.org/64374#c3 (10Antoine "hashar" Musso (WMF)) You need Jenkins jobs to be configured and the relevant triggers in Zuul, both are done via integration/config.git . To test p... [21:13:01] 3Wikimedia / 3Continuous integration: Jenkins: Rename mediawiki-vendor-integration to mediawiki-core-phpunit - 10https://bugzilla.wikimedia.org/72787 (10Krinkle) 3NEW p:3Unprio s:3normal a:3None We regressed in usability of Jenkins output for MediaWiki core change sets. For mediawiki-core commits th... [21:19:21] (03CR) 10Zfilipin: "Thanks Antoine! :)" [integration/config] - 10https://gerrit.wikimedia.org/r/168061 (https://bugzilla.wikimedia.org/69245) (owner: 10Zfilipin) [21:21:10] (03CR) 10Zfilipin: [C: 032] Ignore RuboCop offense Style/SignalException [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [21:21:28] (03Merged) 10jenkins-bot: Ignore RuboCop offense Style/SignalException [ruby/api] - 10https://gerrit.wikimedia.org/r/168285 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [21:23:06] (03CR) 10Dduvall: "Now I'm unable to push a review for the other change. Can we reopen this somehow, just until the other gets merged?" [selenium] - 10https://gerrit.wikimedia.org/r/159644 (owner: 10Dduvall) [21:24:21] (03CR) 10Zfilipin: [C: 032] Fixed RuboCop offense Metrics/LineLength [ruby/api] - 10https://gerrit.wikimedia.org/r/168310 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [21:24:39] (03Merged) 10jenkins-bot: Fixed RuboCop offense Metrics/LineLength [ruby/api] - 10https://gerrit.wikimedia.org/r/168310 (https://bugzilla.wikimedia.org/63307) (owner: 10Zfilipin) [21:34:39] (03CR) 10Hashar: "Seems git-review pushed your new change to the master branch instead of the env-abstraction-layer one:" [selenium] - 10https://gerrit.wikimedia.org/r/159644 (owner: 10Dduvall) [21:35:22] (03CR) 10Dduvall: "Got it! Thanks, Antoine. I'll RTFM." [selenium] - 10https://gerrit.wikimedia.org/r/159644 (owner: 10Dduvall) [21:35:41] (03PS2) 10Dduvall: Environment abstraction layer and browser factories [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169850 [21:35:50] marxarelli: that is the most confusing part of git-review :D [21:35:52] at least to me [21:36:19] we could make it to look at the remote tracking branch and default to that instead of master [21:36:56] hashar: that seems a bit more logical [21:37:10] hashar: `man git-review` No manual entry for git-review :( [21:37:32] hashar: but `git review env-abstraction-layer` worked :) [21:38:07] -:D [21:38:22] marxarelli: if you run it with --verbose , it shows the actual git commands being used [21:39:18] hashar: oooh, that'd be nice to see. maybe i could just start using pure git... because git is never confusing (?) [21:39:32] hashar: seriously though, i like seeing under the hood [21:40:17] (03PS2) 10Dduvall: Firefox environment bindings and specs [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169851 [21:40:21] (03PS2) 10Dduvall: Chrome environment bindings and specs [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169852 [21:41:35] hashar: btw, i think the `bundle yard` job was failing due to a pry-byebug compilation error [21:41:59] ah yeah [21:42:07] hashar: so i've removed the gem dependencies for now [21:42:13] I think it is fixed [21:42:27] the issue is that we have a per instance cache of gems using GEM_HOME=../somepath [21:42:37] which has been populated by ruby1.9.3 jobs [21:42:49] so there is a compiled gem against ruby1.9.x api [21:43:00] and when running the yard job with ruby 2.0 that leads to a huge stacktrace [21:43:06] hmm... bundle _should_ be smarter than that now [21:43:09] so we inserted in GEM_HOME the ruby version [21:43:17] we override bundle :-D [21:43:20] well [21:43:21] i believe it keeps gem installation separate for each minor version of ruby [21:43:38] yeah in the .bundle dir [21:43:41] but not in GEM_HOME [21:44:01] do you remember the change that had the issue? [21:44:16] cause it should work ™ [21:44:22] right, it probably sets GEM_HOME to keep things separate, and if you're setting GEM_HOME you'd have to emulate the same behavior [21:44:28] which sounds like what you're doing ;) [21:44:37] exactly :-] [21:44:49] hashar: https://gerrit.wikimedia.org/r/#/c/169852/ [21:45:02] but i've removed the gem dependency on pry-byebug [21:45:07] * hashar looks at https://integration.wikimedia.org/ci/job/mediawiki-selenium-bundle-yard/37/console [21:45:21] (it shouldn't have been there in the first since it's not a strict development dependency) [21:45:37] GEM_HOME=/mnt/jenkins-workspace/workspace/mediawiki-selenium-bundle-yard/../gems/2.0.0 <-- there is the ruby version namespacing [21:46:23] is ruby-dev installed? [21:46:29] should [21:46:35] seems the issue is debugger-linecache [21:46:42] suggest some thing to play with the CPU [21:47:02] 00:00:13.044 /usr/lib/ruby/2.0.0/mkmf.rb:219:in `expand_path': No such file or directory - getcwd (Errno::ENOENT) [21:47:03] bah [21:47:49] hashar: anyway, don't trip on it too much. debuggers shouldn't be set as dev dependencies [21:49:35] (03PS2) 10Dduvall: Phantomjs environment bindings and specs [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169853 [21:49:40] (03PS2) 10Dduvall: Remote browser factories and improved docs [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169854 [21:49:48] marxarelli: great. I am now happily forgetting about it :D [21:49:51] (03PS2) 10Dduvall: Implemented env and browser teardown [selenium] (env-abstraction-layer) - 10https://gerrit.wikimedia.org/r/169855 [21:51:18] marxarelli: on my version of git-review, it does look at the remote tracking branch :D [21:56:12] marxarelli: ho and when you will want to merge your branch, you can propose the merge commit against the master branch [21:56:28] when approving that change, Gerrit will automatically mark all the other changes as being merged :D [21:56:41] 3Wikimedia / 3Continuous integration: Jenkins: Set up jsduck test and publish jobs for MobileFrontend - 10https://bugzilla.wikimedia.org/64374 (10Jon) [21:56:47] 3Wikimedia / 3Continuous integration: Jenkins: Set up jsduck test and publish jobs for MobileFrontend - 10https://bugzilla.wikimedia.org/64374 (10Jon) [21:57:06] hashar: oh! that's really useful to know. thanks! [21:58:28] hashar: also, shouldn't you be asleep right now? :) [21:59:12] yeah should :D [21:59:26] but since I noticed you were around I thought it would be a good time to exchange a few sentences hehe [21:59:43] hashar: hey, i appreciate it [22:04:14] I am out or more folks will ping me :D [22:04:19] have a good ruby day! [22:14:28] 3Wikimedia Labs / 3deployment-prep (beta): HHVM fcgi restart during scap runs cause 503s (and failed tests) - 10https://bugzilla.wikimedia.org/72366#c21 (10Antoine "hashar" Musso (WMF)) Thank you for the high level synopsis, that seems to be a good base to add graceful/graceful-stop to the init/upstart scrip... [22:25:49] (03PS1) 10Dduvall: Ignoring RuboCop rule Style/Alias [ruby/api] - 10https://gerrit.wikimedia.org/r/170189 (https://bugzilla.wikimedia.org/63307) [22:34:25] hashar: since you're online, I was wondering what you thought about my solution for https://bugzilla.wikimedia.org/show_bug.cgi?id=71284#c11 [22:35:11] legoktm: i haven't looked at it to be honest [22:35:20] ok :P [22:36:32] legoktm: you can reach out to Yurik since he cared about :D [22:36:46] ok :P [22:36:58] also, is it possible to have jenkins run tests that require an internet connection? [22:37:04] I definitely like how you wrote tests [22:37:26] I'm writing tests for a labs tool which needs to hit the mw.o API [22:37:38] the slaves have an internet connection somehow [22:37:59] though it might need a web proxy I can't remember [22:38:13] ah no it works [22:38:21] but one of the production slave (lanthanum) does not [22:38:49] ok [22:38:57] and we can have the job only run on slaves? [22:39:38] I wrote a thin python wrapper for the mediawiki api https://git.wikimedia.org/blob/integration%2Fjenkins.git/master/bin%2Fmw-api-siteinfo.py :D [22:39:59] it is just to grab the siteinfo [22:40:07] and that one is used on labs slaves [22:40:42] you can tie a Jenkins job to the labs slaves by using either: [22:40:44] node: contintLabsSlave && UbuntuTrusty [22:40:45] or [22:40:47] node: contintLabsSlave && UbuntuPrecise [22:41:01] (in Jenkins job builder) [22:41:27] ok, and if I don't care about ubuntu version just node: contintLabsSlave ? [22:43:27] 3Wikimedia / 3Continuous integration: Augment jsonlint test with a test for duplicate keys - 10https://bugzilla.wikimedia.org/71284#c12 (10Antoine "hashar" Musso (WMF)) I like the checker since it has tox and tests :-D I am not too sure how to have it deployed on all the CI slaves though. Ideally we would... [22:43:31] legoktm: in this case the job will run on either Trusty or Precise labs instances [22:43:34] depending on Jenkins mood [22:44:01] which can leads to unexpected results since they have different python version and python modules build in [22:44:53] heh ok, I'll pick whichever one extdist.wmflabs is using [22:45:02] if you want to use python 3.4 , that would need to be on UbuntuTrusty . pywikibot/core has a nose test suite for python34 (job is xxx-nose34 ) [22:45:43] and rely on the pywikibot community [22:45:58] they did most of the work to get tests integrated in Jenkins [22:46:06] will be happy to assist as time allow [23:05:38] Project beta-scap-eqiad build #27758: FAILURE in 1 min 30 sec: https://integration.wikimedia.org/ci/job/beta-scap-eqiad/27758/ [23:15:20] Yippee, build fixed! [23:15:20] Project beta-scap-eqiad build #27759: FIXED in 1 min 16 sec: https://integration.wikimedia.org/ci/job/beta-scap-eqiad/27759/ [23:27:45] Project browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce build #257: FAILURE in 26 min: https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce/257/ [23:35:01] Yippee, build fixed! [23:35:02] Project browsertests-UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox-sauce build #251: FIXED in 22 min: https://integration.wikimedia.org/ci/job/browsertests-UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox-sauce/251/