diff options
author | 2023-08-28 18:41:08 -0300 | |
---|---|---|
committer | 2023-08-28 19:03:09 -0300 | |
commit | 7e91a0414ca6b6b20d828f4a7747a891abc048e1 (patch) | |
tree | 89718878b81dc8d5d44ae05c0163548f4ae25667 | |
parent | tests: disable wget test in utils/trace.exp (diff) | |
download | firejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.tar.gz firejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.tar.zst firejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.zip |
tests: disable broken wget tests in utils/sysutils
They are taking longer than the 30s timeout[1] [2]:
runner@fv-az246-621:~/work/firejail/firejail/test/sysutils$
<ysutils$ firejail --ignore=quiet wget -q debian.org
Reading profile /etc/firejail/wget.profile
[...]
Child process initialized in 115.54 ms
TESTING ERROR 2
runner@fv-az1234-541:~/work/firejail/firejail/test/utils$
<irejail --build wget --output-document=~ debian.org
[...]
Resolving www.debian.org (www.debian.org)... 128.31.0.62
Connecting to www.debian.org (www.debian.org)|128.31.0.62|:443... connected.
TESTING ERROR 13
[1] https://github.com/kmk3/firejail/actions/runs/6005119423/job/16287436840
[2] https://github.com/kmk3/firejail/actions/runs/6005314148/job/16287794321
-rwxr-xr-x | test/sysutils/sysutils.sh | 4 | ||||
-rwxr-xr-x | test/utils/build.exp | 21 |
2 files changed, 13 insertions, 12 deletions
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh index 83fdae96f..354bd0aba 100755 --- a/test/sysutils/sysutils.sh +++ b/test/sysutils/sysutils.sh | |||
@@ -121,8 +121,8 @@ fi | |||
121 | 121 | ||
122 | if command -v wget | 122 | if command -v wget |
123 | then | 123 | then |
124 | echo "TESTING: wget" | 124 | echo "TESTING: FIXME: wget" |
125 | ./wget.exp | 125 | #./wget.exp # FIXME: Broken in CI |
126 | else | 126 | else |
127 | echo "TESTING SKIP: wget not found" | 127 | echo "TESTING SKIP: wget not found" |
128 | fi | 128 | fi |
diff --git a/test/utils/build.exp b/test/utils/build.exp index c550675c5..d8813b3a4 100755 --- a/test/utils/build.exp +++ b/test/utils/build.exp | |||
@@ -97,15 +97,16 @@ after 100 | |||
97 | # increase the timeout for remote services | 97 | # increase the timeout for remote services |
98 | set timeout 30 | 98 | set timeout 30 |
99 | 99 | ||
100 | send -- "firejail --build wget --output-document=~ debian.org\r" | 100 | # FIXME: Broken in CI |
101 | expect { | 101 | #send -- "firejail --build wget --output-document=~ debian.org\r" |
102 | timeout {puts "TESTING ERROR 13\n";exit} | 102 | #expect { |
103 | "protocol" | 103 | # timeout {puts "TESTING ERROR 13\n";exit} |
104 | } | 104 | # "protocol" |
105 | expect { | 105 | #} |
106 | timeout {puts "TESTING ERROR 13.1\n";exit} | 106 | #expect { |
107 | "inet" | 107 | # timeout {puts "TESTING ERROR 13.1\n";exit} |
108 | } | 108 | # "inet" |
109 | after 100 | 109 | #} |
110 | #after 100 | ||
110 | 111 | ||
111 | puts "all done\n" | 112 | puts "all done\n" |