[13:13:42] paladox: you around? [13:17:31] paladox: im merging https://gerrit.wikimedia.org/r/#/c/323712/ can you deploy [13:17:41] Give me a min [13:20:54] !log merging https://gerrit.wikimedia.org/r/#/c/323712/ [13:20:56] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [15:26:35] ok [15:26:37] i am now [15:28:49] Zppix hi, you merged https://gerrit.wikimedia.org/r/#/c/323712/2 but we had problems with it. [15:31:27] I see that https://gerrit.wikimedia.org/r/#/c/323712/ is deploy. [15:31:49] Can we revert it then revert that again so we can have an open patch to try and fix it before merging it again? [15:31:56] marktraceur ^^ [15:32:35] paladox: What problems? Nobody CR'd it until Zppix. [15:32:54] marktraceur rember that the bot kept creating new bots [15:32:59] like grrrit-wm1 [15:33:03] then grrrit-wm2 [15:33:13] I'm not sure that was this patch's fault, but okay [15:33:14] when we did grrrit-wm: force-restart. [15:33:20] Zppix: Did that happen when you tested it? [15:40:27] Zppix: Did that happen when you tested it? [15:48:35] No [15:48:57] OK then! Sounds like we're good. Turns out code review works. [15:49:11] paladox: If you find it not working in practice, then we can try to fix it in a follow-up. [15:49:30] Ok, want me to deploy it? [15:49:32] We dont go reverting unless its a major problem [15:49:34] Yes [15:49:44] ok. [15:50:48] !log deploying https://gerrit.wikimedia.org/r/#/c/323712/ [15:50:50] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [15:55:35] grrrit-wm-test: force-restart [16:38:17] grrrit-wm-test: force-restart [16:38:57] grrrit-wm-test1: nick [16:39:07] grrrit-wm-test2: nick [16:39:13] marktraceur ^^ strange [16:49:20] grrrit-wm-test: force-restart [16:49:45] grrrit-wm-test1: force-restart [16:52:41] grrrit-wm-test: force-restart [16:53:12] grrrit-wm-test1: nick [16:53:26] marktraceur ^^ [16:53:41] uh [16:53:56] most likly related to your functions you added [16:53:57] function bothConnected() { [16:53:57] if ( sshUp && ircUp && savedTo !== undefined ) { [16:53:57] ircClient.say( savedTo, "Successfully connected to IRC and SSH." ); [16:53:57] savedTo = undefined; [16:53:58] } [16:53:59] } [16:54:12] function ircConnected( to ) { [16:54:12] ircUp = true; [16:54:12] savedTo = to; [16:54:12] logging.info( 'Connected to IRC.' ); [16:54:12] bothConnected(); [16:54:13] } [16:55:43] grrrit-wm-test: force-restart [16:55:43] paladox: Why would it be related to that? [16:56:12] because adding ircUp = undefined to function bothConnected() { made it do ^^ [16:56:30] oh wait never mind, sorry. [16:56:38] grrrit-wm-test1: force-restart [16:56:48] grrrit-wm-test1: nick [16:56:51] paladox: Don't just add random things and see what happens. Try to explain what's happening based on the code. [16:57:08] Ok. [16:57:15] paladox: I think grrrit-wm-test1 is the phantom connection. [16:57:22] Yep. [16:57:42] I see nothing in the log. except from [16:57:43] error: prefix=karatkievich.freenode.net, server=karatkievich.freenode.net, command=err_cannotsendtochan, rawCommand=404, commandType=error, args=[grrrit-wm-test, #wikimedia-bot-gerrit, Cannot send to channel] [16:57:50] i am going to enable debug: true [17:00:10] grrrit-wm-test: force-restart [17:00:38] 15 Dec 17:00:20 - MODE: grrrit-wm-test sets mode: +Zi [17:00:38] 15 Dec 17:00:21 - SEND: NICK grrrit-wm-test1 [17:00:42] marktraceur ^^ [17:01:11] 15 Dec 17:00:55 - Connection got "end" event [17:01:11] 15 Dec 17:00:55 - Connection got "close" event [17:01:11] 15 Dec 17:00:55 - Disconnected: reconnecting [17:01:11] 15 Dec 17:00:55 - Waiting 2000ms before retrying [17:01:20] ^^ [17:01:32] ...hm [17:03:27] grrrit-wm-test: nick [17:03:33] grrrit-wm-test1: nick [17:03:42] paladox: Wait, was that the full log? [17:03:48] nope [17:03:52] Can you pastebin what happened between those bits? [17:03:53] there is a bigger log [17:03:54] yeh [17:09:45] https://phabricator.wikimedia.org/P4629 [17:12:54] grrrit-wm-test: force-restart [17:13:19] grrrit-wm-test1: nick [17:14:50] paladox: Interesting, it looks like there's an untouched ping cycler that may be causing the issue? [17:14:59] Oh [17:15:56] marktraceur could it be a regression to a fix done in https://github.com/martynsmith/node-irc/issues/76 ? [17:16:40] I don't think it's a library problem, but we'll see [17:16:53] https://github.com/martynsmith/node-irc/pull/176 [17:16:55] oh ok [17:17:35] https://github.com/martynsmith/node-irc/pull/176#issuecomment-25537049 [17:17:44] what about that workaround ^^ [17:17:45] ? [17:18:00] https://github.com/martynsmith/node-irc/pull/418 [17:18:15] paladox: I dunno. I'm busy for now, I'll come back and help in a bit [17:18:21] Ok [17:37:10] grrrit-wm-test2: nick [18:16:33] Its kina weird that 2 ppl tested and it worked fine [18:16:48] marktraceur: [18:16:51] paladox: [18:17:15] Yep, are you sure Zppix you tested it long enough for it to show what it showed in this channel? [18:18:44] I tested it just as marktraceur did [18:19:01] yes but did you have the bot running long enough for it to do what it did for me [18:19:07] Zppix: I think I noticed some strangeness, but not enough to worry me. [18:19:08] did you also run the commands? [18:19:40] I noticed an error that we already knew about the [] thing [18:19:56] I run them all but the help command paladox [18:20:08] Ok [21:11:51] paladox: can you merge my config change [21:12:30] https://gerrit.wikimedia.org/r/#/c/327121/ [21:12:31] ? [21:13:25] Yes [21:13:48] ok [21:14:36] Dont forget to log the merge [21:14:39] ok [21:14:46] !log merging https://gerrit.wikimedia.org/r/#/c/327121/ [21:14:48] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [21:19:52] !log deploying https://gerrit.wikimedia.org/r/#/c/327121/ [21:19:55] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [21:24:30] Is it deployed? [21:24:37] Yep [21:27:08] Im not gonna log your fix [21:27:12] Since its so minor [21:28:01] ok [21:29:06] Zppix https://gerrit.wikimedia.org/r/#/c/327587/1 [21:29:23] Go ahead and merge it [21:29:38] Ok, but you need to merge it [21:29:44] as i carnt merge my own patches [21:29:45] please [21:29:48] K [21:30:07] Thanks [21:33:09] Hmm why did grrrit-wm leave my chan [21:33:18] Spite? [21:33:22] Nm [21:33:39] It is restarting [21:33:54] when you deploy changes it leaves the channels then rejoins [21:34:33] Spite? [21:34:38] marktraceur: ? [21:35:17] Zppix: https://en.wiktionary.org/wiki/spite