honghua
f07d0e8273
chore: remove k8s feature tests and legacy requirements docs
...
- Delete tests/feature/k8s/ (37 files across 10 subdirectories)
- Delete docs/requirements/ (5 files including templates and history)
- Remove Chapter 10 (K8s RISC-V tutorial) from docs/user_guide_zh.md
2026-08-12 14:28:11 +08:00
honghua
a8e32815cd
docs: remove temporary file reference from self-test-report
2026-08-10 09:01:50 +08:00
honghua
6a9813f22c
docs(k8s): update self-test report with final 25/25 full rerun & env audit
2026-07-24 17:39:45 +08:00
honghua
cdcb31b850
fix(k8s): fix CoreDNS loop via external DNS + 4 script fixes for 25/25 pass
...
CoreDNS: change forward from /etc/resolv.conf to 114.114.114.114 223.5.5.5
Scripts: fix dns_resolve (exit code wait), resource_crud (labels+assert), pod_multi_container (labels), pvc_binding (WaitForFirstConsumer)
Docs: add self-test-report stage to development workflow
2026-07-24 14:01:42 +08:00
honghua
ebc7b27da9
test(k8s): add 25 Sonobuoy-equivalent test cases for RISC-V port
...
Refactor 8 legacy scripts into 10 categorized subdirectories with 25
tmt+beakerlib tests covering:
- smoke (4): arch check, DNS, API reachability, DaemonSet
- api (2): resource CRUD, namespace lifecycle
- pod (2): basic lifecycle, multi-container with init
- workload (2): Deployment scale, ReplicaSet maintain
- network (4): ClusterIP, NodePort, DNS, cross-node
- storage (3): PVC binding, volume mount, data persistence
- scheduling (4): nodeSelector, affinity, taints, ResourceQuota
- auth (1): ServiceAccount token and API access
- config (2): Secret and ConfigMap (mount + env injection)
- kata (1): RuntimeClass + pod (rlSkip if unavailable)
Enhance lib.sh with 8 new helpers: k8sApplyYAML, k8sWaitForPodReady,
k8sGetPodName, k8sExecInPod, k8sDeleteResource, k8sImageExists,
k8sGetNodeCount, k8sKataRuntimeAvailable.
Each test uses isolated namespace and auto-cleanup.
Closes: requirement-1
2026-07-24 08:28:07 +08:00
honghua
bb6be97a67
refactor(k8s): flatten single-test subdirectories into named test scripts
...
Each subdirectory contained only one test.sh, so flatten into k8s/
with naming convention test_k8s_{category}_{feature}.sh:
- test_k8s_quick_health_check.sh
- test_k8s_conformance_pod_lifecycle.sh
- test_k8s_network_cross_node_communication.sh
- test_k8s_storage_pvc_lifecycle.sh
- test_k8s_scheduling_pod_affinity.sh
- test_k8s_workload_config_primitives.sh
- test_k8s_kata_containers_runtime.sh
Update main.fmf to list all tests directly, and update user guide
with new paths and script names.
2026-07-22 17:18:53 +08:00
honghua
c6f9eeb192
feat(k8s): add RISC-V K8s feature test suite with 6 test categories
...
- Add K8s shared library (lib.sh) with sudo-kubectl support for RISC-V nodes
- Add quick smoke test (cluster health, nodes, pods, CoreDNS)
- Add conformance test (pod lifecycle, deployment, scaling)
- Add network test (ClusterIP, NodePort, DNS resolution)
- Add storage test (PVC lifecycle, data persistence)
- Add scheduling test (anti-affinity, nodeSelector, ResourceQuota)
- Add workload test (ConfigMap, Secret, ServiceAccount)
- Add kata test (kata-clh pods, kernel isolation check)
- Update user guide with K8s feature test execution instructions
2026-07-22 17:11:00 +08:00
honghua
48ff6ea190
docs: add unit tests section to development guide (EN/ZH)
2026-07-14 11:16:43 +08:00
honghua
add739955d
fix: rename hardware-require to extra-hardware-require to comply with tmt custom key naming
2026-07-13 16:02:35 +08:00
honghua
11e634eaf7
docs: add English docs, rename CN to *_zh.md with cross-links
2026-07-13 15:15:32 +08:00
honghua
877cee6e0a
docs: simplify commit_guide examples to single-line format only
2026-07-10 14:35:28 +08:00
honghua
4085a0e41f
docs: add ACL-based commit and MR examples to commit_guide
2026-07-10 14:14:34 +08:00
honghua
b8bb655ee6
docs: add commit and MR conventions guide, link from development guide
2026-07-10 14:02:31 +08:00
honghua
2742e0ffcf
docs: enhance development guide - hardware-require docs, tag discovery, lib.sh patterns, ACL dev walkthrough
2026-07-10 11:37:29 +08:00
honghua
e5d10baebb
docs: fix run directory paths, add lock file FAQ, add ACL walkthrough (Section 9)
2026-07-10 11:22:44 +08:00
honghua
fa84034ac0
docs: add 1.4 topology.env configuration guide to user guide
2026-07-10 09:40:25 +08:00
honghua
20d969356e
docs: replace provision.hardware section with project's hardware-require + topology.env approach
2026-07-09 17:33:57 +08:00
honghua
7c807b2268
docs: update hardware-require section with layered inheritance and net field
2026-07-09 16:54:51 +08:00
honghua
f01ebe16dd
feat: add default hardware-require to all test suites and environment-file to all plans
2026-07-09 16:45:20 +08:00
honghua
ca2ba6ee87
feat: add topology.env and hw_check.sh for local-mode hardware requirement checking
2026-07-09 16:36:59 +08:00
honghua
d481e0e60e
docs: add hardware environment constraints section to developer guide
2026-07-09 15:59:18 +08:00
woqidaideshi
90c7e29049
docs: add python-six as beakerlib runtime dependency
2026-07-07 11:57:40 +08:00
honghua
88ea57981c
docs: group functional test report by pkgs-level categories
2026-06-26 14:13:23 +08:00
honghua
691340719b
docs: remove CSV files, add test_reports.md template
2026-06-26 13:57:22 +08:00
honghua
d273e91836
docs: move coverage reports to docs/coverage/ and update links
2026-06-26 13:21:28 +08:00
honghua
acb4f32e56
fix: disable global package install in plans, let lib.sh handle per-suite deps
2026-06-25 20:53:49 +08:00
honghua
3e9b7fd88b
docs: add feature directory to user guide structure overview
2026-06-25 18:35:25 +08:00
honghua
388c348ea7
docs: refine feature directory structure with xxx/aaa levels
2026-06-25 18:06:13 +08:00
honghua
8a6045d5e1
feat: add feature test directory with plan and sync all docs
2026-06-25 18:01:48 +08:00
honghua
e6f5ad1161
fix: add --all flag to run complete test workflow, not just provision
2026-06-25 17:09:26 +08:00
honghua
519158e42b
fix: place --feeling-safe on provision step, not global flag
2026-06-25 16:46:41 +08:00
honghua
0ea69fc6ae
fix: add --feeling-safe to all tmt run commands in docs
2026-06-25 16:07:52 +08:00
honghua
d4f6bae983
docs: minor user_guide refinements
2026-06-25 15:38:42 +08:00
honghua
695a6e5935
docs: rename manual-execution.md to user_guide.md
2026-06-25 14:25:28 +08:00
honghua
d05e0a5e27
docs: restructure README into 3 chapters, add development guide, refine execution doc
2026-06-25 14:23:22 +08:00
honghua
014405ee1b
docs: polish execution guide - remove manual, add git install, add log guide, simplify
2026-06-25 14:09:04 +08:00
honghua
286c3b0537
docs: add manual execution guide with tmt commands and simplify README
2026-06-25 13:59:26 +08:00
honghua
dde3361aae
docs: add UnixBench performance benchmark results
...
- 7 test cases all PASS on server (10.20.237.192:12055)
- Single-thread: 25.8, Multi-thread: 85.7 (3.3x speedup)
- Integer: 61.1, I/O: 55.0, Process: 9.4, Quick: 20.2
- Half-CPU: 85.8 (nearly same as full multi-thread)
2026-06-22 16:57:35 +08:00
honghua
8120b87ee7
fix: add -std=gnu11 to gcc flags — fixes pthread_cond_wait bool conflict, SKIP 21→20
2026-06-18 11:26:24 +08:00
honghua
de4cc69eb7
fix: add -Wno-error=incompatible-pointer-types to gcc flags — SKIP 84→21, PASS 508→569
2026-06-18 11:05:26 +08:00
honghua
33d7183b92
feat: add sudo support to POSIX tests — 508 PASS / 34 FAIL / 84 SKIP verified on server
2026-06-18 09:28:40 +08:00
honghua
71e141fa6a
docs: fix compatibility stats — 1 suite (ltp_posix) / 10 cases; update totals
2026-06-17 15:39:43 +08:00
honghua
e1addc3804
refactor: split LTP POSIX tests into 188 individual test cases under 10 category dirs
2026-06-17 14:30:18 +08:00
honghua
723eb420b7
chore: remove old compatibility template — replaced by ltp_posix test suite; update coverage docs
2026-06-17 14:14:51 +08:00
honghua
536e8e9353
feat: add LTP POSIX compatibility tests — 10 cases, 498 PASS / 47 FAIL / 84 SKIP verified on server
2026-06-17 14:00:05 +08:00
honghua
185f700ca5
feat: add 55 functional test scripts — 51 PASS / 4 SKIP verified on server
2026-06-16 14:57:49 +08:00
honghua
63cfacf401
refactor: optimize CVE tests to runltp format — 74/98 PASS (up from 38), 0 FAIL
2026-06-15 18:13:26 +08:00
honghua
ee196d37ef
docs: add CVE security test results — 98 cases verified on server (38P/7F/47S/6T)
2026-06-15 16:45:47 +08:00
honghua
aa411dd3bd
docs: add smoke coverage doc and update README stats (100/100 PASS)
2026-06-15 10:44:26 +08:00
honghua
7d1cfcacbc
docs: nmap security tests — all 8 cases PASS verified manually on server
2026-06-14 16:07:34 +08:00