I am running the python vsock-sample. I'm using the parent as client and enclave as server. It is not displaying "Hello World" from the server, and I think this is the buggy loc:
print is instructed to flush, but it does not send a \n, as instructed. This does not display anything through console.
However, "Hello World" will display if print has a newline, which fixes the issue.
I suspect that nitro-cli console is not flushing output until it sees a newline
print is clearly being instructed to flush stdout
This recent commit removed the newline, so I presume this worked previously.
I am running the python vsock-sample. I'm using the parent as client and enclave as server. It is not displaying "Hello World" from the server, and I think this is the buggy loc:
print
is instructed to flush, but it does not send a\n
, as instructed. This does not display anything through console.print
has a newline, which fixes the issue.nitro-cli console
is not flushing output until it sees a newlineprint
is clearly being instructed to flushstdout
Testing on an EC2 instance with AWS linux 2.