#2604 assigned defect

Loopback sample server-client connection refused

Reported by: Daniel S Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: unspecified Version: 4.11
Severity: normal Keywords: testsuites samples loopback
Cc: Blocked By:
Blocking:

Description

It looks like the loopback sample launches a server and a client task at the same time. Every time I've ran this sample, the client would attempt to connect to the server before the server binded its socket. This results in the one-client test failing.

Placing a wait call just after starting the server fixes this issue.

RTEMS 4.11
CPU ARM Cortex-A9
BSP Xilinx Zynq A9 QEMU
Toolchain from rtems-source-builder 4.11

../rtems/configure --target=arm-rtems4.11 \

--enable-rtemsbsp="xilinx_zynq_a9_qemu" \
--enable-tests=samples \
--enable-posix \
--prefix=$HOME/development/rtems/4.11

Attachments (1)

loopback.patch (3.5 KB) - added by Daniel S on Feb 22, 2016 at 12:13:03 AM.

Download all attachments as: .zip

Change History (5)

Changed on Feb 22, 2016 at 12:13:03 AM by Daniel S

Attachment: loopback.patch added

comment:1 Changed on Feb 22, 2016 at 5:45:38 AM by Sebastian Huber

Do you run the tests with an interrupt driven console driver? This would not work.

comment:2 Changed on Jan 26, 2017 at 7:05:37 AM by Sebastian Huber

Milestone: 4.114.11.2

comment:3 Changed on Feb 15, 2017 at 1:37:51 PM by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: set to Needs Funding
Status: newassigned

comment:4 Changed on Oct 10, 2017 at 6:46:55 AM by Sebastian Huber

Component: testingunspecified
Note: See TracTickets for help on using tickets.