Skip to content

chore(release): 3.6.0 - #458

Merged
HaoZeke merged 149 commits into
mainfrom
chore/release-3.6.0
Nov 27, 2026
Merged

HaoZeke merged 149 commits into
mainfrom
chore/release-3.6.0

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Commits: zig-common moved to the v0.14.0 tag, the fix for the call sites of fsx.absPath, the prose that says what 3.5.0 lacks, the commit cog bump --version 3.6.0 made, a fix for the SBOM tool with a tag-pinned dependency, a merge of feat/cpu-target-coverage, and the changelog entries of that merge. tools/release-prepare 3.6.0 built the changelog section from 27 fragments and set the version wherever a program prints it or a download names it; the three fragments of the coverage branch were added to that section by hand. The tag v3.6.0 is on the head of the branch and is pushed after the merge.

3.6.0 adds --variant perf|debug, --cpu-target with --mask auto|cpuid|kvm|tcg, --mask-allow-archspec-mismatch, --no-audit, the audit-isa command, doctor --profiling and the internal __vm-run helper, plus 13 fixes. No flag was removed or renamed.

zig-common 0.14.0 makes fsx.absPath return Error as well as Allocator.Error: a removed working directory is error.NotFound. audit-isa and __vm-run --share-ro handled both as an allocation failure; each now names the path and the errno and exits non-zero (2 and 125). The library also checks a close before a rename.

The coverage work: a zen3 KVM guest gets vaes and vpclmulqdq, so EESSI archdetect names it amd/zen3; the --mask tcg preflight takes neoverse_v1 and a64fx from the same table as __vm-run; audit-isa allows the AVX-512 FMA timing loops of a GROMACS build below AVX-512; and the arm-mask workflow runs the aarch64 mask on a Neoverse runner.

Checks on the build host (Zig 0.17.1): zig fmt --check, zig build unit and zig build -Dtest-ops=true test give the same result on this branch and on develop; EB_LOCAL_VM_TESTS=1 test_vm_run passes.

Merge with a merge commit, so the tagged commit is on main.

Submit named each job script with the current second, so a matching
invocation in the same second replaced the earlier script even though
sbatch accepted both jobs.

Add the submitting process id to the filename so every invocation keeps
its command on disk.
doctor.approved_prefixes accepted a path containing '..' and then
dropped it. A directory that spelling names stayed foreign, and a
build that clears foreign prefixes removed entries inside it.

The site loader rejects that path. A prefix with no parent
component is approved as before.
OverlayRealEbStack skipped both tests when EB_STACK_BIN was unset, even
when eb-stack 0.8.0 sat on PATH, while CallerShellInit, EessiLmod, and
ListAndDoctor skipped tests on hosts with /etc/profile.d/lmod.sh or
/etc/eb-local site files. In Continuous Integration (CI), the zig
matrix job also omitted zsh, Emacs, eb-stack, and unprivileged user
namespaces, leaving twenty skipped tests per architecture while a
second job duplicated the eb-stack setup.

Resolve eb-stack from PATH when EB_STACK_BIN is unset only after
verifying that its version output reports 0.8.0 or newer, skipping with
a version reason otherwise so a stale binary is never run. Add bounded
timeouts to every subprocess.run call in tests/hostile_fs.py, and probe
unprivileged user-namespace bind mounts in enter_without_host_paths so
blocked hosts skip with a clear reason. Install zsh, emacs-nox, and
architecture-matched eb-stack 0.8.0 once in the zig workflow job and
run full unittest discovery with EB_LOCAL_BIN set, failing on any skip.
The ZeroPythonSkips meta-tests in tests/test_zero_skips.py asserted
unconditionally that eb-stack, zsh, and unshare were installed on PATH,
failing local test runs on hosts without those tools.

Check EB_LOCAL_REQUIRE_TOOLS in ZeroPythonSkips.require_tool. Set
EB_LOCAL_REQUIRE_TOOLS=1 in zig.yml so missing tools or unavailable
user-namespace bind mounts fail in CI, and call skipTest with an
explicit reason when EB_LOCAL_REQUIRE_TOOLS is unset, 0, or false.
Two doctor tests now isolate /etc site configuration before exercising their no-site-file paths. The zero-skip hostile-host check covers both callers.
Create the retained eb-local submit script with an exclusive final path
and a new suffix when that path is taken, so an earlier job's script is
not replaced.
Reject doctor.approved_prefixes values that spell the root, such as /.
and /./., and make the parent-component check resolve a real missing
directory.
eb-local dev now prints the Cargo linker lines that eb-local eb
already runs. On x86_64, rustc 1.90 and later links with rust-lld.
That linker is not gcc, ld or ld.lld, so the build environment's
wrappers never see the link and the program has no run path into
European Environment for Scientific Software Installations (EESSI)
libraries. The lines live in src/cargo-linker.sh. The Zig program
embeds that file and splices it into the eb script and into dev,
including the locked dev mode. A host CARGO_TARGET_*_LINKER,
RUSTFLAGS and the rustc wrappers are dropped. When rustc -vV prints
a host, CARGO_TARGET_<target>_LINKER is ${CC:-gcc}.
No workflow exercised a build outside Slurm. This job mounts EESSI
2026.06 on ubuntu-latest through EESSI's own action (cvmfs only, so
eb-local sources the init itself), checks that no sbatch or SLURM_*
variable is present, builds pigz-2.8-GCCcore-15.2.0 with the release
build and checks eb-local list shows it.
…d-runner

ci: build a recipe on a hosted runner without Slurm
README lists every command and says what clean does without rtrash
…ggers

The named easyconfig is copied into the workspace with a block appended
that sets the toolchain's debug option and frame-pointer flags (perf) or
debug and noopt (debug), and adds -perf or -debug to versionsuffix, so the
module sits beside the optimised one. The perf block was checked with
EasyBuild 5.4.2 -x on a GCCcore-13.2.0 easyconfig.

doctor --profiling reports kernel.perf_event_paranoid and
kernel.yama.ptrace_scope, and finds perf, valgrind and gdb.
buildenvLines wrote the compiler family detection inline: a default of
gcc, then one test per family of its EBROOT variable. The locked dev
shell needs the same detection to pick its run path wrappers, so the
lines move into familyDetectLines and buildenvLines calls it. The
European Environment for Scientific Software Installations (EESSI) dev
shell prints the same lines as before.
When evaluating locked output from eb-local, lockedLines previously
emitted module load commands without clearing old wrapper directories or
applying compiler wrappers. On European Environment for Scientific
Software Installations (EESSI) 2026.06 with the llvm-compilers module,
no buildenv module exists, so clang linked without run paths and
binaries failed checks with libfftw3.so.3 not found.

Locked development environments now clear stale wrapper paths with
drop_rpath_wrappers and emit rpath-wrappers after loading locked
modules, using the shared familyDetectLines helper when no buildenv
module is present in the lock and adding unwrapped compiler wrappers in
all cases.

Mock assertions in test_dev_cli_modes and a live llvm-compilers build
check in test_dev_locked_eessi verify that the missing shared library
error disappears and compiled programs run with no modules loaded.
Capture each rpath-wrappers command and evaluate it only after the
capture succeeds, and export EB_LOCAL_DEV_PREFIX only after that setup
succeeds.
The compiler table lists default-lfoss and default-intel without
saying the European Environment for Scientific Software Installations
(EESSI) 2026.06 omits both. Note that 2026.06 includes
buildenv/default-foss-2026.1 and has no default-lfoss or
default-intel. dev still looks for a build environment at the
compiler's own toolchain level before it writes runtime library
search path (RPATH) wrappers.
A test reads the note from docs/howto/compile.md.
The tmpfs prefix and logs tests set storage.node_local_mount to
ubuntu.%j. The fixture creates <user>.123, and eb-local stops when
that path is missing, before EROFS or ENOSPC. GitHub-hosted runners
are user runner, so the three tests fail once user namespaces run.
Name the mount for the user that created it.
The check copies /etc and runs six doctor and Lmod tests in one user
namespace. On ubuntu-24.04-arm that exceeded 30s and the step raised
TimeoutExpired. 120s still bounds a hang.
Merging develop kept the older changelog fragment, epoch pattern,
and submit tests. Those rebased copies record that the plan and
sbatch name the path exclusive create took, and that --print
creates nothing.
The mount name is the user from os.getuid(). This module used os
without importing it, so the tmpfs prefix test errored before the
build ran.
A later reservation, a script write, or an sbatch fork now drops every
script this call reserved and has not handed to sbatch. Scripts sbatch
already accepted stay. A plan that does not reach stdout removes only
the files and directories this call created: directories go with rmdir,
deepest first, and a directory another submit has filled stays.
A job on ubuntu-24.04-arm runs __mask-run for aarch64/neoverse_n1 and aarch64/generic and asserts that getauxval, /proc/cpuinfo and gcc -mcpu=native name the profile.
… names amd/zen3

EESSI archdetect requires avx2, fma and vaes for amd/zen3. QEMU's EPYC-Milan model has no vaes, so the guest read as amd/zen2 and __vm-run refused with exit 126. The kvm CPU line adds vaes and vpclmulqdq; a Zen 5 host has both.
… and a64fx

__mask-preflight died with 'no mask profile' for a target that only the kvm and tcg routes present, so a build under --mask tcg for aarch64/neoverse_v1 or aarch64/a64fx stopped before eb started. The preflight now takes the vendor and compiler names from the __vm-run target table when the route is kvm or tcg and no cpuid profile exists.
cli.md links json/audit-isa.schema.json, as it links the other schemas, but
only the org source tree had the file, so the pages build stopped on a
missing cross-reference target.
feat :: audit-isa reports instructions a CPU target cannot run
feat :: --cpu-target builds for another CPU target
fix: apply `--profile` in `profiles`
…eck before the build

The zlib.net download intermittently handed the GitHub runner a file that
failed EasyBuild's checksum (PRs 450, 451 and 452); the same URL gives the
expected sha256 elsewhere. The job fetches it with retries, checks the
sha256, and places it in eb-local's source path.
feat :: __vm-run runs a command under a virtual CPU that presents an EESSI target
fix(submit): quote apostrophes in `#SBATCH` paths
fix: publish dev lock only after durable close
Merge branch 'develop' into docs/variant-submit-carveout
…low AVX-512

GROMACS compiles identifyavx512fmaunits.cpp into every x86 build; its zmm inline assembly runs only after CpuInfo reports avx512f. A zen3 GROMACS 2025.4 build holds 75 avx512f instructions per libgromacs variant, in identifyAvx512FmaUnits and timeFmaOnlyLoop, and nothing else beyond the target.
@HaoZeke
HaoZeke merged commit 9d8344d into main Nov 27, 2026
16 checks passed
@HaoZeke
HaoZeke deleted the chore/release-3.6.0 branch November 27, 2026 18:29
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.

1 participant