Skip to content

socket-0.8.3.0 test failure #7973

@alexeyzab

Description

@alexeyzab
.Socket
    accept
      Inet/Stream/TCP
        cancel operation:                                        OK (1.00s)
    connect
      Inet/Stream/TCP
        connect to closed port on inetLoopback:                  OK
        connect to closed port on inetNone:                      OK
        connect to open socket on localhost:                     OK
        connect closed socket:                                   OK
        connect already connected socket:                        OK
    listen
      Inet/Datagram/UDP
        listen on bound socket:                                  OK
      Inet/Stream/TCP
        listen on bound socket:                                  OK
    send/receive
      Inet/Stream/TCP
        send and receive a chunk:                                OK
        recv empty bytestring when peer disconnected gracefully: OK
        trigger ePipe exception:                                 OK (2.01s)
      Inet/Datagram/UDP
        send and receive a datagram:                             OK (1.01s)
    sendAll/receiveAll
      Inet/Stream/TCP
        sendAll and receiveAll a 128MB chunk:                    OK (0.79s)
        sendAllLazy and receiveAll a 128MB chunk:                OK (0.53s)
        sendAllBuilder and receiveAll a 128MB chunk:             OK (0.67s)
    setSocketOption
      V6Only
        present:                                                 OK (2.01s)
        absent:                                                  OK (1.01s)
    getAddress
      getAddress after bind:                                     OK
    getAddrInfo
      getAddrInfo "127.0.0.1" "80":                              OK
      getAddrInfo "" "":                                         OK
  System.Socket.Inet
    System.Socket.Family.Inet
      inetAddressFromTuple (127,0,0,1) == inetLoopback:          OK
      inetAddressToTuple (inetAddressFromTuple x) == x:          OK
        +++ OK, passed 100 tests.
    System.Socket.Family.Inet6
      inet6AddressFromTuple (0,0,0,0,0,0,0,1) == inet6Loopback:  OK
      inet6AddressToTuple (inet6AddressFromTuple x) == x:        OK
        +++ OK, passed 100 tests.

All 24 tests passed (9.03s)
.Socket
    accept
      Inet/Stream/TCP
        cancel operation:                                        FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/cancel operation/' to rerun this test only.
    connect
      Inet/Stream/TCP
        connect to closed port on inetLoopback:                  FAIL
          test/test.hs:91:
          connection should have failed
          Use -p '/connect to closed port on inetLoopback/' to rerun this test only.
        connect to closed port on inetNone:                      OK
        connect to open socket on localhost:                     FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/connect to open socket on localhost/' to rerun this test only.
        connect closed socket:                                   FAIL
          test/test.hs:139:
          expected eBadFileDescriptor
          Use -p '/connect closed socket/' to rerun this test only.
        connect already connected socket:                        FAIL
          test/test.hs:159:
          expected eIsConnected
          Use -p '/connect already connected socket/' to rerun this test only.
    listen
      Inet/Datagram/UDP
        listen on bound socket:                                  OK
      Inet/Stream/TCP
        listen on bound socket:                                  FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/Inet\/Stream\/TCP.listen on bound socket/' to rerun this test only.
    send/receive
      Inet/Stream/TCP
        send and receive a chunk:                                FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/send and receive a chunk/' to rerun this test only.
        recv empty bytestring when peer disconnected gracefully: FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/recv empty bytestring when peer disconnected gracefully/' to rerun this test only.
        trigger ePipe exception:                                 FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/trigger ePipe exception/' to rerun this test only.
      Inet/Datagram/UDP
        send and receive a datagram:                             FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/send and receive a datagram/' to rerun this test only.
    sendAll/receiveAll
      Inet/Stream/TCP
        sendAll and receiveAll a 128MB chunk:                    FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/sendAll and receiveAll a 128MB chunk/' to rerun this test only.
        sendAllLazy and receiveAll a 128MB chunk:                FAIL
          Exception: eAddressInUse
          
          HasCallStack backtrace:
            throwIO, called at src/System/Socket.hsc:269:58 in socket-0.8.3.0-4HRqFv0QZsQ2AY3gZSdkwp:System.Socket
          
          Use -p '/sendAllLazy and receiveAll a 128MB chunk/' to rerun this test only.
        sendAllBuilder and receiveAll a 128MB chunk:             threaded: Uncaught exception tasty-1.5.4-Kfl7PU027dS8hQ3pGH08Ih:Test.Tasty.Runners.Utils.SignalException:

SignalException 15

cc @sternenseemann

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions