Project

General

Profile

Feature #23422

Automatically test various TransferPlugin failure modes

Added by Eric Flumerfelt about 1 month ago. Updated 25 days ago.

Status:
Reviewed
Priority:
Normal
Category:
-
Target version:
-
Start date:
10/14/2019
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

On feature/23111_BrokenTransferTest, I have implemented a test program which tests several possible Transfer failure modes (sender pause, sender reconnect, receiver pause, receiver reconnect), and ensures that the transfer plugins behave correctly (resume/reconnect) in each of these situations.


Related issues

Related to artdaq - Support #23111: Restarting a crashed EventBuilder doesn't automatically result in data flowing through that EB againClosed08/13/2019

Associated revisions

Revision 8272570e (diff)
Added by Ron Rechenmacher 25 days ago

Issue #23422 - adjust tests to see both Broken pipe and Connection reset by peer

History

#1 Updated by Eric Flumerfelt about 1 month ago

  • Related to Support #23111: Restarting a crashed EventBuilder doesn't automatically result in data flowing through that EB again added

#2 Updated by Eric Flumerfelt about 1 month ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Resolved

#3 Updated by Ron Rechenmacher 25 days ago

  • % Done changed from 0 to 100
  • Status changed from Resolved to Reviewed

all tests pass and verified that SIGPIPE does not cause a crash.

/home/ron/work/artdaqPrj/demo2-develop/srcs/artdaq/test/TransferPlugins/fcl
ron@mu2edaq13 :^) treset; time broken_transfer_driver -c broken_transfer_driver_tcp.fcl; echo \$?=$?; tshow | grep ERROR

real    1m11.512s
user    0m0.125s
sys     0m0.236s
$?=0
 225 1571528343794095 209816 209858  39       _TCPSocketTransfer wrn . transfer_between_1_and_2_SEND: sendFragment_: WRITE ERROR 104: Connection reset by peer
 247 1571528343293701 209816 209857  25       _TCPSocketTransfer wrn . transfer_between_0_and_2_SEND: sendFragment_: WRITE ERROR 32: Broken pipe
 253 1571528343293329 209816 209858  39       _TCPSocketTransfer wrn . transfer_between_1_and_2_SEND: sendFragment_: WRITE ERROR 32: Broken pipe
--2019-10-19_18:39:10--



Also available in: Atom PDF