You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in rare occasion, output from exe script can be cut at the end. Its hard to tell, who is responsible for that problem, but its good idea to try pin it.
We need to prepare a yapapi example that reproduces an issue where the full output of a command is not returned.
Maybe we could transfer a textfile to the VM, have a script output that to stdout and stderr and verify if what comes back matches what we had transferred. We may also just print a logfile or a very long directory listing.
Todo:
Prepare the example that confirms cutting the long exe script output
The text was updated successfully, but these errors were encountered:
shadeofblue
changed the title
[research] prepare a yapapi example that reproduces an issue with full output of a command not being returned
[research] prepare an example reproducing partial command output issue
Jan 25, 2023
When I was working on golemfactory/yagna#2035 I created an image with a 1mb text file and run the script cat textfile counting the received bytes.
Not sure what the research is about as the problem is in ya-runtime-vm and the fix was rejected by SDK team because it broke some examples where the background process is not closing stdout/stderr before going to the background.
I think we agreed that the fix might be introduced later but with a flag to notify if the command is expected to wait until stdout/stderr is closed before returning.
approxit
changed the title
[research] prepare an example reproducing partial command output issue
[research] Prepare an example reproducing partial command output issue
Feb 7, 2023
As in rare occasion, output from exe script can be cut at the end. Its hard to tell, who is responsible for that problem, but its good idea to try pin it.
We need to prepare a yapapi example that reproduces an issue where the full output of a command is not returned.
Maybe we could transfer a textfile to the VM, have a script output that to stdout and stderr and verify if what comes back matches what we had transferred. We may also just print a logfile or a very long directory listing.
Todo:
The text was updated successfully, but these errors were encountered: