Add timestamp in the log file name for parallel add/remove-topo#24099
Open
weiguo-nvidia wants to merge 1 commit intosonic-net:masterfrom
Open
Add timestamp in the log file name for parallel add/remove-topo#24099weiguo-nvidia wants to merge 1 commit intosonic-net:masterfrom
weiguo-nvidia wants to merge 1 commit intosonic-net:masterfrom
Conversation
…llel add/remove-topo - Issue Deploy multi-server testbed, add/remove-topo save log in /tmp/add_topo_$i.log and /tmp/remove_topo_$i.log. If deploy failure, it will retry. But the new log will overwrite the old log, causing hard to debug the failure in first run. - Fix Add timestamp in the log file. Before fix - add_topo_0.log - add_topo_1.log After fix - add_topo_0_20260420_200812.log - add_topo_1_20260420_200812.log Change-Id: I13be628cb5250e0fa2b64a8890c92d8ebf0619dc Signed-off-by: weiguo-nvidia <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary: Add timestamp in the log file name for parallel add/remove-topo
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Deploy multi-server testbed, add/remove-topo save log in /tmp/add_topo_$i.log and /tmp/remove_topo_$i.log.
If deploy failure, it will retry. But the new log will overwrite the old log, causing hard to debug the failure in first run.
How did you do it?
Add timestamp in the log file.
Before fix
After fix
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation