[10:49:47] (03PS1) 10Hashar: mediawiki-core-code-coverage now archive clover file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115883 [12:25:56] hello I am student planning to contribute to qa-browsertests. I was looking at the jenkins build. I am trying to solve the failed test case(in linux-chrome) => File.Logged-in user goes to file that does not exist [12:27:10] As per the screencast for the test case, it seems username and password combination is wrong [12:28:45] but console output shows that password is being set [12:39:13] I checked out login_page.rb in mediawiki_selenium it seems to be correct and only checking if user is logged was added after the green build [12:39:18] any ideas ? [13:04:09] (03CR) 10Krinkle: [C: 032] "Pushed mediawiki-core-qunit and all 8 mwext*qunit jobs." [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/95309 (owner: 10Krinkle) [13:04:30] (03Merged) 10jenkins-bot: qunit macro: Make log/ directory writable instead of just the file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/95309 (owner: 10Krinkle) [13:12:25] (03PS3) 10Krinkle: mwconf: Enable $wgDBerrorLog and $wgRateLimitLog [integration/jenkins] - 10https://gerrit.wikimedia.org/r/95311 [13:12:45] (03CR) 10Krinkle: mwconf: Enable $wgDBerrorLog and $wgRateLimitLog (032 comments) [integration/jenkins] - 10https://gerrit.wikimedia.org/r/95311 (owner: 10Krinkle) [13:12:59] (03PS2) 10Hashar: mediawiki-core-code-coverage now archive clover file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115883 [13:13:04] (03PS3) 10Hashar: mediawiki-core-code-coverage now archives clover file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115883 [13:13:12] (03CR) 10Hashar: [C: 032] mediawiki-core-code-coverage now archives clover file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115883 (owner: 10Hashar) [13:13:20] hashar: :D [13:13:37] (03Merged) 10jenkins-bot: mediawiki-core-code-coverage now archives clover file [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115883 (owner: 10Hashar) [13:13:48] how long does the coverage take to generate again? [13:14:45] (03PS4) 10Krinkle: mwconf: Enable $wgDBerrorLog and $wgRateLimitLog [integration/jenkins] - 10https://gerrit.wikimedia.org/r/95311 [13:15:25] (03CR) 10Krinkle: [C: 032] "Here goes nothing.." [integration/jenkins] - 10https://gerrit.wikimedia.org/r/95311 (owner: 10Krinkle) [13:15:28] (03Merged) 10jenkins-bot: mwconf: Enable $wgDBerrorLog and $wgRateLimitLog [integration/jenkins] - 10https://gerrit.wikimedia.org/r/95311 (owner: 10Krinkle) [13:38:27] hashar_: around? :P [13:46:49] addshore: yeah more or less [13:50:58] I guess php tests/phpunit/phpunit.php --with-phpunitdir ./vendor/phpunit/phpunit --coverage-clover=coverage.clover will get me the same output as your nightly coverage job? [13:53:54] shame they take so damn long! [13:56:26] I was looking at sending the coverage to coveralls per change on travis but the job would probably take too long to run every change [13:57:15] guess we should just make it push to coverall on the nightly job instead [14:11:50] ok QA - I'm going to be upgrading Elasticsearch to 1.0 in a few minutes. I mentioned that i'd do it yesterday but didn't get the time [14:12:23] you'll notice a search outage but it'll come back in a few minutes and it should continue working. I mean, that is that idea. [14:16:19] and I'm done. searches should continue working in beta as they always have [16:22:35] (03PS1) 10Cmcmahon: Do logout check on the id of the listitem containing Logout link [selenium] - 10https://gerrit.wikimedia.org/r/115928 [16:28:43] (03CR) 10KartikMistry: "Chris, how can I quickly test this?" [selenium] - 10https://gerrit.wikimedia.org/r/115928 (owner: 10Cmcmahon) [18:17:07] (03PS1) 10Addshore: Initial commit of 0.6.1 + dependencies [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115945 [18:22:29] (03PS1) 10Addshore: Add README.md [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115946 [18:44:16] hmmmm [18:44:58] if I want to use a reference a file in a command in mediawiki.yaml in jenkins-job-builds-config where should I put that file? [18:45:03] or should I just create it inline? :P [18:45:17] chrismcmahon: ^^ ;p [18:46:27] addshore: I have to admit, I am completely new to jenkins-job-builds, we only flipped the switch on those last week for our Cloudbees jenkins instance [18:46:48] okay :) ill just stick it in line for now ;p [18:47:14] addshore for WMF Jenkins you'll probably want to talk to hashar [18:47:21] yup :) [18:55:23] (03PS1) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [18:55:30] (03CR) 10jenkins-bot: [V: 04-1] DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 (owner: 10Addshore) [18:58:26] (03PS2) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [19:06:25] (03PS1) 10Addshore: Increase coverage generation to run every 12 hours [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115953 [20:21:37] (03CR) 10Hashar: [C: 032 V: 032] Initial commit of 0.6.1 + dependencies [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115945 (owner: 10Addshore) [20:21:55] (03CR) 10Hashar: [C: 032 V: 032] Add README.md [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115946 (owner: 10Addshore) [20:22:26] (03PS3) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [20:34:56] (03PS4) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [20:49:44] (03PS1) 10Mwalker: Inform Zuul about the FundraisingChart extension [integration/zuul-config] - 10https://gerrit.wikimedia.org/r/115967 [20:50:23] (03PS1) 10Mwalker: Add jobs for FundraisingChart extension [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115968 [21:10:40] (03PS5) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [21:15:37] (03PS1) 10Hashar: Make tox shell wrapper a macro [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115973 [21:15:40] (03PS1) 10Hashar: mw-tools-releng-tox-doc-publish [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115974 [21:15:51] (03CR) 10Hashar: [C: 04-2] Make tox shell wrapper a macro [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115973 (owner: 10Hashar) [21:15:59] (03CR) 10Hashar: [C: 04-2] mw-tools-releng-tox-doc-publish [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115974 (owner: 10Hashar) [21:16:08] (03CR) 10Ssmith: [C: 032 V: 032] Inform Zuul about the FundraisingChart extension [integration/zuul-config] - 10https://gerrit.wikimedia.org/r/115967 (owner: 10Mwalker) [21:16:51] (03CR) 10Ssmith: [C: 032] Add jobs for FundraisingChart extension [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115968 (owner: 10Mwalker) [21:18:09] (03PS1) 10Hashar: Make sure make-release use https git urls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115975 [21:20:32] (03CR) 10Hashar: [C: 032] Make sure make-release use https git urls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115975 (owner: 10Hashar) [21:21:07] (03PS2) 10Hashar: Make sure make-release use https git urls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115975 [21:21:20] (03CR) 10Hashar: [C: 032] Make sure make-release use https git urls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115975 (owner: 10Hashar) [21:21:46] (03Merged) 10jenkins-bot: Make sure make-release use https git urls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115975 (owner: 10Hashar) [21:32:02] (03CR) 10Hashar: DNM Send coverage info to Coveralls (031 comment) [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 (owner: 10Addshore) [21:37:05] (03PS1) 10Addshore: Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 [21:37:39] (03PS2) 10Addshore: Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 [21:39:41] (03PS6) 10Addshore: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 [21:44:19] (03PS1) 10Hashar: Update make-release phpunit path [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115981 [21:48:54] addshore: I am sleeping now, can continue tomorrow [21:48:59] ;p [21:51:10] (03PS1) 10Hashar: mediawiki-core-release can now run in parallel [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115983 [21:56:45] (03CR) 10Hashar: [C: 032] Update make-release phpunit path [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115981 (owner: 10Hashar) [21:56:52] (03CR) 10Hashar: [C: 032] mediawiki-core-release can now run in parallel [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115983 (owner: 10Hashar) [21:57:03] (03Merged) 10jenkins-bot: Update make-release phpunit path [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115981 (owner: 10Hashar) [21:57:19] (03Merged) 10jenkins-bot: mediawiki-core-release can now run in parallel [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115983 (owner: 10Hashar) [22:02:39] addshore: so i am not sleeping yet :D [22:02:44] xD [22:02:47] I can tell ;p [22:03:42] addshore: haa [22:03:47] https://gerrit.wikimedia.org/r/#/c/115979/2/bin/mw-send-to-coveralls.sh,unified [22:03:49] you set -x [22:03:59] wish would nicely dump in the console the command :-] [22:04:02] with the token [22:04:21] you could set +x before [22:04:26] and set -x again after [22:04:28] might work [22:07:37] (03PS3) 10Addshore: Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 [22:07:42] hashar: ^^ goo point :P [22:07:53] and yes should work, I have done something similar on travis before [22:08:10] rm-f unknown command :-D [22:08:13] missing a space [22:08:17] blergh [22:08:29] (03PS4) 10Addshore: Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 [22:09:27] (03CR) 10Hashar: [C: 032] Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 (owner: 10Addshore) [22:09:30] (03Merged) 10jenkins-bot: Add mw-send-to-coveralls script [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115979 (owner: 10Addshore) [22:09:30] :> [22:09:40] deploying [22:11:27] bahh it was missing execution bit [22:12:05] (03PS1) 10Hashar: chmod +x mw-send-to-coveralls.sh [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115986 [22:12:16] (03CR) 10Hashar: [C: 032] chmod +x mw-send-to-coveralls.sh [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115986 (owner: 10Hashar) [22:12:19] (03Merged) 10jenkins-bot: chmod +x mw-send-to-coveralls.sh [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115986 (owner: 10Hashar) [22:12:25] :> [22:13:48] agrrgzrgrgrzg [22:13:50] stupid git deploy [22:14:19] ah no it wworked [22:14:38] :D [22:14:47] will run the shell script with the current clover.xml [22:17:07] [= [22:17:50] (03PS7) 10Hashar: DNM Send coverage info to Coveralls [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 (owner: 10Addshore) [22:18:05] (03CR) 10Hashar: "fixed path to shell script (missing a s at the end)" [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115951 (owner: 10Addshore) [22:18:19] so hmm [22:18:22] I ran the command [22:18:24] + php /srv/deployment/integration/php-coveralls/vendor/bin/coveralls [22:18:24] ../satooshi/php-coveralls/composer/bin/coverallsjenkins-slave@gallium:/srv/ssd/jenkins-slave/workspace/mediawiki-core-code-coverage$ [22:20:46] so the bin file should be a symlink but it is broken [22:21:41] vendor/bin/coveralls [22:21:54] its a symlink? :O *goes to check* [22:22:01] it is not [22:22:07] it is a regular file [22:22:11] git bug on your end ? :( [22:22:23] ../satooshi/php-coveralls/composer/bin/coveralls [22:22:25] hmm [22:23:17] well unfortunatly Im using windows so I couldnt actually do the composer install locally as it required pntcl or whatever :P [22:23:34] ahh [22:23:49] so i did it on labs, pushed it to https://github.com/addshore/wikimedia-php-coveralls pulled that locally and then made the commit [22:24:00] so I would guess somehting in that chain of events went a bit wrong ;p [22:24:07] got it fixed :-] [22:24:16] it certainly appears correct on github https://github.com/addshore/wikimedia-php-coveralls/blob/master/vendor/bin/coveralls ;p [22:24:41] but windows probably jumped up and down on it until it cried out for mercy and changed into a text file ;p [22:25:04] (03PS1) 10Hashar: Fix symlink not generated properly on Windows [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115989 [22:25:19] (03CR) 10Hashar: [C: 032 V: 032] Fix symlink not generated properly on Windows [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115989 (owner: 10Hashar) [22:25:22] (03CR) 10Addshore: ":D" [integration/php-coveralls] - 10https://gerrit.wikimedia.org/r/115989 (owner: 10Hashar) [22:26:04] * addshore crosses his fingers :> [22:26:35] baahhh [22:26:51] http://paste.openstack.org/show/70398/ [22:26:58] src directory is not found :D [22:27:30] hmmmm [22:28:02] echo "src_dir: /" >> .coveralls.yml [22:28:09] guess we could try . [22:28:15] or ./ xD [22:28:25] same [22:28:25] :( [22:28:47] I guess we could have to set it to Includes [22:28:59] or ../mediawiki-core xD [22:29:14] the documentation isnt very clear about what it effects [22:30:19] try with the full dir, no luck [22:30:25] might be an issue in the composer command [22:30:36] tried with Includes? [22:31:05] got the same on my own machine [22:31:10] https://github.com/wmde/WikibaseDatabase/blob/master/.coveralls.yml [22:31:22] the annoying thing about core is all the source isnt in a given folder [22:31:29] but again, no idea what coveralls expects here [22:31:54] https://github.com/satooshi/php-coveralls/issues/56 [22:32:27] src_dir: . apparently should work [22:33:22] :( [22:34:22] smae [22:34:26] tried with full path as well [22:35:03] whahaha [22:35:12] this cant be!!! failed at the final hurddlelel!! :<< [22:38:21] bah it considers the root dir to be /srv/deployment/integration/php-coveralls [22:38:32] which is the base of the script I guess [22:39:00] O_o [22:39:08] ../../../../../../? :P [22:39:56] ahaha [22:40:03] ahh hashar I guess thats because its meant to be installed with composer [22:40:04] na I would say broken [22:40:11] that woudl then be the correct path [22:40:20] stuff should be using the current dir somehow [22:40:52] I give up for tonight [22:40:57] kk :) [22:41:04] we will have to reproduce that on a labs instance I guess [22:41:05] ill take a poke at php-coveralls and see what I can find [22:41:11] i.e. by cloning the repo somewhere [22:41:46] i.e. clone integration/php-coveralls on an instance in the same path and see if you can get it to run [22:41:57] +it needs a bunch of verbose messages :D [22:42:06] you can add +v ;p [22:42:10] -v ... [22:43:41] yeah not much helpful [22:43:52] crashing to bed [22:44:00] see ya! [22:44:30] if you manage to reproduce it on labs, that would be helpfull :] [22:46:55] same on my computer hehe addshore :D [22:46:56] easy! [22:48:09] same on mine :P [22:48:28] you folks rawk [22:48:29] good luck! [22:48:44] hey chris :D [22:49:03] well hashar I know exactly what the issue is :P [22:49:07] !!!!!!!!!!!!! [22:49:09] US! :D [22:49:17] of course! [22:49:21] it is never the computers : [22:49:24] nor the code [22:49:35] its all because its expecting ti be installed by composer for the package its going to be used for [22:49:45] omg [22:49:54] cd php-coveralls/vendor to . [22:50:01] and run it from there and it will work ;p [22:50:02] can't we use a python client ? [22:51:18] could use https://github.com/z4r/python-coveralls [22:51:25] was trolling :] [22:51:29] xD [22:51:42] cant we use composer properly ? ;p [22:51:48] just trolling of course :P [22:51:54] :-D [22:52:22] hashar: can I make the .sh script do a mildy ugly copy of the vendor dir and then delete it again after? :P [22:52:24] so everything is relative to wherever we cloned [22:52:34] you can use symlink [22:52:40] true...! [22:52:45] unix [22:52:47] thats all we need [22:52:54] windows can do symlinks too ;p [22:53:08] yeah but git can't commit them apparently [22:53:10] so there is no proof [22:53:13] xD [22:53:25] so yeah symlink whatever and maybe it will work [22:53:32] one day we will have composer ! [22:53:34] hmm, where should the symlink creation be though? xD [22:53:43] in the jenkins .sh script? xD [22:53:47] just create it EVERY time xD [22:53:52] the jenkins base path is known as $WORKSPACE [22:54:02] then you can create it from the shell script in integration/jenkins.git [22:54:37] random folks should be able to +2 that and deploy it from tin using /srv/deployment/integration/slave-scripts/ [22:54:44] i amm sleeping now! ;] [22:54:47] have a good night! [22:55:12] :) [22:55:14] see ya! [23:02:43] (03PS1) 10Addshore: Create symlink to vendor if non exists [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115996 [23:03:00] (03CR) 10Hashar: "You will have to generate the jobs in Jenkins. You can follow the tutorial at https://www.mediawiki.org/wiki/Continuous_integration/Tutori" [integration/jenkins-job-builder-config] - 10https://gerrit.wikimedia.org/r/115968 (owner: 10Mwalker) [23:08:20] (03CR) 10Hoo man: [C: 031] "Good to merge and deploy (which I can't)" [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115996 (owner: 10Addshore) [23:08:45] chrismcmahon: any chance you could take a speedy look at that ^^ I guess you can +2 in integration/* [23:10:55] (03CR) 10Cmcmahon: [C: 032] "lgtm" [integration/jenkins] - 10https://gerrit.wikimedia.org/r/115996 (owner: 10Addshore) [23:11:00] addshore: done [23:11:26] =] [23:11:37] now just need to find someone to run it on tin :D and fingers crossed!