Unexpected I/O


*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-05-25 10:50:53.551 ***
=ERROR REPORT==== 25-May-2022::10:50:53.551175 ===
** State machine <0.27453.2> terminating
** Last event = {cast,{ws_send,<0.27452.2>,#Ref<0.473766048.3877109762.52841>,
                               close}}
** When server state  = {connected,
                         {state,<0.27452.2>,
                          {up,#Ref<0.473766048.3877109762.52830>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.8485>,tls_connection,undefined},
                           [<0.27476.2>,<0.27475.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.8485>,tls_connection,undefined},
                            [<0.27476.2>,<0.27475.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,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-05-25 10:50:53.551 ***
=CRASH REPORT==== 25-May-2022::10:50:53.551633 ===
  crasher:
    initial call: gun:init/1
    pid: <0.27453.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 1194)
    ancestors: [gun_conns_sup,gun_sup,<0.1362.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.473766048.3877109762.52830>,process,
                          <0.27452.2>,normal}]
    links: [<0.1364.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 17731
    stack_size: 29
    reductions: 53435
  neighbours:



*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-05-25 10:50:53.552 ***
=SUPERVISOR REPORT==== 25-May-2022::10:50:53.552027 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.8485>,tls_connection,undefined},
                              [<0.27476.2>,<0.27475.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.473766048.3877109762.52841>,<0.27452.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,1194}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.27453.2>},
               {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-05-25 10:50:53.628 ***
=ERROR REPORT==== 25-May-2022::10:50:53.628561 ===
** State machine <0.27495.2> terminating
** Last event = {cast,{ws_send,<0.27494.2>,
                               #Ref<0.473766048.3877634049.244622>,close}}
** When server state  = {connected,
                         {state,<0.27494.2>,
                          {up,#Ref<0.473766048.3877634049.244607>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.8490>,tls_connection,undefined},
                           [<0.27518.2>,<0.27517.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.8490>,tls_connection,undefined},
                            [<0.27518.2>,<0.27517.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,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-05-25 10:50:53.629 ***
=CRASH REPORT==== 25-May-2022::10:50:53.629002 ===
  crasher:
    initial call: gun:init/1
    pid: <0.27495.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 1194)
    ancestors: [gun_conns_sup,gun_sup,<0.1362.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.473766048.3877634049.244607>,process,
                          <0.27494.2>,normal}]
    links: [<0.1364.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 17731
    stack_size: 29
    reductions: 53451
  neighbours:



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-05-25 10:50:53.629 ***
=SUPERVISOR REPORT==== 25-May-2022::10:50:53.629311 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.8490>,tls_connection,undefined},
                              [<0.27518.2>,<0.27517.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.473766048.3877634049.244622>,<0.27494.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,1194}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.27495.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-05-25 10:50:53.705 ***
=ERROR REPORT==== 25-May-2022::10:50:53.705484 ===
** State machine <0.27537.2> terminating
** Last event = {cast,{ws_send,<0.27536.2>,#Ref<0.473766048.3877109762.54184>,
                               close}}
** When server state  = {connected,
                         {state,<0.27536.2>,
                          {up,#Ref<0.473766048.3877109762.54168>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.8495>,tls_connection,undefined},
                           [<0.27560.2>,<0.27559.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.8495>,tls_connection,undefined},
                            [<0.27560.2>,<0.27559.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,1194}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-05-25 10:50:53.706 ***
=CRASH REPORT==== 25-May-2022::10:50:53.705949 ===
  crasher:
    initial call: gun:init/1
    pid: <0.27537.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 1194)
    ancestors: [gun_conns_sup,gun_sup,<0.1362.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.473766048.3877109762.54168>,process,
                          <0.27536.2>,normal}]
    links: [<0.1364.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 17731
    stack_size: 29
    reductions: 53510
  neighbours:



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-05-25 10:50:53.706 ***
=SUPERVISOR REPORT==== 25-May-2022::10:50:53.706294 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.8495>,tls_connection,undefined},
                              [<0.27560.2>,<0.27559.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.473766048.3877109762.54184>,<0.27536.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,1194}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.27537.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