Skip to content

Fix unexpected trailing symbol#6545

Merged
yejianquan merged 5 commits intosonic-net:masterfrom
yejianquan:jianquanye/fix_unexpected_trailing_symbol
Oct 16, 2022
Merged

Fix unexpected trailing symbol#6545
yejianquan merged 5 commits intosonic-net:masterfrom
yejianquan:jianquanye/fix_unexpected_trailing_symbol

Conversation

@yejianquan
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
With set -x, "##vso[task.setvariable variable=TEST_PLAN_ID]$TEST_PLAN_ID" get a chance to add a unexpected "'" as trailing symbol.
microsoft/azure-pipelines-tasks#10331
I want to keep the set -ex setting, so the sub-steps that relies on TEST_PLAN_ID need to remove possible trailing symbol.
A sample failure:
https://dev.azure.com/mssonic/build/_build/results?buildId=160852&view=logs&j=37033ee9-5136-564d-6562-3f85a337b244&t=c7eb37a5-16b3-5b0b-a481-f1579bc7de47

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

With set -x, "##vso[task.setvariable variable=TEST_PLAN_ID]$TEST_PLAN_ID" get a chance to add a unexpected "'" as trailing symbol.
microsoft/azure-pipelines-tasks#10331
I want to keep the set -ex setting, so the sub-steps that relies on TEST_PLAN_ID need to remove possible trailing symbol.
A sample failure:
https://dev.azure.com/mssonic/build/_build/results?buildId=160852&view=logs&j=37033ee9-5136-564d-6562-3f85a337b244&t=c7eb37a5-16b3-5b0b-a481-f1579bc7de47

How did you do it?

Remove possible trailing symbol.

How did you verify/test it?

Any platform specific information?

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

Documentation

@yejianquan yejianquan force-pushed the jianquanye/fix_unexpected_trailing_symbol branch 4 times, most recently from a519a6b to a82ad6e Compare October 15, 2022 08:05
@yejianquan yejianquan force-pushed the jianquanye/fix_unexpected_trailing_symbol branch from a82ad6e to 0025bc0 Compare October 15, 2022 08:07
@yejianquan
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yejianquan yejianquan merged commit be198e3 into sonic-net:master Oct 16, 2022
allen-xf pushed a commit to allen-xf/sonic-mgmt that referenced this pull request Oct 28, 2022
co-authorized by: jianquanye@microsoft.com
* Fix unexpected trailing symbol

Approach
What is the motivation for this PR?
With set -x, "##vso[task.setvariable variable=TEST_PLAN_ID]$TEST_PLAN_ID" get a chance to add a unexpected "'" as trailing symbol.
microsoft/azure-pipelines-tasks#10331
I want to keep the set -ex setting, so the sub-steps that relies on TEST_PLAN_ID need to remove possible trailing symbol.
A sample failure:
https://dev.azure.com/mssonic/build/_build/results?buildId=160852&view=logs&j=37033ee9-5136-564d-6562-3f85a337b244&t=c7eb37a5-16b3-5b0b-a481-f1579bc7de47

How did you do it?
Remove possible trailing symbol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants