[erlang-bugs] common_test + test_server_io errors

Tim Watson watson.timothy@REDACTED
Wed Jun 26 18:01:22 CEST 2013


I'm seeing some weird errors in my common_test suites since upgrading to R16B01 - I'd like to know if this is a bug or if my code is doing something wrong...

ct_util_server got EXIT from <0.227.0>: {noproc,
                                        {gen_server,call,
                                         [test_server_io,
                                          {print,xxxFrom,unexpected_io,
                                           [[[["<div class=\"default\"><b>*** User 2013-06-26 16:47:39.122 ***</b>"],
                                              "\n",
                                              [91,102,114,97,109,101,119,111,
                                               114,107,93,32,119,97,116,99,
                                               104,100,111,103,58,32,110,111,
                                               32,112,114,111,99,115,32,116,
                                               111,32,107,105,108,108,"\n"]],
                                             "\n","</div>"]]},
                                          infinity]}}

That message originated in these lines of code, running in a process started outside of common_test:

log(framework, "watchdog: no procs to kill~n", []);

which calls another module:

log(Scope, Fmt, Args) ->
   gen_event:sync_notify(systest_event_log, {Scope, Fmt, Args}).

which ends up in the following handler (amongst other places):

write_log(EvId, _Fd, What, Args) ->
   ct:log("[" ++ as_string(EvId) ++ "] " ++ as_string(What), Args).

So what's up with the "unexpected_io" error here, and *why* has this brought the whole common_test run down?

Thanks,

Tim



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130626/41e48dcd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130626/41e48dcd/attachment.bin>


More information about the erlang-bugs mailing list