Skip to content

[action] [PR:18213] Use is_alive over isAlive for py3 threads#18469

Merged
kperumalbfn merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/18213
May 21, 2025
Merged

[action] [PR:18213] Use is_alive over isAlive for py3 threads#18469
kperumalbfn merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/18213

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

The python isAlive method for checking thread liveliness is for py2/earlier versions of py3. In py3.9 it is fully removed, and only is_alive is supported. Best to switch to is_alive for all versions of py3.

How did you do it?

How did you verify/test it?

Tested on Arista testbed

Any platform specific information?

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

Documentation

What is the motivation for this PR?
The python isAlive method for checking thread liveliness is for py2/earlier versions of py3. In py3.9 it is fully removed, and only is_alive is supported. Best to switch to is_alive for all versions of py3.

How did you do it?
How did you verify/test it?
Tested on Arista testbed
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #18213

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@kperumalbfn kperumalbfn merged commit 5c0cad1 into sonic-net:202411 May 21, 2025
12 of 14 checks passed
auspham pushed a commit to auspham/sonic-mgmt that referenced this pull request May 30, 2025
)

```
8b16a64 (HEAD -> sync/202503, origin/sync/202503) Merge remote-tracking branch 'az_upstream/202412' into sync/202503
fe0ac4a (az_upstream/202412) Merge branch '202411' of https://github.com/sonic-net/sonic-mgmt into 202412
5c0cad1 Use is_alive over isAlive for py3 threads (sonic-net#18213) (sonic-net#18469)
b7f49b2 [action] [PR:16972] Update the sflow test to pass on the t0 topo which does not have portchannel (sonic-net#307)
64ecd5c Merge branch '202411' of https://github.com/sonic-net/sonic-mgmt into 202412
da50df8 Fix the generate_golden_config_db for multi-asic devices (sonic-net#18138)
a52cceb [action] [PR:18444] support t1-isolated-d56u2 in test_acl.py, test_stress_acl.py and test_qos_sai (sonic-net#305)
fa05606 fix bfd multihop test issue (sonic-net#18370) (sonic-net#18403)
c1f8f0f [action] [PR:18289] Fix ACL tests for t1-isolated-d28/128 (sonic-net#304)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants