Skip to content

Instantly share code, notes, and snippets.

@schiessle
Created April 26, 2018 17:59
Show Gist options
  • Save schiessle/0135a630a1da18498707d43e6b57327b to your computer and use it in GitHub Desktop.
Save schiessle/0135a630a1da18498707d43e6b57327b to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
> matrix-appservice-irc@0.8.0 test /opt/matrix-appservice-irc
> BLUEBIRD_DEBUG=1 jasmine --stop-on-failure=true
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30) code: 'MODULE_NOT_FOUND' }
Started
Creating admin rooms should be possible by sending an invite to the bot's user ID
==================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:57:59 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:57:59 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:57:59 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:57:59 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:57:59 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:57:59 INFO:Provisioner Starting provisioning...
2018-04-26 17:57:59 INFO:Provisioner Provisioning started
2018-04-26 17:57:59 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:57:59 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:57:59 DEBUG:IrcBridge Created new bot client for irc.example : 26kfvtj4q85c0 (bot enabled=true)
2018-04-26 17:57:59 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:57:59 INFO:BridgedClient <ro_bot_nick@irc.example#26kfvtj4q85c0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#26kfvtj4q85c0> connected!
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#26kfvtj4q85c0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:57:59 INFO:IrcBridge Startup complete.
2018-04-26 17:57:59 INFO:req [4f5zkw0mlou00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:57:59 INFO:req [4f5zkw0mlou00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:57:59 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:57:59 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:57:59 INFO:IrcBridge [4f5zkw0mlou00] [M->I] SUCCESS (8ms)
2018-04-26 17:57:59 INFO:main Killing bridge
2018-04-26 17:57:59 INFO:IrcBridge Killing all clients
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:57:59 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should respond to bad !nick commands with a help notice
====================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:57:59 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:57:59 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:57:59 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:57:59 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:57:59 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:57:59 INFO:Provisioner Starting provisioning...
2018-04-26 17:57:59 INFO:Provisioner Provisioning started
2018-04-26 17:57:59 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:57:59 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:57:59 DEBUG:IrcBridge Created new bot client for irc.example : carsrxr9mf400 (bot enabled=true)
2018-04-26 17:57:59 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:57:59 INFO:BridgedClient <ro_bot_nick@irc.example#carsrxr9mf400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#carsrxr9mf400> connected!
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#carsrxr9mf400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:57:59 INFO:IrcBridge Startup complete.
2018-04-26 17:57:59 INFO:req [kefmjm4gh4w00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:57:59 INFO:req [kefmjm4gh4w00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:57:59 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:57:59 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:57:59 INFO:IrcBridge [kefmjm4gh4w00] [M->I] SUCCESS (2ms)
2018-04-26 17:57:59 INFO:req [irdkq65mkew00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:57:59 INFO:req [irdkq65mkew00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:57:59 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:57:59 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:57:59 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:57:59 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:57:59 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:57:59 INFO:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) connected!
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:57:59 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#aqdn5fyy6mg00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:57:59 INFO:IrcBridge [irdkq65mkew00] [M->I] SUCCESS (14ms)
2018-04-26 17:57:59 INFO:req [gqekoqroms000] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!nick blargle wargle
2018-04-26 17:57:59 INFO:req [gqekoqroms000] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:57:59 INFO:IrcBridge [gqekoqroms000] [M->I] SUCCESS (5ms)
2018-04-26 17:57:59 INFO:main Killing bridge
2018-04-26 17:57:59 INFO:IrcBridge Killing all clients
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:57:59 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:57:59 INFO:BridgedClient Killing client M-someone
2018-04-26 17:57:59 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:57:59 INFO:BridgedClient Killing client M-someone
2018-04-26 17:57:59 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should respond to bad !join commands with a help notice
====================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:57:59 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:57:59 ERROR:IrcBridge
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:57:59 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:57:59 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:57:59 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:57:59 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:57:59 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:57:59 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:57:59 INFO:Provisioner Starting provisioning...
2018-04-26 17:57:59 INFO:Provisioner Provisioning started
2018-04-26 17:57:59 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:57:59 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:57:59 DEBUG:IrcBridge Created new bot client for irc.example : djaufgeg9uo00 (bot enabled=true)
2018-04-26 17:57:59 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:57:59 INFO:BridgedClient <ro_bot_nick@irc.example#djaufgeg9uo00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#djaufgeg9uo00> connected!
2018-04-26 17:57:59 DEBUG:BridgedClient <ro_bot_nick@irc.example#djaufgeg9uo00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:57:59 INFO:IrcBridge Startup complete.
2018-04-26 17:57:59 INFO:req [kktks6tnudc00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:57:59 INFO:req [kktks6tnudc00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:57:59 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:57:59 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:57:59 INFO:IrcBridge [kktks6tnudc00] [M->I] SUCCESS (2ms)
2018-04-26 17:57:59 INFO:req [e8zoj01usig00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:57:59 INFO:req [e8zoj01usig00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:57:59 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:57:59 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:57:59 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:57:59 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:57:59 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:57:59 INFO:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) connected!
2018-04-26 17:57:59 DEBUG:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#fl5ja0uekl40> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:00 INFO:IrcBridge [e8zoj01usig00] [M->I] SUCCESS (34ms)
2018-04-26 17:58:00 INFO:req [kzryzbh92jk00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!join blargle
2018-04-26 17:58:00 INFO:req [kzryzbh92jk00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:00 INFO:IrcBridge [kzryzbh92jk00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:00 INFO:main Killing bridge
2018-04-26 17:58:00 INFO:IrcBridge Killing all clients
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:00 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:00 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should ignore messages sent by the bot
===================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:00 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:00 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:00 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:00 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:00 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:00 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:00 INFO:Provisioner Provisioning started
2018-04-26 17:58:00 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:00 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Created new bot client for irc.example : bbppncmgptk00 (bot enabled=true)
2018-04-26 17:58:00 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:00 INFO:BridgedClient <ro_bot_nick@irc.example#bbppncmgptk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#bbppncmgptk00> connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#bbppncmgptk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Startup complete.
2018-04-26 17:58:00 INFO:req [dv7ld9e7r9400] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:00 INFO:req [dv7ld9e7r9400] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:00 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:00 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:00 INFO:IrcBridge [dv7ld9e7r9400] [M->I] SUCCESS (2ms)
2018-04-26 17:58:00 INFO:req [dtfmnv7tnfc00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:00 INFO:req [dtfmnv7tnfc00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:00 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:00 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#ddcmxpdgme000> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:00 INFO:IrcBridge [dtfmnv7tnfc00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:00 INFO:req [2xk98fmmvjk00] [M->I] m.room.message usr=@monkeybot:some.home.server rm=!adminroomid:here body=!join blargle
2018-04-26 17:58:00 INFO:IrcBridge [2xk98fmmvjk00] [M->I] IGNORE virtual user (0ms)
2018-04-26 17:58:00 INFO:main Killing bridge
2018-04-26 17:58:00 INFO:IrcBridge Killing all clients
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:00 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:00 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should be able to change their nick using !nick
============================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:00 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:00 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:00 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:00 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:00 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:00 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:00 INFO:Provisioner Provisioning started
2018-04-26 17:58:00 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:00 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Created new bot client for irc.example : 1tc5s5dvc5ds0 (bot enabled=true)
2018-04-26 17:58:00 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:00 INFO:BridgedClient <ro_bot_nick@irc.example#1tc5s5dvc5ds0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#1tc5s5dvc5ds0> connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#1tc5s5dvc5ds0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Startup complete.
2018-04-26 17:58:00 INFO:req [i97tnzjhmso00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:00 INFO:req [i97tnzjhmso00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:00 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:00 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:00 INFO:IrcBridge [i97tnzjhmso00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:00 INFO:req [gr9sc8q41jk00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:00 INFO:req [gr9sc8q41jk00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:00 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:00 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:00 INFO:IrcBridge [gr9sc8q41jk00] [M->I] SUCCESS (8ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
TEST: Test listening for irc.example_Blurple to call function 'say'
2018-04-26 17:58:00 INFO:req [4vrvcdwn48o00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!nick irc.example Bl
2018-04-26 17:58:00 INFO:req [4vrvcdwn48o00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:00 INFO:req [4vrvcdwn48o00] [M->I] @someone:somewhere wants to change their nick on irc.example to Blurple
2018-04-26 17:58:00 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 INFO:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) NICK: Nick changed from 'M-someone' to 'Blurple'.
2018-04-26 17:58:00 INFO:IrcBridge [4vrvcdwn48o00] [M->I] SUCCESS (5ms)
2018-04-26 17:58:00 INFO:req [eyrftzqw3g800] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=I don't know what co
2018-04-26 17:58:00 INFO:req [eyrftzqw3g800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
2018-04-26 17:58:00 INFO:IrcBridge Sending IRC message in #coffee as Blurple (connected=true)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#4lmkwtu6lmy00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
TEST: Bridge called IRC client.say(["irc.example_Blurple","say",{"addr":"ir)
TEST: Invoking test callback for user irc.example_Blurple : client.say([{"addr":"irc.example","nick":"Blurple",)
2018-04-26 17:58:00 INFO:IrcBridge [eyrftzqw3g800] [M->I] SUCCESS (2ms)
2018-04-26 17:58:00 INFO:main Killing bridge
2018-04-26 17:58:00 INFO:IrcBridge Killing all clients
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:00 INFO:BridgedClient Killing client Blurple
2018-04-26 17:58:00 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_Blurple","disconnect",{"ad)
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:00 INFO:BridgedClient Killing client Blurple
2018-04-26 17:58:00 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should be able to change their nick using !nick and have it persist across disconnects
===================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23) code: 'MODULE_NOT_FOUND' }
(node:8811) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:00 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:00 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:00 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:00 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:00 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:00 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:00 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:00 INFO:Provisioner Provisioning started
2018-04-26 17:58:00 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:00 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Created new bot client for irc.example : jica54xyhpk00 (bot enabled=true)
2018-04-26 17:58:00 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:00 INFO:BridgedClient <ro_bot_nick@irc.example#jica54xyhpk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#jica54xyhpk00> connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <ro_bot_nick@irc.example#jica54xyhpk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Startup complete.
2018-04-26 17:58:00 INFO:req [23vrfhll2sf40] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:00 INFO:req [23vrfhll2sf40] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:00 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:00 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:00 INFO:IrcBridge [23vrfhll2sf40] [M->I] SUCCESS (2ms)
2018-04-26 17:58:00 INFO:req [gd5van9s2k000] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:00 INFO:req [gd5van9s2k000] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:00 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:00 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:00 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:00 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:00 INFO:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) connected!
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 DEBUG:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:00 INFO:IrcBridge [gd5van9s2k000] [M->I] SUCCESS (6ms)
TEST: Test listening for irc.example_Blurple to call function 'connect'
TEST: Test listening for irc.example_Blurple to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'send'
TEST: Test listening for irc.example_Blurple to call function 'say'
2018-04-26 17:58:00 INFO:req [5gewajjtjf800] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!nick irc.example Bl
2018-04-26 17:58:00 INFO:req [5gewajjtjf800] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:00 INFO:req [5gewajjtjf800] [M->I] @someone:somewhere wants to change their nick on irc.example to Blurple
2018-04-26 17:58:00 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:00 INFO:BridgedClient <M-someone@irc.example#13mmsxqpj2e80> (@someone:somewhere) NICK: Nick changed from 'M-someone' to 'Blurple'.
2018-04-26 17:58:00 INFO:IrcBridge [5gewajjtjf800] [M->I] SUCCESS (3ms)
2018-04-26 17:58:00 ERROR:client-connection Server: irc.example (M-someone) Error: {"command":"err_testsezno"}
2018-04-26 17:58:00 INFO:client-connection disconnect()ing M-someone@irc.example - irc_error
TEST: Bridge called IRC client.disconnect(["irc.example_Blurple","disconnect",{"ad)
2018-04-26 17:58:00 DEBUG:ClientPool onClientDisconnected: <13mmsxqpj2e80> Reconnecting Blurple@irc.example in 1000ms
2018-04-26 17:58:00 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#jica54xyhpk00> Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 DEBUG:IdentGenerator Using cached ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:IrcBridge [8g7g0znh12w00] [M->I] DELAYED (31ms)
2018-04-26 17:58:01 INFO:req [8g7g0znh12w00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=I don't know what co
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#jica54xyhpk00> Joined channel #coffee
2018-04-26 17:58:01 INFO:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) Connecting to IRC server irc.example as Blurple (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_Blurple","connect",{"addr")
TEST: Invoking test callback for user irc.example_Blurple : client.connect([{"addr":"irc.example","nick":"Blurple",)
2018-04-26 17:58:01 DEBUG:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:ClientPool <e3vlzl8li4g00> Reconnected Blurple@irc.example
2018-04-26 17:58:01 INFO:ClientPool <e3vlzl8li4g00> Rejoining 1 channels
2018-04-26 17:58:01 DEBUG:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_Blurple","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_Blurple : client.join([{"addr":"irc.example","nick":"Blurple",)
2018-04-26 17:58:01 DEBUG:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) Joined channel #coffee
2018-04-26 17:58:01 INFO:req [8g7g0znh12w00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
2018-04-26 17:58:01 INFO:IrcBridge Sending IRC message in #coffee as Blurple (connected=true)
2018-04-26 17:58:01 DEBUG:BridgedClient <Blurple@irc.example#e3vlzl8li4g00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
TEST: Bridge called IRC client.say(["irc.example_Blurple","say",{"addr":"ir)
TEST: Invoking test callback for user irc.example_Blurple : client.say([{"addr":"irc.example","nick":"Blurple",)
2018-04-26 17:58:01 INFO:IrcBridge [8g7g0znh12w00] [M->I] SUCCESS (36ms)
2018-04-26 17:58:01 INFO:main Killing bridge
2018-04-26 17:58:01 INFO:IrcBridge Killing all clients
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:01 INFO:BridgedClient Killing client Blurple
2018-04-26 17:58:01 INFO:client-connection disconnect()ing Blurple@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_Blurple","disconnect",{"ad)
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:BridgedClient Killing client Blurple
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should reject !nick changes for IRC errors
=======================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:01 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:01 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:01 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:01 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:01 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:01 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:01 INFO:Provisioner Provisioning started
2018-04-26 17:58:01 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:01 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Created new bot client for irc.example : g9hexpy442800 (bot enabled=true)
2018-04-26 17:58:01 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:01 INFO:BridgedClient <ro_bot_nick@irc.example#g9hexpy442800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#g9hexpy442800> connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#g9hexpy442800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Startup complete.
2018-04-26 17:58:01 INFO:req [ab7sslnt5qo00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:01 INFO:req [ab7sslnt5qo00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:01 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:01 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:01 INFO:IrcBridge [ab7sslnt5qo00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:01 INFO:req [htbgkfz357s00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:01 INFO:req [htbgkfz357s00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:01 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:01 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:01 INFO:IrcBridge [htbgkfz357s00] [M->I] SUCCESS (37ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
TEST: Test listening for irc.example_M-someone to call function 'say'
2018-04-26 17:58:01 INFO:req [hkm27hmn8oo00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!nick irc.example Bl
2018-04-26 17:58:01 INFO:req [hkm27hmn8oo00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:01 INFO:req [hkm27hmn8oo00] [M->I] @someone:somewhere wants to change their nick on irc.example to Blurple
2018-04-26 17:58:01 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 ERROR:client-connection Server: irc.example (M-someone) Error: {"commandType":"error","command":"err_nicktoofast"}
2018-04-26 17:58:01 ERROR:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) Nick change error : err_nicktoofast
2018-04-26 17:58:01 ERROR:req [hkm27hmn8oo00] [M->I] Error: Failed to change nick: err_nicktoofast
at Client.nickErrListener (/opt/matrix-appservice-irc/lib/irc/BridgedClient.js:247:24)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:121:20)
at Client.emit (events.js:211:7)
at Client.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:350:20)
at EventEmitter.<anonymous> (/opt/matrix-appservice-irc/spec/util/irc-client-mock.js:197:18)
at emitMany (events.js:152:20)
at EventEmitter.emit (events.js:224:7)
at Client.<anonymous> (/opt/matrix-appservice-irc/spec/util/irc-client-mock.js:82:32)
at Client.SpyStrategy.exec (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5083:19)
at Client.spy (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4873:44)
at Client.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4849:20)
at Client.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4890:50)
at Client.self.client.send (/opt/matrix-appservice-irc/lib/irc/ConnectionInstance.js:261:18)
at Promise (/opt/matrix-appservice-irc/lib/irc/BridgedClient.js:252:27)
at BridgedClient.changeNick (/opt/matrix-appservice-irc/lib/irc/BridgedClient.js:220:12)
at MatrixHandler.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:324:48)
From previous event:
at MatrixHandler.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:1084:20)
at Generator.next (<anonymous>)
From previous event:
at MatrixHandler.onMessage (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:1424:33)
at IrcBridge.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/IrcBridge.js:511:34)
at Generator.next (<anonymous>)
From previous event:
at IrcBridge.onEvent (/opt/matrix-appservice-irc/lib/bridge/IrcBridge.js:493:30)
at Bridge._onConsume (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/bridge.js:716:30)
at /opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/bridge.js:694:18
at tryCatcher (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:510:31)
at Promise._settlePromiseAt (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:584:18)
at Promise._settlePromiseAtPostResolution (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:248:10)
at Async._drainQueue (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:15:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
2018-04-26 17:58:01 INFO:IrcBridge [hkm27hmn8oo00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:01 INFO:req [1ji9aas8wa3k0] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=I don't know what co
2018-04-26 17:58:01 INFO:req [1ji9aas8wa3k0] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
2018-04-26 17:58:01 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#gwdrm6kfowg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
TEST: Invoking test callback for user irc.example_M-someone : client.say([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 INFO:IrcBridge [1ji9aas8wa3k0] [M->I] SUCCESS (2ms)
2018-04-26 17:58:01 INFO:main Killing bridge
2018-04-26 17:58:01 INFO:IrcBridge Killing all clients
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should timeout !nick changes after 10 seconds
==========================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:01 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:01 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:01 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:01 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:01 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:01 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:01 INFO:Provisioner Provisioning started
2018-04-26 17:58:01 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:01 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Created new bot client for irc.example : 1nv7pm6ixmtc0 (bot enabled=true)
2018-04-26 17:58:01 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:01 INFO:BridgedClient <ro_bot_nick@irc.example#1nv7pm6ixmtc0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#1nv7pm6ixmtc0> connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#1nv7pm6ixmtc0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Startup complete.
2018-04-26 17:58:01 INFO:req [2cp8ro8toao00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:01 INFO:req [2cp8ro8toao00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:01 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:01 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:01 INFO:IrcBridge [2cp8ro8toao00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:01 INFO:req [j4q12p9j7iw00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:01 INFO:req [j4q12p9j7iw00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:01 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:01 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:01 INFO:IrcBridge [j4q12p9j7iw00] [M->I] SUCCESS (7ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
2018-04-26 17:58:01 INFO:req [g7dz7bkzt8w00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!nick irc.example Bl
2018-04-26 17:58:01 INFO:req [g7dz7bkzt8w00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:01 INFO:req [g7dz7bkzt8w00] [M->I] @someone:somewhere wants to change their nick on irc.example to Blurple
2018-04-26 17:58:01 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#1nv7pm6ixmtc0> Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 INFO:IrcBridge [g7dz7bkzt8w00] [M->I] DELAYED (3ms)
2018-04-26 17:58:01 ERROR:BridgedClient <M-someone@irc.example#c6sxz280lyg00> (@someone:somewhere) Timed out trying to change nick to Blurple
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#1nv7pm6ixmtc0> Joined channel #coffee
2018-04-26 17:58:01 ERROR:req [g7dz7bkzt8w00] [M->I] Error: Timed out waiting for a response to change nick.
at setTimeout (/opt/matrix-appservice-irc/lib/irc/BridgedClient.js:229:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2250:32
at forEachFunction (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2217:9)
at runScheduledFunctions (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2245:9)
at DelayedFunctionScheduler.self.tick (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2116:7)
at Clock.self.tick (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2024:34)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:421:33)
From previous event:
at BridgedClient.changeNick (/opt/matrix-appservice-irc/lib/irc/BridgedClient.js:220:12)
at MatrixHandler.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:324:48)
From previous event:
at MatrixHandler.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:1084:20)
at Generator.next (<anonymous>)
From previous event:
at MatrixHandler.onMessage (/opt/matrix-appservice-irc/lib/bridge/MatrixHandler.js:1424:33)
at IrcBridge.<anonymous> (/opt/matrix-appservice-irc/lib/bridge/IrcBridge.js:511:34)
at Generator.next (<anonymous>)
From previous event:
at IrcBridge.onEvent (/opt/matrix-appservice-irc/lib/bridge/IrcBridge.js:493:30)
at Bridge._onConsume (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/bridge.js:716:30)
at /opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/bridge.js:694:18
at tryCatcher (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:510:31)
at Promise._settlePromiseAt (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:584:18)
at Promise._settlePromiseAtPostResolution (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/promise.js:248:10)
at Async._drainQueue (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/node_modules/bluebird/js/main/async.js:15:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
2018-04-26 17:58:01 INFO:IrcBridge [g7dz7bkzt8w00] [M->I] SUCCESS (5ms)
2018-04-26 17:58:01 INFO:main Killing bridge
2018-04-26 17:58:01 INFO:IrcBridge Killing all clients
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should be able to join a channel with !join if they are on the whitelist
=====================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:01 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:01 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:01 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:01 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:01 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:01 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:01 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:01 INFO:Provisioner Provisioning started
2018-04-26 17:58:01 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:01 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Created new bot client for irc.example : ft0kpwixd6o00 (bot enabled=true)
2018-04-26 17:58:01 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:01 INFO:BridgedClient <ro_bot_nick@irc.example#ft0kpwixd6o00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#ft0kpwixd6o00> connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#ft0kpwixd6o00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Startup complete.
2018-04-26 17:58:01 INFO:req [670lf5gtzh800] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:01 INFO:req [670lf5gtzh800] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:01 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:01 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:01 INFO:IrcBridge [670lf5gtzh800] [M->I] SUCCESS (2ms)
2018-04-26 17:58:01 INFO:req [cymaggsnr3400] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:01 INFO:req [cymaggsnr3400] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:01 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:01 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:01 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:01 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:01 INFO:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) connected!
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:01 DEBUG:BridgedClient <M-someone@irc.example#8uh9oiovdqg00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:01 INFO:IrcBridge [cymaggsnr3400] [M->I] SUCCESS (6ms)
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:01 INFO:req [2xbpezphf4w00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!join irc.example #a
2018-04-26 17:58:01 INFO:req [2xbpezphf4w00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:01 INFO:req [2xbpezphf4w00] [M->I] @someone:somewhere wants to join the channel #awooga on irc.example
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#ft0kpwixd6o00> Joining channel #awooga
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:01 DEBUG:BridgedClient <ro_bot_nick@irc.example#ft0kpwixd6o00> Joined channel #awooga
2018-04-26 17:58:01 INFO:DataStore storeRoom (id=!aasifuhawei:efjkwehfi, addr=irc.example, chan=#awooga, origin=join)
2018-04-26 17:58:01 INFO:req [2xbpezphf4w00] [M->I] Created a room to track #awooga on irc.example and invited @someone:somewhere
2018-04-26 17:58:01 INFO:req [2xbpezphf4w00] [M->I] Inviting @someone:somewhere to room !aasifuhawei:efjkwehfi
2018-04-26 17:58:01 INFO:PublicitySyncer Bot requesting mode for #awooga on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:01 INFO:IrcBridge [2xbpezphf4w00] [M->I] SUCCESS (5ms)
2018-04-26 17:58:01 INFO:main Killing bridge
2018-04-26 17:58:01 INFO:IrcBridge Killing all clients
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:01 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:01 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should be able to join a channel with !join and a key
==================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
(node:8811) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added. Use emitter.setMaxListeners() to increase limit
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:02 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:02 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:02 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:02 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:02 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:02 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:02 INFO:Provisioner Provisioning started
2018-04-26 17:58:02 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:02 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:02 DEBUG:IrcBridge Created new bot client for irc.example : b9moobxx4io00 (bot enabled=true)
2018-04-26 17:58:02 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:02 INFO:BridgedClient <ro_bot_nick@irc.example#b9moobxx4io00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9moobxx4io00> connected!
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9moobxx4io00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 INFO:IrcBridge Startup complete.
2018-04-26 17:58:02 INFO:req [36rz4xgergo0] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:02 INFO:req [36rz4xgergo0] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:02 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:02 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:02 INFO:IrcBridge [36rz4xgergo0] [M->I] SUCCESS (3ms)
2018-04-26 17:58:02 INFO:req [269y7r6yi3a80] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:02 INFO:req [269y7r6yi3a80] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:02 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:02 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:02 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:02 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:02 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:02 INFO:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) connected!
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:02 INFO:IrcBridge [269y7r6yi3a80] [M->I] SUCCESS (6ms)
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:02 INFO:req [3bwjk9zus3s0] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!join irc.example #a
2018-04-26 17:58:02 INFO:req [3bwjk9zus3s0] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [3bwjk9zus3s0] [M->I] @someone:somewhere wants to join the channel #awooga on irc.example
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9moobxx4io00> Joining channel #awooga
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9moobxx4io00> Joined channel #awooga
2018-04-26 17:58:02 INFO:DataStore storeRoom (id=!aasifuhawei:efjkwehfi, addr=irc.example, chan=#awooga, origin=join)
2018-04-26 17:58:02 INFO:req [3bwjk9zus3s0] [M->I] Created a room to track #awooga on irc.example and invited @someone:somewhere
2018-04-26 17:58:02 INFO:req [3bwjk9zus3s0] [M->I] Inviting @someone:somewhere to room !aasifuhawei:efjkwehfi
2018-04-26 17:58:02 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
2018-04-26 17:58:02 INFO:PublicitySyncer Bot requesting mode for #awooga on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) Joining channel #awooga
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#dnwoe1dducg00> (@someone:somewhere) Joined channel #awooga
2018-04-26 17:58:02 INFO:IrcBridge [3bwjk9zus3s0] [M->I] SUCCESS (5ms)
2018-04-26 17:58:02 INFO:main Killing bridge
2018-04-26 17:58:02 INFO:IrcBridge Killing all clients
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:02 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:02 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:02 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:02 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should allow arbitrary IRC commands to be issued
=============================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:02 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:02 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:02 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:02 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:02 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:02 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:02 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:02 INFO:Provisioner Provisioning started
2018-04-26 17:58:02 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:02 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:02 DEBUG:IrcBridge Created new bot client for irc.example : hbk5rwglwe000 (bot enabled=true)
2018-04-26 17:58:02 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:02 INFO:BridgedClient <ro_bot_nick@irc.example#hbk5rwglwe000> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#hbk5rwglwe000> connected!
2018-04-26 17:58:02 DEBUG:BridgedClient <ro_bot_nick@irc.example#hbk5rwglwe000> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 INFO:IrcBridge Startup complete.
2018-04-26 17:58:02 INFO:req [1fdht4we1rpc0] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:02 INFO:req [1fdht4we1rpc0] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:02 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:02 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:02 INFO:IrcBridge [1fdht4we1rpc0] [M->I] SUCCESS (2ms)
2018-04-26 17:58:02 INFO:req [aabqhajddo800] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:02 INFO:req [aabqhajddo800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:02 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:02 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:02 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:02 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:02 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:02 INFO:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) connected!
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 DEBUG:BridgedClient <M-someone@irc.example#jg60lnd2mrs00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:02 INFO:IrcBridge [aabqhajddo800] [M->I] SUCCESS (25ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
2018-04-26 17:58:02 INFO:req [1s6mvxamwcio0] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd irc.example JOI
2018-04-26 17:58:02 INFO:req [1s6mvxamwcio0] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [1s6mvxamwcio0] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:02 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 INFO:IrcBridge [1s6mvxamwcio0] [M->I] SUCCESS (2ms)
2018-04-26 17:58:02 INFO:req [fhy2bk22m7400] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd irc.example TOP
2018-04-26 17:58:02 INFO:req [fhy2bk22m7400] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [fhy2bk22m7400] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:02 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 INFO:IrcBridge [fhy2bk22m7400] [M->I] SUCCESS (2ms)
2018-04-26 17:58:02 INFO:req [cswi8hydko800] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd irc.example PAR
2018-04-26 17:58:02 INFO:req [cswi8hydko800] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [cswi8hydko800] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:02 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 INFO:IrcBridge [cswi8hydko800] [M->I] SUCCESS (1ms)
2018-04-26 17:58:02 INFO:req [524g2njukms00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd irc.example STU
2018-04-26 17:58:02 INFO:req [524g2njukms00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [524g2njukms00] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:02 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:02 INFO:IrcBridge [524g2njukms00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:02 INFO:req [emndhyw4f6o00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd rubbishserver S
2018-04-26 17:58:02 INFO:req [emndhyw4f6o00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:02 INFO:req [emndhyw4f6o00] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:02 INFO:IrcBridge [emndhyw4f6o00] [M->I] SUCCESS (1ms)
2018-04-26 17:58:02 INFO:main Killing bridge
2018-04-26 17:58:02 INFO:IrcBridge Killing all clients
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:02 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:02 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:02 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:02 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:02 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should allow arbitrary IRC commands to be issued when server has not been set
==========================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:03 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:03 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:03 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:03 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:03 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:03 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:03 INFO:Provisioner Provisioning started
2018-04-26 17:58:03 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:03 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Created new bot client for irc.example : 8wwv1swwvdo00 (bot enabled=true)
2018-04-26 17:58:03 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:03 INFO:BridgedClient <ro_bot_nick@irc.example#8wwv1swwvdo00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#8wwv1swwvdo00> connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#8wwv1swwvdo00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Startup complete.
2018-04-26 17:58:03 INFO:req [jmno7vv2hs000] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:req [jmno7vv2hs000] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:03 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:03 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:03 INFO:IrcBridge [jmno7vv2hs000] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:req [2tleegrns0m00] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:03 INFO:req [2tleegrns0m00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:03 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:03 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#6be5g6i0tlk00> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:03 INFO:IrcBridge [2tleegrns0m00] [M->I] SUCCESS (6ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
2018-04-26 17:58:03 INFO:req [kwapbg2j5io00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd JOIN #coffee
2018-04-26 17:58:03 INFO:req [kwapbg2j5io00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [kwapbg2j5io00] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 INFO:IrcBridge [kwapbg2j5io00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:req [cxxlq8hoz6o00] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd TOPIC #coffee :
2018-04-26 17:58:03 INFO:req [cxxlq8hoz6o00] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [cxxlq8hoz6o00] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 INFO:IrcBridge [cxxlq8hoz6o00] [M->I] SUCCESS (1ms)
2018-04-26 17:58:03 INFO:req [fkqeal40g6800] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd PART #coffee
2018-04-26 17:58:03 INFO:req [fkqeal40g6800] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [fkqeal40g6800] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 INFO:IrcBridge [fkqeal40g6800] [M->I] SUCCESS (1ms)
2018-04-26 17:58:03 INFO:req [1hbjhyw25kyo0] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd STUPID COMMANDS
2018-04-26 17:58:03 INFO:req [1hbjhyw25kyo0] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [1hbjhyw25kyo0] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 DEBUG:IrcBridge Returning cached bridged client @someone:somewhere
TEST: Bridge called IRC client.send(["irc.example_M-someone","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.send([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 INFO:IrcBridge [1hbjhyw25kyo0] [M->I] SUCCESS (1ms)
2018-04-26 17:58:03 INFO:main Killing bridge
2018-04-26 17:58:03 INFO:IrcBridge Killing all clients
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should reject malformed commands (new form)
========================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:03 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:03 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:03 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:03 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:03 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:03 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:03 INFO:Provisioner Provisioning started
2018-04-26 17:58:03 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:03 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Created new bot client for irc.example : 4r801o3ehj400 (bot enabled=true)
2018-04-26 17:58:03 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:03 INFO:BridgedClient <ro_bot_nick@irc.example#4r801o3ehj400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#4r801o3ehj400> connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#4r801o3ehj400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Startup complete.
2018-04-26 17:58:03 INFO:req [72s29fx0sm000] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:req [72s29fx0sm000] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:03 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:03 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:03 INFO:IrcBridge [72s29fx0sm000] [M->I] SUCCESS (3ms)
2018-04-26 17:58:03 INFO:req [2b0mc9mz3i4g0] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:03 INFO:req [2b0mc9mz3i4g0] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:03 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:03 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#akjy5pvx8w800> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:03 INFO:IrcBridge [2b0mc9mz3i4g0] [M->I] SUCCESS (10ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
2018-04-26 17:58:03 INFO:req [9d5o60n3jl800] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd M4LF0RM3D comma
2018-04-26 17:58:03 INFO:req [9d5o60n3jl800] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [9d5o60n3jl800] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 INFO:IrcBridge [9d5o60n3jl800] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:main Killing bridge
2018-04-26 17:58:03 INFO:IrcBridge Killing all clients
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms should reject PROTOCTL commands
============================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:03 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:03 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:03 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:03 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:03 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:03 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:03 INFO:Provisioner Provisioning started
2018-04-26 17:58:03 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:03 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Created new bot client for irc.example : dxd4mvnce0o00 (bot enabled=true)
2018-04-26 17:58:03 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:03 INFO:BridgedClient <ro_bot_nick@irc.example#dxd4mvnce0o00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#dxd4mvnce0o00> connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#dxd4mvnce0o00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Startup complete.
2018-04-26 17:58:03 INFO:req [ecgn9n078hk00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:req [ecgn9n078hk00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:03 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:03 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:03 INFO:IrcBridge [ecgn9n078hk00] [M->I] SUCCESS (3ms)
2018-04-26 17:58:03 INFO:req [15o2i9hdxk800] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:03 INFO:req [15o2i9hdxk800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:03 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:03 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#18uynwj4h9i80> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:03 INFO:IrcBridge [15o2i9hdxk800] [M->I] SUCCESS (6ms)
TEST: Test listening for irc.example_M-someone to call function 'send'
2018-04-26 17:58:03 INFO:req [fi3k7gxp98800] [M->I] m.room.message usr=@someone:somewhere rm=!adminroomid:here body=!cmd PROTOCTL comman
2018-04-26 17:58:03 INFO:req [fi3k7gxp98800] [M->I] Received admin message from @someone:somewhere
2018-04-26 17:58:03 INFO:req [fi3k7gxp98800] [M->I] No valid (old form) admin command, will try new format
2018-04-26 17:58:03 INFO:IrcBridge [fi3k7gxp98800] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:main Killing bridge
2018-04-26 17:58:03 INFO:IrcBridge Killing all clients
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms mx bot should be kicked when there are > 2 users in room and a message is sent
===========================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:03 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:03 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:03 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:03 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:03 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:03 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:03 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:03 INFO:Provisioner Provisioning started
2018-04-26 17:58:03 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:03 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Created new bot client for irc.example : b9fhv3af2wo00 (bot enabled=true)
2018-04-26 17:58:03 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:03 INFO:BridgedClient <ro_bot_nick@irc.example#b9fhv3af2wo00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9fhv3af2wo00> connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <ro_bot_nick@irc.example#b9fhv3af2wo00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Startup complete.
2018-04-26 17:58:03 INFO:req [s8iu5q2yxgg0] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:req [s8iu5q2yxgg0] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:03 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:03 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:03 INFO:IrcBridge [s8iu5q2yxgg0] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:req [41gxm0e6xv400] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:03 INFO:req [41gxm0e6xv400] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:03 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:03 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:03 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:03 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:03 INFO:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) connected!
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:03 DEBUG:BridgedClient <M-someone@irc.example#enfs3oaa7y800> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:03 INFO:IrcBridge [41gxm0e6xv400] [M->I] SUCCESS (6ms)
2018-04-26 17:58:03 INFO:req [fl8lrgxjpjs00] [M->I] onJoin: {"content":{"membership":"join"},"state_key":"@monkeybot:some.home.server","user_id":"@user1:localhost","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:IrcBridge [fl8lrgxjpjs00] [M->I] IGNORE virtual user (1ms)
2018-04-26 17:58:03 INFO:req [7gsw39lrrr000] [M->I] onJoin: {"content":{"membership":"join"},"state_key":"@monkeybot:some.home.server","user_id":"@user2:localhost","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:03 INFO:IrcBridge [7gsw39lrrr000] [M->I] IGNORE virtual user (0ms)
2018-04-26 17:58:03 INFO:req [lc2500kl0x80] [M->I] m.room.message usr=@user2:localhost rm=!adminroomid:here body=ping
2018-04-26 17:58:03 INFO:req [lc2500kl0x80] [M->I] Received admin message from @user2:localhost
2018-04-26 17:58:03 ERROR:req [lc2500kl0x80] [M->I] _onAdminMessage: admin room has 3 users instead of just 2; bot will leave
2018-04-26 17:58:03 INFO:IrcBridge [lc2500kl0x80] [M->I] SUCCESS (2ms)
2018-04-26 17:58:03 INFO:main Killing bridge
2018-04-26 17:58:03 INFO:IrcBridge Killing all clients
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:03 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:03 INFO:BridgedClient Killing client ro_bot_nick
.Admin rooms mx bot should NOT be kicked when there are 2 users in room and a message is sent
=============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/admin-rooms.spec.js:66:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-someone to call function 'connect'
TEST: Test listening for irc.example_M-someone to call function 'join'
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:04 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:04 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:04 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:04 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:04 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:04 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:04 INFO:Provisioner Provisioning started
2018-04-26 17:58:04 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:04 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:04 DEBUG:IrcBridge Created new bot client for irc.example : ds82cnck1jk00 (bot enabled=true)
2018-04-26 17:58:04 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:04 INFO:BridgedClient <ro_bot_nick@irc.example#ds82cnck1jk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#ds82cnck1jk00> connected!
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#ds82cnck1jk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:04 INFO:IrcBridge Startup complete.
2018-04-26 17:58:04 INFO:req [k6wwpvuu4g000] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@someone:somewhere","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:04 INFO:req [k6wwpvuu4g000] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:04 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:04 INFO:DataStore storeAdminRoom (id=!adminroomid:here, user_id=@someone:somewhere)
2018-04-26 17:58:04 INFO:IrcBridge [k6wwpvuu4g000] [M->I] SUCCESS (3ms)
2018-04-26 17:58:04 INFO:req [1f3jt7i9396o0] [M->I] m.room.message usr=@someone:somewhere rm=!foo:bar body=ping
2018-04-26 17:58:04 INFO:req [1f3jt7i9396o0] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:04 DEBUG:IrcBridge Creating virtual irc user with nick M-someone for @someone:somewhere (display name undefined)
2018-04-26 17:58:04 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:04 DEBUG:IdentGenerator Pushing username generation request for @someone:somewhere on irc.example to the queue...
2018-04-26 17:58:04 DEBUG:IdentGenerator Generating username for @someone:somewhere on irc.example
2018-04-26 17:58:04 INFO:IdentGenerator Generated ident username someonesom for @someone:somewhere on irc.example
2018-04-26 17:58:04 INFO:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) Connecting to IRC server irc.example as M-someone (user=someonesom)
TEST: Bridge called IRC client.connect(["irc.example_M-someone","connect",{"add)
TEST: Invoking test callback for user irc.example_M-someone : client.connect([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:04 DEBUG:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) connected!
2018-04-26 17:58:04 DEBUG:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:04 INFO:IrcBridge Sending IRC message in #coffee as M-someone (connected=true)
2018-04-26 17:58:04 DEBUG:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:04 DEBUG:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-someone","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-someone : client.join([{"addr":"irc.example","nick":"M-someone)
2018-04-26 17:58:04 DEBUG:BridgedClient <M-someone@irc.example#shjmkttc9i80> (@someone:somewhere) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-someone","say",{"addr":")
2018-04-26 17:58:04 INFO:IrcBridge [1f3jt7i9396o0] [M->I] SUCCESS (6ms)
2018-04-26 17:58:04 INFO:req [k9ccap9abjk00] [M->I] onJoin: {"content":{"membership":"join"},"state_key":"@monkeybot:some.home.server","user_id":"@user1:localhost","room_id":"!adminroomid:here","type":"m.room.member"}
2018-04-26 17:58:04 INFO:IrcBridge [k9ccap9abjk00] [M->I] IGNORE virtual user (0ms)
2018-04-26 17:58:04 INFO:req [2rdhlzfsvgc00] [M->I] m.room.message usr=@user2:localhost rm=!adminroomid:here body=ping
2018-04-26 17:58:04 INFO:req [2rdhlzfsvgc00] [M->I] Received admin message from @user2:localhost
2018-04-26 17:58:04 INFO:IrcBridge [2rdhlzfsvgc00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:04 INFO:main Killing bridge
2018-04-26 17:58:04 INFO:IrcBridge Killing all clients
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:04 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:04 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:04 INFO:client-connection disconnect()ing M-someone@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-someone","disconnect",{")
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:04 INFO:BridgedClient Killing client M-someone
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
.Dynamic channels should join IRC channels when it receives special alias queries
=================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/dynamic-channels.spec.js:24:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_flibble to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_flibble to call function 'join'
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:04 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:04 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:04 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:04 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:04 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:04 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:04 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:04 INFO:Provisioner Provisioning started
2018-04-26 17:58:04 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:04 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:04 DEBUG:IrcBridge Created new bot client for irc.example : 88jt0s8q94400 (bot enabled=true)
2018-04-26 17:58:04 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:04 INFO:BridgedClient <ro_bot_nick@irc.example#88jt0s8q94400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#88jt0s8q94400> connected!
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#88jt0s8q94400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:04 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:04 INFO:req [f07k0jjx6n400] [M->I] onAliasQuery #irc_irc.example_#foobar:some.home.server
2018-04-26 17:58:04 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#foobar:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #foobar
2018-04-26 17:58:04 INFO:req [f07k0jjx6n400] [M->I] Mapped to #foobar on irc.example
2018-04-26 17:58:04 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:04 INFO:req [f07k0jjx6n400] [M->I] Going to track IRC channel #foobar
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#88jt0s8q94400> Joining channel #foobar
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:04 DEBUG:BridgedClient <ro_bot_nick@irc.example#88jt0s8q94400> Joined channel #foobar
2018-04-26 17:58:04 INFO:req [f07k0jjx6n400] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:04 INFO:req [f07k0jjx6n400] [M->I] Matrix room !newroom:id created.
2018-04-26 17:58:04 INFO:DataStore storeRoom (id=!newroom:id, addr=irc.example, chan=#foobar, origin=alias)
2018-04-26 17:58:04 INFO:PublicitySyncer Bot requesting mode for #foobar on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:04 INFO:IrcBridge [f07k0jjx6n400] [M->I] SUCCESS (5ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:04 INFO:main Killing bridge
2018-04-26 17:58:04 INFO:IrcBridge Killing all clients
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:04 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:04 INFO:BridgedClient Killing client ro_bot_nick
.Dynamic channels should create federated room when joining channel and federation is enabled
=============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/dynamic-channels.spec.js:24:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_flibble to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_flibble to call function 'join'
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:05 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:05 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:05 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:05 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:05 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:05 INFO:Provisioner Provisioning started
2018-04-26 17:58:05 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:05 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:05 DEBUG:IrcBridge Created new bot client for irc.example : 41egrvgk1bc00 (bot enabled=true)
2018-04-26 17:58:05 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:05 INFO:BridgedClient <ro_bot_nick@irc.example#41egrvgk1bc00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#41egrvgk1bc00> connected!
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#41egrvgk1bc00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:05 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:05 INFO:req [2ruruaq9qvi00] [M->I] onAliasQuery #irc_irc.example_#foobar:some.home.server
2018-04-26 17:58:05 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#foobar:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #foobar
2018-04-26 17:58:05 INFO:req [2ruruaq9qvi00] [M->I] Mapped to #foobar on irc.example
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:req [2ruruaq9qvi00] [M->I] Going to track IRC channel #foobar
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#41egrvgk1bc00> Joining channel #foobar
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#41egrvgk1bc00> Joined channel #foobar
2018-04-26 17:58:05 INFO:req [2ruruaq9qvi00] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:05 INFO:req [2ruruaq9qvi00] [M->I] Matrix room !newroom:id created.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!newroom:id, addr=irc.example, chan=#foobar, origin=alias)
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #foobar on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:IrcBridge [2ruruaq9qvi00] [M->I] SUCCESS (5ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:05 INFO:main Killing bridge
2018-04-26 17:58:05 INFO:IrcBridge Killing all clients
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
.Dynamic channels should point to the same room ID for aliases with different cases
===================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/dynamic-channels.spec.js:24:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_flibble to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_flibble to call function 'join'
2018-04-26 17:58:05 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:05 ERROR:IrcBridge
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:05 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:05 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:05 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:05 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:05 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:05 INFO:Provisioner Provisioning started
2018-04-26 17:58:05 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:05 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:05 DEBUG:IrcBridge Created new bot client for irc.example : 4whixh62yt800 (bot enabled=true)
2018-04-26 17:58:05 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:05 INFO:BridgedClient <ro_bot_nick@irc.example#4whixh62yt800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#4whixh62yt800> connected!
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#4whixh62yt800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:05 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:05 INFO:req [kr4jf5ipn1c00] [M->I] onAliasQuery #irc_irc.example_#foobar:some.home.server
2018-04-26 17:58:05 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#foobar:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #foobar
2018-04-26 17:58:05 INFO:req [kr4jf5ipn1c00] [M->I] Mapped to #foobar on irc.example
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:req [kr4jf5ipn1c00] [M->I] Going to track IRC channel #foobar
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#4whixh62yt800> Joining channel #foobar
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#4whixh62yt800> Joined channel #foobar
2018-04-26 17:58:05 INFO:req [kr4jf5ipn1c00] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:05 INFO:req [kr4jf5ipn1c00] [M->I] Matrix room !newroom:id created.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!newroom:id, addr=irc.example, chan=#foobar, origin=alias)
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #foobar on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:IrcBridge [kr4jf5ipn1c00] [M->I] SUCCESS (3ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:05 INFO:req [3x4iz9czrh000] [M->I] onAliasQuery #irc_irc.example_#FooBar:some.home.server
2018-04-26 17:58:05 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#FooBar:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #FooBar
2018-04-26 17:58:05 INFO:req [3x4iz9czrh000] [M->I] Mapped to #FooBar on irc.example
2018-04-26 17:58:05 INFO:req [3x4iz9czrh000] [M->I] Pointing alias #irc_irc.example_#FooBar:some.home.server to !newroom:id
2018-04-26 17:58:05 INFO:IrcBridge [3x4iz9czrh000] [M->I] SUCCESS (1ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:05 INFO:main Killing bridge
2018-04-26 17:58:05 INFO:IrcBridge Killing all clients
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
.Dynamic channels (federation disabled) should create non federated room when joining channel and federation is disabled
========================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/dynamic-channels.spec.js:189:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_flibble to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_flibble to call function 'join'
2018-04-26 17:58:05 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:05 ERROR:IrcBridge
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:05 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:05 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:05 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:05 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:05 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:05 INFO:Provisioner Provisioning started
2018-04-26 17:58:05 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:05 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:05 DEBUG:IrcBridge Created new bot client for irc.example : gkvtksdxb3400 (bot enabled=true)
2018-04-26 17:58:05 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:05 INFO:BridgedClient <ro_bot_nick@irc.example#gkvtksdxb3400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#gkvtksdxb3400> connected!
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#gkvtksdxb3400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:05 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:05 INFO:req [fs741b82a9s00] [M->I] onAliasQuery #irc_irc.example_#foobar:some.home.server
2018-04-26 17:58:05 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#foobar:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #foobar
2018-04-26 17:58:05 INFO:req [fs741b82a9s00] [M->I] Mapped to #foobar on irc.example
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:req [fs741b82a9s00] [M->I] Going to track IRC channel #foobar
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#gkvtksdxb3400> Joining channel #foobar
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#gkvtksdxb3400> Joined channel #foobar
2018-04-26 17:58:05 INFO:req [fs741b82a9s00] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:05 INFO:req [fs741b82a9s00] [M->I] Matrix room !newroom:id created.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!newroom:id, addr=irc.example, chan=#foobar, origin=alias)
2018-04-26 17:58:05 INFO:PublicitySyncer Bot requesting mode for #foobar on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:05 INFO:IrcBridge [fs741b82a9s00] [M->I] SUCCESS (3ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:05 INFO:main Killing bridge
2018-04-26 17:58:05 INFO:IrcBridge Killing all clients
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
.Dynamic channels (disabled) should NOT join IRC channels when it receives special alias queries
================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/dynamic-channels.spec.js:263:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_flibble to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_flibble to call function 'join'
2018-04-26 17:58:05 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:05 ERROR:IrcBridge
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:05 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:05 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:05 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:05 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:05 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:05 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:05 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:05 INFO:Provisioner Provisioning started
2018-04-26 17:58:05 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:05 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:05 DEBUG:IrcBridge Created new bot client for irc.example : bp8sp28rvw800 (bot enabled=true)
2018-04-26 17:58:05 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:05 INFO:BridgedClient <ro_bot_nick@irc.example#bp8sp28rvw800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#bp8sp28rvw800> connected!
2018-04-26 17:58:05 DEBUG:BridgedClient <ro_bot_nick@irc.example#bp8sp28rvw800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:05 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:05 INFO:req [hloq4lxis6g00] [M->I] onAliasQuery #irc.example_#foobar:some.home.server
2018-04-26 17:58:05 INFO:IrcBridge [hloq4lxis6g00] [M->I] FAILED (2ms)
onAliasQuery threw => Error: Unknown alias: #irc.example_#foobar:some.home.server
2018-04-26 17:58:05 INFO:main Killing bridge
2018-04-26 17:58:05 INFO:IrcBridge Killing all clients
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:05 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:05 DEBUG:IrcBridge Created new bot client for irc.example : jvsk23a7y0000 (bot enabled=true)
.Homeserver user queries should always create a new Matrix user for the specified ID
====================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/hs-queries.spec.js:23:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:06 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:06 ERROR:IrcBridge
2018-04-26 17:58:06 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:06 INFO:BridgedClient <ro_bot_nick@irc.example#jvsk23a7y0000> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#jvsk23a7y0000> connected!
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#jvsk23a7y0000> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:06 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:06 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:06 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:06 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:06 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:06 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:06 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:06 INFO:Provisioner Provisioning started
2018-04-26 17:58:06 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:06 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:06 DEBUG:IrcBridge Created new bot client for irc.example : g82y5rn14rk00 (bot enabled=true)
2018-04-26 17:58:06 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:06 INFO:BridgedClient <ro_bot_nick@irc.example#g82y5rn14rk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#g82y5rn14rk00> connected!
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#g82y5rn14rk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:06 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'whois'
2018-04-26 17:58:06 INFO:req [gqe975ti47k00] [M->I] onUserQuery: @irc.example_Alisha:some.home.server
2018-04-26 17:58:06 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:06 INFO:IrcBridge [gqe975ti47k00] [M->I] SUCCESS (7ms)
onUserQuery threw => Error: Not provisioning user for this ID
2018-04-26 17:58:06 INFO:main Killing bridge
2018-04-26 17:58:06 INFO:IrcBridge Killing all clients
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:06 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
.Homeserver alias queries should make the AS start tracking the channel specified in the alias.
===============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/hs-queries.spec.js:73:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:06 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:06 ERROR:IrcBridge
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:06 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:06 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:06 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:06 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:06 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:06 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:06 INFO:Provisioner Provisioning started
2018-04-26 17:58:06 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:06 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:06 DEBUG:IrcBridge Created new bot client for irc.example : epdta20w0ao00 (bot enabled=true)
2018-04-26 17:58:06 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:06 INFO:BridgedClient <ro_bot_nick@irc.example#epdta20w0ao00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#epdta20w0ao00> connected!
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#epdta20w0ao00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:06 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:06 INFO:req [jnk8pzw6qog00] [M->I] onAliasQuery #irc_irc.example_#tower:some.home.server
2018-04-26 17:58:06 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#tower:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #tower
2018-04-26 17:58:06 INFO:req [jnk8pzw6qog00] [M->I] Mapped to #tower on irc.example
2018-04-26 17:58:06 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:06 INFO:req [jnk8pzw6qog00] [M->I] Going to track IRC channel #tower
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#epdta20w0ao00> Joining channel #tower
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#epdta20w0ao00> Joined channel #tower
2018-04-26 17:58:06 INFO:req [jnk8pzw6qog00] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:06 INFO:req [jnk8pzw6qog00] [M->I] Matrix room !something:somewhere created.
2018-04-26 17:58:06 INFO:DataStore storeRoom (id=!something:somewhere, addr=irc.example, chan=#tower, origin=alias)
2018-04-26 17:58:06 INFO:PublicitySyncer Bot requesting mode for #tower on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:06 INFO:IrcBridge [jnk8pzw6qog00] [M->I] SUCCESS (4ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:06 INFO:main Killing bridge
2018-04-26 17:58:06 INFO:IrcBridge Killing all clients
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:06 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:06 INFO:BridgedClient Killing client ro_bot_nick
.Initialisation should connect to the IRC network and channel in the config
===========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/init.spec.js:25:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#jvsk23a7y0000> Joining channel #coffee
2018-04-26 17:58:06 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:06 ERROR:IrcBridge
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:06 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:06 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:06 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:06 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:06 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:06 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:06 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:06 INFO:Provisioner Provisioning started
2018-04-26 17:58:06 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:06 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:06 DEBUG:IrcBridge Created new bot client for irc.example : 8nxsytm7o2000 (bot enabled=true)
2018-04-26 17:58:06 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:06 INFO:BridgedClient <ro_bot_nick@irc.example#8nxsytm7o2000> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#8nxsytm7o2000> connected!
2018-04-26 17:58:06 DEBUG:BridgedClient <ro_bot_nick@irc.example#8nxsytm7o2000> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:06 INFO:IrcBridge Startup complete.
2018-04-26 17:58:06 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:07 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:07 ERROR:IrcBridge
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#8nxsytm7o2000> Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:07 INFO:main Killing bridge
2018-04-26 17:58:07 INFO:IrcBridge Killing all clients
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:07 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
.Initialisation [BOTS-70] should attempt to set the bot nick if ircd assigned random string
===========================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/init.spec.js:25:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'send'
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:07 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:07 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:07 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:07 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:07 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:07 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:07 INFO:Provisioner Provisioning started
2018-04-26 17:58:07 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:07 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:07 DEBUG:IrcBridge Created new bot client for irc.example : 6grbfhrj4jk00 (bot enabled=true)
2018-04-26 17:58:07 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:07 INFO:BridgedClient <ro_bot_nick@irc.example#6grbfhrj4jk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#6grbfhrj4jk00> connected!
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#6grbfhrj4jk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:07 INFO:IrcBridge Startup complete.
2018-04-26 17:58:07 INFO:BridgedClient <ro_bot_nick@irc.example#6grbfhrj4jk00> NICK: Nick changed from 'ro_bot_nick' to '5EXABJ6GG'.
2018-04-26 17:58:07 INFO:main Killing bridge
2018-04-26 17:58:07 INFO:IrcBridge Killing all clients
2018-04-26 17:58:07 INFO:BridgedClient Killing client 5EXABJ6GG
2018-04-26 17:58:07 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_5EXABJ6GG","disconnect",{")
2018-04-26 17:58:07 INFO:BridgedClient Killing client 5EXABJ6GG
2018-04-26 17:58:07 INFO:BridgedClient Killing client 5EXABJ6GG
.Invite-only rooms should be joined by the bot if the AS does know the room ID
==============================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/invite-rooms.spec.js:30:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:07 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:07 DEBUG:IrcBridge Created new bot client for irc.example : cm6c5pq814w00 (bot enabled=true)
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:07 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:07 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:07 INFO:BridgedClient <ro_bot_nick@irc.example#cm6c5pq814w00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#cm6c5pq814w00> connected!
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#cm6c5pq814w00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:07 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:07 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:07 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:07 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:07 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:07 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:07 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:07 INFO:Provisioner Provisioning started
2018-04-26 17:58:07 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:07 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:07 DEBUG:IrcBridge Created new bot client for irc.example : g7kkg3opq0w00 (bot enabled=true)
2018-04-26 17:58:07 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:07 INFO:BridgedClient <ro_bot_nick@irc.example#g7kkg3opq0w00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#g7kkg3opq0w00> connected!
2018-04-26 17:58:07 DEBUG:BridgedClient <ro_bot_nick@irc.example#g7kkg3opq0w00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:07 INFO:IrcBridge Startup complete.
2018-04-26 17:58:07 INFO:req [9i4mi0i4mwo00] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@flibble:wibble","room_id":"!adminroom:id","type":"m.room.member"}
2018-04-26 17:58:07 INFO:req [9i4mi0i4mwo00] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:07 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:07 INFO:DataStore storeAdminRoom (id=!adminroom:id, user_id=@flibble:wibble)
2018-04-26 17:58:07 INFO:IrcBridge [9i4mi0i4mwo00] [M->I] SUCCESS (2ms)
2018-04-26 17:58:07 INFO:req [7a10ms2zmz800] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@monkeybot:some.home.server","user_id":"@flibble:wibble","room_id":"!adminroom:id","type":"m.room.member"}
2018-04-26 17:58:07 INFO:req [7a10ms2zmz800] [M->I] Handling invite from user directed to bot.
2018-04-26 17:58:07 INFO:DataStore storeAdminRoom (id=!adminroom:id, user_id=@flibble:wibble)
2018-04-26 17:58:07 INFO:IrcBridge [7a10ms2zmz800] [M->I] SUCCESS (2ms)
2018-04-26 17:58:07 INFO:main Killing bridge
2018-04-26 17:58:07 INFO:IrcBridge Killing all clients
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:07 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:07 INFO:BridgedClient Killing client ro_bot_nick
.Invite-only rooms should be joined by a virtual IRC user if the bot invited them, regardless of the number of people in the room.
==================================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/invite-rooms.spec.js:30:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:08 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:08 ERROR:IrcBridge
2018-04-26 17:58:08 DEBUG:BridgedClient <ro_bot_nick@irc.example#cm6c5pq814w00> Joining channel #coffee
2018-04-26 17:58:08 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:08 ERROR:IrcBridge
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:08 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:08 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:08 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:08 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:08 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:08 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:08 INFO:Provisioner Provisioning started
2018-04-26 17:58:08 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:08 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:08 DEBUG:IrcBridge Created new bot client for irc.example : htijokjilyw00 (bot enabled=true)
2018-04-26 17:58:08 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:08 INFO:BridgedClient <ro_bot_nick@irc.example#htijokjilyw00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:08 DEBUG:BridgedClient <ro_bot_nick@irc.example#htijokjilyw00> connected!
2018-04-26 17:58:08 DEBUG:BridgedClient <ro_bot_nick@irc.example#htijokjilyw00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'whois'
2018-04-26 17:58:08 INFO:req [5j1rt1mkwf400] [M->I] onInvite: {"content":{"membership":"invite"},"state_key":"@irc.example_foobar:some.home.server","user_id":"@monkeybot:some.home.server","room_id":"!foo:bar","type":"m.room.member"}
2018-04-26 17:58:08 INFO:req [5j1rt1mkwf400] [M->I] Handling invite from bot directed at irc.example on foobar
2018-04-26 17:58:08 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:08 INFO:IrcBridge [5j1rt1mkwf400] [M->I] SUCCESS (9ms)
2018-04-26 17:58:08 INFO:main Killing bridge
2018-04-26 17:58:08 INFO:IrcBridge Killing all clients
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:08 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
.IRC client cycling should disconnect the oldest (last message time) client
===========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-client-cycling.spec.js:23:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'say'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'disconnect'
TEST: Test listening for irc.example_M-alice to call function 'join'
TEST: Test listening for irc.example_M-bob to call function 'say'
TEST: Test listening for irc.example_M-bob to call function 'connect'
TEST: Test listening for irc.example_M-bob to call function 'disconnect'
TEST: Test listening for irc.example_M-bob to call function 'join'
TEST: Test listening for irc.example_M-charles to call function 'say'
TEST: Test listening for irc.example_M-charles to call function 'connect'
TEST: Test listening for irc.example_M-charles to call function 'disconnect'
TEST: Test listening for irc.example_M-charles to call function 'join'
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:08 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:08 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:08 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:08 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:08 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:08 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:08 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:08 INFO:Provisioner Provisioning started
2018-04-26 17:58:08 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:08 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:08 DEBUG:IrcBridge Created new bot client for irc.example : f731zluljfc00 (bot enabled=true)
2018-04-26 17:58:08 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:08 INFO:BridgedClient <ro_bot_nick@irc.example#f731zluljfc00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:08 DEBUG:BridgedClient <ro_bot_nick@irc.example#f731zluljfc00> connected!
2018-04-26 17:58:08 DEBUG:BridgedClient <ro_bot_nick@irc.example#f731zluljfc00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 INFO:IrcBridge Startup complete.
2018-04-26 17:58:08 INFO:req [jr248x84na800] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:08 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:08 INFO:req [jr248x84na800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:08 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:08 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:08 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:08 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:08 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:08 INFO:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) connected!
2018-04-26 17:58:08 DEBUG:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 DEBUG:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-alice@irc.example#y8til8cv7280> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
TEST: Invoking test callback for user irc.example_M-alice : client.say([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:08 INFO:IrcBridge [jr248x84na800] [M->I] SUCCESS (6ms)
2018-04-26 17:58:08 INFO:req [6iwx6lr358o00] [M->I] m.room.message usr=@bob:hs rm=!foo:bar body=Another message
2018-04-26 17:58:08 INFO:req [6iwx6lr358o00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:08 DEBUG:IrcBridge Creating virtual irc user with nick M-bob for @bob:hs (display name undefined)
2018-04-26 17:58:08 DEBUG:ClientPool 2 active connections on irc.example (limit 2)
2018-04-26 17:58:08 INFO:client-connection disconnect()ing M-alice@irc.example - Client limit exceeded: 2
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
TEST: Invoking test callback for user irc.example_M-alice : client.disconnect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:08 DEBUG:IdentGenerator Pushing username generation request for @bob:hs on irc.example to the queue...
2018-04-26 17:58:08 INFO:ClientPool Client limit exceeded: Disconnected M-alice on irc.example.
2018-04-26 17:58:08 DEBUG:IdentGenerator Generating username for @bob:hs on irc.example
2018-04-26 17:58:08 INFO:IdentGenerator Generated ident username bobhs for @bob:hs on irc.example
2018-04-26 17:58:08 INFO:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) Connecting to IRC server irc.example as M-bob (user=bobhs)
TEST: Bridge called IRC client.connect(["irc.example_M-bob","connect",{"addr":")
TEST: Invoking test callback for user irc.example_M-bob : client.connect([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) connected!
2018-04-26 17:58:08 DEBUG:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 INFO:IrcBridge Sending IRC message in #coffee as M-bob (connected=true)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 DEBUG:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-bob","join",{"addr":"irc)
TEST: Invoking test callback for user irc.example_M-bob : client.join([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-bob@irc.example#e05e219f1ig00> (@bob:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-bob","say",{"addr":"irc.)
TEST: Invoking test callback for user irc.example_M-bob : client.say([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:08 INFO:IrcBridge [6iwx6lr358o00] [M->I] SUCCESS (7ms)
2018-04-26 17:58:08 INFO:req [cym8fbhgoio00] [M->I] m.room.message usr=@charles:hs rm=!foo:bar body=A third message
2018-04-26 17:58:08 INFO:req [cym8fbhgoio00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:08 DEBUG:IrcBridge Creating virtual irc user with nick M-charles for @charles:hs (display name undefined)
2018-04-26 17:58:08 DEBUG:ClientPool 2 active connections on irc.example (limit 2)
2018-04-26 17:58:08 INFO:client-connection disconnect()ing M-bob@irc.example - Client limit exceeded: 2
TEST: Bridge called IRC client.disconnect(["irc.example_M-bob","disconnect",{"addr)
TEST: Invoking test callback for user irc.example_M-bob : client.disconnect([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:08 DEBUG:IdentGenerator Pushing username generation request for @charles:hs on irc.example to the queue...
2018-04-26 17:58:08 INFO:ClientPool Client limit exceeded: Disconnected M-bob on irc.example.
2018-04-26 17:58:08 DEBUG:IdentGenerator Generating username for @charles:hs on irc.example
2018-04-26 17:58:08 INFO:IdentGenerator Generated ident username charleshs for @charles:hs on irc.example
2018-04-26 17:58:08 INFO:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) Connecting to IRC server irc.example as M-charles (user=charleshs)
TEST: Bridge called IRC client.connect(["irc.example_M-charles","connect",{"add)
TEST: Invoking test callback for user irc.example_M-charles : client.connect([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) connected!
2018-04-26 17:58:08 DEBUG:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 INFO:IrcBridge Sending IRC message in #coffee as M-charles (connected=true)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:08 DEBUG:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-charles","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-charles : client.join([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:08 DEBUG:BridgedClient <M-charles@irc.example#8be525oki8800> (@charles:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-charles","say",{"addr":")
TEST: Invoking test callback for user irc.example_M-charles : client.say([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:08 INFO:IrcBridge [cym8fbhgoio00] [M->I] SUCCESS (5ms)
2018-04-26 17:58:08 INFO:main Killing bridge
2018-04-26 17:58:08 INFO:IrcBridge Killing all clients
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:08 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:08 INFO:BridgedClient Killing client M-charles
2018-04-26 17:58:08 INFO:client-connection disconnect()ing M-charles@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-charles","disconnect",{")
TEST: Invoking test callback for user irc.example_M-charles : client.disconnect([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:08 INFO:BridgedClient Killing client M-charles
2018-04-26 17:58:08 INFO:BridgedClient Killing client ro_bot_nick
.IRC client cycling should reconnect (make a new connection) for a cycled-out client when speaking and not use the old disconnected client
==========================================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-client-cycling.spec.js:23:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'say'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'disconnect'
TEST: Test listening for irc.example_M-alice to call function 'join'
TEST: Test listening for irc.example_M-bob to call function 'say'
TEST: Test listening for irc.example_M-bob to call function 'connect'
TEST: Test listening for irc.example_M-bob to call function 'disconnect'
TEST: Test listening for irc.example_M-bob to call function 'join'
TEST: Test listening for irc.example_M-charles to call function 'say'
TEST: Test listening for irc.example_M-charles to call function 'connect'
TEST: Test listening for irc.example_M-charles to call function 'disconnect'
TEST: Test listening for irc.example_M-charles to call function 'join'
2018-04-26 17:58:09 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:09 ERROR:IrcBridge
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:09 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:09 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:09 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:09 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:09 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:09 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:09 INFO:Provisioner Provisioning started
2018-04-26 17:58:09 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:09 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Created new bot client for irc.example : fvfje6ptmjc00 (bot enabled=true)
2018-04-26 17:58:09 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:09 INFO:BridgedClient <ro_bot_nick@irc.example#fvfje6ptmjc00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#fvfje6ptmjc00> connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#fvfje6ptmjc00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Startup complete.
2018-04-26 17:58:09 INFO:req [2lajbdax2bq00] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:09 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:09 INFO:req [2lajbdax2bq00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:09 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:09 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#55rfmf234w800> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
TEST: Invoking test callback for user irc.example_M-alice : client.say([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 INFO:IrcBridge [2lajbdax2bq00] [M->I] SUCCESS (7ms)
2018-04-26 17:58:09 INFO:req [js4gta9gur400] [M->I] m.room.message usr=@bob:hs rm=!foo:bar body=Another message
2018-04-26 17:58:09 INFO:req [js4gta9gur400] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-bob for @bob:hs (display name undefined)
2018-04-26 17:58:09 DEBUG:ClientPool 2 active connections on irc.example (limit 2)
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-alice@irc.example - Client limit exceeded: 2
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
TEST: Invoking test callback for user irc.example_M-alice : client.disconnect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 DEBUG:IdentGenerator Pushing username generation request for @bob:hs on irc.example to the queue...
2018-04-26 17:58:09 INFO:ClientPool Client limit exceeded: Disconnected M-alice on irc.example.
2018-04-26 17:58:09 DEBUG:IdentGenerator Generating username for @bob:hs on irc.example
2018-04-26 17:58:09 INFO:IdentGenerator Generated ident username bobhs for @bob:hs on irc.example
2018-04-26 17:58:09 INFO:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) Connecting to IRC server irc.example as M-bob (user=bobhs)
TEST: Bridge called IRC client.connect(["irc.example_M-bob","connect",{"addr":")
TEST: Invoking test callback for user irc.example_M-bob : client.connect([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-bob (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-bob","join",{"addr":"irc)
TEST: Invoking test callback for user irc.example_M-bob : client.join([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-bob@irc.example#hwachgpyko800> (@bob:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-bob","say",{"addr":"irc.)
TEST: Invoking test callback for user irc.example_M-bob : client.say([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:09 INFO:IrcBridge [js4gta9gur400] [M->I] SUCCESS (6ms)
2018-04-26 17:58:09 INFO:req [h5klsqqzoi000] [M->I] m.room.message usr=@charles:hs rm=!foo:bar body=A third message
2018-04-26 17:58:09 INFO:req [h5klsqqzoi000] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-charles for @charles:hs (display name undefined)
2018-04-26 17:58:09 DEBUG:ClientPool 2 active connections on irc.example (limit 2)
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-bob@irc.example - Client limit exceeded: 2
TEST: Bridge called IRC client.disconnect(["irc.example_M-bob","disconnect",{"addr)
TEST: Invoking test callback for user irc.example_M-bob : client.disconnect([{"addr":"irc.example","nick":"M-bob","o)
2018-04-26 17:58:09 DEBUG:IdentGenerator Pushing username generation request for @charles:hs on irc.example to the queue...
2018-04-26 17:58:09 INFO:ClientPool Client limit exceeded: Disconnected M-bob on irc.example.
2018-04-26 17:58:09 DEBUG:IdentGenerator Generating username for @charles:hs on irc.example
2018-04-26 17:58:09 INFO:IdentGenerator Generated ident username charleshs for @charles:hs on irc.example
2018-04-26 17:58:09 INFO:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) Connecting to IRC server irc.example as M-charles (user=charleshs)
TEST: Bridge called IRC client.connect(["irc.example_M-charles","connect",{"add)
TEST: Invoking test callback for user irc.example_M-charles : client.connect([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-charles (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-charles","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-charles : client.join([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-charles@irc.example#du7uekcpnog00> (@charles:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-charles","say",{"addr":")
TEST: Invoking test callback for user irc.example_M-charles : client.say([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:09 INFO:IrcBridge [h5klsqqzoi000] [M->I] SUCCESS (5ms)
2018-04-26 17:58:09 INFO:req [6yl1rx81cfw00] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=That first guy is ba
2018-04-26 17:58:09 INFO:req [6yl1rx81cfw00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Configuring IRC user from store => @alice:hs=>irc.example={"username":"alicehs","nick":"M-alice"}
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:09 DEBUG:ClientPool 2 active connections on irc.example (limit 2)
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-charles@irc.example - Client limit exceeded: 2
TEST: Bridge called IRC client.disconnect(["irc.example_M-charles","disconnect",{")
TEST: Invoking test callback for user irc.example_M-charles : client.disconnect([{"addr":"irc.example","nick":"M-charles)
2018-04-26 17:58:09 DEBUG:IdentGenerator Using cached ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:ClientPool Client limit exceeded: Disconnected M-charles on irc.example.
2018-04-26 17:58:09 INFO:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-alice@irc.example#7o8f66o2tj800> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
TEST: Invoking test callback for user irc.example_M-alice : client.say([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 INFO:IrcBridge [6yl1rx81cfw00] [M->I] SUCCESS (3ms)
2018-04-26 17:58:09 INFO:main Killing bridge
2018-04-26 17:58:09 INFO:IrcBridge Killing all clients
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
TEST: Invoking test callback for user irc.example_M-alice : client.disconnect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should use the matrix user's display name if they have one
===========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:09 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:09 ERROR:IrcBridge
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:09 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:09 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:09 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:09 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:09 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:09 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:09 INFO:Provisioner Provisioning started
2018-04-26 17:58:09 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:09 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Created new bot client for irc.example : 4zptzwnwxfg00 (bot enabled=true)
2018-04-26 17:58:09 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:09 INFO:BridgedClient <ro_bot_nick@irc.example#4zptzwnwxfg00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#4zptzwnwxfg00> connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#4zptzwnwxfg00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-Some_Name to call function 'join'
TEST: Test listening for irc.example_M-Some_Name to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-Some_Name to call function 'say'
2018-04-26 17:58:09 INFO:req [6yqm2l3iyrc00] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:09 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:09 INFO:req [6yqm2l3iyrc00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-Some_Name for @alice:hs (display name Some_Name)
2018-04-26 17:58:09 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:09 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) Connecting to IRC server irc.example as M-Some_Name (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-Some_Name","connect",{"a)
TEST: Invoking test callback for user irc.example_M-Some_Name : client.connect([{"addr":"irc.example","nick":"M-Some_Na)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-Some_Name (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-Some_Name","join",{"addr)
TEST: Invoking test callback for user irc.example_M-Some_Name : client.join([{"addr":"irc.example","nick":"M-Some_Na)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-Some_Name@irc.example#mroebc1414w0> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-Some_Name","say",{"addr")
TEST: Invoking test callback for user irc.example_M-Some_Name : client.say([{"addr":"irc.example","nick":"M-Some_Na)
2018-04-26 17:58:09 INFO:IrcBridge [6yqm2l3iyrc00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:09 INFO:main Killing bridge
2018-04-26 17:58:09 INFO:IrcBridge Killing all clients
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-Some_Name
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-Some_Name@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-Some_Name","disconnect",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-Some_Name
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should coerce invalid nicks into a valid form
==============================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:09 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:09 ERROR:IrcBridge
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:09 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:09 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:09 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:09 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:09 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:09 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:09 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:09 INFO:Provisioner Provisioning started
2018-04-26 17:58:09 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:09 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Created new bot client for irc.example : 6i8pq7kn0t000 (bot enabled=true)
2018-04-26 17:58:09 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:09 INFO:BridgedClient <ro_bot_nick@irc.example#6i8pq7kn0t000> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#6i8pq7kn0t000> connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <ro_bot_nick@irc.example#6i8pq7kn0t000> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-123NumBer to call function 'join'
TEST: Test listening for irc.example_M-123NumBer to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-123NumBer to call function 'say'
2018-04-26 17:58:09 INFO:req [embb301l0w000] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:09 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:09 INFO:req [embb301l0w000] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:09 DEBUG:IrcBridge Creating virtual irc user with nick M-123Num£Ber for @alice:hs (display name 123Num£Ber)
2018-04-26 17:58:09 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:09 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:09 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:09 INFO:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) Connecting to IRC server irc.example as M-123NumBer (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-123NumBer","connect",{"a)
TEST: Invoking test callback for user irc.example_M-123NumBer : client.connect([{"addr":"irc.example","nick":"M-123NumB)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) connected!
2018-04-26 17:58:09 DEBUG:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 INFO:IrcBridge Sending IRC message in #coffee as M-123NumBer (connected=true)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:09 DEBUG:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-123NumBer","join",{"addr)
TEST: Invoking test callback for user irc.example_M-123NumBer : client.join([{"addr":"irc.example","nick":"M-123NumB)
2018-04-26 17:58:09 DEBUG:BridgedClient <M-123NumBer@irc.example#go4zqa4jcxs00> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-123NumBer","say",{"addr")
TEST: Invoking test callback for user irc.example_M-123NumBer : client.say([{"addr":"irc.example","nick":"M-123NumB)
2018-04-26 17:58:09 INFO:IrcBridge [embb301l0w000] [M->I] SUCCESS (7ms)
2018-04-26 17:58:09 INFO:main Killing bridge
2018-04-26 17:58:09 INFO:IrcBridge Killing all clients
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-123NumBer
2018-04-26 17:58:09 INFO:client-connection disconnect()ing M-123NumBer@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-123NumBer","disconnect",)
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:09 INFO:BridgedClient Killing client M-123NumBer
2018-04-26 17:58:09 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should use the nick assigned in the rpl_welcome (registered) event
===================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:10 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:10 ERROR:IrcBridge
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:10 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:10 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:10 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:10 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:10 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:10 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:10 INFO:Provisioner Provisioning started
2018-04-26 17:58:10 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:10 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:10 DEBUG:IrcBridge Created new bot client for irc.example : ei4ylbt4bjk00 (bot enabled=true)
2018-04-26 17:58:10 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:10 INFO:BridgedClient <ro_bot_nick@irc.example#ei4ylbt4bjk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:10 DEBUG:BridgedClient <ro_bot_nick@irc.example#ei4ylbt4bjk00> connected!
2018-04-26 17:58:10 DEBUG:BridgedClient <ro_bot_nick@irc.example#ei4ylbt4bjk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:10 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_monkeys to call function 'join'
2018-04-26 17:58:10 INFO:req [1jkhfi56cuio0] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:10 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:10 INFO:req [1jkhfi56cuio0] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:10 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:10 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:10 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:10 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:10 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:10 INFO:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) connected!
2018-04-26 17:58:10 DEBUG:ClientPool Connected with nick 'monkeys' instead of desired nick 'M-alice'
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:10 INFO:IrcBridge Sending IRC message in #coffee as monkeys (connected=true)
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_monkeys","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_monkeys : client.join([{"addr":"irc.example","nick":"monkeys",)
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#hte6w7e6b1s00> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_monkeys","say",{"addr":"ir)
2018-04-26 17:58:10 INFO:IrcBridge [1jkhfi56cuio0] [M->I] SUCCESS (6ms)
2018-04-26 17:58:10 INFO:IrcBridge [c7lgp6b9lvc00] [I->M] IGNORE virtual user (1ms)
2018-04-26 17:58:10 INFO:main Killing bridge
2018-04-26 17:58:10 INFO:IrcBridge Killing all clients
2018-04-26 17:58:10 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:10 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:10 INFO:BridgedClient Killing client monkeys
2018-04-26 17:58:10 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_monkeys","disconnect",{"ad)
2018-04-26 17:58:10 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:10 INFO:BridgedClient Killing client monkeys
2018-04-26 17:58:10 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should be made once per client, regardless of how many messages are to be sent to IRC
======================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:10 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:10 ERROR:IrcBridge
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:10 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:10 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:10 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:10 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:10 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:10 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:10 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:10 INFO:Provisioner Provisioning started
2018-04-26 17:58:10 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:10 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:10 DEBUG:IrcBridge Created new bot client for irc.example : 126vziaicwuo0 (bot enabled=true)
2018-04-26 17:58:10 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:10 INFO:BridgedClient <ro_bot_nick@irc.example#126vziaicwuo0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:10 DEBUG:BridgedClient <ro_bot_nick@irc.example#126vziaicwuo0> connected!
2018-04-26 17:58:10 DEBUG:BridgedClient <ro_bot_nick@irc.example#126vziaicwuo0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:10 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-alice to call function 'connect'
2018-04-26 17:58:10 INFO:req [difs3mx0y4g00] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:10 INFO:req [byr8tni5hds00] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=Another message
2018-04-26 17:58:10 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:10 INFO:req [difs3mx0y4g00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:10 INFO:req [byr8tni5hds00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:10 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:10 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:10 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:10 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:10 DEBUG:IrcBridge Returning cached bridged client @alice:hs
2018-04-26 17:58:10 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=false)
2018-04-26 17:58:10 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:10 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:10 INFO:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:10 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:10 ERROR:IrcBridge
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#126vziaicwuo0> Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#126vziaicwuo0> Joined channel #coffee
2018-04-26 17:58:11 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:11 INFO:IrcBridge [byr8tni5hds00] [M->I] SUCCESS (507ms)
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-alice@irc.example#3zvccwaxgdu00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:11 INFO:IrcBridge [difs3mx0y4g00] [M->I] SUCCESS (508ms)
2018-04-26 17:58:11 INFO:main Killing bridge
2018-04-26 17:58:11 INFO:IrcBridge Killing all clients
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:11 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections [BOTS-41] should be able to handle clashing nicks without causing echos
========================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:11 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:11 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:11 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:11 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:11 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:11 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:11 INFO:Provisioner Provisioning started
2018-04-26 17:58:11 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:11 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Created new bot client for irc.example : 3w9dcd367ck00 (bot enabled=true)
2018-04-26 17:58:11 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:11 INFO:BridgedClient <ro_bot_nick@irc.example#3w9dcd367ck00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#3w9dcd367ck00> connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#3w9dcd367ck00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-kermit to call function 'connect'
TEST: Test listening for irc.example_M-kermit to call function 'join'
TEST: Test listening for irc.example_M-kermit1 to call function 'join'
2018-04-26 17:58:11 INFO:req [htr7hcn0bkg00] [M->I] m.room.message usr=@kermit:bar rm=!foo:bar body=A message
2018-04-26 17:58:11 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:11 INFO:req [htr7hcn0bkg00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Creating virtual irc user with nick M-kermit for @kermit:bar (display name undefined)
2018-04-26 17:58:11 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IdentGenerator Pushing username generation request for @kermit:bar on irc.example to the queue...
2018-04-26 17:58:11 DEBUG:IdentGenerator Generating username for @kermit:bar on irc.example
2018-04-26 17:58:11 INFO:IdentGenerator Generated ident username kermitbar for @kermit:bar on irc.example
2018-04-26 17:58:11 INFO:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) Connecting to IRC server irc.example as M-kermit (user=kermitbar)
TEST: Bridge called IRC client.connect(["irc.example_M-kermit","connect",{"addr)
TEST: Invoking test callback for user irc.example_M-kermit : client.connect([{"addr":"irc.example","nick":"M-kermit")
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-kermit (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-kermit","join",{"addr":")
TEST: Invoking test callback for user irc.example_M-kermit : client.join([{"addr":"irc.example","nick":"M-kermit")
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-kermit","say",{"addr":"i)
2018-04-26 17:58:11 INFO:IrcBridge [htr7hcn0bkg00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:11 INFO:req [acu8b79md3k00] [M->I] m.room.message usr=@kermit:someplace rm=!foo:bar body=Another message
2018-04-26 17:58:11 INFO:req [acu8b79md3k00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Creating virtual irc user with nick M-kermit for @kermit:someplace (display name undefined)
2018-04-26 17:58:11 DEBUG:ClientPool 2 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IdentGenerator Pushing username generation request for @kermit:someplace on irc.example to the queue...
2018-04-26 17:58:11 DEBUG:IdentGenerator Generating username for @kermit:someplace on irc.example
2018-04-26 17:58:11 INFO:IdentGenerator Generated ident username kermitsome for @kermit:someplace on irc.example
2018-04-26 17:58:11 INFO:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) Connecting to IRC server irc.example as M-kermit (user=kermitsome)
TEST: Bridge called IRC client.connect(["irc.example_M-kermit","connect",{"addr)
TEST: Invoking test callback for user irc.example_M-kermit : client.connect([{"addr":"irc.example","nick":"M-kermit")
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) connected!
2018-04-26 17:58:11 DEBUG:ClientPool Connected with nick 'M-kermit1' instead of desired nick 'M-kermit'
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-kermit1 (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-kermit1","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-kermit1 : client.join([{"addr":"irc.example","nick":"M-kermit1)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#c5iz1r81koo00> (@kermit:someplace) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-kermit1","say",{"addr":")
2018-04-26 17:58:11 INFO:IrcBridge [acu8b79md3k00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:11 INFO:req [f0znaeksd1k00] [M->I] m.room.message usr=@kermit:bar rm=!foo:bar body=3rd message
2018-04-26 17:58:11 INFO:req [f0znaeksd1k00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Returning cached bridged client @kermit:bar
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-kermit (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-kermit@irc.example#6fi141btcto00> (@kermit:bar) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge [f0znaeksd1k00] [M->I] SUCCESS (1ms)
2018-04-26 17:58:11 INFO:IrcBridge [1wgvqk79f5z40] [I->M] IGNORE virtual user (0ms)
2018-04-26 17:58:11 INFO:main Killing bridge
2018-04-26 17:58:11 INFO:IrcBridge Killing all clients
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-kermit
2018-04-26 17:58:11 INFO:client-connection disconnect()ing M-kermit@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-kermit","disconnect",{"a)
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-kermit1
2018-04-26 17:58:11 INFO:client-connection disconnect()ing M-kermit@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-kermit1","disconnect",{")
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-kermit
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-kermit1
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should assign different ident usernames for long user IDs
==========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:11 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:11 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:11 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:11 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:11 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:11 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:11 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:11 INFO:Provisioner Provisioning started
2018-04-26 17:58:11 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:11 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Created new bot client for irc.example : e0q9nm3a9ww00 (bot enabled=true)
2018-04-26 17:58:11 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:11 INFO:BridgedClient <ro_bot_nick@irc.example#e0q9nm3a9ww00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#e0q9nm3a9ww00> connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <ro_bot_nick@irc.example#e0q9nm3a9ww00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-averyverylongname to call function 'join'
TEST: Test listening for irc.example_M-averyverylongnameagain to call function 'join'
TEST: Test listening for irc.example_M-averyverylongname to call function 'connect'
TEST: Test listening for irc.example_M-averyverylongnameagain to call function 'connect'
2018-04-26 17:58:11 INFO:req [2uiwxq6nngi00] [M->I] m.room.message usr=@averyverylongname:localhost rm=!foo:bar body=A message
2018-04-26 17:58:11 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:11 INFO:req [2uiwxq6nngi00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Creating virtual irc user with nick M-averyverylongname for @averyverylongname:localhost (display name undefined)
2018-04-26 17:58:11 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IdentGenerator Pushing username generation request for @averyverylongname:localhost on irc.example to the queue...
2018-04-26 17:58:11 DEBUG:IdentGenerator Generating username for @averyverylongname:localhost on irc.example
2018-04-26 17:58:11 INFO:IdentGenerator Generated ident username averyveryl for @averyverylongname:localhost on irc.example
2018-04-26 17:58:11 INFO:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) Connecting to IRC server irc.example as M-averyverylongname (user=averyveryl)
TEST: Bridge called IRC client.connect(["irc.example_M-averyverylongname","conn)
TEST: Invoking test callback for user irc.example_M-averyverylongname : client.connect([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-averyverylongname (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-averyverylongname","join)
TEST: Invoking test callback for user irc.example_M-averyverylongname : client.join([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongname@irc.example#e6sht04uye00> (@averyverylongname:localhost) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-averyverylongname","say")
2018-04-26 17:58:11 INFO:IrcBridge [2uiwxq6nngi00] [M->I] SUCCESS (14ms)
2018-04-26 17:58:11 INFO:req [c7alqgqk9s800] [M->I] m.room.message usr=@averyverylongnameagain:localhost rm=!foo:bar body=A message2
2018-04-26 17:58:11 INFO:req [c7alqgqk9s800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:11 DEBUG:IrcBridge Creating virtual irc user with nick M-averyverylongnameagain for @averyverylongnameagain:localhost (display name undefined)
2018-04-26 17:58:11 DEBUG:ClientPool 2 active connections on irc.example
2018-04-26 17:58:11 DEBUG:IdentGenerator Pushing username generation request for @averyverylongnameagain:localhost on irc.example to the queue...
2018-04-26 17:58:11 DEBUG:IdentGenerator Generating username for @averyverylongnameagain:localhost on irc.example
2018-04-26 17:58:11 INFO:IdentGenerator Generated ident username averyver_1 for @averyverylongnameagain:localhost on irc.example
2018-04-26 17:58:11 INFO:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) Connecting to IRC server irc.example as M-averyverylongnameagain (user=averyver_1)
TEST: Bridge called IRC client.connect(["irc.example_M-averyverylongnameagain",)
TEST: Invoking test callback for user irc.example_M-averyverylongnameagain : client.connect([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) connected!
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 INFO:IrcBridge Sending IRC message in #coffee as M-averyverylongnameagain (connected=true)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-averyverylongnameagain",)
TEST: Invoking test callback for user irc.example_M-averyverylongnameagain : client.join([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:11 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#c7ct15hks7k00> (@averyverylongnameagain:localhost) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-averyverylongnameagain",)
2018-04-26 17:58:11 INFO:IrcBridge [c7alqgqk9s800] [M->I] SUCCESS (5ms)
2018-04-26 17:58:11 INFO:main Killing bridge
2018-04-26 17:58:11 INFO:IrcBridge Killing all clients
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-averyverylongname
2018-04-26 17:58:11 INFO:client-connection disconnect()ing M-averyverylongname@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-averyverylongname","disc)
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-averyverylongnameagain
2018-04-26 17:58:11 INFO:client-connection disconnect()ing M-averyverylongnameagain@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-averyverylongnameagain",)
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-averyverylongname
2018-04-26 17:58:11 INFO:BridgedClient Killing client M-averyverylongnameagain
2018-04-26 17:58:11 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should queue ident generation requests to avoid racing when querying for cached ident usernames
================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:12 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:12 ERROR:IrcBridge
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:12 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:12 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:12 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:12 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:12 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:12 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:12 INFO:Provisioner Provisioning started
2018-04-26 17:58:12 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:12 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Created new bot client for irc.example : e1icel5svn400 (bot enabled=true)
2018-04-26 17:58:12 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:12 INFO:BridgedClient <ro_bot_nick@irc.example#e1icel5svn400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#e1icel5svn400> connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#e1icel5svn400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-averyverylongname to call function 'join'
TEST: Test listening for irc.example_M-averyverylongnameagain to call function 'join'
TEST: Test listening for irc.example_M-averyverylongname to call function 'connect'
TEST: Test listening for irc.example_M-averyverylongnameagain to call function 'connect'
2018-04-26 17:58:12 INFO:req [7u83gbnkkqk00] [M->I] m.room.message usr=@averyverylongname:localhost rm=!foo:bar body=A message
2018-04-26 17:58:12 INFO:req [42pdjxur89m00] [M->I] m.room.message usr=@averyverylongnameagain:localhost rm=!foo:bar body=A message2
2018-04-26 17:58:12 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:12 INFO:req [7u83gbnkkqk00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:12 INFO:req [42pdjxur89m00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Creating virtual irc user with nick M-averyverylongname for @averyverylongname:localhost (display name undefined)
2018-04-26 17:58:12 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IdentGenerator Pushing username generation request for @averyverylongname:localhost on irc.example to the queue...
2018-04-26 17:58:12 DEBUG:IdentGenerator Generating username for @averyverylongname:localhost on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Creating virtual irc user with nick M-averyverylongnameagain for @averyverylongnameagain:localhost (display name undefined)
2018-04-26 17:58:12 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IdentGenerator Pushing username generation request for @averyverylongnameagain:localhost on irc.example to the queue...
2018-04-26 17:58:12 INFO:IdentGenerator Generated ident username averyveryl for @averyverylongname:localhost on irc.example
2018-04-26 17:58:12 DEBUG:IdentGenerator Generating username for @averyverylongnameagain:localhost on irc.example
2018-04-26 17:58:12 INFO:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) Connecting to IRC server irc.example as M-averyverylongname (user=averyveryl)
TEST: Bridge called IRC client.connect(["irc.example_M-averyverylongname","conn)
TEST: Invoking test callback for user irc.example_M-averyverylongname : client.connect([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IdentGenerator Generated ident username averyver_1 for @averyverylongnameagain:localhost on irc.example
2018-04-26 17:58:12 INFO:IrcBridge Sending IRC message in #coffee as M-averyverylongname (connected=true)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-averyverylongname","join)
TEST: Invoking test callback for user irc.example_M-averyverylongname : client.join([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongname@irc.example#9wtw0xv7bnc00> (@averyverylongname:localhost) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-averyverylongname","say")
2018-04-26 17:58:12 INFO:IrcBridge [7u83gbnkkqk00] [M->I] SUCCESS (58ms)
2018-04-26 17:58:12 INFO:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) Connecting to IRC server irc.example as M-averyverylongnameagain (user=averyver_1)
TEST: Bridge called IRC client.connect(["irc.example_M-averyverylongnameagain",)
TEST: Invoking test callback for user irc.example_M-averyverylongnameagain : client.connect([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Sending IRC message in #coffee as M-averyverylongnameagain (connected=true)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-averyverylongnameagain",)
TEST: Invoking test callback for user irc.example_M-averyverylongnameagain : client.join([{"addr":"irc.example","nick":"M-averyve)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-averyverylongnameagain@irc.example#9voo78tg6ok00> (@averyverylongnameagain:localhost) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-averyverylongnameagain",)
2018-04-26 17:58:12 INFO:IrcBridge [42pdjxur89m00] [M->I] SUCCESS (60ms)
2018-04-26 17:58:12 INFO:main Killing bridge
2018-04-26 17:58:12 INFO:IrcBridge Killing all clients
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-averyverylongname
2018-04-26 17:58:12 INFO:client-connection disconnect()ing M-averyverylongname@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-averyverylongname","disc)
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-averyverylongnameagain
2018-04-26 17:58:12 INFO:client-connection disconnect()ing M-averyverylongnameagain@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-averyverylongnameagain",)
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-averyverylongname
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-averyverylongnameagain
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
.IRC connections should gracefully fail if it fails to join a channel when sending a message
============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-connections.spec.js:27:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:12 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:12 ERROR:IrcBridge
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:12 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:12 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:12 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:12 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:12 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:12 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:12 INFO:Provisioner Provisioning started
2018-04-26 17:58:12 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:12 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Created new bot client for irc.example : 57hyisxwyi400 (bot enabled=true)
2018-04-26 17:58:12 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:12 INFO:BridgedClient <ro_bot_nick@irc.example#57hyisxwyi400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#57hyisxwyi400> connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#57hyisxwyi400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:12 INFO:req [daj0ggwl9i000] [M->I] m.room.message usr=@alice:hs rm=!foo:bar body=A message
2018-04-26 17:58:12 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:12 INFO:req [daj0ggwl9i000] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:hs (display name undefined)
2018-04-26 17:58:12 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IdentGenerator Pushing username generation request for @alice:hs on irc.example to the queue...
2018-04-26 17:58:12 DEBUG:IdentGenerator Generating username for @alice:hs on irc.example
2018-04-26 17:58:12 INFO:IdentGenerator Generated ident username alicehs for @alice:hs on irc.example
2018-04-26 17:58:12 INFO:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) Connecting to IRC server irc.example as M-alice (user=alicehs)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:12 DEBUG:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 DEBUG:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:12 ERROR:client-connection Server: irc.example (M-alice) Error: {"command":"err_bannedfromchan","args":["#coffee"]}
2018-04-26 17:58:12 ERROR:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) Join channel #coffee : {"command":"err_bannedfromchan","args":["#coffee"]}
2018-04-26 17:58:12 ERROR:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) Cannot track channel #coffee: err_bannedfromchan
2018-04-26 17:58:12 INFO:ClientPool Kicking @alice:hs from room due to err_bannedfromchan
2018-04-26 17:58:12 INFO:req [1r7tw630ezr40] [I->M] M-alice@irc.example#id4nsdg244g00~@alice:hs : Sending metadata 'Could not join #coffee on 'irc.example': err_bannedfromchan'
2018-04-26 17:58:12 ERROR:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) sendMessage: Failed to join channel #coffee
2018-04-26 17:58:12 DEBUG:BridgedClient <M-alice@irc.example#id4nsdg244g00> (@alice:hs) Joined channel #coffee
2018-04-26 17:58:12 INFO:IrcBridge [daj0ggwl9i000] [M->I] FAILED (15ms)
2018-04-26 17:58:12 INFO:main Killing bridge
2018-04-26 17:58:12 INFO:IrcBridge Killing all clients
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:12 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix mode bridging should set join_rules to 'invite' on +k.
=====================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-modes.spec.js:32:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:12 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:12 ERROR:IrcBridge
2018-04-26 17:58:12 INFO:req [1r7tw630ezr40] [I->M] Creating an admin room with @alice:hs
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:12 INFO:IrcBridge [1r7tw630ezr40] [I->M] FAILED (279ms)
2018-04-26 17:58:12 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:12 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:12 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:12 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:12 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:12 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:12 INFO:Provisioner Provisioning started
2018-04-26 17:58:12 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:12 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Created new bot client for irc.example : gbat4cyzau800 (bot enabled=true)
2018-04-26 17:58:12 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:12 INFO:BridgedClient <ro_bot_nick@irc.example#gbat4cyzau800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#gbat4cyzau800> connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#gbat4cyzau800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Startup complete.
2018-04-26 17:58:12 INFO:req [aggul6x58ws00] [I->M] onMode(+k) in #coffee by anIrcUser (arg=undefined)
2018-04-26 17:58:12 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:12 INFO:req [aggul6x58ws00] [I->M] Locking room !foo:bar
2018-04-26 17:58:12 INFO:main Killing bridge
2018-04-26 17:58:12 INFO:IrcBridge Killing all clients
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix mode bridging should set join_rules to 'invite' on +i.
=====================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-modes.spec.js:32:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:12 INFO:IrcBridge [aggul6x58ws00] [I->M] SUCCESS (262ms)
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:12 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:12 ERROR:IrcBridge
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:12 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:12 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:12 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:12 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:12 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:12 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:12 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:12 INFO:Provisioner Provisioning started
2018-04-26 17:58:12 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:12 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:12 DEBUG:IrcBridge Created new bot client for irc.example : fcjvfrwibqw00 (bot enabled=true)
2018-04-26 17:58:12 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:12 INFO:BridgedClient <ro_bot_nick@irc.example#fcjvfrwibqw00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#fcjvfrwibqw00> connected!
2018-04-26 17:58:12 DEBUG:BridgedClient <ro_bot_nick@irc.example#fcjvfrwibqw00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:12 INFO:IrcBridge Startup complete.
2018-04-26 17:58:12 INFO:req [cnjboo8m81c00] [I->M] onMode(+i) in #coffee by anIrcUser (arg=undefined)
2018-04-26 17:58:12 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:12 INFO:req [cnjboo8m81c00] [I->M] Locking room !foo:bar
2018-04-26 17:58:12 INFO:main Killing bridge
2018-04-26 17:58:12 INFO:IrcBridge Killing all clients
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:12 INFO:IrcBridge [cnjboo8m81c00] [I->M] SUCCESS (2ms)
.IRC-to-Matrix mode bridging should revert join_rules to config value on -i.
============================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-modes.spec.js:32:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:13 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:13 ERROR:IrcBridge
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:13 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:13 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:13 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:13 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:13 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:13 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:13 INFO:Provisioner Provisioning started
2018-04-26 17:58:13 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:13 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:13 DEBUG:IrcBridge Created new bot client for irc.example : hpuo6uc5mlk00 (bot enabled=true)
2018-04-26 17:58:13 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:13 INFO:BridgedClient <ro_bot_nick@irc.example#hpuo6uc5mlk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#hpuo6uc5mlk00> connected!
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#hpuo6uc5mlk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:13 INFO:IrcBridge Startup complete.
2018-04-26 17:58:13 INFO:req [5toiffkhqmk00] [I->M] onMode(-i) in #coffee by anIrcUser (arg=undefined)
2018-04-26 17:58:13 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:13 INFO:req [5toiffkhqmk00] [I->M] Reverting !foo:bar back to default join_rule
2018-04-26 17:58:13 INFO:main Killing bridge
2018-04-26 17:58:13 INFO:IrcBridge Killing all clients
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix mode bridging should revert join_rules to config value on -k.
============================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-modes.spec.js:32:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:13 INFO:IrcBridge [5toiffkhqmk00] [I->M] SUCCESS (244ms)
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:13 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:13 ERROR:IrcBridge
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:13 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:13 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:13 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:13 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:13 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:13 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:13 INFO:Provisioner Provisioning started
2018-04-26 17:58:13 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:13 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:13 DEBUG:IrcBridge Created new bot client for irc.example : eoczuow8l0w00 (bot enabled=true)
2018-04-26 17:58:13 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:13 INFO:BridgedClient <ro_bot_nick@irc.example#eoczuow8l0w00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#eoczuow8l0w00> connected!
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#eoczuow8l0w00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:13 INFO:IrcBridge Startup complete.
2018-04-26 17:58:13 INFO:req [2fc3hfsq8nk00] [I->M] onMode(-k) in #coffee by anIrcUser (arg=undefined)
2018-04-26 17:58:13 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:13 INFO:req [2fc3hfsq8nk00] [I->M] Reverting !foo:bar back to default join_rule
2018-04-26 17:58:13 INFO:main Killing bridge
2018-04-26 17:58:13 INFO:IrcBridge Killing all clients
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
.2018-04-26 17:58:13 INFO:IrcBridge [2fc3hfsq8nk00] [I->M] SUCCESS (2ms)
IRC-to-Matrix message bridging should bridge IRC text as Matrix message's m.text
=================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:13 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:13 ERROR:IrcBridge
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:13 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:13 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:13 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:13 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:13 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:13 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:13 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:13 INFO:Provisioner Provisioning started
2018-04-26 17:58:13 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:13 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:13 DEBUG:IrcBridge Created new bot client for irc.example : 7pueigmx78400 (bot enabled=true)
2018-04-26 17:58:13 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:13 INFO:BridgedClient <ro_bot_nick@irc.example#7pueigmx78400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#7pueigmx78400> connected!
2018-04-26 17:58:13 DEBUG:BridgedClient <ro_bot_nick@irc.example#7pueigmx78400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:13 INFO:IrcBridge Startup complete.
2018-04-26 17:58:13 INFO:req [dyc96rrbf1c00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"this is some test text.","ts":0}
2018-04-26 17:58:13 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:13 INFO:req [dyc96rrbf1c00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:13 INFO:main Killing bridge
2018-04-26 17:58:13 INFO:IrcBridge Killing all clients
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:13 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should bridge IRC actions as Matrix message's m.emote
=====================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:14 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:14 ERROR:IrcBridge
2018-04-26 17:58:14 INFO:IrcBridge [dyc96rrbf1c00] [I->M] SUCCESS (899ms)
2018-04-26 17:58:14 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:14 ERROR:IrcBridge
2018-04-26 17:58:14 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:14 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:14 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:14 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:14 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:14 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:14 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:14 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:14 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:14 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:14 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:14 INFO:Provisioner Provisioning started
2018-04-26 17:58:14 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:14 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:14 DEBUG:IrcBridge Created new bot client for irc.example : knvs4c7zir400 (bot enabled=true)
2018-04-26 17:58:14 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:14 INFO:BridgedClient <ro_bot_nick@irc.example#knvs4c7zir400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:14 DEBUG:BridgedClient <ro_bot_nick@irc.example#knvs4c7zir400> connected!
2018-04-26 17:58:14 DEBUG:BridgedClient <ro_bot_nick@irc.example#knvs4c7zir400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:14 INFO:IrcBridge Startup complete.
2018-04-26 17:58:14 INFO:req [cnj7b8drelc00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"emote","text":"thinks for a bit","ts":0}
2018-04-26 17:58:14 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:14 INFO:req [cnj7b8drelc00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:14 INFO:main Killing bridge
2018-04-26 17:58:14 INFO:IrcBridge Killing all clients
2018-04-26 17:58:14 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:14 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:14 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:14 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should bridge IRC notices as Matrix message's m.notice
======================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:15 INFO:IrcBridge [cnj7b8drelc00] [I->M] SUCCESS (311ms)
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:15 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:15 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:15 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:15 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:15 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:15 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:15 INFO:Provisioner Provisioning started
2018-04-26 17:58:15 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:15 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:15 DEBUG:IrcBridge Created new bot client for irc.example : 86rq2pfac2400 (bot enabled=true)
2018-04-26 17:58:15 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:15 INFO:BridgedClient <ro_bot_nick@irc.example#86rq2pfac2400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#86rq2pfac2400> connected!
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#86rq2pfac2400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:15 INFO:IrcBridge Startup complete.
2018-04-26 17:58:15 INFO:req [d65b5hmrzvc00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"notice","text":"Automated bot text: SUCCESS!","ts":0}
2018-04-26 17:58:15 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:15 INFO:req [d65b5hmrzvc00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:15 INFO:main Killing bridge
2018-04-26 17:58:15 INFO:IrcBridge Killing all clients
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should bridge IRC topics as Matrix m.room.topic in aliased rooms
================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:15 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:15 ERROR:IrcBridge
2018-04-26 17:58:15 INFO:IrcBridge [d65b5hmrzvc00] [I->M] SUCCESS (271ms)
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:15 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:15 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:15 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:15 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:15 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:15 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:15 INFO:Provisioner Provisioning started
2018-04-26 17:58:15 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:15 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:15 DEBUG:IrcBridge Created new bot client for irc.example : ciha3xi93og00 (bot enabled=true)
2018-04-26 17:58:15 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:15 INFO:BridgedClient <ro_bot_nick@irc.example#ciha3xi93og00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#ciha3xi93og00> connected!
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#ciha3xi93og00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:15 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:15 INFO:req [8zww65oi49g00] [M->I] onAliasQuery #irc_irc.example_#someotherchannel:some.home.server
2018-04-26 17:58:15 INFO:IrcServer getChannelFromAlias -> #irc_irc.example_#someotherchannel:some.home.server -> #irc_irc\.example_([^:]*):some\.home\.server -> #someotherchannel
2018-04-26 17:58:15 INFO:req [8zww65oi49g00] [M->I] Mapped to #someotherchannel on irc.example
2018-04-26 17:58:15 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:15 INFO:req [8zww65oi49g00] [M->I] Going to track IRC channel #someotherchannel
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#ciha3xi93og00> Joining channel #someotherchannel
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#ciha3xi93og00> Joined channel #someotherchannel
2018-04-26 17:58:15 INFO:req [8zww65oi49g00] [M->I] Bot is now tracking IRC channel.
2018-04-26 17:58:15 INFO:req [8zww65oi49g00] [M->I] Matrix room !foo:bar created.
2018-04-26 17:58:15 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#someotherchannel, origin=alias)
2018-04-26 17:58:15 INFO:PublicitySyncer Bot requesting mode for #someotherchannel on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:15 INFO:IrcBridge [8zww65oi49g00] [M->I] SUCCESS (21ms)
onAliasQuery threw => Error: Not provisioning room for this alias
2018-04-26 17:58:15 INFO:req [5waewywke3s00] [I->M] onTopic: irc.example from=mike (null@irc.example) to=#someotherchannel action={"type":"topic","text":"Topics are liek the best thing evarz!","ts":0}
2018-04-26 17:58:15 INFO:req [5waewywke3s00] [I->M] New topic in #someotherchannel - bot queing to set topic in !foo:bar
2018-04-26 17:58:15 INFO:main Killing bridge
2018-04-26 17:58:15 INFO:IrcBridge Killing all clients
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should be insensitive to the case of the channel
================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:15 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:15 ERROR:IrcBridge
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:15 INFO:req [5waewywke3s00] [I->M] Topic: 'Topics are liek the ...' set in rooms: !foo:bar
2018-04-26 17:58:15 INFO:IrcBridge [5waewywke3s00] [I->M] SUCCESS (288ms)
2018-04-26 17:58:15 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:15 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:15 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:15 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:15 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:15 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:15 INFO:Provisioner Provisioning started
2018-04-26 17:58:15 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:15 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:15 DEBUG:IrcBridge Created new bot client for irc.example : 3rc5usqdivc00 (bot enabled=true)
2018-04-26 17:58:15 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:15 INFO:BridgedClient <ro_bot_nick@irc.example#3rc5usqdivc00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#3rc5usqdivc00> connected!
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#3rc5usqdivc00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:15 INFO:IrcBridge Startup complete.
2018-04-26 17:58:15 INFO:req [9rqua64ms0000] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#COFFEE action={"type":"message","text":"this is some test text.","ts":0}
2018-04-26 17:58:15 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:15 INFO:req [9rqua64ms0000] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:15 INFO:main Killing bridge
2018-04-26 17:58:15 INFO:IrcBridge Killing all clients
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should bridge IRC formatted text as Matrix's org.matrix.custom.html
===================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:15 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:15 ERROR:IrcBridge
2018-04-26 17:58:15 INFO:IrcBridge [9rqua64ms0000] [I->M] SUCCESS (269ms)
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:15 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:15 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:15 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:15 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:15 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:15 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:15 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:15 INFO:Provisioner Provisioning started
2018-04-26 17:58:15 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:15 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:15 DEBUG:IrcBridge Created new bot client for irc.example : av5t77w36e800 (bot enabled=true)
2018-04-26 17:58:15 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:15 INFO:BridgedClient <ro_bot_nick@irc.example#av5t77w36e800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#av5t77w36e800> connected!
2018-04-26 17:58:15 DEBUG:BridgedClient <ro_bot_nick@irc.example#av5t77w36e800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:15 INFO:IrcBridge Startup complete.
2018-04-26 17:58:15 INFO:req [a58e2v7xsfs00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"This text is \u0002bold\u000f and this is \u001funderl
2018-04-26 17:58:15 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:15 INFO:req [a58e2v7xsfs00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:15 INFO:main Killing bridge
2018-04-26 17:58:15 INFO:IrcBridge Killing all clients
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:15 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should bridge badly formatted IRC text as Matrix's org.matrix.custom.html
=========================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:16 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:16 ERROR:IrcBridge
2018-04-26 17:58:16 INFO:IrcBridge [a58e2v7xsfs00] [I->M] SUCCESS (271ms)
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:16 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:16 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:16 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:16 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:16 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:16 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:16 INFO:Provisioner Provisioning started
2018-04-26 17:58:16 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:16 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:16 DEBUG:IrcBridge Created new bot client for irc.example : dpf37h3n6bk00 (bot enabled=true)
2018-04-26 17:58:16 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:16 INFO:BridgedClient <ro_bot_nick@irc.example#dpf37h3n6bk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#dpf37h3n6bk00> connected!
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#dpf37h3n6bk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:16 INFO:IrcBridge Startup complete.
2018-04-26 17:58:16 INFO:req [e6h3q08vj1c00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"\u0002hello \u001d world\u0002 ! \u001d","ts":0}
2018-04-26 17:58:16 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:16 INFO:req [e6h3q08vj1c00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:16 INFO:main Killing bridge
2018-04-26 17:58:16 INFO:IrcBridge Killing all clients
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:IrcBridge [e6h3q08vj1c00] [I->M] SUCCESS (4ms)
.IRC-to-Matrix message bridging should bridge special regex character formatted IRC colours as Matrix'sorg.matrix.custom.html
=============================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:16 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:16 ERROR:IrcBridge
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:16 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:16 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:16 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:16 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:16 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:16 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:16 INFO:Provisioner Provisioning started
2018-04-26 17:58:16 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:16 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:16 DEBUG:IrcBridge Created new bot client for irc.example : 69kz8t3t1ps00 (bot enabled=true)
2018-04-26 17:58:16 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:16 INFO:BridgedClient <ro_bot_nick@irc.example#69kz8t3t1ps00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#69kz8t3t1ps00> connected!
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#69kz8t3t1ps00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:16 INFO:IrcBridge Startup complete.
2018-04-26 17:58:16 INFO:req [3vld3fnvflk00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"\u000303$& \u000304 world\u000303 ! \u000304","ts":0}
2018-04-26 17:58:16 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:16 INFO:req [3vld3fnvflk00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:16 INFO:main Killing bridge
2018-04-26 17:58:16 INFO:IrcBridge Killing all clients
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should html escape IRC text
===========================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:16 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:16 ERROR:IrcBridge
2018-04-26 17:58:16 INFO:IrcBridge [3vld3fnvflk00] [I->M] SUCCESS (292ms)
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:16 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:16 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:16 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:16 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:16 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:16 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:16 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:16 INFO:Provisioner Provisioning started
2018-04-26 17:58:16 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:16 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:16 DEBUG:IrcBridge Created new bot client for irc.example : 15cvkuerm68w0 (bot enabled=true)
2018-04-26 17:58:16 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:16 INFO:BridgedClient <ro_bot_nick@irc.example#15cvkuerm68w0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#15cvkuerm68w0> connected!
2018-04-26 17:58:16 DEBUG:BridgedClient <ro_bot_nick@irc.example#15cvkuerm68w0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:16 INFO:IrcBridge Startup complete.
2018-04-26 17:58:16 INFO:req [3c812ztfmks00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"This text is \u0002bold\u000f and has <div> tags & cha
2018-04-26 17:58:16 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:16 INFO:req [3c812ztfmks00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:16 INFO:main Killing bridge
2018-04-26 17:58:16 INFO:IrcBridge Killing all clients
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:16 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix message bridging should toggle on IRC formatting flags
=====================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:36:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:17 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:17 ERROR:IrcBridge
2018-04-26 17:58:17 INFO:IrcBridge [3c812ztfmks00] [I->M] SUCCESS (282ms)
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:17 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:17 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:17 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:17 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:17 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:17 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:17 INFO:Provisioner Provisioning started
2018-04-26 17:58:17 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:17 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Created new bot client for irc.example : 4d6w7opximg00 (bot enabled=true)
2018-04-26 17:58:17 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:17 INFO:BridgedClient <ro_bot_nick@irc.example#4d6w7opximg00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#4d6w7opximg00> connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#4d6w7opximg00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Startup complete.
2018-04-26 17:58:17 INFO:req [hg0dxmk27sw00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"This text is \u0002bold\u0002 and \u0002\u0002thats it
2018-04-26 17:58:17 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:17 INFO:req [hg0dxmk27sw00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:17 INFO:main Killing bridge
2018-04-26 17:58:17 INFO:IrcBridge Killing all clients
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
.IRC-to-Matrix operator modes bridging should bridge modes to power levels
==========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:329:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:17 INFO:IrcBridge [hg0dxmk27sw00] [I->M] SUCCESS (272ms)
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:17 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:17 ERROR:IrcBridge
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:17 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:17 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:17 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:17 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:17 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:17 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:17 INFO:Provisioner Provisioning started
2018-04-26 17:58:17 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:17 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Created new bot client for irc.example : 2ytb88iwaf400 (bot enabled=true)
2018-04-26 17:58:17 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:17 INFO:BridgedClient <ro_bot_nick@irc.example#2ytb88iwaf400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#2ytb88iwaf400> connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#2ytb88iwaf400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Startup complete.
2018-04-26 17:58:17 INFO:req [dke3qap20kw00] [M->I] m.room.message usr=@alice:anotherhomeserver rm=!foo:bar body=get me in
2018-04-26 17:58:17 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:17 INFO:req [dke3qap20kw00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:anotherhomeserver (display name undefined)
2018-04-26 17:58:17 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IdentGenerator Pushing username generation request for @alice:anotherhomeserver on irc.example to the queue...
2018-04-26 17:58:17 DEBUG:IdentGenerator Generating username for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:IdentGenerator Generated ident username aliceanoth for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) Connecting to IRC server irc.example as M-alice (user=aliceanoth)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#apddks5z24400> (@alice:anotherhomeserver) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:17 INFO:IrcBridge [dke3qap20kw00] [M->I] SUCCESS (7ms)
2018-04-26 17:58:17 INFO:req [d5dodjpht2g00] [I->M] onMode(+o) in #coffee by op-er (arg=M-alice)
2018-04-26 17:58:17 INFO:req [d5dodjpht2g00] [I->M] onMode: Mode o received for M-alice - granting level of 50 to @alice:anotherhomeserver
2018-04-26 17:58:17 INFO:main Killing bridge
2018-04-26 17:58:17 INFO:IrcBridge Killing all clients
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:IrcBridge [d5dodjpht2g00] [I->M] SUCCESS (3ms)
.IRC-to-Matrix operator modes bridging should bridge the highest power of multiple modes
========================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:329:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:17 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:17 ERROR:IrcBridge
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:17 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:17 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:17 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:17 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:17 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:17 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:17 INFO:Provisioner Provisioning started
2018-04-26 17:58:17 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:17 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Created new bot client for irc.example : 34hp5mkb57000 (bot enabled=true)
2018-04-26 17:58:17 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:17 INFO:BridgedClient <ro_bot_nick@irc.example#34hp5mkb57000> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#34hp5mkb57000> connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#34hp5mkb57000> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Startup complete.
2018-04-26 17:58:17 INFO:req [378m5439z1e00] [M->I] m.room.message usr=@alice:anotherhomeserver rm=!foo:bar body=get me in
2018-04-26 17:58:17 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:17 INFO:req [378m5439z1e00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:anotherhomeserver (display name undefined)
2018-04-26 17:58:17 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IdentGenerator Pushing username generation request for @alice:anotherhomeserver on irc.example to the queue...
2018-04-26 17:58:17 DEBUG:IdentGenerator Generating username for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:IdentGenerator Generated ident username aliceanoth for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) Connecting to IRC server irc.example as M-alice (user=aliceanoth)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#4e3tfurbjms00> (@alice:anotherhomeserver) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:17 INFO:IrcBridge [378m5439z1e00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:17 INFO:req [fudt500dq4800] [I->M] onMode(+o) in #coffee by op-er (arg=M-alice)
2018-04-26 17:58:17 INFO:req [fudt500dq4800] [I->M] onMode: Mode o received for M-alice - granting level of 50 to @alice:anotherhomeserver
2018-04-26 17:58:17 INFO:main Killing bridge
2018-04-26 17:58:17 INFO:IrcBridge Killing all clients
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:IrcBridge [fudt500dq4800] [I->M] SUCCESS (3ms)
.IRC-to-Matrix operator modes bridging should bridge the highest power of multiple modes when a higher power mode is removed
============================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:329:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:17 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:17 ERROR:IrcBridge
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:17 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:17 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:17 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:17 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:17 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:17 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:17 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:17 INFO:Provisioner Provisioning started
2018-04-26 17:58:17 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:17 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Created new bot client for irc.example : gqa9olppx6800 (bot enabled=true)
2018-04-26 17:58:17 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:17 INFO:BridgedClient <ro_bot_nick@irc.example#gqa9olppx6800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#gqa9olppx6800> connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <ro_bot_nick@irc.example#gqa9olppx6800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Startup complete.
2018-04-26 17:58:17 INFO:req [t2p7mhphrg00] [M->I] m.room.message usr=@alice:anotherhomeserver rm=!foo:bar body=get me in
2018-04-26 17:58:17 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:17 INFO:req [t2p7mhphrg00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:17 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:anotherhomeserver (display name undefined)
2018-04-26 17:58:17 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:17 DEBUG:IdentGenerator Pushing username generation request for @alice:anotherhomeserver on irc.example to the queue...
2018-04-26 17:58:17 DEBUG:IdentGenerator Generating username for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:IdentGenerator Generated ident username aliceanoth for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:17 INFO:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) Connecting to IRC server irc.example as M-alice (user=aliceanoth)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) connected!
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:17 DEBUG:BridgedClient <M-alice@irc.example#2lwarc13wzm00> (@alice:anotherhomeserver) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:17 INFO:IrcBridge [t2p7mhphrg00] [M->I] SUCCESS (8ms)
2018-04-26 17:58:17 INFO:req [v0zuwm32j340] [I->M] onMode(-o) in #coffee by op-er (arg=M-alice)
2018-04-26 17:58:17 INFO:req [v0zuwm32j340] [I->M] onMode: Mode o received for M-alice - granting level of 25 to @alice:anotherhomeserver
2018-04-26 17:58:17 INFO:main Killing bridge
2018-04-26 17:58:17 INFO:IrcBridge Killing all clients
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:17 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:17 INFO:IrcBridge [v0zuwm32j340] [I->M] SUCCESS (2ms)
.IRC-to-Matrix operator modes bridging should bridge the highest power of multiple modes when a lower power mode is removed
===========================================================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:329:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'connect'
TEST: Test listening for irc.example_M-alice to call function 'join'
2018-04-26 17:58:18 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:18 ERROR:IrcBridge
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:18 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:18 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:18 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:18 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:18 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:18 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:18 INFO:Provisioner Provisioning started
2018-04-26 17:58:18 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:18 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:18 DEBUG:IrcBridge Created new bot client for irc.example : fm1qq5k07zk00 (bot enabled=true)
2018-04-26 17:58:18 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:18 INFO:BridgedClient <ro_bot_nick@irc.example#fm1qq5k07zk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#fm1qq5k07zk00> connected!
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#fm1qq5k07zk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:18 INFO:IrcBridge Startup complete.
2018-04-26 17:58:18 INFO:req [k22293i3yxo00] [M->I] m.room.message usr=@alice:anotherhomeserver rm=!foo:bar body=get me in
2018-04-26 17:58:18 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:18 INFO:req [k22293i3yxo00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:18 DEBUG:IrcBridge Creating virtual irc user with nick M-alice for @alice:anotherhomeserver (display name undefined)
2018-04-26 17:58:18 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:18 DEBUG:IdentGenerator Pushing username generation request for @alice:anotherhomeserver on irc.example to the queue...
2018-04-26 17:58:18 DEBUG:IdentGenerator Generating username for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:18 INFO:IdentGenerator Generated ident username aliceanoth for @alice:anotherhomeserver on irc.example
2018-04-26 17:58:18 INFO:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) Connecting to IRC server irc.example as M-alice (user=aliceanoth)
TEST: Bridge called IRC client.connect(["irc.example_M-alice","connect",{"addr")
TEST: Invoking test callback for user irc.example_M-alice : client.connect([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:18 DEBUG:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) connected!
2018-04-26 17:58:18 DEBUG:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:18 INFO:IrcBridge Sending IRC message in #coffee as M-alice (connected=true)
2018-04-26 17:58:18 DEBUG:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:18 DEBUG:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-alice","join",{"addr":"i)
TEST: Invoking test callback for user irc.example_M-alice : client.join([{"addr":"irc.example","nick":"M-alice",)
2018-04-26 17:58:18 DEBUG:BridgedClient <M-alice@irc.example#a7dvsuuys2g00> (@alice:anotherhomeserver) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-alice","say",{"addr":"ir)
2018-04-26 17:58:18 INFO:IrcBridge [k22293i3yxo00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:18 INFO:req [6cg92cbsjkk00] [I->M] onMode(-v) in #coffee by op-er (arg=M-alice)
2018-04-26 17:58:18 INFO:req [6cg92cbsjkk00] [I->M] onMode: Mode v received for M-alice - granting level of 50 to @alice:anotherhomeserver
2018-04-26 17:58:18 INFO:main Killing bridge
2018-04-26 17:58:18 INFO:IrcBridge Killing all clients
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:18 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:18 INFO:client-connection disconnect()ing M-alice@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-alice","disconnect",{"ad)
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:BridgedClient Killing client M-alice
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:IrcBridge [6cg92cbsjkk00] [I->M] SUCCESS (2ms)
.IRC-to-Matrix name bridging should set the matrix display name from the config file template
=============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:511:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:18 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:18 ERROR:IrcBridge
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:18 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:18 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:18 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:18 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:18 INFO:MemberListSyncer irc.example shouldn't sync initial memberships to irc.
2018-04-26 17:58:18 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:18 INFO:Provisioner Provisioning started
2018-04-26 17:58:18 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:18 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:18 DEBUG:IrcBridge Created new bot client for irc.example : al9a5td4xc400 (bot enabled=true)
2018-04-26 17:58:18 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:18 INFO:BridgedClient <ro_bot_nick@irc.example#al9a5td4xc400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#al9a5td4xc400> connected!
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#al9a5td4xc400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:18 INFO:IrcBridge Startup complete.
2018-04-26 17:58:18 INFO:req [5fxtszdb1rg00] [I->M] onMessage: irc.example from=mike (null@irc.example) to=#coffee action={"type":"message","text":"ping","ts":0}
2018-04-26 17:58:18 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:18 INFO:main Killing bridge
2018-04-26 17:58:18 INFO:IrcBridge Killing all clients
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
(node:8811) Warning: a promise was created in a handler at opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:444:28 but was not returned from it, see http://goo.gl/rRqMUw
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:197:21)
2018-04-26 17:58:18 INFO:req [5fxtszdb1rg00] [I->M] Relaying in room !foo:bar
.IRC-to-Matrix name bridging should process all NAMEs entries
=============================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/irc-to-matrix.spec.js:511:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Timeout._onTimeout (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
2018-04-26 17:58:18 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:18 ERROR:IrcBridge
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:18 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:18 INFO:IrcBridge [5fxtszdb1rg00] [I->M] SUCCESS (282ms)
2018-04-26 17:58:18 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:18 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:18 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:18 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:18 INFO:MemberListSyncer irc.example shouldn't sync initial memberships to irc.
2018-04-26 17:58:18 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:18 INFO:Provisioner Provisioning started
2018-04-26 17:58:18 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:18 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:18 DEBUG:IrcBridge Created new bot client for irc.example : hd2m2bidjlk00 (bot enabled=true)
2018-04-26 17:58:18 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:18 INFO:BridgedClient <ro_bot_nick@irc.example#hd2m2bidjlk00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#hd2m2bidjlk00> connected!
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#hd2m2bidjlk00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:18 INFO:IrcBridge Startup complete.
2018-04-26 17:58:18 INFO:MemberListSyncer updateIrcMemberList: Updating IRC member list for #coffee with 3 IRC nicks
2018-04-26 17:58:18 INFO:BridgedClient <ro_bot_nick@irc.example#hd2m2bidjlk00> NAMEs: Adding 3 nicks from #coffee.
2018-04-26 17:58:18 DEBUG:BridgedClient <ro_bot_nick@irc.example#hd2m2bidjlk00> Names bucket has 3 entries
2018-04-26 17:58:18 INFO:req [g7usi0enmk000] [I->M] onJoin(names) Clarissa to #coffee
2018-04-26 17:58:18 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:18 INFO:MemberListSyncer updateIrcMemberList: Leaving 0 users as they are not in #coffee.
2018-04-26 17:58:18 INFO:req [g7usi0enmk000] [I->M] Joining room !foo:bar and setting presence to online
2018-04-26 17:58:18 INFO:req [g7usi0enmk000] [I->M] Calculating +mode for Clarissa in #coffee with opLevel=[object Object]
2018-04-26 17:58:18 INFO:req [7io759e66x400] [I->M] onJoin(names) Bertha to #coffee
2018-04-26 17:58:18 INFO:IrcBridge [g7usi0enmk000] [I->M] SUCCESS (4ms)
2018-04-26 17:58:18 INFO:req [7io759e66x400] [I->M] Joining room !foo:bar and setting presence to online
2018-04-26 17:58:18 INFO:req [7io759e66x400] [I->M] Calculating +mode for Bertha in #coffee with opLevel=[object Object]
2018-04-26 17:58:18 INFO:req [b0h9t0mo9vs00] [I->M] onJoin(names) Alicia to #coffee
2018-04-26 17:58:18 INFO:IrcBridge [7io759e66x400] [I->M] SUCCESS (2ms)
2018-04-26 17:58:18 INFO:req [b0h9t0mo9vs00] [I->M] Joining room !foo:bar and setting presence to online
2018-04-26 17:58:18 INFO:main Killing bridge
2018-04-26 17:58:18 INFO:IrcBridge Killing all clients
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:18 ERROR:req [b0h9t0mo9vs00] [I->M] No client exists to set onMode for Alicia
.2018-04-26 17:58:18 INFO:IrcBridge [b0h9t0mo9vs00] [I->M] SUCCESS (2ms)
Kicking IRC users on IRC should make the kickee leave the Matrix room
======================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/kicking.spec.js:20:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_bob to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_bob to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:19 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:19 ERROR:IrcBridge
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:19 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:19 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:19 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:19 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:19 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:19 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:19 INFO:Provisioner Provisioning started
2018-04-26 17:58:19 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:19 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Created new bot client for irc.example : hbfmgbc0rzs00 (bot enabled=true)
2018-04-26 17:58:19 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:19 INFO:BridgedClient <ro_bot_nick@irc.example#hbfmgbc0rzs00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#hbfmgbc0rzs00> connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#hbfmgbc0rzs00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Startup complete.
2018-04-26 17:58:19 INFO:req [72eehwofsuw00] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=let me in
2018-04-26 17:58:19 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:19 INFO:req [72eehwofsuw00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:19 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:19 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#8xznu4pa0y000> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
2018-04-26 17:58:19 INFO:IrcBridge [72eehwofsuw00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:19 INFO:req [31voo4p9p7u00] [I->M] onMessage: irc.example from=bob (null@irc.example) to=#coffee action={"type":"message","text":"let me in","ts":0}
(node:8811) Warning: a promise was created in a handler at opt/matrix-appservice-irc/spec/integ/kicking.spec.js:65:26 but was not returned from it, see http://goo.gl/rRqMUw
at IrcHandler.onMessage (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:197:21)
2018-04-26 17:58:19 INFO:req [4mpr23bv9bm00] [I->M] onKick(irc.example) KickerNick is kicking bob from #coffee
2018-04-26 17:58:19 INFO:req [31voo4p9p7u00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:19 INFO:req [4mpr23bv9bm00] [I->M] Mapped kickee nick bob to {"userId":"@irc.example_bob:some.home.server","localpart":"irc.example_bob","_data":{"displayName":"bob (IRC)","localpart":"irc.example_bob"}}
2018-04-26 17:58:19 INFO:req [4mpr23bv9bm00] [I->M] Leaving (due to kick) room !foo:bar
2018-04-26 17:58:19 INFO:main Killing bridge
2018-04-26 17:58:19 INFO:IrcBridge Killing all clients
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:IrcBridge [31voo4p9p7u00] [I->M] SUCCESS (6ms)
2018-04-26 17:58:19 INFO:IrcBridge [4mpr23bv9bm00] [I->M] SUCCESS (4ms)
.Kicking Matrix users on Matrix should make the kickee part the IRC channel
===========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/kicking.spec.js:20:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_bob to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_bob to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:19 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:19 ERROR:IrcBridge
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:19 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:19 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:19 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:19 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:19 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:19 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:19 INFO:Provisioner Provisioning started
2018-04-26 17:58:19 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:19 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Created new bot client for irc.example : 1ras4f0h7ups0 (bot enabled=true)
2018-04-26 17:58:19 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:19 INFO:BridgedClient <ro_bot_nick@irc.example#1ras4f0h7ups0> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#1ras4f0h7ups0> connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#1ras4f0h7ups0> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Startup complete.
2018-04-26 17:58:19 INFO:req [7z8zhu5s0ug00] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=let me in
2018-04-26 17:58:19 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:19 INFO:req [7z8zhu5s0ug00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:19 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:19 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
2018-04-26 17:58:19 INFO:IrcBridge [7z8zhu5s0ug00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:19 INFO:req [g0o2ytf4kk000] [I->M] onMessage: irc.example from=bob (null@irc.example) to=#coffee action={"type":"message","text":"let me in","ts":0}
(node:8811) Warning: a promise was created in a handler at opt/matrix-appservice-irc/spec/integ/kicking.spec.js:65:26 but was not returned from it, see http://goo.gl/rRqMUw
at IrcHandler.onMessage (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:197:21)
TEST: Test listening for irc.example_M-flibble to call function 'part'
2018-04-26 17:58:19 INFO:req [fkt8umv0wo000] [M->I] onKick @the_kicker:localhost is kicking/banning @flibble:wibble from !foo:bar
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) Leaving channel #coffee
TEST: Bridge called IRC client.part(["irc.example_M-flibble","part",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.part([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#6om8urbzqwg00> (@flibble:wibble) Left channel #coffee
2018-04-26 17:58:19 INFO:IrcBridge [fkt8umv0wo000] [M->I] SUCCESS (3ms)
2018-04-26 17:58:19 INFO:main Killing bridge
2018-04-26 17:58:19 INFO:IrcBridge Killing all clients
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
.Kicking Matrix users on IRC should make the AS bot kick the Matrix user from the Matrix room
=============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/kicking.spec.js:20:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_bob to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_bob to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:19 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:19 ERROR:IrcBridge
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:19 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:19 INFO:req [g0o2ytf4kk000] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:19 INFO:IrcBridge [g0o2ytf4kk000] [I->M] SUCCESS (302ms)
2018-04-26 17:58:19 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:19 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:19 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:19 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:19 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:19 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:19 INFO:Provisioner Provisioning started
2018-04-26 17:58:19 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:19 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Created new bot client for irc.example : eb4a6boop6800 (bot enabled=true)
2018-04-26 17:58:19 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:19 INFO:BridgedClient <ro_bot_nick@irc.example#eb4a6boop6800> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#eb4a6boop6800> connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <ro_bot_nick@irc.example#eb4a6boop6800> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Startup complete.
2018-04-26 17:58:19 INFO:req [7kchyog33aw00] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=let me in
2018-04-26 17:58:19 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:19 INFO:req [7kchyog33aw00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:19 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:19 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:19 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:19 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:19 INFO:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) connected!
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:19 DEBUG:BridgedClient <M-flibble@irc.example#1dnv78vl14io0> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
2018-04-26 17:58:19 INFO:IrcBridge [7kchyog33aw00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:19 INFO:req [h7uodrhhi8g00] [I->M] onMessage: irc.example from=bob (null@irc.example) to=#coffee action={"type":"message","text":"let me in","ts":0}
(node:8811) Warning: a promise was created in a handler at opt/matrix-appservice-irc/spec/integ/kicking.spec.js:65:26 but was not returned from it, see http://goo.gl/rRqMUw
at IrcHandler.onMessage (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:197:21)
2018-04-26 17:58:19 INFO:req [50r4amaz6q800] [I->M] onKick(irc.example) KickerNick is kicking M-flibble from #coffee
2018-04-26 17:58:19 INFO:req [50r4amaz6q800] [I->M] Kicking @flibble:wibble from room !foo:bar
2018-04-26 17:58:19 INFO:main Killing bridge
2018-04-26 17:58:19 INFO:IrcBridge Killing all clients
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:19 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:19 INFO:IrcBridge [50r4amaz6q800] [I->M] SUCCESS (2ms)
.Kicking IRC users on Matrix should make the virtual IRC client KICK the real IRC user
======================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/kicking.spec.js:20:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:20 ERROR:BridgedClient Could not try to join: no client for ro_bot_nick, channel = #foobar
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_bob to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_bob to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:20 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:20 ERROR:IrcBridge
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:20 INFO:req [h7uodrhhi8g00] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:20 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:20 INFO:IrcBridge [h7uodrhhi8g00] [I->M] SUCCESS (293ms)
2018-04-26 17:58:20 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:20 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:20 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:20 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:20 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:20 INFO:Provisioner Provisioning started
2018-04-26 17:58:20 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:20 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Created new bot client for irc.example : k3syspgb6r400 (bot enabled=true)
2018-04-26 17:58:20 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:20 INFO:BridgedClient <ro_bot_nick@irc.example#k3syspgb6r400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#k3syspgb6r400> connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#k3syspgb6r400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Startup complete.
2018-04-26 17:58:20 INFO:req [ef8i8iac0ps00] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=let me in
2018-04-26 17:58:20 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:20 INFO:req [ef8i8iac0ps00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:20 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:20 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
2018-04-26 17:58:20 INFO:IrcBridge [ef8i8iac0ps00] [M->I] SUCCESS (6ms)
2018-04-26 17:58:20 INFO:req [h2azp65z4s000] [I->M] onMessage: irc.example from=bob (null@irc.example) to=#coffee action={"type":"message","text":"let me in","ts":0}
(node:8811) Warning: a promise was created in a handler at opt/matrix-appservice-irc/spec/integ/kicking.spec.js:65:26 but was not returned from it, see http://goo.gl/rRqMUw
at IrcHandler.onMessage (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:197:21)
TEST: Test listening for irc.example_M-flibble to call function 'send'
2018-04-26 17:58:20 INFO:req [62frizf03c400] [M->I] onKick @flibble:wibble is kicking/banning @irc.example_bob:some.home.server from !foo:bar
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#gnxbw2x4odc0> (@flibble:wibble) Kicking bob from channel #coffee
TEST: Bridge called IRC client.send(["irc.example_M-flibble","send",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.send([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 INFO:IrcBridge [62frizf03c400] [M->I] SUCCESS (3ms)
2018-04-26 17:58:20 INFO:main Killing bridge
2018-04-26 17:58:20 INFO:IrcBridge Killing all clients
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
.2018-04-26 17:58:20 INFO:req [h2azp65z4s000] [I->M] Relaying in room !foo:bar
2018-04-26 17:58:20 INFO:IrcBridge [h2azp65z4s000] [I->M] SUCCESS (29ms)
Kicking on IRC join should be done for err_needreggednick
==========================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/kicking.spec.js:182:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:20 ERROR:BridgedClient Could not try to join: no client for ro_bot_nick, channel = #foobar
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_bob to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_bob to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:20 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:20 ERROR:IrcBridge
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:20 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:20 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:20 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:20 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:20 INFO:MemberListSyncer irc.example shouldn't sync initial memberships to irc.
2018-04-26 17:58:20 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:20 INFO:Provisioner Provisioning started
2018-04-26 17:58:20 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:20 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Created new bot client for irc.example : 3kq2vboz8mg00 (bot enabled=true)
2018-04-26 17:58:20 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:20 INFO:BridgedClient <ro_bot_nick@irc.example#3kq2vboz8mg00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#3kq2vboz8mg00> connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#3kq2vboz8mg00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-flibble to call function 'join'
2018-04-26 17:58:20 INFO:req [3rmslnp8uls00] [M->I] onJoin: {"content":{"membership":"join"},"user_id":"@flibble:wibble","state_key":"@flibble:wibble","room_id":"!foo:bar","type":"m.room.member"}
2018-04-26 17:58:20 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#3kq2vboz8mg00> Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_ro_bot_nick","join",{"addr)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.join([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#3kq2vboz8mg00> Joined channel #coffee
2018-04-26 17:58:20 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:20 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:20 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 ERROR:client-connection Server: irc.example (M-flibble) Error: {"command":"err_needreggednick","args":["#coffee"]}
2018-04-26 17:58:20 ERROR:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) Join channel #coffee : {"command":"err_needreggednick","args":["#coffee"]}
2018-04-26 17:58:20 ERROR:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) Cannot track channel #coffee: err_needreggednick
2018-04-26 17:58:20 INFO:ClientPool Kicking @flibble:wibble from room due to err_needreggednick
2018-04-26 17:58:20 INFO:req [f60d8f00b5k00] [I->M] M-flibble@irc.example#bd0hme0cjwg00~@flibble:wibble : Sending metadata 'Could not join #coffee on 'irc.example': err_needreggednick'
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#bd0hme0cjwg00> (@flibble:wibble) Joined channel #coffee
2018-04-26 17:58:20 INFO:IrcBridge [3rmslnp8uls00] [M->I] FAILED (9ms)
2018-04-26 17:58:20 INFO:main Killing bridge
2018-04-26 17:58:20 INFO:IrcBridge Killing all clients
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:req [f60d8f00b5k00] [I->M] Creating an admin room with @flibble:wibble
.2018-04-26 17:58:20 INFO:IrcBridge [f60d8f00b5k00] [I->M] FAILED (4ms)
Matrix-to-IRC message bridging should bridge matrix messages as IRC text
=========================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/matrix-to-irc.spec.js:28:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5526:13)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.onComplete (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5529:17)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:20 ERROR:BridgedClient Could not try to join: no client for ro_bot_nick, channel = #foobar
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:20 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:20 ERROR:IrcBridge
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:20 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:20 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:20 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:20 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:20 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:20 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:20 INFO:Provisioner Provisioning started
2018-04-26 17:58:20 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:20 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Created new bot client for irc.example : jrisd1yxwxo00 (bot enabled=true)
2018-04-26 17:58:20 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:20 INFO:BridgedClient <ro_bot_nick@irc.example#jrisd1yxwxo00> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#jrisd1yxwxo00> connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#jrisd1yxwxo00> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-flibble to call function 'say'
2018-04-26 17:58:20 INFO:req [i879o3hp8m800] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=Here is some test te
2018-04-26 17:58:20 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:20 INFO:req [i879o3hp8m800] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:20 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:20 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3fs0kydoyqy00> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
TEST: Invoking test callback for user irc.example_M-flibble : client.say([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 INFO:main Killing bridge
2018-04-26 17:58:20 INFO:IrcBridge Killing all clients
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:IrcBridge [i879o3hp8m800] [M->I] SUCCESS (8ms)
.Matrix-to-IRC message bridging should bridge formatted matrix messages as formatted IRC text
=============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/matrix-to-irc.spec.js:28:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:115:12)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at QueueRunner.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4384:10)
at Spec.queueRunnerFactory (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:964:35)
at Spec.execute (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:563:10)
at UserContext.fn (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:5541:37)
at attempt (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4486:26)
at QueueRunner.run (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4402:20)
at runNext (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4446:20)
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4453:13
at /opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4356:12
at QueueRunner.complete [as onComplete] (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:570:9)
at Immediate.<anonymous> (/opt/matrix-appservice-irc/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4416:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5) code: 'MODULE_NOT_FOUND' }
2018-04-26 17:58:20 ERROR:BridgedClient Could not try to join: no client for ro_bot_nick, channel = #foobar
TEST: Test listening for irc.example_M-flibble to call function 'connect'
TEST: Test listening for irc.example_M-flibble to call function 'join'
TEST: Test listening for irc.example_ro_bot_nick to call function 'connect'
TEST: Test listening for irc.example_ro_bot_nick to call function 'join'
2018-04-26 17:58:20 ERROR:IrcBridge Failed to join channel:: #coffee
2018-04-26 17:58:20 ERROR:IrcBridge
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'matrix_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'remote_id' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'localpart' for store.
2018-04-26 17:58:20 INFO:DataStore Indexes checked on 'user id' for store.
2018-04-26 17:58:20 INFO:DataStore storeRoom (id=!foo:bar, addr=irc.example, chan=#coffee, origin=config)
2018-04-26 17:58:20 INFO:DataStore Indexes checked for ident username for irc.example on users database
2018-04-26 17:58:20 INFO:IrcBridge Joining mapped Matrix rooms...
2018-04-26 17:58:20 INFO:IrcBridge Syncing relevant membership lists...
2018-04-26 17:58:20 INFO:MemberListSyncer irc.example does not have membership list syncing enabled.
2018-04-26 17:58:20 INFO:Provisioner Starting provisioning...
2018-04-26 17:58:20 INFO:Provisioner Provisioning started
2018-04-26 17:58:20 INFO:IrcBridge Connecting to IRC networks...
2018-04-26 17:58:20 DEBUG:ClientPool 0 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Created new bot client for irc.example : 8gje570vmz400 (bot enabled=true)
2018-04-26 17:58:20 INFO:IrcBridge Bot connecting to irc.example (1 channels) => ["#coffee"]
2018-04-26 17:58:20 INFO:BridgedClient <ro_bot_nick@irc.example#8gje570vmz400> Connecting to IRC server irc.example as ro_bot_nick (user=matrixirc)
TEST: Bridge called IRC client.connect(["irc.example_ro_bot_nick","connect",{"a)
TEST: Invoking test callback for user irc.example_ro_bot_nick : client.connect([{"addr":"irc.example","nick":"ro_bot_ni)
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#8gje570vmz400> connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <ro_bot_nick@irc.example#8gje570vmz400> _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Startup complete.
TEST: Test listening for irc.example_M-flibble to call function 'say'
2018-04-26 17:58:20 INFO:req [kcqarqo40zk00] [M->I] m.room.message usr=@flibble:wibble rm=!foo:bar body=I support em, strong
2018-04-26 17:58:20 INFO:PublicitySyncer Bot requesting mode for #coffee on irc.example
TEST: Bridge called IRC client.mode(["irc.example_ro_bot_nick","mode",{"addr)
2018-04-26 17:58:20 INFO:req [kcqarqo40zk00] [M->I] Relaying message in #coffee on irc.example
2018-04-26 17:58:20 DEBUG:IrcBridge Creating virtual irc user with nick M-flibble for @flibble:wibble (display name undefined)
2018-04-26 17:58:20 DEBUG:ClientPool 1 active connections on irc.example
2018-04-26 17:58:20 DEBUG:IdentGenerator Pushing username generation request for @flibble:wibble on irc.example to the queue...
2018-04-26 17:58:20 DEBUG:IdentGenerator Generating username for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:IdentGenerator Generated ident username flibblewib for @flibble:wibble on irc.example
2018-04-26 17:58:20 INFO:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) Connecting to IRC server irc.example as M-flibble (user=flibblewib)
TEST: Bridge called IRC client.connect(["irc.example_M-flibble","connect",{"add)
TEST: Invoking test callback for user irc.example_M-flibble : client.connect([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) connected!
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 INFO:IrcBridge Sending IRC message in #coffee as M-flibble (connected=true)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) _keepAlive; Restarting 172800s idle timeout
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) Joining channel #coffee
TEST: Bridge called IRC client.join(["irc.example_M-flibble","join",{"addr":)
TEST: Invoking test callback for user irc.example_M-flibble : client.join([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 DEBUG:BridgedClient <M-flibble@irc.example#3pj6los9xcq00> (@flibble:wibble) Joined channel #coffee
TEST: Bridge called IRC client.say(["irc.example_M-flibble","say",{"addr":")
TEST: Invoking test callback for user irc.example_M-flibble : client.say([{"addr":"irc.example","nick":"M-flibble)
2018-04-26 17:58:20 INFO:main Killing bridge
2018-04-26 17:58:20 INFO:IrcBridge Killing all clients
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:client-connection disconnect()ing ro_bot_nick@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_ro_bot_nick","disconnect",)
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:client-connection disconnect()ing M-flibble@irc.example - Bridged client killed
TEST: Bridge called IRC client.disconnect(["irc.example_M-flibble","disconnect",{")
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:BridgedClient Killing client M-flibble
2018-04-26 17:58:20 INFO:BridgedClient Killing client ro_bot_nick
2018-04-26 17:58:20 INFO:IrcBridge [kcqarqo40zk00] [M->I] SUCCESS (14ms)
.Matrix-to-IRC message bridging should bridge escaped HTML matrix messages as unescaped HTML
============================================================================================
olm load error { Error: Cannot find module 'olm'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/OlmDevice.js:23:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/crypto/index.js:27:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/client.js:46:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/lib/matrix.js:32:31)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-js-sdk/index.js:1:78)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:153:36)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/intent.js:4:19)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/exports.js:4:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/node_modules/matrix-appservice-bridge/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Proxyquire._require (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:166:19)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/matrix-appservice-irc/lib/main.js:6:30)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:276:43)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at Proxyquire._withoutCache (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:179:12)
at Proxyquire.load (/opt/matrix-appservice-irc/node_modules/proxyquire/lib/proxyquire.js:136:15)
at Object.<anonymous> (/opt/matrix-appservice-irc/spec/util/test.js:79:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:97:49)
at Object.beforeEach (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/generators.js:201:15)
at UserContext.<anonymous> (/opt/matrix-appservice-irc/spec/integ/matrix-to-irc.spec.js:28:20)
at Generator.next (<anonymous>)
at Generator.tryCatcher (/opt/matrix-appservice-irc/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/opt/matrix-appservice-irc/node_modules/bluebird/js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment