Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-3440

[flaky] [amqp netlite] Cannot access a disposed object. Object name: 'System.Net.Sockets.Socket'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 2.11.0.GA
    • amqp-dotnet-client
    • None
    • False
    • None
    • False

      [13:16:19] [PASS] dtestlib.Test :: [root@10.0.201.20]$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=46668 -DC_KILLTIME=240 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  cli-rhea-receiver  --timeout 120 --broker 10.0.201.20:5672 --address 'examples' --log-msgs interop --count 1 --recv-listen true # ecode:0 (exp. True), dur.:2.55 
      

      https://github.com/rh-messaging/cli-netlite/blob/37e1193e5d0d03223a8c54cbae551659d7033b10/src/dotNet/ClientLib/CoreClient.cs#L148

      [13:16:21] [FAIL] dtestlib.Test :: [root@10.0.201.20]$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=46668 -DC_KILLTIME=200 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  dotnet /var/dtests/node_data/clients/cli-netlite-core/cli-netlite-core-sender.dll  --log-msgs interop --broker 10.0.201.20:5672 --address "examples" --count 1 --msg-content "This is P2P messaging text message" # ecode:1 (exp. 0), dur.:0.55 err_cnt:1
      [13:16:21] [INFO] dtestlib.Test :: stdout:
        {"durable": False, "ttl": 0, "delivery-count": 0, "priority": 4, "first-acquirer": False, "id": None, "to": None, "address": None, "reply-to": None, "subject": None, "creation-time": 0, "absolute-expiry-time": 0, "content-encoding": None, "content-type": "string", "correlation-id": None, "user-id": None, "group-id": None, "group-sequence": 0, "reply-to-group-id": None, "content": "This is P2P messaging text message", "properties": None}
      [13:16:21] [INFO] dtestlib.Test :: stderr:
           at System.Net.Sockets.Socket.ThrowObjectDisposedException()
           at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
           at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
           at Amqp.TcpTransport.TcpSocket.Amqp.ITransport.Send(ByteBuffer buffer)
           at Amqp.TcpTransport.Amqp.ITransport.Send(ByteBuffer buffer)
           at Amqp.Connection.Writer.Amqp.ITransport.Send(ByteBuffer buffer)
           at Amqp.Connection.SendCommand(UInt16 channel, DescribedList command)
           at Amqp.Session.SendEnd()
           at Amqp.Session.OnClose(Error error)
           at Amqp.AmqpObject.CloseInternal(Int32 waitMilliseconds, Error error)
           at Amqp.AmqpObject.Close()
           at ClientLib.CoreClient.CloseSession()
           at ClientLib.CoreClient.CloseConnection()
           at ClientLib.SenderClient.Run(String[] args)
        ERROR: {'cause': 'Cannot access a disposed object.
        Object name: 'System.Net.Sockets.Socket'.'}
      

              rhn-support-tbish Tim Bish
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: