#Stdout:get parent name: invalid character 'u' looking for beginning of value

1 messages Β· Page 1 of 1 (latest)

placid tiger
#

I have basically a Dagger module a calling 2 dagger modules (b and c) both calling locally the same module (d). b and c requires the same container from d as dependency to run tests in their own container. a is just a main module to run tests from band cin one go. This is some kind of diamond dependency.

When commenting the need for the container for d in either bor c, there is no problem but when running them both in a, there is this error: Stdout: get parent name: invalid character 'u' looking for beginning of value .

I suppose that's a conflict problem, but I can't reproduce it on a simpler code to let anyone check where it comes from, so I'm trying to debug on my side but I'm a bit clueless on how to debug this.

Any help would be greatly appreciated πŸ™

wicked crest
#

hmm, that looks suspiciously like a json unmarshalling error

#

which is odd

#

do you have the engine logs?

placid tiger
#

Yes, but it's really long

#

I can give it to you with the -vvvv

wicked crest
#

the -vvvv flags are the cli logs

placid tiger
#

Oh, you're right

wicked crest
#

the engine logs are from the engine container, you can get them with docker logs if you're using the default setup there

#

client logs would still be useful!

#

but i suspect something weird might have happened, the engine logs might have a hint

placid tiger
#

I'll give you both in a few seconds then ! Thanks for looking into this issue πŸ₯°

placid tiger
#

I achived to isolate the logs regarding the call but I can't do the correct command to have readable logs on file for the cli logs. I tried dagger -d call --output ./cli.log end-to-end-tests but nothing. If you have a good way to achieve that in a file that could be read, I would be interested πŸ™‚

placid tiger
#

Please let me know if you need more or if there is any resource that I could use to debug on my side ! πŸ™‚

#

Here are the log from CLI, but it's ugly formatting, so if you have better idea for logging, I'm interested ! πŸ™‚

wicked crest
#

sorry sorry, thanks, i haven't had time to dive into this one today 😦 will try and grab a moment tomorrow!

placid tiger
#

No problem, that's nice of you to take a look at that 😊