Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[tests]: Marktest_statistics.test_kde_random with arequires_resource('cpu') decorator#118801

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sobolevn merged 1 commit intopython:mainfromEclips4:decorator_for_kde_random
May 9, 2024

Conversation

Eclips4
Copy link
Member

This is a CPU-intensive test. On my machine (Ryzen 7 4800H, 8/16), it takes about 80 seconds.

./python-mtest-vtest_statistics-mtest_kde_random==CPython3.14.0a0 (heads/main:cb6f75a32c,May82024,23:39:14) [GCC9.4.0]==Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.31little-endian==Pythonbuild:free_threadingdebug==cwd:/home/eclips4/CLionProjects/cpython/build/test_python_worker_26032æ==CPUcount:16==encodings:locale=UTF-8FS=utf-8==resources:alltestresourcesaredisabled,use-uoptiontounskiptestsUsingrandomseed:16171726930:00:00loadavg:0.15Run1testsequentially0:00:00loadavg:0.15 [1/1]test_statisticstest_kde_random (test.test_statistics.TestKDE.test_kde_random) ...ok----------------------------------------------------------------------Ran1testin80.244sOKtest_statisticspassedin1min20sec==Testsresult:SUCCESS==1testOK.Totalduration:1min20secTotaltests:run=1 (filtered)Totaltestfiles:run=1/1 (filtered)Result:SUCCESS

@bedevere-appbedevere-appbot added testsTests in the Lib/test dir awaiting review labelsMay 8, 2024
@Eclips4Eclips4 added the needs backport to 3.13bugs and security fixes labelMay 8, 2024
@Eclips4Eclips4 changed the title[tests]: Mark `test_statistics.test_kde_random with a requires_resource('cpu') decorator[tests]: Marktest_statistics.test_kde_random with arequires_resource('cpu') decoratorMay 8, 2024
@sobolevnsobolevn merged commit027e6d8 intopython:mainMay 9, 2024
@miss-islington-app
Copy link

Thanks@Eclips4 for the PR, and@sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 9, 2024
…esource('cpu')`` decorator (pythonGH-118801)Mark test_kde_random with a requires_resource('cpu') decorator(cherry picked from commit027e6d8)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
@bedevere-app
Copy link

GH-118818 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 9, 2024
@sobolevn
Copy link
Member

What about 3.12 backport?

@Eclips4
Copy link
MemberAuthor

What about 3.12 backport?

This test was not backported to the 3.12 branch, so there is no need to backport it there.

@Eclips4Eclips4 deleted the decorator_for_kde_random branchMay 9, 2024 08:24
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 FreeBSD14 3.x has failed when building commit027e6d8.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1232/builds/2294) and take a look at the build logs.
  4. Check if the failure is related to this commit (027e6d8) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1232/builds/2294

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.opsec-fbsd14/build/Lib/threading.py", line1039, in_bootstrap_innerself.run()~~~~~~~~^^  File"/home/buildbot/buildarea/3.x.opsec-fbsd14/build/Lib/threading.py", line990, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/buildbot/buildarea/3.x.opsec-fbsd14/build/Lib/test/test_interpreters/test_stress.py", line29, intask    interp= interpreters.create()  File"/home/buildbot/buildarea/3.x.opsec-fbsd14/build/Lib/test/support/interpreters/__init__.py", line76, increateid= _interpreters.create(reqrefs=True)interpreters.InterpreterError:interpreter creation failedkTraceback (most recent call last):  File"<frozen getpath>", line355, in<module>ValueError:embedded null byteWarning -- Uncaught thread exception: InterpreterErrorException in thread Thread-124 (task):RuntimeError:error evaluating path

@Eclips4
Copy link
MemberAuthor

Buildbot failure is unrelated; I've created#118823 to track this.

sobolevn pushed a commit that referenced this pull requestMay 9, 2024
…uires_resource('cpu')`` decorator (GH-118801) (#118818)[tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (GH-118801)Mark test_kde_random with a requires_resource('cpu') decorator(cherry picked from commit027e6d8)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

@sobolevnsobolevnsobolevn approved these changes

Assignees
No one assigned
Labels
skip issueskip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@Eclips4@sobolevn@bedevere-bot@JelleZijlstra

[8]ページ先頭

©2009-2025 Movatter.jp