Skip to content

Commit 334a890

Browse files
KarolinaPomianCopilotMateuszGrabuszynski
authored
Reintegration of fixtures and Engine code for MCM validation (#404)
* remove previous code * add Engine code plus conftest * remove functional dir, add requirements.txt and correct imports * add common dir and update imports * Update linter.yml DISABLE_ERRORS to false Signed-off-by: KarolinaPomian <[email protected]> * MARKDOWN linter fix * PYTHON_BLACK linter code fix * black linter code correction * Update linter.yml Version update to remove Error: /action/lib/functions/linterCommands.sh: line 61: AddOptionsToCommand: command not found Signed-off-by: KarolinaPomian <[email protected]> * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * linter code correction * linter black code correction * linter correction * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * configs initial inclusion * functional initial inclusion * MARKDOWN linter code patch * Prettier linter code patch * black linter code patch * Fix code formatting in test files: improve PEP8 compliance by adding proper spacing and line breaks * black linter code correction * black correction * black code correction * black code fix * int update * Prettier fix * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * add audio visualisaton plus remove configs from prettier linter * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * Update linter.yml Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/st2110/st20/test_RxTxApp_mtl_to_mcm_video.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/st2110/st30/test_RxTxApp_mtl_to_mcm_audio.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/local/video/test_video.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/cluster/audio/test_audio.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/cluster/blob/test_blob.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/local/audio/test_audio.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/cluster/video/test_video.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Fix formatting: remove trailing whitespace and add trailing comma * code linter fix * linter code fix * Update tests/validation/functional/st2110/st30/test_RxTxApp_mtl_to_mcm_audio.py Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * move logging to validation dir * remove changes in conf.py * fix dev/null * linter fix * reverse change outside of validation * Update tests/validation/functional/local/video/test_ffmpeg_video.py Co-authored-by: Mateusz Grabuszyński <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/st2110/st30/test_ffmpeg_mcm_to_mtl_audio.py Co-authored-by: Mateusz Grabuszyński <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * Update tests/validation/functional/local/audio/test_ffmpeg_audio.py Co-authored-by: Mateusz Grabuszyński <[email protected]> Signed-off-by: KarolinaPomian <[email protected]> * configs update for {{ xyz }} --------- Signed-off-by: KarolinaPomian <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Mateusz Grabuszyński <[email protected]>
1 parent 81e563b commit 334a890

File tree

90 files changed

+8793
-1461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+8793
-1461
lines changed

.github/workflows/linter.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ jobs:
3333
- name: Lint
3434
uses: super-linter/super-linter/slim@e1cb86b6e8d119f789513668b4b30bf17fe1efe4 # v7.2.0 x-release-please-version
3535
env:
36-
DISABLE_ERRORS: true
36+
DISABLE_ERRORS: false
3737
VALIDATE_ALL_CODEBASE: false
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
BASH_SEVERITY: "warning"
4040
LINTER_RULES_PATH: ".github/configs"
41+
GITHUB_COMMENT_ON_PR: false
42+
GITHUB_STATUS_UPDATES: false
4143
VALIDATE_BASH_EXEC: true
4244
VALIDATE_BASH: true
4345
VALIDATE_CLANG_FORMAT: true
@@ -50,4 +52,5 @@ jobs:
5052
VALIDATE_MARKDOWN: true
5153
VALIDATE_PROTOBUF: true
5254
VALIDATE_PYTHON_BLACK: true
55+
FILTER_REGEX_EXCLUDE: ".*tests/validation/configs/.*"
5356
VALIDATE_YAML_PRETTIER: true

tests/validation/Engine/connection_json_usage_example.py

Lines changed: 0 additions & 108 deletions
This file was deleted.

tests/validation/Engine/connection_usage_example.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

tests/validation/Engine/const.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,24 @@
33
# Media Communications Mesh
44

55
LOG_FOLDER = "logs"
6+
DEFAULT_OUTPUT_PATH = "/dev/null"
7+
8+
# time for establishing connection for example between TX and RX in st2110
9+
MTL_ESTABLISH_TIMEOUT = 2
10+
MCM_ESTABLISH_TIMEOUT = 5
11+
DEFAULT_LOOP_COUNT = 7
12+
MCM_RXTXAPP_RUN_TIMEOUT = MCM_ESTABLISH_TIMEOUT * DEFAULT_LOOP_COUNT
13+
MAX_TEST_TIME_DEFAULT = 60
14+
15+
MEDIA_PROXY_ERROR_KEYWORDS = ["[ERRO]"]
16+
MESH_AGENT_ERROR_KEYWORDS = ["[ERRO]"]
17+
RX_TX_APP_ERROR_KEYWORDS = ["[ERRO]"]
18+
19+
DEFAULT_MPG_URN = "ipv4:224.0.0.1:9003"
20+
DEFAULT_REMOTE_IP_ADDR = "239.2.39.238"
21+
DEFAULT_REMOTE_PORT = 20000
22+
DEFAULT_PACING = "narrow"
23+
DEFAULT_PAYLOAD_TYPE_ST2110_20 = 112
24+
DEFAULT_PAYLOAD_TYPE_ST2110_30 = 111
25+
DEFAULT_PIXEL_FORMAT = "yuv422p10le"
26+
DEFAULT_RDMA_MAX_LATENCY_NS = 10000

tests/validation/Engine/csv_report.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/validation/Engine/engine_mcm.py

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)