Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ci): use the same test framework for headless client and IPC service #4943

Merged
merged 8 commits into from
May 10, 2024

Conversation

ReactorScram
Copy link
Collaborator

@ReactorScram ReactorScram commented May 9, 2024

This will fix an issue with linux-group and token-path that happens when I try to split up the binaries.

Before merging

Edit tasklist title
Beta Give feedback Tasklist Before merging, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Fix linux-group. That stub-ipc-client command doesn't even exist anymore
    Options

@ReactorScram ReactorScram added area/ci Changes to the CI pipeline / Github Actions kind/refactor Code refactoring labels May 9, 2024
@ReactorScram ReactorScram self-assigned this May 9, 2024
Copy link

vercel bot commented May 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
firezone ⬜️ Ignored (Inspect) Visit Preview May 9, 2024 10:47pm

Copy link

github-actions bot commented May 9, 2024

Terraform Cloud Plan Output

Plan: 15 to add, 15 to change, 15 to destroy.

Terraform Cloud Plan

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was originally going to merge the linux-group test into this, and I left the refactoring of this file.

Copy link

github-actions bot commented May 9, 2024

Performance Test Results

TCP

Test Name Received/s Sent/s Retransmits
direct-tcp-client2server 243.2 MiB (+0%) 244.4 MiB (+0%) 313 (+32%)
direct-tcp-server2client 244.3 MiB (-1%) 245.7 MiB (-1%) 476 (+178%)
relayed-tcp-client2server 224.0 MiB (-3%) 225.0 MiB (-3%) 262 (-22%)
relayed-tcp-server2client 233.4 MiB (-2%) 233.9 MiB (-2%) 287 (-9%)

UDP

Test Name Total/s Jitter Lost
direct-udp-client2server 500.0 MiB (-0%) 0.03ms (+28%) 42.17% (-4%)
direct-udp-server2client 500.0 MiB (+0%) 0.02ms (-11%) 21.20% (-13%)
relayed-udp-client2server 500.0 MiB (+0%) 0.14ms (+324%) 57.56% (-0%)
relayed-udp-server2client 500.0 MiB (-0%) 0.04ms (+302%) 38.30% (+2%)

@ReactorScram ReactorScram requested a review from jamilbk May 10, 2024 14:10
@@ -11,32 +11,32 @@ SERVICE_NAME=firezone-client-ipc
SOCKET=/run/dev.firezone.client/ipc.sock
export RUST_LOG=info

cd rust || exit 1
Copy link
Member

Choose a reason for hiding this comment

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

Just curious why the explicit exit 1 here and not set -e at the top?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The shellcheck pre-commit lint doesn't seem to be aware of lib.sh, so it actually doesn't know we're using set -euox pipefail at all. If I remove this, it errors and won't let me commit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hopefully that doesn't cause shellcheck to report any false negatives anywhere else 😨

@ReactorScram ReactorScram added this pull request to the merge queue May 10, 2024
Merged via the queue into main with commit 390f9de May 10, 2024
135 checks passed
@ReactorScram ReactorScram deleted the refactor/headless-client-tests branch May 10, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Changes to the CI pipeline / Github Actions kind/refactor Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants