-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Miscellaneous test fixes #2097
Open
kanavin
wants to merge
6
commits into
giampaolo:master
Choose a base branch
from
kanavin:fix-tests
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Miscellaneous test fixes #2097
Conversation
This file contains 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
This can happen if free was built from git. Signed-off-by: Alexander Kanavin <[email protected]>
This can happen if installed tests are run in a non-CI environment: $ python3 -m psutil.tests Signed-off-by: Alexander Kanavin <[email protected]>
This is more reliable as in virtual machines such as qemu there may not be an accurate mapping to devices. Signed-off-by: Alexander Kanavin <[email protected]>
This may be absent on Linux as well (if the kernel is configured that way), so the test becomes meaningless. Signed-off-by: Alexander Kanavin <[email protected]>
….IOPRIO_CLASS_NONE On two of my machines running different distros it's IOPriority.IOPRIO_CLASS_BE. Signed-off-by: Alexander Kanavin <[email protected]>
This can happen in some openpty() scenarios on Linux Signed-off-by: Alexander Kanavin <[email protected]>
halstead
pushed a commit
to openembedded/openembedded-core
that referenced
this pull request
Apr 27, 2022
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
splitice
pushed a commit
to HalleyAssist/poky
that referenced
this pull request
Apr 27, 2022
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 (From OE-Core rev: 1f7e70ab9b83a97005c1833f9505109001746a58) Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
halstead
pushed a commit
to openembedded/openembedded-core
that referenced
this pull request
Apr 28, 2022
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
github-actions bot
pushed a commit
to cyber-zoo/poky
that referenced
this pull request
Apr 28, 2022
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 (From OE-Core rev: 4f3fb46645b39d1bf96c1a6d0067a32cd41e8ae8) Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Could you provide the output showing the test failures on yocto? |
I just re-ran the tests without these patches, and with python 3.11-rc2. Here are the fails:
|
daregit
pushed a commit
to daregit/yocto-combined
that referenced
this pull request
May 22, 2024
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 (From OE-Core rev: 4f3fb46645b39d1bf96c1a6d0067a32cd41e8ae8) Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
daregit
pushed a commit
to daregit/yocto-combined
that referenced
this pull request
May 22, 2024
I had to significantly rework it to make a set that's hopefully acceptable for the upstream: giampaolo/psutil#2097 (From OE-Core rev: 4f3fb46645b39d1bf96c1a6d0067a32cd41e8ae8) Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
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.
Hello, these fixes come from the Yocto project. We install and run the test suite inside the qemu emulator:
$ PSUTIL_DEBUG=1 python3 -m psutil.tests
and the commits are addressing the issues that we have found. Please refer to them for details.