docker inspect
error in system testing with short-lived Docker integration services
#1482
Labels
bug
Something isn't working
Summary
System tests fail unexpected for packages using the
docker-compose
service deployer if the container's lifetime is short, such as mounting a volume forfilestream
inputs.Packages experiencing this failure include
trendmicro
andmysql_enterprise
.Example
Using
trendmicro
package which deploys a single, short-lived container to mount a volume for system testing: https://github.com/elastic/integrations/blob/main/packages/trendmicro/_dev/deploy/docker/docker-compose.yml.Note missing value for container ID in
DEBUG Wait for healthy containers
andDEBUG output command: /usr/local/bin/docker inspect
Working comparison
Here's a working comparison ran within the
panw
package. Note, however, with four containers started by the Docker service deployer, only three report in thedocker inspect
. The longer livedudp
,tcp
, andtls
services prevent thedocker inspect
command from failing and testing continues.The text was updated successfully, but these errors were encountered: