Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixed regression issue in script as core is not a key in lscpu output #2836

Closed

Conversation

PraveenPenguin
Copy link
Member

LOG:

Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information.

from avocado.utils import cpu
print (cpu.lscpu())
{'virtual_cores': 4, 'physical_sockets': 4, 'physical_chips': 2, 'physical_cores': 15, 'chips': 8}

this patch address like replace core with physical_core

LOG:

Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from avocado.utils import cpu
>>> print (cpu.lscpu())
{'virtual_cores': 4, 'physical_sockets': 4, 'physical_chips': 2, 'physical_cores': 15, 'chips': 8}
>>>

this patch address like replace core with physical_core

Signed-off-by: Praveen K Pandey <[email protected]>
@PraveenPenguin
Copy link
Member Author

@disgoel @Krishan-Gopal-saraswat please review this patch

@disgoel
Copy link
Contributor

disgoel commented Jun 7, 2024

@PraveenPenguin Below PR addresses this issue
#2808

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