tpokorra / KolabScripts

some scripts useful for Kolab3 and higher, written by TBits.net, including patches already submitted to Kolab Bugzilla
14 stars 13 forks source link

Winterfell, vanilla test just hangs because of guam #66

Open tpokorra opened 8 years ago

tpokorra commented 8 years ago

running kolab sync in debug mode shows:

LANG=C kolab -d 9 sync 2>&1 | tee kolab-sync.log
2016-06-14 07:36:59,844 pykolab.imap WARNING Could not connect to Cyrus IMAP server 'imaps://localhost:993'
every 10 seconds
tpokorra commented 8 years ago

actually, the reason is that guam is not happy.

journalctl -u guam shows many errors like this:

Jun 14 07:51:21 050-centos7winterfell.kolab.pokorra.de guam[2331]: 07:51:20.473 [error] Supervisor {<0.93.0>,kolab_guam_listener} had child undefined started with {kolab_guam_session,start_link,undefined} at <0.1517.0> exit with reason bad argument in call to binary:match([{capabilities,<<"IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR">>},{server_id,<<"050...">>}], <<"STARTTLS">>) in kolab_guam_session:ensure_hello_does_not_have_starttls/1 line 307 in context child_terminated
Jun 14 07:51:27 050-centos7winterfell.kolab.pokorra.de guam[2331]: 07:51:27.045 [error] gen_server <0.1521.0> terminated with reason: bad argument in call to binary:match([{capabilities,<<"IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR">>},{server_id,<<"050...">>}], <<"STARTTLS">>) in kolab_guam_session:ensure_hello_does_not_have_starttls/1 line 307
Jun 14 07:51:27 050-centos7winterfell.kolab.pokorra.de guam[2331]: 07:51:27.046 [error] CRASH REPORT Process <0.1521.0> with 1 neighbours exited with reason: bad argument in call to binary:match([{capabilities,<<"IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR">>},{server_id,<<"050...">>}], <<"STARTTLS">>) in kolab_guam_session:ensure_hello_does_not_have_starttls/1 line 307

Should I add a separate test for guam?

tpokorra commented 8 years ago

I reported this as a bug: https://git.kolab.org/T1305

tpokorra commented 8 years ago

see https://github.com/TBits/KolabScripts/commit/4170c16a562ef03637adb0ffa19b132356932c4f disableGuam.sh