Unexpected I/O


*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-03-18 11:02:09.356 ***
=ERROR REPORT==== 18-Mar-2022::11:02:09.356778 ===
** State machine <0.24852.1> terminating
** Last event = {cast,{ws_send,<0.24851.1>,
                               #Ref<0.3071861660.1588592641.23318>,close}}
** When server state  = {connected,
                         {state,<0.24851.1>,
                          {up,#Ref<0.3071861660.1588592641.23300>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.5576>,tls_connection,undefined},
                           [<0.24875.1>,<0.24874.1>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.5576>,tls_connection,undefined},
                            [<0.24875.1>,<0.24874.1>]},
                           gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                           head,
                           {0,0},
                           head},
                          undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1194}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]



*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-03-18 11:02:09.357 ***
=CRASH REPORT==== 18-Mar-2022::11:02:09.357252 ===
  crasher:
    initial call: gun:init/1
    pid: <0.24852.1>
    registered_name: []
    exception error: undefined function gun_http:ws_send/6
      in function  gun:connected/3 (/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl, line 1301)
      in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1194)
    ancestors: [gun_conns_sup,gun_sup,<0.1316.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3071861660.1588592641.23300>,process,
                          <0.24851.1>,normal}]
    links: [<0.1318.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 10958
    stack_size: 29
    reductions: 53298
  neighbours:



*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-03-18 11:02:09.357 ***
=SUPERVISOR REPORT==== 18-Mar-2022::11:02:09.357604 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.5576>,tls_connection,undefined},
                              [<0.24875.1>,<0.24874.1>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3071861660.1588592641.23318>,<0.24851.1>,
                      gun_default_event_h,undefined],
                     []},
                 {gun,connected,3,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
                      {line,1301}]},
                 {gen_statem,loop_state_callback,11,
                     [{file,"gen_statem.erl"},{line,1194}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.24852.1>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {significant,false},
               {shutdown,5000},
               {child_type,worker}]



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-03-18 11:02:09.441 ***
=ERROR REPORT==== 18-Mar-2022::11:02:09.441704 ===
** State machine <0.24894.1> terminating
** Last event = {cast,{ws_send,<0.24893.1>,
                               #Ref<0.3071861660.1588592641.24119>,close}}
** When server state  = {connected,
                         {state,<0.24893.1>,
                          {up,#Ref<0.3071861660.1588592641.24103>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.5581>,tls_connection,undefined},
                           [<0.24917.1>,<0.24916.1>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.5581>,tls_connection,undefined},
                            [<0.24917.1>,<0.24916.1>]},
                           gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                           head,
                           {0,0},
                           head},
                          undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1194}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-03-18 11:02:09.442 ***
=CRASH REPORT==== 18-Mar-2022::11:02:09.442221 ===
  crasher:
    initial call: gun:init/1
    pid: <0.24894.1>
    registered_name: []
    exception error: undefined function gun_http:ws_send/6
      in function  gun:connected/3 (/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl, line 1301)
      in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1194)
    ancestors: [gun_conns_sup,gun_sup,<0.1316.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3071861660.1588592641.24103>,process,
                          <0.24893.1>,normal}]
    links: [<0.1318.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 10958
    stack_size: 29
    reductions: 53382
  neighbours:



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-03-18 11:02:09.442 ***
=SUPERVISOR REPORT==== 18-Mar-2022::11:02:09.442619 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.5581>,tls_connection,undefined},
                              [<0.24917.1>,<0.24916.1>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3071861660.1588592641.24119>,<0.24893.1>,
                      gun_default_event_h,undefined],
                     []},
                 {gun,connected,3,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
                      {line,1301}]},
                 {gen_statem,loop_state_callback,11,
                     [{file,"gen_statem.erl"},{line,1194}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.24894.1>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {significant,false},
               {shutdown,5000},
               {child_type,worker}]





Test run history | Top level test index | Latest test result