dojo icon indicating copy to clipboard operation
dojo copied to clipboard

Dojo crashes sometimes on failed run with docker-compose

Open oktawia-kata-nhs opened this issue 3 years ago • 1 comments

panic: Unexpected exit status:
Command: docker-compose -f docker-compose-itest.yml -f docker-compose-itest.yml.dojo -p *********-2020-10-21_16-05-56-80908468 ps
  Exit status: 1
  StdOut: <empty string>
  StdErr: .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose-itest.yml.dojo'


goroutine 18 [running]:
main.DockerComposeDriver.getDCContainersNames(0x1135d00, 0xc00000c060, 0x1136740, 0xc0000a4170, 0xc0000a4170, 0xc000026240, 0x110fa49, 0x3, 0x7ffeefbff068, 0xe, ...)
        /dojo/work/src/dojo/docker_compose_driver.go:613 +0x7f3
main.DockerComposeDriver.HandleRun(0x1135d00, 0xc00000c060, 0x1136740, 0xc0000a4170, 0xc0000a4170, 0xc000026240, 0x110fa49, 0x3, 0x7ffeefbff068, 0xe, ...)
        /dojo/work/src/dojo/docker_compose_driver.go:403 +0x7f7
main.main.func1(0x1136100, 0xc0000781e0, 0xc0000d8000, 0xc00001c280, 0x3b, 0xc00000c0a0, 0xc0000242a0)
        /dojo/work/src/dojo/main.go:106 +0xce
created by main.main
        /dojo/work/src/dojo/main.go:104 +0x66f

oktawia-kata-nhs avatar Oct 21 '20 15:10 oktawia-kata-nhs

Hi Oktawia, many thanks for noticing this! And sorry for a lack of response for a looong time! Dojo 0.12.0 was released today, it mostly introduced better support for Docker-compose versions >2. It's possible that this issue still happens though. I haven't been able to reproduce it. Feel free to share if the issue occurs again with Dojo 0.12.0

xmik avatar Feb 04 '24 11:02 xmik