1common:
2  harness: net
3  tags:
4    - net
5    - socket
6  depends_on: netif
7  min_flash: 140
8sample:
9  description: Test network sockets using a client/server sample
10  name: Socket Echo Server
11tests:
12  sample.net.sockets.echo_server:
13    platform_allow:
14      - qemu_x86
15      - qemu_x86_64
16      - sam_e70_xplained/same70q21
17      - frdm_k64f
18      - qemu_cortex_m3
19      - frdm_kw41z
20      - qemu_cortex_a53
21      - native_sim
22    integration_platforms:
23      - qemu_x86
24  sample.net.sockets.echo_server.802154:
25    extra_args: EXTRA_CONF_FILE="overlay-qemu_802154.conf"
26    platform_allow: qemu_x86
27    integration_platforms:
28      - qemu_x86
29  sample.net.sockets.echo_server.802154.rf2xx.xplained:
30    extra_args:
31      - SHIELD=atmel_rf2xx_xplained
32      - EXTRA_CONF_FILE="overlay-802154.conf"
33    platform_allow: sam4s_xplained
34  sample.net.sockets.echo_server.802154.rf2xx.xpro:
35    extra_args:
36      - SHIELD=atmel_rf2xx_xpro
37      - EXTRA_CONF_FILE="overlay-802154.conf"
38    platform_allow:
39      - sam4e_xpro
40      - sam_v71_xult/samv71q21
41    integration_platforms:
42      - sam_v71_xult/samv71q21
43  sample.net.sockets.echo_server.802154.rf2xx.legacy:
44    extra_args:
45      - SHIELD=atmel_rf2xx_legacy
46      - EXTRA_CONF_FILE="overlay-802154.conf"
47    platform_allow:
48      - sam4e_xpro
49      - sam_v71_xult/samv71q21
50    integration_platforms:
51      - sam_v71_xult/samv71q21
52  sample.net.sockets.echo_server.802154.rf2xx.arduino:
53    extra_args:
54      - SHIELD=atmel_rf2xx_arduino
55      - EXTRA_CONF_FILE="overlay-802154.conf"
56    platform_allow:
57      - sam_v71_xult/samv71q21
58      - frdm_k64f
59      - nucleo_f767zi
60    integration_platforms:
61      - sam_v71_xult/samv71q21
62  sample.net.sockets.echo_server.802154.rf2xx.mikrobus:
63    extra_args:
64      - SHIELD=atmel_rf2xx_mikrobus
65      - EXTRA_CONF_FILE="overlay-802154.conf"
66    platform_allow: lpcxpresso55s69/lpc55s69/cpu0/ns
67  sample.net.sockets.echo_server.mcr20a:
68    extra_args:
69      - SHIELD=frdm_cr20a
70      - EXTRA_CONF_FILE=overlay-802154.conf
71    platform_allow: frdm_k64f
72  sample.net.sockets.echo_server.nrf_802154:
73    extra_args: EXTRA_CONF_FILE="overlay-802154.conf"
74    platform_allow: nrf52840dk/nrf52840
75  sample.net.sockets.echo_server.b91_802154:
76    extra_args: EXTRA_CONF_FILE="overlay-802154.conf"
77    platform_allow: tlsr9518adk80d
78  sample.net.sockets.echo_server.usbnet:
79    depends_on: usb_device
80    harness: net
81    extra_args: EXTRA_CONF_FILE="overlay-netusb.conf"
82    tags:
83      - net
84      - usb
85    # native_sim usb driver does not work with CONFIG_POSIX_API
86    platform_exclude:
87      - native_sim
88      - native_sim/native/64
89      - native_posix
90      - native_posix/native/64
91  sample.net.sockets.echo_server.nrf_openthread:
92    extra_args: EXTRA_CONF_FILE="overlay-ot.conf"
93    slow: true
94    tags:
95      - net
96      - openthread
97    platform_allow: nrf52840dk/nrf52840
98    filter: CONFIG_FULL_LIBC_SUPPORTED and not CONFIG_NATIVE_LIBC
99  sample.net.sockets.echo_server.b91_openthread:
100    extra_args: EXTRA_CONF_FILE="overlay-ot.conf"
101    slow: true
102    tags:
103      - net
104      - openthread
105    platform_allow: tlsr9518adk80d
106    filter: CONFIG_FULL_LIBC_SUPPORTED and not CONFIG_NATIVE_LIBC
107  sample.net.sockets.echo_server.kw41z_openthread:
108    extra_args: EXTRA_CONF_FILE="overlay-ot.conf"
109    slow: true
110    tags:
111      - net
112      - openthread
113    platform_allow: frdm_kw41z
114    filter: CONFIG_FULL_LIBC_SUPPORTED and not CONFIG_NATIVE_LIBC
115  sample.net.sockets.echo_server.rw612_openthread_rcp_host:
116    build_only: true
117    extra_args:
118      # Disabling monolithic since CI environment doesn't use blobs
119      - CONFIG_NXP_MONOLITHIC_NBU=n
120      - OVERLAY_CONFIG="overlay-ot-rcp-host-nxp.conf"
121    slow: true
122    tags:
123      - net
124      - openthread
125    platform_allow:
126      - frdm_rw612
127      - rd_rw612_bga
128    filter: CONFIG_FULL_LIBC_SUPPORTED and not CONFIG_NATIVE_LIBC
129  sample.net.sockets.echo_server.e1000:
130    extra_args: EXTRA_CONF_FILE="overlay-e1000.conf"
131    tags: net
132    platform_allow:
133      - qemu_x86
134      - qemu_x86_64
135  sample.net.sockets.echo_server.stellaris:
136    extra_args: EXTRA_CONF_FILE="overlay-qemu_cortex_m3_eth.conf"
137    tags: net
138    platform_allow: qemu_cortex_m3
139  sample.net.sockets.echo_server.smsc911x:
140    extra_args: EXTRA_CONF_FILE="overlay-smsc911x.conf"
141    tags: net
142    platform_allow: mps2/an385
143  sample.net.sockets.echo_server.userspace:
144    extra_args:
145      - CONFIG_USERSPACE=y
146      - EXTRA_CONF_FILE="overlay-e1000.conf"
147      - CONFIG_MAX_THREAD_BYTES=3
148    platform_allow:
149      - qemu_x86
150      - qemu_x86_64
151    integration_platforms:
152      - qemu_x86
153  sample.net.sockets.echo_server.nsos:
154    platform_allow:
155      - native_sim
156      - native_sim/native/64
157    extra_args:
158      - EXTRA_CONF_FILE="overlay-nsos.conf"
159  sample.net.sockets.echo_server.802154.subg:
160    extra_args: EXTRA_CONF_FILE="overlay-802154-subg.conf"
161    platform_allow: beagleconnect_freedom
162  sample.net.sockets.echo_server.ws_console:
163    platform_allow:
164      - native_sim
165      - native_sim/native/64
166    extra_args:
167      - EXTRA_CONF_FILE="overlay-ws-console.conf"
168