Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
f40c45a
changed test_tests, created 2 images one for compliant on efor non co…
Oct 17, 2024
3b69fec
updates
Oct 17, 2024
0267741
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 17, 2024
5868acf
updates
Oct 17, 2024
7561150
changes
Oct 18, 2024
a3e3ee2
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 18, 2024
b110221
added all modules
Oct 18, 2024
9f160a0
fixes
Oct 18, 2024
bc73864
updated package.yml to start testrun after the package has been insta…
Oct 18, 2024
be16237
fixed test_tests workflow error
Oct 18, 2024
4046790
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 18, 2024
82e949e
updated package.yml
Oct 18, 2024
1158f4d
updated package.yml
Oct 18, 2024
9b79a5b
updates
Oct 18, 2024
eb61d4d
changed package.yml in separate jobs start and verify if started
Oct 18, 2024
bff777b
removed comments
Oct 18, 2024
66171cd
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 21, 2024
9a6e250
updated package.yml
Oct 21, 2024
c8dc118
enable onlye services for testr1 and tester2
Oct 21, 2024
2dafcdc
updated package.yml
Oct 21, 2024
972f414
reverted package.yml to its original state
Oct 21, 2024
4f4a899
added comments
Oct 21, 2024
918d573
updated comments
Oct 21, 2024
e509c0b
removed push from testing.yml
Oct 21, 2024
89f90d9
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 21, 2024
8609367
updates on docker images
Oct 21, 2024
67537b6
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 21, 2024
227710b
updated testing.yml
Oct 21, 2024
36cbfb4
added tests for DNS Module
Oct 21, 2024
e43d4a3
updates
Oct 21, 2024
a82df9a
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Oct 22, 2024
80a3b90
Merge branch 'dev' into test_tests
jhughesoti Oct 22, 2024
2eacad5
Merge branch 'dev' into test_tests
jboddey Oct 24, 2024
6d32bbe
Merge branch 'dev' into test_tests
jboddey Oct 25, 2024
d7737e1
Merge branch 'dev' into test_tests
MariusBaldovin Oct 29, 2024
26b0cf1
Merge branch 'dev' into test_tests
MariusBaldovin Oct 30, 2024
fc70a30
Updated the scrip for starting testrun with no ui
MariusBaldovin Oct 30, 2024
b76de80
Merge branch 'dev' into test_tests
MariusBaldovin Oct 31, 2024
8776136
Merge branch 'dev' into test_tests
MariusBaldovin Nov 1, 2024
b65a363
Merge branch 'dev' into test_tests
MariusBaldovin Nov 4, 2024
32e5cb1
Merge branch 'dev' into test_tests
MariusBaldovin Nov 8, 2024
37c46eb
Merge branch 'dev' into test_tests
MariusBaldovin Nov 15, 2024
2723451
Merge branch 'dev' into test_tests
MariusBaldovin Nov 20, 2024
7952db3
Merge branch 'dev' into test_tests
jboddey Dec 10, 2024
d8361b0
Merge release changes into dev (#1030)
jboddey Dec 20, 2024
76e16fe
Update Crypto and Jinja libraries (#1038)
jboddey Jan 2, 2025
5d928cc
Added debug message in case users enters an incorrect device mac addr…
MariusBaldovin Jan 3, 2025
fa03303
Allow NTPv3 packets (#1048)
jboddey Jan 6, 2025
a0d6f40
Re-render device profile (#1050)
MariusBaldovin Jan 8, 2025
e4be8ba
Handling error if profile name contains special characters (#1043)
MariusBaldovin Jan 8, 2025
108ddfd
389661817: (feat) change profile name validation (#1057)
OlgaMardvilko Jan 14, 2025
f184a25
Add column; change pilot text; change order of columns
sofyakurilova Jan 14, 2025
5710607
389657377: (feat) add status Starting to UI (#1062)
OlgaMardvilko Jan 15, 2025
6e0e159
Add full port scan to determine any HTTPS/TLS server running on non-s…
jhughesoti Jan 16, 2025
08cd6e1
Remove 'v' from testing complete modal (#1063)
jboddey Jan 16, 2025
1b176f6
384421113: Add starting status (#1032)
jboddey Jan 17, 2025
f99096c
Pin download artifact actions (#1065)
jboddey Jan 17, 2025
78ece0a
Adds statuses for Testing complete modal
sofyakurilova Jan 21, 2025
2e7c119
Profile export endpoint (#1052)
MariusBaldovin Jan 27, 2025
ae4ed31
Fix protocol.services.bacnet (#1082)
MariusBaldovin Jan 28, 2025
a8b18ea
tr-ws/tr-ui containers (#1089)
MariusBaldovin Jan 30, 2025
a49021e
Generating module reports using Jinja2 (#1073)
hitnik Jan 31, 2025
dd46555
Update dependencies; increase budget
sofyakurilova Jan 31, 2025
faaa30b
Add a disclaimer about tests affected by single interface mode (#1056)
jboddey Jan 31, 2025
c8e2bc8
Update TLS client description (#1097)
jboddey Feb 2, 2025
04e42f2
Set test description for module timeout (#1098)
jboddey Feb 3, 2025
4ea6364
Fix services resolving wrong ip (#1096)
jhughesoti Feb 7, 2025
5aa0225
384032243: Rename test result to pilot recommendation (#1031)
jboddey Feb 11, 2025
ed0d6c3
fixed reports unittest (#1110)
MariusBaldovin Feb 12, 2025
3e4a04a
prevent mqtt sending messages when test is not running
hitnik Feb 12, 2025
f66c699
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Feb 13, 2025
d49fe64
added avirtual bacnet device
Feb 14, 2025
6551dfc
changes
Feb 20, 2025
be710e1
changes
Feb 20, 2025
a85e239
updates
Feb 20, 2025
bec549e
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Feb 20, 2025
e680213
remove logger
Feb 20, 2025
df4cfc1
each test module will have its separate container
Feb 20, 2025
ceb30db
fix typo error
Feb 21, 2025
befed4a
fix maxc address for services non compliant
Feb 21, 2025
c8ce423
Merge branch 'dev' of https://github.com/MariusBaldovin/testrun into …
Mar 5, 2025
097007b
save the tets tests reports into github
Mar 7, 2025
91f2037
test1
Mar 7, 2025
af56edc
test2
Mar 7, 2025
02768bc
test3
Mar 7, 2025
169d8ec
test4
Mar 7, 2025
57f1a5d
test5
Mar 7, 2025
ab48f74
test6
Mar 7, 2025
d3b7e42
test7
Mar 7, 2025
c2af0ab
test8
Mar 7, 2025
2fb0da7
test9
Mar 7, 2025
cc928f9
test10
Mar 7, 2025
0fb1cfb
test11
Mar 7, 2025
d2c1acf
remove on push from workflows
Mar 7, 2025
b483a48
renamed the files saved on github actions
Mar 7, 2025
998ccb1
fix upload test reports job
Mar 7, 2025
a6782e8
grant write permission to local/devices
Mar 7, 2025
55f54a4
remove the upload job
Mar 7, 2025
a3fe0f9
added for loop to build the test containers
Mar 10, 2025
35f7bbb
fix for loop
Mar 10, 2025
babec5e
Merge branch 'dev' into test_tests
jboddey Mar 25, 2025
38f1011
Merge branch 'dev' into test_tests
jboddey Mar 26, 2025
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
21 changes: 20 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ on:
- cron: '0 13 * * *'

jobs:
testrun_tests:
permissions: {}
name: Tests
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install dependencies
shell: bash {0}
run: cmd/prepare
- name: Install Testrun
shell: bash {0}
run: TESTRUN_DIR=. cmd/install
timeout-minutes: 30
- name: Run tests
shell: bash {0}
run: testing/tests/test_tests

testrun_baseline:
permissions: {}
name: Baseline
Expand Down Expand Up @@ -98,7 +117,7 @@ jobs:
if: ${{ always() }}
with:
if-no-files-found: error
name: reports_${{ github.run_id }}
name: unit_reports_${{ github.run_id }}
path: testing/unit/report/output

pylint:
Expand Down
Empty file modified modules/test/protocol/bin/get_bacnet_packets.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion modules/test/protocol/python/src/protocol_bacnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
DEFAULT_CAPTURE_FILE = 'protocol.pcap'
DEFAULT_BIN_DIR = '/testrun/bin'


class BACnet():
"""BACnet Test module"""

Expand Down
54 changes: 54 additions & 0 deletions testing/device_configs/bacnet_compliant/device_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mac_addr": "02:42:aa:00:00:01",
"manufacturer": "Google",
"model": "BACnet Compliant",
"type": "IoT Gateway",
"technology": "Hardware - Access Control",
"test_pack": "Pilot Assessment",
"additional_info": [
{
"question": "What type of device is this?",
"answer": "IoT Gateway"
},
{
"question": "Please select the technology this device falls into",
"answer": "Hardware - Access Control"
},
{
"question": "Does your device process any sensitive information?",
"answer": "Yes"
},
{
"question": "Can all non-essential services be disabled on your device?",
"answer": "Yes"
},
{
"question": "Is there a second IP port on the device?",
"answer": "Yes"
},
{
"question": "Can the second IP port on your device be disabled?",
"answer": "Yes"
}
],
"test_modules": {
"protocol": {
"enabled": true
},
"services": {
"enabled": false
},
"ntp": {
"enabled": false
},
"tls": {
"enabled": false
},
"connection": {
"enabled": false
},
"dns": {
"enabled": false
}
}
}
54 changes: 54 additions & 0 deletions testing/device_configs/dns_compliant/device_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mac_addr": "02:42:aa:00:00:02",
"manufacturer": "Google",
"model": "Dns Compliant",
"type": "IoT Gateway",
"technology": "Hardware - Access Control",
"test_pack": "Pilot Assessment",
"additional_info": [
{
"question": "What type of device is this?",
"answer": "IoT Gateway"
},
{
"question": "Please select the technology this device falls into",
"answer": "Hardware - Access Control"
},
{
"question": "Does your device process any sensitive information?",
"answer": "Yes"
},
{
"question": "Can all non-essential services be disabled on your device?",
"answer": "Yes"
},
{
"question": "Is there a second IP port on the device?",
"answer": "Yes"
},
{
"question": "Can the second IP port on your device be disabled?",
"answer": "Yes"
}
],
"test_modules": {
"protocol": {
"enabled": false
},
"services": {
"enabled": false
},
"ntp": {
"enabled": false
},
"tls": {
"enabled": false
},
"connection": {
"enabled": false
},
"dns": {
"enabled": true
}
}
}
54 changes: 54 additions & 0 deletions testing/device_configs/dns_non_compliant/device_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mac_addr": "02:42:aa:00:00:03",
"manufacturer": "Google",
"model": "Dns Non Compliant",
"type": "IoT Gateway",
"technology": "Hardware - Access Control",
"test_pack": "Pilot Assessment",
"additional_info": [
{
"question": "What type of device is this?",
"answer": "IoT Gateway"
},
{
"question": "Please select the technology this device falls into",
"answer": "Hardware - Access Control"
},
{
"question": "Does your device process any sensitive information?",
"answer": "Yes"
},
{
"question": "Can all non-essential services be disabled on your device?",
"answer": "Yes"
},
{
"question": "Is there a second IP port on the device?",
"answer": "Yes"
},
{
"question": "Can the second IP port on your device be disabled?",
"answer": "Yes"
}
],
"test_modules": {
"protocol": {
"enabled": false
},
"services": {
"enabled": false
},
"ntp": {
"enabled": false
},
"tls": {
"enabled": false
},
"connection": {
"enabled": false
},
"dns": {
"enabled": true
}
}
}
54 changes: 54 additions & 0 deletions testing/device_configs/services_compliant/device_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mac_addr": "02:42:aa:00:00:04",
"manufacturer": "Google",
"model": "Services Compliant",
"type": "IoT Gateway",
"technology": "Hardware - Access Control",
"test_pack": "Pilot Assessment",
"additional_info": [
{
"question": "What type of device is this?",
"answer": "IoT Gateway"
},
{
"question": "Please select the technology this device falls into",
"answer": "Hardware - Access Control"
},
{
"question": "Does your device process any sensitive information?",
"answer": "Yes"
},
{
"question": "Can all non-essential services be disabled on your device?",
"answer": "Yes"
},
{
"question": "Is there a second IP port on the device?",
"answer": "Yes"
},
{
"question": "Can the second IP port on your device be disabled?",
"answer": "Yes"
}
],
"test_modules": {
"protocol": {
"enabled": false
},
"services": {
"enabled": true
},
"ntp": {
"enabled": false
},
"tls": {
"enabled": false
},
"connection": {
"enabled": false
},
"dns": {
"enabled": false
}
}
}
54 changes: 54 additions & 0 deletions testing/device_configs/services_non_compliant/device_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mac_addr": "02:42:aa:00:00:05",
"manufacturer": "Google",
"model": "Sevices Non Compliant",
"type": "IoT Gateway",
"technology": "Hardware - Access Control",
"test_pack": "Pilot Assessment",
"additional_info": [
{
"question": "What type of device is this?",
"answer": "IoT Gateway"
},
{
"question": "Please select the technology this device falls into",
"answer": "Hardware - Access Control"
},
{
"question": "Does your device process any sensitive information?",
"answer": "Yes"
},
{
"question": "Can all non-essential services be disabled on your device?",
"answer": "Yes"
},
{
"question": "Is there a second IP port on the device?",
"answer": "Yes"
},
{
"question": "Can the second IP port on your device be disabled?",
"answer": "Yes"
}
],
"test_modules": {
"protocol": {
"enabled": false
},
"services": {
"enabled": true
},
"ntp": {
"enabled": false
},
"tls": {
"enabled": false
},
"connection": {
"enabled": false
},
"dns": {
"enabled": false
}
}
}
57 changes: 0 additions & 57 deletions testing/device_configs/tester1/device_config.json

This file was deleted.

Loading
Loading