WESERGATE NAC / OPERATIONS

Docker test suite and WSL2 troubleshooting

The v0.14.0 test-container issue In v0.14.0, bash ./wg.sh test-suite built a Docker test stage without the repository's Dockerfile , Dockerfile.appliance , wg.sh and tools/ files. Several regression tests inspected those

v0.14.3Pre-production · v0.14.3
v0.14.3 documentation draft: technical, legal and commercial reviews are still pending.

The v0.14.0 test-container issue

In v0.14.0, bash ./wg.sh test-suite built a Docker test stage without the repository's Dockerfile, Dockerfile.appliance, wg.sh and tools/ files. Several regression tests inspected those paths at /opt/wesergate and failed with FileNotFoundError. The image also omitted Node.js, required by JavaScript syntax checks. The appliance itself built and reached healthy status; the Docker smoke and audit checks separately passed.

v0.14.1 restores the missing files to the isolated ephemeral test image, installs Node.js only in that stage, and adds packaging regression tests. It does not reset administrator accounts, commercial trial dates, installation IDs, certificates or database content.

WSL2 Ubuntu lab, from zero

  1. Install Docker Desktop with WSL integration (or a functioning Linux Docker Engine) and confirm docker version and docker compose version.
  2. Unzip the v0.14.1 customer software archive in a new directory and enter wesergate-nac-v0.14.1.
  3. Run bash ./wg.sh start preproduction.
  4. Copy the one-time setup URL printed by the CLI into the Windows browser, create an administrator and configure only the non-network-breaking steps.
  5. Check bash ./wg.sh status preproduction, bash ./wg.sh smoke preproduction, bash ./wg.sh verify-audit preproduction.
  6. Execute bash ./wg.sh test-suite. The container must run the complete suite without the former /opt/wesergate missing-file failures.
  7. Use bash ./wg.sh logs preproduction for server issues. Use Ctrl+C to stop following logs without stopping the appliance.

WSL2 safety: Do not run apply-network from WSL2; it targets native Linux NetworkManager on a host with physical NICs. Keep HTTPS bound to 127.0.0.1 until you intentionally configure Windows network access.

Reading results

  • Healthy from Docker means the process and readiness probe succeeded.
  • The smoke script checks basic HTTP readiness, setup availability, denial of unauthenticated admin API access and portal isolation. It does not prove trusted TLS or actual switch/RADIUS enforcement.
  • A passed automated suite validates documented unit and integration behavior, not hardware performance, security accreditation or production fitness.
  • Run full regression tests again after every patch, alongside migration and encrypted-backup verification on a separate copy of customer data.

Lifecycle / destructive cleanup

bash ./wg.sh stop preproduction stops the stack while leaving volumes. bash ./wg.sh start preproduction starts it again. bash ./wg.sh destroy preproduction --yes deletes the dedicated preproduction Docker project and its persistent data. This is irrecoverable without an externally exported backup and key material. Never destroy a real customer installation to fix test-suite failures.

Original English reference: en/docs/operations/docker-test-suite-v0141.mdRead documentation
Pre-production · v0.14.3

Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

WeserCode One now provides customer accounts, support tickets and verified commercial records. Automated checkout and signed WeserGate license issuance are not connected.

Open customer portal Product overview