[08:00:46] Hey Zeljko ! I will be there in 5 mins. Sorry for that [08:01:02] vikas: no problem, join when you are ready [08:05:45] good morning [08:05:53] hashar: morning [08:06:16] Chris and I have moved the last jobs from Cloudbees to Wikimedia Jenkins yesterday [08:06:31] zeljkof: yeah I noticed the related bug got resolved/fixed [08:06:33] that is a wesome [08:06:35] awesome [08:06:53] gotta figure out a solution for the logout issue [08:07:50] hashar: I will work on that, either today or on monday [08:07:59] do you have a solution ? [08:09:07] hashar: not yet [08:09:13] have to go to a meeting with vikas [08:15:14] hashar: can you join vikas and me in a pairing session? [08:15:28] we need help creating matrix job, or something like that [08:15:39] depends [08:15:48] can it wait after my hangover disappear ? :D [08:15:55] hashar: :) [08:16:04] invite me [08:16:59] zeljkof: invite invite! [08:17:09] hashar: I did [08:17:53] hashar: invited one more time, in case the first one did not work [08:34:05] Oops ! Internet problem. Reconnecting [08:37:46] hashar, zeljkof: Chrome says to install plugin :( [08:38:48] hashar, zeljkof: let me restart ... [08:38:52] vikas_: maybe your chrome upgraded in the background and the new version does not have hangout plugin [08:39:03] (03CR) 10Hashar: [C: 04-1] "Almost good. Per our discussion, you will want a new job-template which is a matrix configuration job. It would vary LANGUAGE_SCREENSHOT_C" (032 comments) [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/142244 (https://bugzilla.wikimedia.org/62737) (owner: 10Zfilipin) [08:44:08] (03PS1) 10Hashar: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 [08:44:50] (03CR) 10Hashar: "Example job https://gerrit.wikimedia.org/r/#/c/144135/" [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/142244 (https://bugzilla.wikimedia.org/62737) (owner: 10Zfilipin) [08:49:19] (03CR) 10Hashar: "Shell of doom:" [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/142244 (https://bugzilla.wikimedia.org/62737) (owner: 10Zfilipin) [08:59:53] (03Abandoned) 10Hashar: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (owner: 10Hashar) [09:01:16] (03CR) 10Hashar: "For the matrix project, you will probably want each build to run sequentially instead of in parallel. http://ci.openstack.org/jenkins-job-" [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/142244 (https://bugzilla.wikimedia.org/62737) (owner: 10Zfilipin) [09:01:32] zeljkof: would you craft the jenkins job for vikas? [09:01:41] hashar: yes, will do it right now [09:01:50] I left yet another comment [09:01:52] I am sure you will be fine [09:02:01] ping me if you are blocked / wondering something [09:02:08] hashar: thanks, will let you know [09:02:13] if I get stuck [09:02:23] thank you hashar and zeljkof :) [09:02:46] vikas: and I really like your idea of automatically taking screenshots for documentation [09:02:51] that is a crazy idea [09:02:54] and I love crazy idea [09:03:03] s [09:03:26] haha ! It was amir's idea :) [09:04:40] vikas_: did Amir proposed it as a GSoC project? [09:05:14] zeljkof: probably to assert that one version runs properly before running the other. Jenkins has support for that [09:05:23] you would run the 'en' job first. If it pass, run the rest [09:07:07] hashar: ya it was there in the mediawiki's GSOC page [09:07:19] great [09:07:27] hashar: I liked the idea, hence decided to work on it :) [12:44:31] (03Restored) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (owner: 10Hashar) [12:44:41] (03Abandoned) 10Zfilipin: WIP The first job to take sceenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/142244 (https://bugzilla.wikimedia.org/62737) (owner: 10Zfilipin) [13:04:44] (03PS2) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [13:21:27] zeljkof: need any help? [13:28:53] hashar: thanks [13:29:05] slowly getting there [13:32:46] hashar: argh, updated git-review today and now it is broken :( [13:33:07] oh really [13:33:17] zeljkof: they released a new version (1.24) yesterday iirc [13:33:17] pkg_resources.DistributionNotFound: git-review [13:33:20] hehe [13:33:25] you want to reinstall probably [13:33:25] raise DistributionNotFound(req) # XXX put more info here [13:33:31] the comment is golden [13:33:31] how did you install it? [13:33:39] yeh that is a nice comment [13:33:49] sudo pip install -U git-review [13:36:43] let's try this: $ sudo pip install git-review [13:36:54] no, this: $ sudo pip uninstall git-review [13:37:05] Successfully uninstalled git-review [13:37:44] does not help [13:39:24] hashar: how do I install previous version? (googleing...) [13:41:25] $ sudo pip install git-review==1.23 [13:41:45] (03PS3) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [13:41:52] ok, now it works [13:42:07] zeljkof: try again installing the latest? [13:42:13] I think it is missing a dependency (pbr) [13:42:17] hmm [13:42:18] I mean: [13:42:22] pip install pbr [13:42:24] pip install git-review [13:42:28] might do the trick [13:42:30] let me try [13:43:30] $ sudo pip install pbr [13:43:40] Requirement already satisfied (use --upgrade to upgrade)... [13:43:54] $ sudo pip install pbr --upgrade [13:44:45] no, does not work [13:44:52] pkg_resources.DistributionNotFound: git-review [13:45:05] does the latest git-review work on your machine? [13:45:52] going back git-review 1.23 [13:45:58] http://knowyourmeme.com/memes/sweet-brown-aint-nobody-got-time-for-that [13:46:14] Ain't Nobody Got Time for git-review 1.24 [13:48:26] argh [13:48:28] pkg_resources.DistributionNotFound: pip [13:48:43] after $ jenkins-jobs... [13:49:32] sudo easy_install pip [13:49:36] that fixes the problem [13:49:43] how did I manage to delete pip? [13:49:44] oh well [13:50:43] aharoni: https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-VisualEditor-language-screenshot/1/console [13:50:48] the first try... [13:53:01] hashar: wait, what? https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-language-screenshot/LANGUAGE_SCREENSHOT_CODE=en/1/console [13:53:16] 00:01:50.733 requests.exceptions.ConnectionError: Max retries exceeded for url: /w/api.php?action=query&meta=siteinfo&siprop=general&format=json [13:56:38] sorry [13:57:01] is labs down or something? [13:57:10] have you try the api url ? [13:57:42] seems good to me http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&meta=siteinfo&siprop=general&format=json [13:57:44] hashar: this one? [13:57:44] http://en.wikipedia.beta.wmflabs.org/w/api.php [13:57:50] yes, looks good to me [13:58:19] not sure what is up with jenkins job [13:59:21] hashar: where is that call defined at all? [13:59:30] I mean, why is the job calling the api? [14:05:54] ah [14:06:05] let me try the command [14:06:07] ie /srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py http://en.wikipedia.beta.wmflabs.org/w/api.php git_branch [14:06:27] oh it ran on lanthanum [14:06:40] which is wrong [14:06:45] that box does not have access to internet [14:06:52] the job is missing a node: somewhere [14:07:52] hmm [14:08:16] stupid jenkins [14:09:31] hashar: how come it is on the wrong slave? [14:09:46] (03CR) 10Hashar: [C: 04-1] "Needs to bind the job to label contintLabsSlave" (031 comment) [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:09:53] zeljkof: see https://gerrit.wikimedia.org/r/#/c/144135/3/job_template.yaml,unified [14:10:13] zeljkof: node: contintSlavesLabs is ignored in matrix project [14:10:17] you need an axis :/ [14:10:30] I should have copy pasted the whole block from the beta updating job [14:10:31] hashar: I see [14:11:46] (03PS4) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:11:51] copy/paste ftw :) [14:11:55] yeah always [14:12:02] try it! [14:12:20] argh [14:12:21] error [14:12:25] let me check [14:13:01] hashar: hm, looks like I did something wrong here [14:13:02] https://gerrit.wikimedia.org/r/#/c/144135/4/job_template.yaml,unified [14:13:05] (03CR) 10jenkins-bot: [V: 04-1] browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:14:00] hmm [14:14:21] in "config/job_template.yaml", line 12, column 5 [14:14:26] expected , but found '' [14:14:33] retriggered the job https://integration.wikimedia.org/ci/job/integration-jjb-config-diff/497/console [14:14:35] let me check how axis should be defined [14:14:44] that error is usually caused by some wrong yaml /D [14:15:05] in "config/job_template.yaml", line 21, column 6 [14:15:13] yeah [14:15:17] bad alignment [14:15:36] argh [14:15:39] whitespace! :) [14:15:59] (03CR) 10Hashar: browsertests: matrix project to take screenshots (031 comment) [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:16:14] the yamllint job is not very good https://integration.wikimedia.org/ci/job/integration-jjb-config-yamllint/1914/console [14:16:16] it passed [14:16:20] (03PS5) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:16:56] https://gerrit.wikimedia.org/r/#/c/144135/4..5/job_template.yaml,cm [14:17:06] (03CR) 10jenkins-bot: [V: 04-1] browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:20:27] hashar: it still does not work :'( [14:21:08] I have thought this would fix the whitespace [14:21:08] https://gerrit.wikimedia.org/r/#/c/144135/4..5/job_template.yaml,cm [14:21:14] oh, my brain is not working any more [14:23:48] (03PS1) 10Hashar: yamllint: actually realize the yaml linting [integration/jenkins] - 10https://gerrit.wikimedia.org/r/144150 [14:23:56] yamllint is bugged :( [14:23:56] https://gerrit.wikimedia.org/r/144150 [14:24:13] (03CR) 10Hashar: [C: 04-2] "No friday deploy." [integration/jenkins] - 10https://gerrit.wikimedia.org/r/144150 (owner: 10Hashar) [14:25:44] ah [14:26:39] hashar: I have messed up whitespace somehow [14:26:48] trying a fix from a previous patch set [14:29:32] (03PS6) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:29:45] the jjb config test job might be wrong as well :( [14:30:00] hashar: whitespace ftw :) https://gerrit.wikimedia.org/r/#/c/144135/5..6/job_template.yaml,cm [14:30:02] fixed [14:32:12] this should now work [14:32:13] https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-language-screenshot/LANGUAGE_SCREENSHOT_CODE=en,label=contintLabsSlave/5/console [14:32:33] yeah! [14:35:00] echo 'We have a language screenshot code: en' [14:36:15] \O/ [14:37:16] (03PS7) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:44:22] (03CR) 10Zfilipin: "See also https://gerrit.wikimedia.org/r/#/c/142244" [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:46:21] (03CR) 10Hashar: [C: 04-1] browsertests: matrix project to take screenshots (031 comment) [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:46:28] almost :D [14:47:40] hashar: https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-language-screenshot-linux-firefox-sauce/LANGUAGE_SCREENSHOT_CODE=en,label=contintLabsSlave/1/console [14:47:44] already there?= [14:47:50] wait, something is wrong? [14:49:26] (03PS8) 10Zfilipin: browsertests: matrix project to take screenshots [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:50:07] hashar: sorry, already done and deployed, forgot to push the new code to gerrit [14:50:08] https://gerrit.wikimedia.org/r/#/c/144135/7..8/macro.yaml,cm [14:51:06] (03CR) 10Zfilipin: browsertests: matrix project to take screenshots (031 comment) [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar) [14:51:36] hashar: and other tests are not affected by the change [14:51:36] https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-CirrusSearch-en.wikipedia.beta.wmflabs.org-linux-firefox/155/console [14:51:50] 00:00:05.224 + [[ ! -z '' ]] [14:51:50] 00:00:05.224 + CUCUMBER_EXTRA_PARAMETERS= [14:53:07] doesn't work so? [14:54:10] ah [14:54:11] LANGUAGE_SCREENSHOT_CODE [14:54:13] is not there [14:54:14] bah [14:54:14] hashar: fixing rigth now [14:54:24] hashar: no, that is good [14:54:29] that is cirrus search job [14:54:35] it does not need language screenshots [14:54:49] I was testing if the change to the macro affects other jobs [14:55:00] ve job should be green in a minute, pending one-liner self-merge :) [14:56:05] also [14:56:14] you probably don't that job to trigger automatically [14:56:17] 3Wikimedia / 3Quality Assurance: Automatic cross-language screenshots for user documentation - 10https://bugzilla.wikimedia.org/62737 (10Ċ½eljko Filipin) a:3Vikas [14:56:20] nor should it send any email I believe [15:00:06] hashar: we can tweak that later [15:00:17] it can ran automatically and send mails for now [15:03:29] hashar: screenshot job should pass when this gets merged [15:03:29] https://gerrit.wikimedia.org/r/#/c/144152/ [15:06:47] hashar: https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-language-screenshot-linux-firefox-sauce/LANGUAGE_SCREENSHOT_CODE=en,label=contintLabsSlave/2/console [15:06:48] green :) [15:07:23] good [15:07:33] let's try a few more languages now [15:07:43] the build doesn't seem to archive the screenshots though [15:07:46] https://integration.wikimedia.org/ci/job/browsertests-VisualEditor-language-screenshot-linux-firefox-sauce/LANGUAGE_SCREENSHOT_CODE=en,label=contintLabsSlave/2/ [15:07:55] only has a xml as artifact [15:07:56] well, they are created [15:08:06] probably not archived explicitly [15:08:37] the job looks for files matching: log/*.log, log/junit/*.xml, log/report.html, log/*.png [15:08:47] hashar: hm, really [15:08:52] can not find them [15:10:14] maybe it is missing an env variable ? [15:10:27] there is only SCREENSHOT_FAILURES_PATH [15:15:57] it is optional [15:17:29] it should create screenshots folder in test/browser if that env variable is not set [15:21:08] hashar: hm [15:21:27] so, matrix job has only one folder structure? [15:21:42] I mean, not every subjob has a folder structure for itself? [15:22:04] ok, anyway, too late to debug that for now [15:22:15] will try later today, tomorrow or next week [15:22:26] but there is progress, the job is created and it is working [15:22:36] now only to find out where the screenshots are :) [15:22:44] see you later [15:22:49] zeljkof: I am not sure [15:22:55] zeljkof: gotta leave myself as well :/ [15:23:05] zeljkof: I think each configuration has its own workspace [15:23:28] can you point me to the root of en workspace? [15:23:32] I could not find it [15:23:39] maybe that is the problem [15:23:53] because when we had jus a normal job, the screenshots were saved normally [15:25:35] * zeljkof is gone [15:25:36] see you later [16:00:15] I am off, see you monday [17:42:27] (03CR) 10Hashar: [C: 031] "Seems good. On a test run we noticed the screenshots are not attached to the build. They have to be sent to $WORKSPACE/log" [integration/jenkins-job-builder-config] (cloudbees) - 10https://gerrit.wikimedia.org/r/144135 (https://bugzilla.wikimedia.org/62737) (owner: 10Hashar)