Unexpected I/O


*** System report during websockets_SUITE:init_per_suite/1 2023-11-13 19:13:16.336 ***
=WARNING REPORT==== 13-Nov-2023::19:13:16.336388 ===
====== starting websockets_SUITE suite


*** System report during websockets_SUITE:metrics_test/1 2023-11-13 19:13:16.487 ***
=ERROR REPORT==== 13-Nov-2023::19:13:16.486943 ===
** State machine <0.94102.0> terminating
** Last event = {cast,{ws_send,<0.94101.0>,
                               #Ref<0.2400829452.1124335617.10535>,close}}
** When server state  = {connected,
                            {state,<0.94101.0>,
                                {up,#Ref<0.2400829452.1124335617.10530>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.10748>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.10748>,gun_tcp,#{},
                                    '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,1377}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]



*** System report during websockets_SUITE:metrics_test/1 2023-11-13 19:13:16.487 ***
=CRASH REPORT==== 13-Nov-2023::19:13:16.487603 ===
  crasher:
    initial call: gun:init/1
    pid: <0.94102.0>
    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 1377)
    ancestors: [gun_conns_sup,gun_sup,<0.1460.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.2400829452.1124335617.10530>,process,
                          <0.94101.0>,normal}]
    links: [<0.1462.0>,#Port<0.10748>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 17757
  neighbours:



*** System report during websockets_SUITE:metrics_test/1 2023-11-13 19:13:16.488 ***
=SUPERVISOR REPORT==== 13-Nov-2023::19:13:16.488085 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,#Port<0.10748>,gun_tcp,#{},'HTTP/1.1',
                          keepalive,<<>>,undefined,[],head,
                          {0,0},
                          head},
                      #Ref<0.2400829452.1124335617.10535>,<0.94101.0>,
                      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,1377}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,241}]}]}
    offender: [{pid,<0.94102.0>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {significant,false},
               {shutdown,5000},
               {child_type,worker}]



*** System report during websockets_SUITE:end_per_suite/1 2023-11-13 19:13:17.488 ***
=WARNING REPORT==== 13-Nov-2023::19:13:17.488602 ===
====== finishing websockets_SUITE suite




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