Unexpected I/O


*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-04-05 08:01:06.892 ***
=ERROR REPORT==== 5-Apr-2022::08:01:06.892115 ===
** State machine <0.29995.1> terminating
** Last event = {cast,{ws_send,<0.29994.1>,
                               #Ref<0.3096189047.4233625603.206741>,close}}
** When server state  = {connected,
                         {state,<0.29994.1>,
                          {up,#Ref<0.3096189047.4233625603.206732>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.6038>,tls_connection,undefined},
                           [<0.30018.1>,<0.30017.1>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.6038>,tls_connection,undefined},
                            [<0.30018.1>,<0.30017.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-04-05 08:01:06.893 ***
=CRASH REPORT==== 5-Apr-2022::08:01:06.893005 ===
  crasher:
    initial call: gun:init/1
    pid: <0.29995.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.1330.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3096189047.4233625603.206732>,process,
                          <0.29994.1>,normal}]
    links: [<0.1332.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 10958
    stack_size: 29
    reductions: 52877
  neighbours:



*** System report during websockets_SUITE:chat_msg/1 in wss_chat 2022-04-05 08:01:06.893 ***
=SUPERVISOR REPORT==== 5-Apr-2022::08:01:06.893611 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.6038>,tls_connection,undefined},
                              [<0.30018.1>,<0.30017.1>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3096189047.4233625603.206741>,<0.29994.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.29995.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-04-05 08:01:07.008 ***
=ERROR REPORT==== 5-Apr-2022::08:01:07.007849 ===
** State machine <0.30037.1> terminating
** Last event = {cast,{ws_send,<0.30036.1>,
                               #Ref<0.3096189047.4233625603.207478>,close}}
** When server state  = {connected,
                         {state,<0.30036.1>,
                          {up,#Ref<0.3096189047.4234412033.232742>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.6043>,tls_connection,undefined},
                           [<0.30060.1>,<0.30059.1>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.6043>,tls_connection,undefined},
                            [<0.30060.1>,<0.30059.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-04-05 08:01:07.009 ***
=CRASH REPORT==== 5-Apr-2022::08:01:07.008799 ===
  crasher:
    initial call: gun:init/1
    pid: <0.30037.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.1330.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3096189047.4234412033.232742>,process,
                          <0.30036.1>,normal}]
    links: [<0.1332.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 6772
    stack_size: 29
    reductions: 52316
  neighbours:



*** System report during websockets_SUITE:escape_chat_msg/1 in wss_chat 2022-04-05 08:01:07.009 ***
=SUPERVISOR REPORT==== 5-Apr-2022::08:01:07.009324 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.6043>,tls_connection,undefined},
                              [<0.30060.1>,<0.30059.1>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3096189047.4233625603.207478>,<0.30036.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.30037.1>},
               {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-04-05 08:01:07.134 ***
=ERROR REPORT==== 5-Apr-2022::08:01:07.134525 ===
** State machine <0.30079.1> terminating
** Last event = {cast,{ws_send,<0.30078.1>,
                               #Ref<0.3096189047.4233887746.152975>,close}}
** When server state  = {connected,
                         {state,<0.30078.1>,
                          {up,#Ref<0.3096189047.4233887746.152956>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts => [],transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.6048>,tls_connection,undefined},
                           [<0.30102.1>,<0.30101.1>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.6048>,tls_connection,undefined},
                            [<0.30102.1>,<0.30101.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_attrs/1 in wss_chat 2022-04-05 08:01:07.135 ***
=CRASH REPORT==== 5-Apr-2022::08:01:07.135333 ===
  crasher:
    initial call: gun:init/1
    pid: <0.30079.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.1330.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3096189047.4233887746.152956>,process,
                          <0.30078.1>,normal}]
    links: [<0.1332.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 6772
    stack_size: 29
    reductions: 52582
  neighbours:



*** System report during websockets_SUITE:escape_attrs/1 in wss_chat 2022-04-05 08:01:07.136 ***
=SUPERVISOR REPORT==== 5-Apr-2022::08:01:07.135968 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.6048>,tls_connection,undefined},
                              [<0.30102.1>,<0.30101.1>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3096189047.4233887746.152975>,<0.30078.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.30079.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