https://bugzilla.redhat.com/show_bug.cgi?id=1876460
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppisar(a)redhat.com
--- Comment #5 from Petr Pisar <ppisar(a)redhat.com> ---
I corrected reading to the expected sizes (6 and 2 bytes), added some debugging
and it's like I said. (CLIENT debugging is not serialized to SERVER debugging):
$ perl -Iblib/{lib,arch} t/64_pending_events_destroyed.t
1..6
# Running under perl version 5.032000 for linux
# Current time local: Tue Sep 15 13:09:52 2020
# Current time GMT: Tue Sep 15 11:09:52 2020
# Using Test.pm version 1.31
CLIENT 1:1 wrote 6 B at t/64_pending_events_destroyed.t line 39.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 1:1 read B at t/64_pending_events_destroyed.t line 41.
CLIENT 1:2 wrote 6 B at t/64_pending_events_destroyed.t line 39.
SERVER accepted. at t/64_pending_events_destroyed.t line 74.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 1:2 read B at t/64_pending_events_destroyed.t line 41.
CLIENT 1:3 wrote 6 B at t/64_pending_events_destroyed.t line 39.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 1:3 read B at t/64_pending_events_destroyed.t line 41.
Use of uninitialized value $ok in concatenation (.) or string at
t/64_pending_events_destroyed.t line 88.
SERVER read 6 B at t/64_pending_events_destroyed.t line 88.
CLIENT 1 closed at t/64_pending_events_destroyed.t line 44.
ok 1
SERVER 1 wrote an error: Broken pipe at t/64_pending_events_destroyed.t line
109.
CLIENT 2:1 wrote 6 B at t/64_pending_events_destroyed.t line 39.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 2:1 read B at t/64_pending_events_destroyed.t line 41.
CLIENT 2:2 wrote 6 B at t/64_pending_events_destroyed.t line 39.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 2:2 read B at t/64_pending_events_destroyed.t line 41.
SERVER accepted. at t/64_pending_events_destroyed.t line 74.
CLIENT 2:3 wrote 6 B at t/64_pending_events_destroyed.t line 39.
Use of uninitialized value $read in concatenation (.) or string at
t/64_pending_events_destroyed.t line 41.
CLIENT 2:3 read B at t/64_pending_events_destroyed.t line 41.
CLIENT 2 closed at t/64_pending_events_destroyed.t line 44.
SERVER 1 read 6 B at t/64_pending_events_destroyed.t line 88.
ok 2
SERVER 2 wrote an error: Broken pipe at t/64_pending_events_destroyed.t line
109.
^C
The client sends all data, reads nothing (because of non-blocking), and closes
the connection. Then server reads a response, attempts to write, but that fails
and the server in case of write failure does simply resets and waits for a new
connection. But client is programmed to perform two connections, while the
server expects 6 cycles.
I will try to patch the test to work under a condition of a smooth timing.
--
You are receiving this mail because:
You are on the CC list for the bug.