Skip to content

Small fix of Testcase as part of cleanup#3069

Open
yeswanth6096 wants to merge 1 commit intoavocado-framework-tests:masterfrom
yeswanth6096:smt-state-dlpar-cleanupfix
Open

Small fix of Testcase as part of cleanup#3069
yeswanth6096 wants to merge 1 commit intoavocado-framework-tests:masterfrom
yeswanth6096:smt-state-dlpar-cleanupfix

Conversation

@yeswanth6096
Copy link
Copy Markdown
Contributor

No description provided.

@yeswanth6096 yeswanth6096 force-pushed the smt-state-dlpar-cleanupfix branch from 3d96750 to 95e4cf1 Compare November 20, 2025 10:09
# Setting cpu online back after TC complete
set_cpu1_online = process.system_output(
'echo 1 > /sys/devices/system/cpu/cpu1/online',
shell=True, ignore_status=False)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yeswanth6096 why are you capturing the result in the variable? I don't see any other action performed on this variable

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also please use cmd = "echo 1 > /sys/devices/system/cpu/cpu1/online"
then use it in the process.run command

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Naresh-ibm Naresh-ibm self-assigned this Nov 20, 2025
@yeswanth6096 yeswanth6096 force-pushed the smt-state-dlpar-cleanupfix branch 2 times, most recently from 0881561 to efa90c7 Compare November 20, 2025 21:29
ok
Done
Signed-off-by: yeswanth <yeswanth@linux.ibm.com>
@yeswanth6096 yeswanth6096 force-pushed the smt-state-dlpar-cleanupfix branch from efa90c7 to ca00816 Compare November 20, 2025 21:35
# Setting cpu online back after TC complete
cmd = 'echo 1 > /sys/devices/system/cpu/cpu1/online'
process.system_output(
cmd, shell=True, ignore_status=False)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yeswanth6096 use process.run instead of process.system_output

@Naresh-ibm
Copy link
Copy Markdown
Collaborator

Also please attach the run logs

Copy link
Copy Markdown
Contributor

@sacsant sacsant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a proper commit message describing what the problem is and how does this change solves it.

@Naresh-ibm
Copy link
Copy Markdown
Collaborator

@yeswanth6096 please address the review comments and re-push the code

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.

3 participants