Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prioritize bigmem tests on bigmem workers #589

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

Merged
merged 2 commits into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ class UnixBuildWithoutDocStrings(UnixBuild):

class UnixBigmemBuild(UnixBuild):
buildersuffix = ".bigmem"
testFlags = ["-M60g", "-j4", "-uall,extralargefile"]
testFlags = [
"-M60g", "-j4", "-uall,extralargefile",
"--prioritize=test_bigmem,test_lzma,test_bz2,test_re,test_array"
]
test_timeout = TEST_TIMEOUT * 4
factory_tags = ["bigmem"]

Expand Down Expand Up @@ -650,7 +653,10 @@ class Windows64Build(BaseWindowsBuild):
class Windows64BigmemBuild(BaseWindowsBuild):
buildersuffix = ".bigmem"
buildFlags = ["-p", "x64"]
testFlags = ["-p", "x64", "-M33g", "-uall,extralargefile"]
testFlags = [
"-p", "x64", "-M33g", "-uall,extralargefile",
"--prioritize=test_bigmem,test_lzma,test_bz2,test_array,test_hashlib,test_zlib"
]
test_timeout = TEST_TIMEOUT * 4
cleanFlags = ["-p", "x64"]
factory_tags = ["win64", "bigmem"]
Expand Down
10 changes: 8 additions & 2 deletions master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,16 @@ for branch_num, (git_url, branchname, git_branch) in enumerate(git_branches):
locks=[cpulock.access("counting")],
)

# This worker runs pyperformance at 12am. If a build is scheduled between
# 10pm and 2am, it will be delayed at 2am.
# This worker runs pyperformance at 12am UTC. If a build is scheduled between
# 10pm UTC and 2am UTC, it will be delayed to 2am UTC.
if worker_name == "diegorusso-aarch64-bigmem":
builder.canStartBuild = no_builds_between("22:00", "2:00")

# This worker restarts every day at 9am UTC to work around issues stemming from
# failing bigmem tests trashing disk space and fragmenting RAM. Builds scheduled
# between 07:20am - 9:20am UTC will be delayed to 9:20am UTC.
if worker_name == "ambv-bb-win11":
builder.canStartBuild = no_builds_between("7:20", "9:20")

c["builders"].append(builder)

Expand Down