Skip to content

Misc Improvements#28

Merged
flichtenheld merged 3 commits into
mainfrom
misc
Jul 13, 2026
Merged

Misc Improvements#28
flichtenheld merged 3 commits into
mainfrom
misc

Conversation

@flichtenheld

Copy link
Copy Markdown
Member

Small improvements done during reliability testing.

That makes it easier to find the right logs after the
run.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
In older Ubuntu versions resolvectl is part of the build
dependencies of OpenVPN (in newer versions it is a separate
package). But we do not have systemd running in the containers.
So running resolvectl just gives a warning. Avoid that.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Due to us using TEST_RUN_GROUP the logs are very short.
In case there are any failures it is very useful
to have them.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes small reliability/debuggability improvements to the OpenVPN test harness scripts by increasing the amount of diagnostic output captured/printed on failures and by improving log directory naming and DNS-info collection on Linux.

Changes:

  • Print full client logs when a test run fails (including the “some tests failed” return code path).
  • Include TEST_RUN_GROUP in t_client.sh log directory names to make multi-group runs easier to correlate.
  • Gate resolvectl status collection on a systemd runtime marker to avoid running it on non-systemd Linux environments.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
t_server/original/run_t_clients.sh Expands failure diagnostics by printing the full per-run log (not just the tail) and adds extra output for rc=30 failures.
t_server/original/client_vm/bin/t_client.sh Adds group suffix to log directory names and avoids calling resolvectl unless systemd is present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@flichtenheld flichtenheld merged commit 1032dfe into main Jul 13, 2026
1 check passed
@flichtenheld flichtenheld deleted the misc branch July 13, 2026 10:04
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.

3 participants