Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[202205][generate_dump] Fix for a deletion flow for all secret files in the techsupport dump #2572

Conversation

vadymhlushko-mlnx
Copy link
Contributor

Signed-off-by: Vadym Hlushko vadymh@nvidia.com

What I did

Fixed a deletion flow for all secret files in the tech support dump.

How I did it

Delete files by using the find and rm Linux utilities.

How to verify it

Run the show_techsupport/test_techsupport_no_secret.py

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…techsupport dump

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
@DavidZagury
Copy link
Contributor

@vadymhlushko-mlnx shouldn't this also be on the master branch? it has the same changes to the flows of generate dump on there.

@vadymhlushko-mlnx
Copy link
Contributor Author

@vadymhlushko-mlnx shouldn't this also be on the master branch? it has the same changes to the flows of generate dump on there.

#2571

vadymhlushko-mlnx added a commit to vadymhlushko-mlnx/sonic-utilities that referenced this pull request Jan 5, 2023
"[202205][generate_dump] Fix for a deletion flow for all secret files in the techsupport dump (sonic-net#2572)"
"[generate_dump] Optimize the execution time of 'show techsupport' CLI by paraller function execution (sonic-net#2565)"
"[202205] [generate_dump] Optimize the execution time of the 'show techsupport' script to 5-10% by reducing calls to the 'tar append' operation (sonic-net#2562)"

This reverts commits
e1c8243
f45dcfb
93172c4
liat-grozovik pushed a commit that referenced this pull request Jan 5, 2023
- What I did
Reverted PRs because they caused the degradation that some files are missing in show techsupport archive.

- How I did it
Reverts the following 
e1c8243 [202205][generate_dump] Fix for a deletion flow for all secret files in the techsupport dump (#2572)
f45dcfb [generate_dump] Optimize the execution time of 'show techsupport' CLI by paraller function execution (#2565)
93172c4 [202205] [generate_dump] Optimize the execution time of the 'show techsupport' script to 5-10% by reducing calls to the 'tar append' operation (#2562)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants