eBPF-based security platform
testing: group upatch tests
John Fastabendccfe6dabebda
diff --git a/testing/otel/test.plan.md b/testing/otel/test.plan.mdindex 6e354e9b..b6b0daa5 100644--- a/testing/otel/test.plan.md+++ b/testing/otel/test.plan.md@@ -2,7 +2,7 @@## Scope-This plan records coverage for OpenTelemetry export across host-side serialization and transport, target map export, status keepalives, systemd/package wiring, and the shared TLS policy. Tests live primarily in `testing/otel/`; related coverage includes `testing/t0030-tls-policy.sh`, `testing/t0005-upatch-decoders.sh`, and `testing/fuzz/fuzz-otel.c`.+This plan records coverage for OpenTelemetry export across host-side serialization and transport, target map export, status keepalives, systemd/package wiring, and the shared TLS policy. Tests live primarily in `testing/otel/`; related coverage includes `testing/t0030-tls-policy.sh`, `testing/upatch/t0005-upatch-decoders.sh`, and `testing/fuzz/fuzz-otel.c`.## Coveragediff --git a/testing/run-target-tests.sh b/testing/run-target-tests.shindex 4a0da0a8..20e833c7 100755--- a/testing/run-target-tests.sh+++ b/testing/run-target-tests.sh@@ -44,13 +44,13 @@ for t in \signing/t1124-keys-add.sh \signing/t1126-keys-revoke.sh \tamperproof/t1105-siggate.sh \- t1133-upatch-arena-serializer.sh \- t1103-version-gate.sh \- t1104-payload-mismatch.sh \- t1107-load-unload.sh \+ upatch/t1133-upatch-arena-serializer.sh \+ upatch/t1103-version-gate.sh \+ upatch/t1104-payload-mismatch.sh \+ upatch/t1107-load-unload.sh \tpm/t1108-tpm-chain.sh \- t1111-upatch-get.sh \- t1114-uprobe-multi.sh \+ upatch/t1111-upatch-get.sh \+ upatch/t1114-uprobe-multi.sh \bpm/t1118-bpm-tree.sh \bpm/t1119-bpm-tree-sequential.sh \bpm/t1120-bpm-tree-delete.sh \diff --git a/testing/run-tests.sh b/testing/run-tests.shindex c8de0c33..a07ba623 100755--- a/testing/run-tests.sh+++ b/testing/run-tests.sh@@ -67,6 +67,19 @@ for t in tamperproof/t0[0-9][0-9][0-9]-*.sh; dofidone+for t in upatch/t0[0-9][0-9][0-9]-*.sh; do+ [ -e "$t" ] || continue+ found=1+ if sh "$t"; then+ :+ else+ fail=$((fail + 1))+ if [ -n "$SHIRUDO_TEST_SUITE_FAILURES_FILE" ]; then+ printf '%s\n' "$t" >>"$SHIRUDO_TEST_SUITE_FAILURES_FILE" 2>/dev/null || :+ fi+ fi+done+for t in signing/t0[0-9][0-9][0-9]-*.sh; do[ -e "$t" ] || continuefound=1diff --git a/testing/t0015-test-vm-cli.sh b/testing/t0015-test-vm-cli.shindex 25497f12..4a41b347 100755--- a/testing/t0015-test-vm-cli.sh+++ b/testing/t0015-test-vm-cli.sh@@ -906,16 +906,20 @@ test_expect_success 'make -C testing test runs the complete pipeline in order' 'test_expect_success 'operator and target runners have disjoint explicit scopes' 'grep -q "for t in t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&+ grep -q "for t in upatch/t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&grep -q "for t in signing/t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&grep -q "for t in otel/t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&grep -q "bpm/t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&grep -q "tpm/t0\[0-9\]\[0-9\]\[0-9\]-\*.sh" ../testing/run-tests.sh &&! grep -q "t1101" ../testing/run-tests.sh &&- for test_name in t1200-target-fixtures.sh t1107-load-unload.sh \+ for test_name in t1200-target-fixtures.sh upatch/t1107-load-unload.sh \signing/t1123-keys.sh signing/t1124-keys-add.sh \signing/t1126-keys-revoke.sh \bpm/t1118-bpm-tree.sh tamperproof/t1140-verity-authority.sh \- tamperproof/t1154-verity-config.sh tamperproof/t1158-verity-interruption.sh+ tamperproof/t1154-verity-config.sh tamperproof/t1158-verity-interruption.sh \+ upatch/t1103-version-gate.sh upatch/t1104-payload-mismatch.sh \+ upatch/t1111-upatch-get.sh upatch/t1114-uprobe-multi.sh \+ upatch/t1133-upatch-arena-serializer.shdogrep -q "$test_name" ../testing/run-target-tests.sh || return 1donediff --git a/testing/upatch/infra/test.plan.md b/testing/upatch/infra/test.plan.mdindex dfd58abc..edda15dd 100644--- a/testing/upatch/infra/test.plan.md+++ b/testing/upatch/infra/test.plan.md@@ -10,23 +10,23 @@ this review.| ID | Mechanism case | Status | Existing test | Planned assertion or notes ||---|---|---|---|---|| UI-01 | Operator signing accepts ML-DSA-87 and rejects RSA | Covered | `signing/t0029-mldsa-sign.sh` | Keep the algorithm rejection, CMS structure, size, signed-content verification and tamper rejection checks. |-| UI-02 | Malformed `.upatch` files fail cleanly | Covered | `t0004-upatch-parse.sh` | Empty, truncated, random, bogus-magic, missing-file and directory inputs must fail without a signal. |-| UI-03 | Reader validates file size, structured header and section bounds | Covered | `t0004-upatch-parse.sh` | Oversized file, unsupported version, both reserved words, zero required lengths, header overlap, and out-of-file or overflowing ranges fail cleanly; a structured control parses. |-| UI-04 | Valid signed decoder metadata is reported and executed | Covered | `t0005-upatch-decoders.sh` | Keep metadata fields, JSON output, OTLP value conversion, instruction and memory limits, and invalid UTF-8 checks. |-| UI-05 | Malformed decoder trailer and source ranges are handled as absent | Covered | `t0005-upatch-decoders.sh` | Malformed trailer, offset, entry count, source range, and unterminated fixed string leave offline inspection successful with no decoders reported. |-| UI-06 | Supported attachment forms produce the expected build metadata | Covered | `t0009-cgroup-skb-metadata.sh`, `t0009-uprobe-multi-metadata.sh`, `t0011-override-metadata.sh`, `t0012-netfilter-metadata.sh` | Preserve checks for cgroup ingress/egress, uprobe.multi targets, kprobe override, fmod_ret, and netfilter metadata. |-| UI-07 | Unsupported attachment sections fail with actionable build errors | Covered | `t0010-unsupported-network-sections.sh` | Preserve rejection checks for sk_skb, socket filters and generic cgroup skb sections. |-| UI-08 | Serializer metadata binds a serializer to its target map | Covered | `t0007-upatch-serializer-metadata.sh` | Keep the signed arena-tree artifact metadata check. |-| UI-09 | Builder rejects invalid serializer declarations | Covered | `t0007-upatch-serializer-metadata.sh` | Missing output map, missing or reserved target map, and duplicate serializer targets fail with the builder diagnostic. |-| UI-10 | Map type names and generic-read/serializer policy are stable | Covered | `t0006-upatch-map-types.sh` | Keep arena naming, arena serializer requirement, array generic-read, and skipped-type naming assertions. |-| UI-11 | Serializer ABI, invocation nonce, locking and paged JSON shape | Covered | `t0008-upatch-serializer-pages.sh` | The helper checks the serializer ABI and nonce validation, map-lock behavior, and a synthetic two-page JSON view. Keep the CLI path and NDJSON assertions. |-| UI-12 | Loaded arena serializer returns a complete multi-page snapshot | Covered | `t1133-upatch-arena-serializer.sh` | Load the signed arena-tree fixture; verify all three pages, cursor progression, all records, completion, and a serializer error result. |-| UI-13 | Target load archives and pins an upatch; matching unload removes it | Covered | `t1107-load-unload.sh`, `t1200-target-fixtures.sh` | Keep positive lifecycle checks for attachment, pin, archive and unload. |-| UI-14 | Target refuses unload on payload mismatch and load on version mismatch | Covered | `t1104-payload-mismatch.sh`, `t1103-version-gate.sh` | Keep the refusal categories and checks that a mismatched unload leaves the pin intact. |+| UI-02 | Malformed `.upatch` files fail cleanly | Covered | `upatch/t0004-upatch-parse.sh` | Empty, truncated, random, bogus-magic, missing-file and directory inputs must fail without a signal. |+| UI-03 | Reader validates file size, structured header and section bounds | Covered | `upatch/t0004-upatch-parse.sh` | Oversized file, unsupported version, both reserved words, zero required lengths, header overlap, and out-of-file or overflowing ranges fail cleanly; a structured control parses. |+| UI-04 | Valid signed decoder metadata is reported and executed | Covered | `upatch/t0005-upatch-decoders.sh` | Keep metadata fields, JSON output, OTLP value conversion, instruction and memory limits, and invalid UTF-8 checks. |+| UI-05 | Malformed decoder trailer and source ranges are handled as absent | Covered | `upatch/t0005-upatch-decoders.sh` | Malformed trailer, offset, entry count, source range, and unterminated fixed string leave offline inspection successful with no decoders reported. |+| UI-06 | Supported attachment forms produce the expected build metadata | Covered | `upatch/t0009-cgroup-skb-metadata.sh`, `upatch/t0009-uprobe-multi-metadata.sh`, `upatch/t0011-override-metadata.sh`, `upatch/t0012-netfilter-metadata.sh` | Preserve checks for cgroup ingress/egress, uprobe.multi targets, kprobe override, fmod_ret, and netfilter metadata. |+| UI-07 | Unsupported attachment sections fail with actionable build errors | Covered | `upatch/t0010-unsupported-network-sections.sh` | Preserve rejection checks for sk_skb, socket filters and generic cgroup skb sections. |+| UI-08 | Serializer metadata binds a serializer to its target map | Covered | `upatch/t0007-upatch-serializer-metadata.sh` | Keep the signed arena-tree artifact metadata check. |+| UI-09 | Builder rejects invalid serializer declarations | Covered | `upatch/t0007-upatch-serializer-metadata.sh` | Missing output map, missing or reserved target map, and duplicate serializer targets fail with the builder diagnostic. |+| UI-10 | Map type names and generic-read/serializer policy are stable | Covered | `upatch/t0006-upatch-map-types.sh` | Keep arena naming, arena serializer requirement, array generic-read, and skipped-type naming assertions. |+| UI-11 | Serializer ABI, invocation nonce, locking and paged JSON shape | Covered | `upatch/t0008-upatch-serializer-pages.sh` | The helper checks the serializer ABI and nonce validation, map-lock behavior, and a synthetic two-page JSON view. Keep the CLI path and NDJSON assertions. |+| UI-12 | Loaded arena serializer returns a complete multi-page snapshot | Covered | `upatch/t1133-upatch-arena-serializer.sh` | Load the signed arena-tree fixture; verify all three pages, cursor progression, all records, completion, and a serializer error result. |+| UI-13 | Target load archives and pins an upatch; matching unload removes it | Covered | `upatch/t1107-load-unload.sh`, `t1200-target-fixtures.sh` | Keep positive lifecycle checks for attachment, pin, archive and unload. |+| UI-14 | Target refuses unload on payload mismatch and load on version mismatch | Covered | `upatch/t1104-payload-mismatch.sh`, `upatch/t1103-version-gate.sh` | Keep the refusal categories and checks that a mismatched unload leaves the pin intact. || UI-15 | Target rejects an artifact signed by an untrusted key | Covered | `t1200-target-fixtures.sh` | Keep the foreign-signed fixture rejection and valid non-Shirudo keyring denial. |-| UI-16 | `upatch get` reads loaded source information from the kernel | Covered | `t1111-upatch-get.sh` | The current assertion checks that the loaded marker source appears in output. Detailed JSON and line-location assertions are not present. |-| UI-17 | uprobe.multi verifies target identity and attaches all matched offsets | Covered | `t1114-uprobe-multi.sh` | Keep build-ID mismatch refusal, target/function status, and execution of both matched functions. |-| UI-18 | `upatch map` emits detailed map JSON and appends NDJSON records | Covered | `t0008-upatch-serializer-pages.sh`, `otel/t1115-map-export-all.sh`, `t1200-target-fixtures.sh` | Keep output-path validation, schema and per-map JSON checks. This row covers the upatch map interface, not exporter transport. |+| UI-16 | `upatch get` reads loaded source information from the kernel | Covered | `upatch/t1111-upatch-get.sh` | The current assertion checks that the loaded marker source appears in output. Detailed JSON and line-location assertions are not present. |+| UI-17 | uprobe.multi verifies target identity and attaches all matched offsets | Covered | `upatch/t1114-uprobe-multi.sh` | Keep build-ID mismatch refusal, target/function status, and execution of both matched functions. |+| UI-18 | `upatch map` emits detailed map JSON and appends NDJSON records | Covered | `upatch/t0008-upatch-serializer-pages.sh`, `otel/t1115-map-export-all.sh`, `t1200-target-fixtures.sh` | Keep output-path validation, schema and per-map JSON checks. This row covers the upatch map interface, not exporter transport. || UI-19 | Target executes a serializer and decodes its output | Covered | `otel/t1117-otel-serialized-metric.sh` | Keep the serialized-counter fixture assertions for decoded values and cumulative metric fields; generic exporter behavior is outside this matrix. |## Review notes@@ -38,7 +38,7 @@ this review.- The structured parser and decoder-metadata gaps correspond to validationrules in `Documentation/upatch-spec.rst`; policy text alone is not testcoverage.-- `t1133-upatch-arena-serializer.sh` loads the arena-tree fixture and checks+- `upatch/t1133-upatch-arena-serializer.sh` loads the arena-tree fixture and checksthe real target serializer over its full three-page result and error path.- `make -C testing test-op` and `make -C testing test-tgt` passed on2026-10-19, including the parser, decoder, metadata, tamper and targetdiff --git a/testing/t0004-upatch-parse.sh b/testing/upatch/t0004-upatch-parse.shsimilarity index 99%rename from testing/t0004-upatch-parse.shrename to testing/upatch/t0004-upatch-parse.shindex 51f2de8b..0722811c 100644--- a/testing/t0004-upatch-parse.sh+++ b/testing/upatch/t0004-upatch-parse.sh@@ -7,7 +7,7 @@# input cleanly (non-zero exit, never a crash). Driven through the real# core binary's read-only `upatch info`; needs no root, kernel, or clang.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shS=../shirudodiff --git a/testing/t0005-upatch-decoders.sh b/testing/upatch/t0005-upatch-decoders.shsimilarity index 99%rename from testing/t0005-upatch-decoders.shrename to testing/upatch/t0005-upatch-decoders.shindex b7d10b63..ec50e03d 100755--- a/testing/t0005-upatch-decoders.sh+++ b/testing/upatch/t0005-upatch-decoders.sh@@ -9,7 +9,7 @@# throwaway key, and exercises the decoder through the test helper.# Needs clang + shirudo-build (skips otherwise).-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shS=../shirudodiff --git a/testing/t0006-upatch-map-types.sh b/testing/upatch/t0006-upatch-map-types.shsimilarity index 96%rename from testing/t0006-upatch-map-types.shrename to testing/upatch/t0006-upatch-map-types.shindex 030a5a43..f51e568d 100644--- a/testing/t0006-upatch-map-types.sh+++ b/testing/upatch/t0006-upatch-map-types.sh@@ -5,7 +5,7 @@# t0006 -- offline coverage for upatch map type labels and generic-read# policy. Arena maps must be visible but require a serializer.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shH=helper/test-upatch-map-typesdiff --git a/testing/t0007-upatch-serializer-metadata.sh b/testing/upatch/t0007-upatch-serializer-metadata.shsimilarity index 99%rename from testing/t0007-upatch-serializer-metadata.shrename to testing/upatch/t0007-upatch-serializer-metadata.shindex 6b55f50a..ea6a083b 100644--- a/testing/t0007-upatch-serializer-metadata.sh+++ b/testing/upatch/t0007-upatch-serializer-metadata.sh@@ -8,7 +8,7 @@# offline. Full load/read is covered by integration environments with# BPF_MAP_TYPE_ARENA support.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t0008-upatch-serializer-pages.sh b/testing/upatch/t0008-upatch-serializer-pages.shsimilarity index 98%rename from testing/t0008-upatch-serializer-pages.shrename to testing/upatch/t0008-upatch-serializer-pages.shindex 7552b3df..36567cee 100755--- a/testing/t0008-upatch-serializer-pages.sh+++ b/testing/upatch/t0008-upatch-serializer-pages.sh@@ -4,7 +4,7 @@## t0008 -- paged serializer and detailed map JSON output shape.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shH=helper/test-upatch-serializer-pagesdiff --git a/testing/t0009-cgroup-skb-metadata.sh b/testing/upatch/t0009-cgroup-skb-metadata.shsimilarity index 99%rename from testing/t0009-cgroup-skb-metadata.shrename to testing/upatch/t0009-cgroup-skb-metadata.shindex 211bb4d2..e8e80496 100644--- a/testing/t0009-cgroup-skb-metadata.sh+++ b/testing/upatch/t0009-cgroup-skb-metadata.sh@@ -4,7 +4,7 @@## t0009 -- cgroup_skb upatches carry explicit attach metadata.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t0009-uprobe-multi-metadata.sh b/testing/upatch/t0009-uprobe-multi-metadata.shsimilarity index 99%rename from testing/t0009-uprobe-multi-metadata.shrename to testing/upatch/t0009-uprobe-multi-metadata.shindex 31c79bb2..5aef82ba 100644--- a/testing/t0009-uprobe-multi-metadata.sh+++ b/testing/upatch/t0009-uprobe-multi-metadata.sh@@ -5,7 +5,7 @@# t0009 -- uprobe.multi SEC metadata resolves a standard libbpf glob to# sorted ELF file offsets and records the target's GNU build ID.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t0010-unsupported-network-sections.sh b/testing/upatch/t0010-unsupported-network-sections.shsimilarity index 99%rename from testing/t0010-unsupported-network-sections.shrename to testing/upatch/t0010-unsupported-network-sections.shindex 4be43973..57e43ec2 100644--- a/testing/t0010-unsupported-network-sections.sh+++ b/testing/upatch/t0010-unsupported-network-sections.sh@@ -5,7 +5,7 @@# t0010 -- unsupported network attach kinds are rejected with Shirudo-specific# diagnostics.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t0011-override-metadata.sh b/testing/upatch/t0011-override-metadata.shsimilarity index 99%rename from testing/t0011-override-metadata.shrename to testing/upatch/t0011-override-metadata.shindex 041ac1bb..3d355a16 100644--- a/testing/t0011-override-metadata.sh+++ b/testing/upatch/t0011-override-metadata.sh@@ -5,7 +5,7 @@# t0011 -- override-capable kprobe/fmod_ret upatches carry attach metadata# that lets the target create the right link type.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t0012-netfilter-metadata.sh b/testing/upatch/t0012-netfilter-metadata.shsimilarity index 98%rename from testing/t0012-netfilter-metadata.shrename to testing/upatch/t0012-netfilter-metadata.shindex be7834b3..68060cd3 100644--- a/testing/t0012-netfilter-metadata.sh+++ b/testing/upatch/t0012-netfilter-metadata.sh@@ -4,7 +4,7 @@## t0012 -- netfilter upatches carry explicit IPv6 pre-routing metadata.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHB=../tools/shirudo-build/shirudo-builddiff --git a/testing/t1103-version-gate.sh b/testing/upatch/t1103-version-gate.shsimilarity index 98%rename from testing/t1103-version-gate.shrename to testing/upatch/t1103-version-gate.shindex ff90ef28..d573df8f 100644--- a/testing/t1103-version-gate.sh+++ b/testing/upatch/t1103-version-gate.sh@@ -9,7 +9,7 @@# the op then fails later for a different reason on the bogus path).# Non-destructive.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guarddiff --git a/testing/t1104-payload-mismatch.sh b/testing/upatch/t1104-payload-mismatch.shsimilarity index 97%rename from testing/t1104-payload-mismatch.shrename to testing/upatch/t1104-payload-mismatch.shindex 19472d4d..a44c8fd3 100644--- a/testing/t1104-payload-mismatch.sh+++ b/testing/upatch/t1104-payload-mismatch.sh@@ -8,7 +8,7 @@# directive's signature still verifies (operator key); only the payload# binding is wrong. Non-destructive: the pin survives.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guarddiff --git a/testing/t1107-load-unload.sh b/testing/upatch/t1107-load-unload.shsimilarity index 98%rename from testing/t1107-load-unload.shrename to testing/upatch/t1107-load-unload.shindex ed640288..81730500 100644--- a/testing/t1107-load-unload.sh+++ b/testing/upatch/t1107-load-unload.sh@@ -4,7 +4,7 @@## t1107 -- load/unload happy path using a host-built fixture.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guarddiff --git a/testing/t1111-upatch-get.sh b/testing/upatch/t1111-upatch-get.shsimilarity index 98%rename from testing/t1111-upatch-get.shrename to testing/upatch/t1111-upatch-get.shindex ad7526a4..4ce75776 100644--- a/testing/t1111-upatch-get.sh+++ b/testing/upatch/t1111-upatch-get.sh@@ -7,7 +7,7 @@# installed). Builds + loads a marker fentry upatch, asserts `get` shows# the marker source, then unloads + cleans up on EXIT.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guarddiff --git a/testing/t1114-uprobe-multi.sh b/testing/upatch/t1114-uprobe-multi.shsimilarity index 98%rename from testing/t1114-uprobe-multi.shrename to testing/upatch/t1114-uprobe-multi.shindex 84c3e15c..35f6efb8 100644--- a/testing/t1114-uprobe-multi.sh+++ b/testing/upatch/t1114-uprobe-multi.sh@@ -4,7 +4,7 @@## t1114 -- live uprobe.multi coverage using host-built target fixtures.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guarddiff --git a/testing/t1133-upatch-arena-serializer.sh b/testing/upatch/t1133-upatch-arena-serializer.shsimilarity index 99%rename from testing/t1133-upatch-arena-serializer.shrename to testing/upatch/t1133-upatch-arena-serializer.shindex adce5702..0be68945 100644--- a/testing/t1133-upatch-arena-serializer.sh+++ b/testing/upatch/t1133-upatch-arena-serializer.sh@@ -4,7 +4,7 @@## t1133 -- real target arena serializer pagination and error result.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./integration-lib.shtarget_guardcommand -v python3 >/dev/null 2>&1 || test_skip_all "no python3"