scionproto / scion

SCION Internet Architecture
https://www.scion-architecture.net/
Apache License 2.0
370 stars 156 forks source link

[acceptance tests] docker logs fetching is wrong with the new container names #4473

Open JordiSubira opened 3 months ago

JordiSubira commented 3 months ago

After https://github.com/scionproto/scion/pull/4396 the handling of scion prefixes and containers name is different. Scion service containers get started with the following name pattern: scion--1, where is the service identifier, e.g. br1-ff00_0_1-1. However, when fetching the logs for the acceptance tests (https://github.com/scionproto/scion/blob/master/acceptance/common/docker.py#L61) the issued command is of the following form: docker logs svc_id, rendering the following error in the output dir for logs: Error response from daemon: No such container br1-ff00_0_1-1.