sonic-mgmt icon indicating copy to clipboard operation
sonic-mgmt copied to clipboard

Enhance show_techsupport script

Open echuawu opened this issue 1 year ago • 8 comments

Description of PR

Enhance show_techsupport script to avoid conflict of manual and cron triggered log rotate. The conflict would lead to an error log of log rotate. ERR systemd[1]: Failed to start Rotate log files.

Summary: Fixes # (issue)

Type of change

  • [ ] Bug fix
  • [ ] Testbed and Framework(new/improvement)
  • [x] Test case(new/improvement)

Back port request

  • [ ] 202012
  • [ ] 202205
  • [x] 202305
  • [x] 202311
  • [x] 202405

Approach

What is the motivation for this PR?

Enhance the test case to avoid conflict of manual and cron triggered log rotate.

How did you do it?

During manual trigger log rotate, disable the cron log rotate function.

How did you verify/test it?

Internal regression.

Any platform specific information?

No

Supported testbed topology if it's a new test case?

Documentation

echuawu avatar Jun 14 '24 04:06 echuawu

/azpw run

nhe-NV avatar Jun 29 '24 13:06 nhe-NV

/azpw run

echuawu avatar Jul 01 '24 02:07 echuawu

/AzurePipelines run

mssonicbld avatar Jul 01 '24 02:07 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 01 '24 02:07 azure-pipelines[bot]

Hi @wangxin , could you help check the pre-checker failure. My code shall not lead to the failure.

echuawu avatar Jul 02 '24 02:07 echuawu

/azpw run

echuawu avatar Jul 10 '24 10:07 echuawu

/AzurePipelines run

mssonicbld avatar Jul 10 '24 10:07 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 10 '24 10:07 azure-pipelines[bot]

/azpw run

echuawu avatar Jul 16 '24 03:07 echuawu

/AzurePipelines run

mssonicbld avatar Jul 16 '24 03:07 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 16 '24 03:07 azure-pipelines[bot]