Commit Graph

22 Commits

Author SHA1 Message Date
Gabriela Moldovan d684073a31
CI: Reduce the success threshold for the HS client integration tests.
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1399#note_2921505
2023-07-12 17:11:56 +01:00
Gabriela Moldovan 24501fdf0e
CI: Add client auth integration test. 2023-07-12 16:36:11 +01:00
Jim Newsome 3eda3a7936 articlient-onion: don't filter onion addresses 2023-07-03 14:15:23 -05:00
Jim Newsome 3b01f3ba61 Dedupe arti configs and match TestingTorNetworks HS config 2023-07-03 14:15:23 -05:00
Jim Newsome 2b895f4de3 shadow test: disable trace-level logging
Some hosts were configured to log at trace level instead of the global
default (debug level). This was resulting in quite large shadow log
output.
2023-07-03 12:49:14 -05:00
Jim Newsome 5755add5e0 shadow test: disable worker spinning
This optimization doesn't seem to help much for this test; disable it to
avoid burning CI runner CPU.
2023-07-03 12:49:14 -05:00
Jim Newsome 3dc90f03ec shadow test: enable arti's `log_sensitive_information` option 2023-07-03 12:49:14 -05:00
Jim Newsome e773d2c44a shadow test: fix hidden service dir permissions 2023-07-03 12:49:14 -05:00
Jim Newsome 1baa1193ce shadow test: add 2 more relays
Without this, the onion client was failing to find a guard.
We recently made this change in shadow's "tor minimal" test as well.
2023-07-03 12:49:14 -05:00
Jim Newsome c846898406 shadow test: fail the test if streams didn't succeed 2023-07-03 12:49:14 -05:00
Jim Newsome 9c3bb8dcbb shadow test: add and validate arti onion client 2023-07-03 12:49:14 -05:00
Jim Newsome e850654afb shadow test: add onion server 2023-07-03 12:49:14 -05:00
Jim Newsome d282b009bd shadow-ci: check for successful transfers on bridge-client as well 2023-05-22 13:41:52 -05:00
Jim Newsome 893ea38100 shadow ci: bump shadow 2023-05-22 13:40:44 -05:00
Emil Engler 79097484de
shell: use /usr/bin/env instead of absolute paths
This commit changes the shebang in all shell scripts from absolute
paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env`
binary with the accompanying interpreter as it's argument.

The reason for this are as follows:
- NixOS cannot work with absolute paths
- BSD systems install their packages in /usr/local/bin
2023-01-25 18:35:53 +01:00
Jim Newsome 7014697d0b shadow ci: avoid hard coding tgen and tor bin paths
As of shadow 2.3, shadow can locate executables from the PATH, letting
us avoid hard-coded paths here.
2022-12-19 13:29:05 -06:00
Jim Newsome 42b62d7281 shadow ci: only do pcap capture for bridge client 2022-12-19 13:29:05 -06:00
Dimitris Apostolou 5452ee1b01
Fix typo 2022-12-12 21:36:57 +02:00
trinity-1686a 6846b7d247 verify leakage and run shadow with less shm 2022-11-30 18:40:59 +01:00
trinity-1686a 921a525fad add vanila bridge to shadow sim 2022-11-30 18:40:20 +01:00
Jim Newsome cc8ced13ea shadow ci: Set stop time to 30m instead of 27m
This was a temporary stop-gap to work around a busy loop that seemed to
happen before. I am no longer able to reproduce any such problem.
2022-10-14 16:48:24 -05:00
Jim Newsome cef9a7b65a Create a shadow-based integration test
Fixes https://gitlab.torproject.org/tpo/core/arti/-/issues/174
2022-10-05 12:48:45 -05:00