Fix "Print host info" CI step on Mac OS (arm64)#8638
Merged
hendrikmakait merged 3 commits intodask:mainfrom May 7, 2024
Merged
Fix "Print host info" CI step on Mac OS (arm64)#8638hendrikmakait merged 3 commits intodask:mainfrom
hendrikmakait merged 3 commits intodask:mainfrom
Conversation
Member
Author
|
Using an older version of Traceback (most recent call last):
Number of CPUs: 3
File "/Users/runner/work/distributed/distributed/continuous_integration/scripts/host_info.py", line 53, in <module>
Crude CPU benchmark (higher is better): 60.9
main()
File "/Users/runner/work/distributed/distributed/continuous_integration/scripts/host_info.py", line 33, in main
freqs = psutil.cpu_freq(percpu=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/dask-distributed/lib/python3.[12](https://github.com/dask/distributed/actions/runs/8972381061/job/24640250034?pr=8638#step:19:13)/site-packages/psutil/__init__.py", line 1876, in cpu_freq
ret = _psplatform.cpu_freq()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/dask-distributed/lib/python3.12/site-packages/psutil/_psosx.py", line 179, in cpu_freq
curr, min_, max_ = cext.cpu_freq()
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ)) |
This reverts commit 68baef1.
Contributor
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 29 files + 2 29 suites +2 11h 3m 38s ⏱️ + 2h 9m 20s For more details on these failures, see this check. Results for commit 198ab8d. ± Comparison against base commit 1ec61a1. This pull request removes 13 and adds 8 tests. Note that renamed tests count towards both. |
phofl
approved these changes
May 7, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8636
Print CPU freqs only when available
pre-commit run --all-files