UnknownServer - Case 2.10 : Fail - 4009 ms @ 2021-02-12T11:13:54.160Z
Case Description
Send 10 Pings with payload.
Case Expectation
Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.
Case Outcome
Actual events differ from any expected.
Expected:
{'OK': [('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}
Observed:
[('message', u'payload-0', False), ('message', u'payload-1', False), ('message', u'payload-2', False), ('message', u'payload-3', False), ('message', u'payload-4', False), ('message', u'payload-5', False), ('message', u'payload-6', False), ('message', u'payload-7', False), ('message', u'payload-8', False), ('message', u'payload-9', False)]
Case Closing Behavior
The spec requires the connection to be failed cleanly here (UNCLEAN)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.0-0.10.9 Host: 127.0.0.1:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: sZVhGkKjBrMSmDLKYVjb5g== Sec-WebSocket-Version: 13
HTTP/1.1 101 WebSocket Protocol Handshake Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: PdIqGFtDBCrDgHP+vdFrkpcMwEo=
| Key | Value | Description |
| isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
| closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
| failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
| droppedByMe | True | True, iff I dropped the TCP connection. |
| wasClean | False | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
| wasNotCleanReason | peer did not respond (in time) in closing handshake | When wasClean == False, the reason what happened. |
| wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
| wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
| wasCloseHandshakeTimeout | True | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
| localCloseCode | None | The close code I sent in close frame (if any). |
| localCloseReason | None | The close reason I sent in close frame (if any). |
| remoteCloseCode | None | The close code the peer sent me in close frame (if any). |
| remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
| Chop Size | Count | Octets |
| 11 | 1 | 11 |
| 99 | 1 | 99 |
| 138 | 1 | 138 |
| Total | 3 | 248 |
| Chop Size | Count | Octets |
| 6 | 1 | 6 |
| 15 | 10 | 150 |
| 240 | 1 | 240 |
| Total | 12 | 396 |
| Opcode | Count |
| 1 | 10 |
| Total | 10 |
| Opcode | Count |
| 8 | 1 |
| 9 | 10 |
| Total | 11 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120576562536f636b65742050726f746f636f6c2048616e647368616b650d0a55706772616465
3a20576562536f636b65740d0a43 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=5fc14da1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-0
003 TX OCTETS: 89895fc14da12fa034cd30a0298c6f
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=6b39c152, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-1
005 TX OCTETS: 89896b39c1521b58b83e0458a57f5a
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=8f31c8e0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-2
007 TX OCTETS: 89898f31c8e0ff50b18ce050accdbd
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=26174775, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-3
009 TX OCTETS: 89892617477556763e194976235815
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=51fd6e70, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-4
011 TX OCTETS: 898951fd6e70219c171c3e9c0a5d65
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=805dc29c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-5
013 TX OCTETS: 8989805dc29cf03cbbf0ef3ca6b1b5
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b74dd1d2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-6
015 TX OCTETS: 8989b74dd1d2c72ca8bed82cb5ff81
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=c7907678, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-7
017 TX OCTETS: 8989c7907678b7f10f14a8f11255f0
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=d091ad36, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-8
019 TX OCTETS: 8989d091ad36a0f0d45abff0c91be8
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=a0b403a0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-9
021 TX OCTETS: 8989a0b403a0d0d57acccfd5678d99
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 81097061796c6f61642d30
024 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-0
025 RX OCTETS: 81097061796c6f61642d3181097061796c6f61642d3281097061796c6f61642d3381097061796c6f61642d3481097061796c
6f61642d3581097061796c6f6164 ...
026 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-1
027 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-2
028 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-3
029 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-4
030 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-5
031 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-6
032 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-7
033 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-8
034 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
payload-9
035 CLOSING CONNECTION
036 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=1f4bd032, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
037 TX OCTETS: 88801f4bd032
038 TCP DROPPED BY ME