Appearance
Developer tests
These entries only concern a source checkout: the end-to-end suite (make e2e), the browser checks and the demo fixture that the suite starts. An installed package does not run them.
make e2e reports panic: test timed out after 10m0s
- Symptom: the complete suite stops at ten minutes after earlier scenarios pass, sometimes leaving the current test's control and inspection processes running.
- Cause: Go's default timeout applies to the whole package, not to each scenario. The real refresh, failure and recovery browser test adds about a minute to the existing suite.
- Check: the panic's "running tests" line and the process command lines. Identify only that run's temporary runtime and data paths before stopping an orphaned test process.
- Fix: run the current
make e2e, which sets a 15-minute package timeout. Individual scenario deadlines and latency budgets stay unchanged; no test is skipped. If a timed-out run left processes, stop its control and inspection processes with SIGTERM so the control process can reap its Envoy guard. Keep unrelated and demo processes running.
A demo browser fixture starts before inspection is ready
- Symptom: a seeded attack unexpectedly receives 200 while the control log says
inspection stream failedorno policy loadedduring startup. - Cause: a benign readiness request can receive a fail-open 200 while inspection compiles the initial policy. A listening HTTP socket alone does not prove that inspection is ready.
- Check: the startup log and the attack's decision and event. Confirm the intended configuration version and inspection subscriber.
- Fix: in the browser harness, wait for the known attack to receive 403 before seeding assertions. Keep the existing readiness timeout and the attack and benign assertions. The demo fixture uses this probe; no failure policy is changed.
A Dashboard browser check cannot choose the Events link
- Symptom: Playwright reports a strict-mode violation for an exact "Events" link.
- Cause: the Dashboard has one Events link per application card as well as the main navigation entry. An older selector assumed there was only one link on the page.
- Check: the saved call log and page snapshot. Card links include
?app=NAME; the main navigation link opens the unfiltered Events page. - Fix: scope the locator to the navigation's Main menu when testing the menu, or to the named application article when testing a card. Keep the destination and event-content assertions. Do not pick an arbitrary match or remove assertions.
Vulnerable-app lab
These entries concern the lab of vulnerable applications that make vuln-up starts in the Lima VM, for use in a source checkout.
Lab: vuln prepare gets 404, or "nothing answers at http://127.0.0.N:18080"
- Cause: an old script addressed
127.0.0.1:18080, where the lab applications no longer listen alone (each has its own VIP). Or the demo is not running withtest/demo/demo.yaml, or the macOS loopback aliases are missing. - Check:
scripts/vip-aliases.sh check, andcurl -H 'Host: dvwa.test' http://127.0.0.2:18080/. - Fix: run
make demo-vips(once per boot), startmake demo, then runscripts/vuln.sh prepareagain. For a demo started elsewhere, setWAAP_BINandWAAP_RUNTIME.
Lab: no matching manifest for linux/arm64
- Cause: the image has no arm64 build, and the VM runs on Apple silicon.
- Check:
docker buildx imagetools inspect <image>. - Fix: set
platform: linux/amd64on the service. This needsqemu-user-binfmtin the VM.docker run --platform linux/amd64 alpine uname -mconfirms it works.
Lab: media type ...manifest.v1+prettyjws is no longer supported
- Cause: a very old image.
- Fix: use another build of the application. Hackazon uses
ianwijaya/hackazon.
Lab: application returns 502 through Spalto but works directly
- Cause: the Lima port forward is not up yet, or the container is still starting.
- Check:
make vuln-status, andcurl 127.0.0.1:<port>.
Lab: applications on 127.0.0.2 to 127.0.0.15 do not answer (macOS)
- Cause: the loopback aliases are missing.
- Check:
scripts/vip-aliases.sh check. - Fix: run
make demo-vips, then restartmake demo.
Lab: out of memory, or the VM is sluggish
- Cause: the lab needs about 7 GiB.
- Fix: stop other Lima VMs, for example with
limactl stop waap-ha.
Lab: no space left on device in the VM, or a PentAGI flow shows Failed right after it starts
- Cause: the VM disk is full. The lab images take about 30 GB, and PentAGI's tool image (
vxcontrol/kali-linux) about 20 GB more. When its pull fails, the agent cannot create its terminal container, and the flow fails before any testing. The agent's log saysfailed to prepare flow resources. - Check:
limactl shell vuln df -h /, andlimactl shell vuln docker system df. - Fix: run
limactl shell vuln docker builder prune -af, then grow the disk:limactl stop vuln,limactl edit vuln --disk 120 --tty=false,limactl start vuln. The file system grows on boot. Then runlimactl shell vuln docker pull vxcontrol/kali-linux:latestand start a new flow.
Lab: some lab applications are down after a VM restart
- Cause: the crAPI, vAPI and Security Shepherd containers have no restart policy.
- Fix: run
make vuln-up, ordocker startthe stopped containers.