agolo / logstash-test-runner

Logstash configuration testing framework
https://blog.agolo.com/the-easy-way-to-test-your-logstash-configuration-3f80eb5ffd59
MIT License
103 stars 24 forks source link

Running basic example tests fails on macOS #10

Closed MattBrou closed 5 years ago

MattBrou commented 5 years ago

I clone your project, and tried to run the provided test samples.

First i spin up the containers docker-compose up -d then i try to run the tests ./test.sh __tests__

And i get this error : ERROR: for logstash-test-runner_mongo_filebeat_1 Cannot start service mongo_filebeat: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/Local/Users/mathieu.brousseau/Documents/git/logstash-test-runner/mongo/filebeat.yml\\\" to rootfs \\\"/var/lib/docker/overlay2/134081ff6828ddaa26adb0abb93db1201f463957c9148adb7255273cec40611a/merged\\\" at \\\"/var/lib/docker/overlay2/134081ff6828ddaa26adb0abb93db1201f463957c9148adb7255273cec40611a/merged/usr/share/filebeat/f

Additionnal info about my working environment MacOs Mojave 10.14.3 (18D109) node version : v11.9.0 bash : 5.0.2(1)-release docker: 2.0.0.3 (31259) engine: 18.09.2 compose: 1.23.2