Unexpected I/O


*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-06-22 09:30:55.895 ***
=ERROR REPORT==== 22-Jun-2022::09:30:55.895364 ===
** State machine <0.2344.2> terminating
** Last event = {cast,{ws_send,<0.2343.2>,
                               #Ref<0.3883521081.3670802434.167762>,close}}
** When server state  = {connected,
                         {state,<0.2343.2>,
                          {up,#Ref<0.3883521081.3670802434.167746>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.6519>,tls_connection,undefined},
                           [<0.2368.2>,<0.2367.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.6519>,tls_connection,undefined},
                            [<0.2368.2>,<0.2367.2>]},
                           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,1419}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-06-22 09:30:55.896 ***
=CRASH REPORT==== 22-Jun-2022::09:30:55.896085 ===
  crasher:
    initial call: gun:init/1
    pid: <0.2344.2>
    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 1419)
    ancestors: [gun_conns_sup,gun_sup,<0.1391.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3883521081.3670802434.167746>,process,
                          <0.2343.2>,normal}]
    links: [<0.1393.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 61423
  neighbours:



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-06-22 09:30:55.896 ***
=SUPERVISOR REPORT==== 22-Jun-2022::09:30:55.896516 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.6519>,tls_connection,undefined},
                              [<0.2368.2>,<0.2367.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3883521081.3670802434.167762>,<0.2343.2>,
                      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,1419}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,240}]}]}
    offender: [{pid,<0.2344.2>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {significant,false},
               {shutdown,5000},
               {child_type,worker}]



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-06-22 09:30:55.972 ***
=ERROR REPORT==== 22-Jun-2022::09:30:55.972715 ===
** State machine <0.2385.2> terminating
** Last event = {cast,{ws_send,<0.2384.2>,#Ref<0.3883521081.3671588865.86632>,
                               close}}
** When server state  = {connected,
                         {state,<0.2384.2>,
                          {up,#Ref<0.3883521081.3671588865.86615>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.6524>,tls_connection,undefined},
                           [<0.2409.2>,<0.2408.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.6524>,tls_connection,undefined},
                            [<0.2409.2>,<0.2408.2>]},
                           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,1419}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-06-22 09:30:55.973 ***
=CRASH REPORT==== 22-Jun-2022::09:30:55.973166 ===
  crasher:
    initial call: gun:init/1
    pid: <0.2385.2>
    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 1419)
    ancestors: [gun_conns_sup,gun_sup,<0.1391.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3883521081.3671588865.86615>,process,
                          <0.2384.2>,normal}]
    links: [<0.1393.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 28
    reductions: 61166
  neighbours:



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-06-22 09:30:55.973 ***
=SUPERVISOR REPORT==== 22-Jun-2022::09:30:55.973537 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.6524>,tls_connection,undefined},
                              [<0.2409.2>,<0.2408.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3883521081.3671588865.86632>,<0.2384.2>,
                      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,1419}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,240}]}]}
    offender: [{pid,<0.2385.2>},
               {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