Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
2f27f2b
change error to non-compliant switch arp
hitnik Jul 13, 2026
68c63ce
return non-compliant result when device does not respond to ping for …
hitnik Jul 13, 2026
6b9027c
dech disconnect test
hitnik Jul 13, 2026
d16c81d
connection dhc ip changed non-comliant result
hitnik Jul 13, 2026
1154030
docker lint
hitnik Jul 20, 2026
707a8d0
fix faux-dev dockerfile
hitnik Jul 20, 2026
536b8ef
fix faux-dev mistake
hitnik Jul 20, 2026
324dec9
base network dockerfile
hitnik Jul 20, 2026
ed10953
dchp dockerfiles
hitnik Jul 20, 2026
a1097fa
fix dns dockerfile
hitnik Jul 20, 2026
ed9f01f
host ntp radius
hitnik Jul 20, 2026
bb84e1a
tests base conn dns
hitnik Jul 20, 2026
8efe041
ntp protocol dockerfiles
hitnik Jul 20, 2026
db16070
services tsl dockerfiles
hitnik Jul 20, 2026
89f061d
ci_baseline and ci_test_device_1
hitnik Jul 20, 2026
00e1cde
device bacnet compliant
hitnik Jul 20, 2026
51356a1
dns compliant
hitnik Jul 20, 2026
977e66a
dns non-compliant
hitnik Jul 20, 2026
7ee5893
ntp_compliant dockerfile
hitnik Jul 20, 2026
3800362
ntp_non_compliant
hitnik Jul 20, 2026
93ac360
protocol compliant dockerfile
hitnik Jul 20, 2026
bc46885
fix mistake
hitnik Jul 21, 2026
561d747
sevices_compliant dockerfile
hitnik Jul 21, 2026
97205c5
services_non_compliant dockerfile
hitnik Jul 21, 2026
c3b0154
enable trivy
hitnik Jul 23, 2026
d4ebc7e
update cryptograpy to 49.0.0
hitnik Jul 23, 2026
c0e67dd
update python-multipart
hitnik Jul 23, 2026
1394071
update brace-expansion
hitnik Jul 23, 2026
70ad2ae
package-lock
hitnik Jul 23, 2026
db439c4
fix testsuite
hitnik Jul 23, 2026
5fb3bd0
[TR] - [Github] - Run time of job Network Orchestrator was missed by …
sofyakurilova Jul 24, 2026
197ee74
[TR] The v1.3 information is shown in the test for TLS 1.2 server (#1…
sofyakurilova Jul 24, 2026
30aa0e3
update dependencies (#1609)
sofyakurilova Jul 27, 2026
a621829
TLS test text should be updated in case nothing was detected (#1607)
sofyakurilova Jul 28, 2026
6d8b6ec
The error occurred on the old risk profile update (#1611)
sofyakurilova Jul 28, 2026
3e6d332
enable shellcheck
hitnik Jul 27, 2026
5dfaea6
remove dst port
hitnik Jul 27, 2026
54431ae
fix windows svreated file
hitnik Jul 27, 2026
d36c432
fix get_packets_count
hitnik Jul 27, 2026
8aa4100
refactor entrypoint.sh
hitnik Jul 27, 2026
4881d25
fix ci_test_device/ntp_compliant
hitnik Jul 27, 2026
9ce8e9b
refactor ci_test_device1 entrypoint.sh
hitnik Jul 27, 2026
fec92b9
fix bacnet services scripts
hitnik Jul 27, 2026
b2d2ca9
fix service_non_compliant bash script
hitnik Jul 27, 2026
c1dbac1
dns compliant non-compliant bash scripts
hitnik Jul 27, 2026
38c3764
protocol compliant bash script
hitnik Jul 27, 2026
57d0f0d
ntp_non_compliant bash script
hitnik Jul 27, 2026
c19051d
test_tests bash script
hitnik Jul 27, 2026
c822e57
test_baseline script
hitnik Jul 27, 2026
6322a9d
package script
hitnik Jul 27, 2026
237504f
install script
hitnik Jul 27, 2026
0fad704
build script
hitnik Jul 27, 2026
ffb6355
testrun script
hitnik Jul 27, 2026
e4a0f31
Revert "package script"
hitnik Jul 27, 2026
30aa47f
package script command warning
hitnik Jul 27, 2026
562573d
disable make check
hitnik Jul 27, 2026
77d986d
enable semgrep
hitnik Jul 30, 2026
36a8b09
exclude allow origins
hitnik Jul 30, 2026
718b569
pylint
hitnik Jul 30, 2026
260acf4
move disable comment
hitnik Jul 30, 2026
ae48898
disab;e semgrep for report template
hitnik Jul 30, 2026
98f8d08
disable semgrep fot testreport
hitnik Jul 30, 2026
c54eadc
add image prefix check
hitnik Jul 30, 2026
bfca8e3
nosemgrep
hitnik Jul 30, 2026
e9c4358
pass container name positionally
hitnik Jul 30, 2026
1a64c80
refactor ci mac definition
hitnik Jul 31, 2026
b13c6d4
refactor gateway definition
hitnik Jul 31, 2026
e4c8b65
refactor ip definition
hitnik Jul 31, 2026
924130b
disable semgrep
hitnik Jul 31, 2026
2994f9c
fix semgrep warning
hitnik Jul 31, 2026
54d0f2d
fix not user cpecifying warning
hitnik Jul 31, 2026
e38be09
Revert "fix not user cpecifying warning"
hitnik Jul 31, 2026
0a4de3e
disable semgrep
hitnik Jul 31, 2026
74f1ddf
disable semgrep
hitnik Jul 31, 2026
bf30164
disable semgrep
hitnik Jul 31, 2026
2d7ebea
fix secutiry file error
hitnik Jul 31, 2026
51db3f9
Update dependencies (#1612)
sofyakurilova Aug 3, 2026
1486c7f
Adds new fields for metadata (#1615)
sofyakurilova Aug 3, 2026
87c43c2
rename device to models
hitnik Aug 5, 2026
0faa69e
remove device.py
hitnik Aug 5, 2026
43c8068
fix deps warnings
hitnik Aug 5, 2026
98cb7bb
update pyopenssl
hitnik Aug 5, 2026
b1d8779
skip node
hitnik Aug 5, 2026
abed443
trivy config
hitnik Aug 5, 2026
0c0a01b
Revert "trivy config"
hitnik Aug 5, 2026
ff12172
trivy options
hitnik Aug 5, 2026
cc5fb57
fix import
hitnik Aug 5, 2026
944df81
disable trivy for node
hitnik Aug 5, 2026
a7498f7
remove lock files before scan
hitnik Aug 5, 2026
85adef5
host model
hitnik Aug 5, 2026
1d0d36c
to dict method
hitnik Aug 5, 2026
7c947bc
pass host info to the session object
hitnik Aug 5, 2026
318d165
pylint
hitnik Aug 5, 2026
1f5dbf3
get host metadata method
hitnik Aug 5, 2026
cd96671
provide host metadata
hitnik Aug 6, 2026
e7c2244
location
hitnik Aug 6, 2026
5b0c312
Host unit tests
hitnik Aug 6, 2026
ed05c18
refactor location string
hitnik Aug 6, 2026
2956a98
refactor string to be compliant with pylint
hitnik Aug 6, 2026
310d280
cover get metadata mthods with exceptions to return empty data on any…
hitnik Aug 6, 2026
0e93b11
pylint
hitnik Aug 6, 2026
c50f7fb
pylint
hitnik Aug 6, 2026
ec43a3d
Adds report metadata (#1625)
sofyakurilova Aug 10, 2026
62ed10e
get device os over ssh
hitnik Aug 8, 2026
be922d0
pylint
hitnik Aug 8, 2026
55af300
chenge default value
hitnik Aug 10, 2026
d4ef7fe
get device os with nmap
hitnik Aug 10, 2026
c9e9a36
set device kernel
hitnik Aug 10, 2026
206d918
install ncat nmap
hitnik Aug 10, 2026
4c9c760
grab device os
hitnik Aug 10, 2026
bf72d9a
pylint
hitnik Aug 10, 2026
5ecc351
refactor kernel grab function
hitnik Aug 10, 2026
be45e12
change location service
hitnik Aug 12, 2026
95c7ad8
Change required tls test (#1627)
sofyakurilova Aug 13, 2026
811a2b5
enable bandit security
hitnik Aug 12, 2026
3b383e5
disable semgrep
hitnik Aug 12, 2026
36bac56
disable bandit scan for an interface
hitnik Aug 12, 2026
46fac94
disable bandit scan for jinja because it used only for report generation
hitnik Aug 12, 2026
bf19534
disable for jinja
hitnik Aug 12, 2026
4313785
fix unit tests
hitnik Aug 12, 2026
75b9b9b
disable bandit scan for ovs control
hitnik Aug 12, 2026
37c1ee1
refactor zip creation
hitnik Aug 12, 2026
1b712f9
disable jinja warnings
hitnik Aug 12, 2026
5a5db95
disable bind all ports
hitnik Aug 12, 2026
b5ae399
pylint
hitnik Aug 12, 2026
83b38dd
change eval to ast.literal _eval
hitnik Aug 13, 2026
b6a9c67
fix unsecure function
hitnik Aug 13, 2026
3160410
disable jinja warnings
hitnik Aug 13, 2026
da04d25
pylint
hitnik Aug 13, 2026
bd9318e
fix subprocess warning
hitnik Aug 13, 2026
7a04e16
disable requests warning
hitnik Aug 13, 2026
9f99399
disable warnigns in test vm code
hitnik Aug 13, 2026
ff45b2b
pylint
hitnik Aug 13, 2026
a1e8210
refactor is_https method
hitnik Aug 3, 2026
eeb5835
fix security issue
hitnik Aug 14, 2026
14e1840
Adds the report search with filters. (#1630)
sofyakurilova Aug 19, 2026
1718547
device kernel in a report summary qualification
hitnik Aug 17, 2026
5569c61
device kernel in a report summary pilot
hitnik Aug 17, 2026
44f9539
environment styles
hitnik Aug 17, 2026
9c6945b
report styles
hitnik Aug 19, 2026
48fd87b
pilot host metadata
hitnik Aug 19, 2026
5f58619
qualification host metadata
hitnik Aug 19, 2026
f6c91a7
first page space counter refactor
hitnik Aug 19, 2026
d87cfaf
refactor testreport delimiter
hitnik Aug 20, 2026
5660a1c
session details delimiter
hitnik Aug 20, 2026
72b65d3
convert tls server details from string to a list
hitnik Aug 20, 2026
102163e
remove :
hitnik Aug 20, 2026
db50c1b
remove : from tests
hitnik Aug 20, 2026
1fc5d35
fix unit tests
hitnik Aug 20, 2026
7edc5eb
fix framework tests
hitnik Aug 21, 2026
0eefbba
Updates the global search (#1633)
sofyakurilova Aug 24, 2026
bfa7e2f
Implement the counter on the FE (#1635)
sofyakurilova Aug 28, 2026
6fba9ae
Fix tests order (#1636)
sofyakurilova Sep 4, 2026
ccec2cf
Revert "Implement the counter on the FE (#1635)" (#1638)
sofyakurilova Sep 8, 2026
26fae6d
[TR] The "search" query is replaced by the next one "search" query in…
sofyakurilova Sep 9, 2026
c7cc3ca
Adds Assessment type filter (#1640)
sofyakurilova Sep 11, 2026
296255a
Risk profiles docs (#1597)
sofyakurilova Sep 14, 2026
b19170f
[TR] The pagination wasn't implemented on the Reports page (#1641)
sofyakurilova Sep 14, 2026
55460d4
Highlight hovered menu item (#1642)
sofyakurilova Sep 15, 2026
04f6d00
attempt to restart ws container
hitnik Sep 16, 2026
e341e6c
Changes draft risk profile icon (#1647)
sofyakurilova Sep 17, 2026
0e4110f
Changes draft risk profile icon (#1649)
sofyakurilova Sep 17, 2026
d262e2f
[TR] The Metadata is displayed in PDF not by design (#1651)
sofyakurilova Sep 18, 2026
1b0a613
Change filter button color (#1652)
sofyakurilova Sep 18, 2026
cd482ff
Dump version
sofyakurilova Sep 25, 2026
ace88ae
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
178e19c
fix tls 1.0 script
hitnik Oct 3, 2026
d7a02d6
fix secutiry warnings
hitnik Oct 4, 2026
e6f61ce
fix trivy warnings
hitnik Oct 4, 2026
aced420
fix ui tests
hitnik Oct 4, 2026
cd70c71
update risk profile creation date
hitnik Oct 4, 2026
8351223
remove unused script
hitnik Oct 8, 2026
e0b1f9f
refactor docker scripts
hitnik Oct 8, 2026
a5d15d1
update weasyprint
hitnik Oct 12, 2026
37334f6
Update styles for the report
sofyakurilova Oct 12, 2026
9fb0eec
Dump version
sofyakurilova Sep 25, 2026
4478484
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
0eee06d
Merge remote-tracking branch 'origin/release/v2.4.1' into release/v2.4.1
sofyakurilova Oct 13, 2026
8b09781
Revert "Revert "Implement the counter on the FE (#1635)" (#1638)" (#…
sofyakurilova Oct 13, 2026
6d9c34e
Update version
sofyakurilova Oct 13, 2026
6ebcc2a
Dump version
sofyakurilova Sep 25, 2026
6c9a243
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
9902695
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
530adcc
Update version
sofyakurilova Oct 13, 2026
419da78
Merge remote-tracking branch 'origin/release/v2.4.1' into release/v2.4.1
sofyakurilova Oct 13, 2026
df4915f
[TR] OUI manufacturer name is cut off at the IEEE registration auth…
sofyakurilova Oct 14, 2026
a351c88
fix listener os error
hitnik Oct 13, 2026
3f7dff9
Dump version
sofyakurilova Sep 25, 2026
dd3eaa0
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
d090ebe
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
6257327
Update version
sofyakurilova Oct 13, 2026
d4b0348
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
54fb2bf
Update modbus_server_non_compliant.py
sofyakurilova Sep 25, 2026
6562265
Merge remote-tracking branch 'origin/release/v2.4.1' into release/v2.4.1
sofyakurilova Oct 14, 2026
3acef25
Revert "Implement the counter on the FE (#1635)" (#1638)" (#1661)"
sofyakurilova Oct 14, 2026
1e64c6e
Move "kernel" into the details
sofyakurilova Oct 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: sudo cmd/prepare
- name: Install package
shell: bash {0}
run: sudo apt install ./testrun*.deb
run: sudo -E DEBIAN_FRONTEND=noninteractive apt install ./testrun*.deb
- name: Start testrun
shell: bash {0}
run: sudo testrun > >(tee testrun_output.log) 2>&1 &
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
run: sudo cmd/prepare
- name: Install package
shell: bash {0}
run: sudo apt install ./testrun*.deb
run: sudo -E DEBIAN_FRONTEND=noninteractive apt install ./testrun*.deb
- name: Start testrun
shell: bash {0}
run: sudo testrun > >(tee testrun_output.log) 2>&1 &
Expand Down
150 changes: 76 additions & 74 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

permissions:
contents: read
pull-requests: write

on:
# For Branch-Protection check. Only the default branch is supported. See
Expand Down Expand Up @@ -49,79 +48,82 @@
base_dir: "."
json_exclude_regex: '.*(tsconfig.*\.json|\.venv|node_modules)'
yaml_exclude_regex: '.*(\.venv|node_modules)'
# dockerfile_scan:
# name: Dockerfile Scan
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout source
# uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# - name: Run Hadolint
# uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 #v3.3.0
# with:
# dockerfile: "*Dockerfile"
# recursive: true
# ignore: DL3007,DL3008,DL3015,DL3059
# failure-threshold: warning
# shellcheck_scan:
# name: ShellCheck Bash Scan
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout source
# uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# - name: Run Shellcheck
# uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 #v2.0.0
# with:
# ignore_paths: >-
# node_modules
# .venv
# dist
# build
# severity: warning
# trivy_sca_scan:
# name: Trivy SCA Security Scan
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout source
# uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# - name: Run Trivy in Filesystem mode
# uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 #0.36.0
# with:
# scan-type: 'fs'
# scan-ref: '.'
# format: 'table'
# exit-code: '1'
# ignore-unfixed: true
# severity: 'CRITICAL,HIGH'
# bandit_sast_scan:
# name: Bandit Python SAST Scan
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout source
# uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# - name: Set up Python
# uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 #v.6.0.3
# with:
# python-version: '3.13'
# - name: Install Bandit
# run: pip install bandit==1.9.4
# - name: Run Bandit Analysis
# run: bandit -r . -ll -x ./testing,./modules/ui/node_modules
# semgrep_scan:
# name: Semgrep OSS SAST Scan
# runs-on: ubuntu-24.04
# container:
# image: semgrep/semgrep:1.169.0
# steps:
# - name: Checkout source
# uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# - name: Run Semgrep Security Analiss
# run: |
# semgrep scan \
# --config=auto \
# --error \
# --exclude="**/testing/**"
# --exclude="modules/ui/node_modules"

dockerfile_scan:
name: Dockerfile Scan
runs-on: ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Run Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 #v3.3.0
with:
dockerfile: "*Dockerfile"
recursive: true
ignore: DL3007,DL3008,DL3015,DL3059
failure-threshold: warning
trivy_sca_scan:
name: Trivy SCA Security Scan
runs-on: ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Remove Node.js lockfiles for scan
run: find . -type f \( -name "package-lock.json" -o -name "yarn.lock" -o -name "pnpm-lock.yaml" \) -delete
- name: Run Trivy in Filesystem mode
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # 0.36.0

Check warning on line 73 in .github/workflows/security.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

security.yml:73: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
scan-type: 'fs'
scan-ref: '.'
format: 'table'
exit-code: '1'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
skip-dirs: 'node_modules'
trivy-options: '--disabled-analyzers npm-pkg-lock,yarn,pnpm,node-pkg'
shellcheck_scan:
name: ShellCheck Bash Scan
runs-on: ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 #v2.0.0

Check warning on line 90 in .github/workflows/security.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

security.yml:90: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
ignore_paths: >-
node_modules
.venv
dist
build
severity: warning
semgrep_scan:
name: Semgrep OSS SAST Scan
runs-on: ubuntu-24.04
container:
image: semgrep/semgrep:1.169.0
steps:
- name: Checkout source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Run Semgrep Security Analiss
run: |
semgrep scan \
--config=auto \
--error \
--exclude="**/testing/**" \
--exclude="modules/ui/node_modules"
bandit_sast_scan:
name: Bandit Python SAST Scan
runs-on: ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 #v.6.0.3
with:
python-version: '3.13'
- name: Install Bandit
run: pip install bandit==1.9.4
- name: Run Bandit Analysis
run: bandit -r . -ll -x ./testing,./modules/ui/node_modules



Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,21 +152,18 @@ jobs:
- name: Install Chromium Browser
run: |
sudo add-apt-repository ppa:xtradeb/apps -y
sudo apt-get update
sudo apt-get install -y chromium
sudo -E DEBIAN_FRONTEND=noninteractive apt-get update
sudo -E DEBIAN_FRONTEND=noninteractive apt-get install -y chromium

- name: Install dependencies
run: npm ci
working-directory: ./modules/ui

- name: Run tests
run: |
sudo sysctl -w kernel.unprivileged_userns_clone=1
export CHROMIUM_FLAGS="--no-sandbox --disable-setuid-sandbox"
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
export CHROME_BIN=/usr/bin/chromium
CI=true npm run test-ci
env:
CI: true
working-directory: ./modules/ui

linters_ui:
Expand Down
10 changes: 6 additions & 4 deletions bin/testrun
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ sudo mkdir -p /var/run/netns
FILE_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

# Check if Testrun was installed as a package
if [ $FILE_PATH == "/usr/bin" ] ; then
export TESTRUN_PATH="/usr/local/testrun"
if [ "$FILE_PATH" = "/usr/bin" ]; then
TESTRUN_PATH="/usr/local/testrun"
export TESTRUN_PATH
else
export TESTRUN_PATH=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/.. && pwd)
TESTRUN_PATH=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/.. && pwd)
export TESTRUN_PATH
fi

cd $TESTRUN_PATH
Expand All @@ -43,6 +45,6 @@ source venv/bin/activate

# Set the PYTHONPATH to include the "src" directory
export PYTHONPATH="$TESTRUN_PATH/framework/python/src"
python -u framework/python/src/core/test_runner.py $@ 2>&1 | tee testrun.log
python -u framework/python/src/core/test_runner.py "$@" 2>&1 | tee testrun.log

deactivate
2 changes: 1 addition & 1 deletion cmd/build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Check if Docker is installed
if [[ $(which docker) && $(docker --version) ]]; then
# Docker is installed
echo Using $(docker --version)
echo Using "$(docker --version)"
else
# Docker is not installed
echo Docker is not installed. Please follow the Get Started guide at https://github.com/google/testrun
Expand Down
10 changes: 7 additions & 3 deletions cmd/install
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ echo Installing application dependencies

# Collect command line arguments
while getopts ":l" option; do
case $option in
l) # Install Testrun in local directory
case $option in
l) # Install Testrun in local directory
TESTRUN_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/.. && pwd)
esac
;;
*)
echo "Ignored unknown option: -${OPTARG:-$option}" >&2
;;
esac
done

# Check if TESTRUN_DIR has been set, otherwise install in /usr/local/testrun
Expand Down
3 changes: 2 additions & 1 deletion cmd/package
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if ! (id -nGz "$USER" | grep -qzxF "docker"); then
exit 1
fi

# shellcheck disable=SC2209
MAKE_SRC_DIR=make
MAKE_CONTROL_DIR=make/DEBIAN/control

Expand All @@ -41,7 +42,7 @@ echo Building package for testrun v${version}

# Delete existing make files
echo Cleaning up previous build files
rm -rf $MAKE_SRC_DIR/usr
rm -rf "${MAKE_SRC_DIR:?}/usr"

# Copy testrun script to /bin
mkdir -p $MAKE_SRC_DIR/bin
Expand Down
3 changes: 2 additions & 1 deletion cmd/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
echo Installing system dependencies

# Install system dependencies
sudo apt-get update && sudo apt-get install openvswitch-common openvswitch-switch python3 libpangocairo-1.0-0 ethtool
export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update && sudo -E apt-get install -y openvswitch-common openvswitch-switch python3 libpangocairo-1.0-0 ethtool

echo Finished installing system dependencies
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Test modules](/docs/test/modules.md)
- [Test results](/docs/test/statuses.md)
- [Device compliance guide](/docs/test/compliant.md)
- [Risk profiles](/docs/risk_profiles.md)
- [Developer guidelines](/docs/dev/README.md)
- [Accessibility](/docs/ui/accessibility.md)
- [Roadmap](/docs/roadmap.pdf)
Expand Down
Loading
Loading