-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect producing a directory tree but no files with example-rust
#30
Comments
sdk-rust does not persist the logs. As far as I can tell, the testground daemon won't do so for us either (right @laurentsenta?). I am guessing sdk-go itself explicitly persists the logs? |
True, at the moment testground doesn't capture logs, it expects the SDK to do so, We created testground/testground#1355 to track this |
I'm feeling pain on this issue. If we run a test plan with |
Making sdk-rust persist the logs same as sdk-go might make sense for the time being? I would file a PR if that's fine with you. 🙂 |
That makes sense to me; thanks for looking into this, |
@laurentsenta I have filed #45, please have a look when you have time. 🙂 |
I'm trying to get individual log files for each node in a rust test plan, however using
testground collect --runner=local:docker RUN_ID
produces a directory structure consistent with the number of nodes, but each node is empty. The logs I've tried to get are in the form ofprintln!
s,tracing::info
andclient.record_message
Here is the diff over
example-rust
. My use case is unrelated to example-rust or to the specific data I'm logging in this case, it just serves for reproducibility. The pingpong testcase in the network plan works just finerun the daemon
then in the testground folder
then I run by
in the daemon terminal the plan runs correctly
Then try to get the log files with
There are some errors at the end of the run, which I not know if they are related or not. Full output is here
The text was updated successfully, but these errors were encountered: