[00:31:20] (03PS1) 10Lokal Profil: Add tests for database_statistics output [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449382 [00:33:47] (03PS1) 10Lokal Profil: Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 [00:36:06] (03CR) 10jerkins-bot: [V: 04-1] Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 (owner: 10Lokal Profil) [07:36:47] (03CR) 10Jean-Frédéric: [C: 032] Add tests for database_statistics output [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449382 (owner: 10Lokal Profil) [07:38:01] (03Merged) 10jenkins-bot: Add tests for database_statistics output [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449382 (owner: 10Lokal Profil) [07:39:26] (03CR) 10jenkins-bot: Add tests for database_statistics output [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449382 (owner: 10Lokal Profil) [07:50:05] (03PS2) 10Lokal Profil: Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 [07:50:11] (03CR) 10jerkins-bot: [V: 04-1] Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 (owner: 10Lokal Profil) [07:51:45] (03PS3) 10Lokal Profil: Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 [08:19:28] (03CR) 10Jean-Frédéric: [C: 032] Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 (owner: 10Lokal Profil) [08:20:57] (03Merged) 10jenkins-bot: Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 (owner: 10Lokal Profil) [08:22:02] (03CR) 10jenkins-bot: Re-factor output of database_statistics [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/449383 (owner: 10Lokal Profil) [09:07:53] !log tools.heritage Deploy latest from Git master: 6bffdbb, 65f04d2, df4e313 (T200326), 2b5e868 (T176845) [09:07:57] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.heritage/SAL [09:07:58] T200326: Repair missing_commonscat - https://phabricator.wikimedia.org/T200326 [09:07:58] T176845: Coordinate harvest broken for Philipines - https://phabricator.wikimedia.org/T176845 [09:08:49] !log tools.heritage Manually resolving conflicts and creating a local commit due to T200101 [09:08:51] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.heritage/SAL [09:08:52] T200101: Resolve usage of pymysql vs. MySQLdb - https://phabricator.wikimedia.org/T200101 [09:12:50] !log tools.heritage Deploy latest from Git master: a230a6e (T200337), 12f5559, bad6d8d (T200410), 3c7e8d9, e00f1b3, a021cb9 (T200428), 0631408, d2e8246, b9ff533, a471c38, 1c5b9f6 [correction to previous] [09:12:56] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.heritage/SAL [09:12:56] T200337: populate_adm_tree.php runs out of memory - https://phabricator.wikimedia.org/T200337 [09:12:57] T200410: test_processSource_with_one_okay_picture_out_of_two hits live API - https://phabricator.wikimedia.org/T200410 [09:12:57] T200428: Add missing cz fields - https://phabricator.wikimedia.org/T200428 [09:17:10] (03CR) 10Lokal Profil: "Not that although T200623 is being fixed invalid UTF-8 strings will still exist in the database so the errors='replace' is still needed" [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/447794 (https://phabricator.wikimedia.org/T200325) (owner: 10Lokal Profil) [09:17:31] (03PS5) 10Lokal Profil: Ensure unicode encoding of query results [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/447794 (https://phabricator.wikimedia.org/T200325) [15:18:50] Hi everyone, I'm working on building a tool in Toolforge. I'm building sinatra application using Ruby. I'm using 'whenever' gem for scheduling cron jobs. But it gives me an error that 'No Rakefile found'. But I'm having Rakefile in that project directory. And this cronjob works fine in my local computer. [15:19:03] can someone help me to solve this error [15:23:27] Balaji030698: what's the command? [15:26:07] I wrote tasks in Rakefile that must be run periodically. The tasks consists of methods present in that project folder. [15:27:11] I thought It checks the Rakefile in the root directory. While working with the gem locally, It usually checks the Rakefile in the directory where the schedule file present. [15:31:17] what tool is it? [15:32:18] name of the tool is 'facebook-messenger-chatbot'. It is a facebook chatbot. [15:33:06] I need to send messages automatically daily. For that I need to make a cron job. [15:34:50] I don't see the tool having a crontab [15:36:53] ok now I see it [15:36:57] sorry I was removed that cronjob since it producing lots of error logs. Now I added the cron job to crontab again. Kindly check that again [15:38:10] so there's a bug (or feature?) in jsub that some (?) submissions needs double quoting [15:38:49] you have bash -l -c 'cd .... ' [15:39:13] try changing that first ' into "'"' and second to '"'" [15:40:06] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid#Quoted_arguments [15:42:48] ^ "'....'" also work in majority of cases, but I recommend "'"'...'"'" which should work in all cases (the former is quoted by "..." which is interpreted; the latter expands to '...' in first quote interpretation, and single quotes are uninterpreted) [15:43:53] * zhuyifei1999_ updates the docs [15:45:54] Ok. But 'crontab -e' command doesn't seems to be working for me. It randomly giving a number and freezed. [15:46:26] o.O [15:46:27] It doesn't opens the crontab in a file like that suppose to do [15:46:34] which host are you on? [15:47:02] tools-bastion-03 (a.k.a. login.tools.wmflabs.org)? [15:47:06] @tool-bastion [15:47:09] yeah [15:47:11] ok [15:48:49] I don't see your login [15:49:25] no processes seems to belong to tools.facebook-messenger-chatbot [15:50:14] I guess I'll just sudo into your tool and test crontab -e [15:51:12] sorry for that actually I have logged into @tools-bastion-03 [15:51:29] dev.tool.wmflabs.org [15:51:30] ok I reproduced this. got '603' [15:51:36] oh that's 02 [15:51:51] Yeah im also getting 603 [15:55:29] this is weird [15:56:20] give me a while to debug this [15:57:08] yeah sure take your time :) [15:57:48] I see it started /bin/ed as the editor [15:59:04] is that your expected editor? [15:59:07] In our local system it will start vi editor right? [15:59:30] I think the default is nano [15:59:41] vi is also installed as a choice [15:59:49] oh ok [16:00:11] your .selected_editor is ed [16:00:46] so you might want to change that. idk how to use ed [16:01:05] (if you are not comfortable/familiar with ed) [16:02:26] hi folks, I see `jstart -N stewardbot -mem 2G -l release=trusty python /link/to/python.py` in my cron script, and I thought I can remove release=trusty safely, right? [16:02:43] I'm also dont know about using ed [16:02:55] so I'll go with nano or vim [16:03:36] revi: yeah `release=trusty` is default [16:03:40] great [16:04:58] !log Tools.stewardbots remove release=trusty from StewardBot/restart_stewardbot.sh [16:04:59] revi: Unknown project "Tools.stewardbots" [16:05:02] damnit? [16:05:10] lower case [16:05:13] kk [16:05:17] !log tools.stewardbots remove release=trusty from StewardBot/restart_stewardbot.sh [16:05:17] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.stewardbots/SAL [16:05:29] you might also have to remove -l [16:05:38] yup we have -l [16:05:52] I have no idea why this is not version-controlled anyway tho [16:05:59] zhuyifei1999_: I've changed editor to vim and edited the quotes. It works fine now. Thanks a lot for your help :) [16:06:03] `jstart -N stewardbot -mem 2G python /data/project/stewardbots/StewardBot/StewardBot.py` is the result :D [16:06:14] Balaji030698: np :) [16:07:09] does mw-vagrant use a different job queue system from production? [16:07:29] i get all queues reported as size 0 in production when i query it, though it seems to work in vagrant [16:08:03] (/me dunno. maybe bd.808 knows about that) [16:08:15] brion: I think mediawiki-vagrant uses the redis queue system that we just got off of in prod [16:08:17] `tools.stewardbots@tools-bastion-03:~$ cat .bigbrotherrc ` [16:08:17] `jstart -N stewardbot -mem 2G python /data/project/stewardbots/StewardBot/StewardBot.py` [16:08:17] `tools.stewardbots@tools-bastion-03:~$ ` [16:08:21] heh [16:08:25] and this should be the correct bigbrother config? [16:09:13] revi: lgtm, nice to see someone else using bigbrother :) [16:09:20] brion: prod uses kafka now I think, but you should talk to _joe_ or mobrovac to learn more about the new stuff [16:09:26] ok [16:09:27] thanks! [16:10:03] Well, we had to look for someone with shell to connect and restart the crucial bot whenever someone is doing things mercilessly and the bot is down [16:10:13] (our bot does not have throttling so freenode hates us) [16:12:04] https://tppr.me/hckzX woohoo [16:13:44] !log tools.stewardbots Create rules for .bigbrotherrc, see [[Help:Toolforge/Grid#Bigbrother]] [16:13:46] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.stewardbots/SAL [18:06:19] (03PS1) 10Legoktm: Revert "Slow down polling by a factor of 12 to avoid Phabricator rate limit." [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/449514 [18:06:57] (03PS2) 10Legoktm: Revert "Slow down polling by a factor of 12 to avoid Phabricator rate limit." [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/449514 (https://phabricator.wikimedia.org/T198915) [18:50:37] (03CR) 10Alex Monk: [C: 032] Revert "Slow down polling by a factor of 12 to avoid Phabricator rate limit." [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/449514 (https://phabricator.wikimedia.org/T198915) (owner: 10Legoktm) [18:53:20] (03Merged) 10jenkins-bot: Revert "Slow down polling by a factor of 12 to avoid Phabricator rate limit." [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/449514 (https://phabricator.wikimedia.org/T198915) (owner: 10Legoktm) [19:06:33] (03CR) 10jenkins-bot: Revert "Slow down polling by a factor of 12 to avoid Phabricator rate limit." [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/449514 (https://phabricator.wikimedia.org/T198915) (owner: 10Legoktm) [19:08:58] (03CR) 10Lokal Profil: "this is still blocked by those b' strings right?" [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/390969 (owner: 10Jean-Frédéric) [19:13:23] legoktm: turbobugs \o/ [19:13:49] (more turbo than my reviewing speed) [19:19:47] heh :D