project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[Bug] Broken Python3 environment #407

Closed jolassa closed 2 months ago

jolassa commented 2 months ago

Describe the bug

This is happening both on v2.10+spring2024 (fresh install) and after an upgrade to v2.10.1+spring2024

When running SDK Python tests there is an Error about Python3 failing to find main. DUT is configured for pairing_mode ble-wifi if that matters.

Steps to reproduce the behavior

Run a SDK Python test, for example: TC-ACE-1.2

Expected behavior

No response

Log files

/usr/bin/python3: can't find '__main__' module in '/root/python_testing/scripts/sdk/test_harness_client.py'
Test Case Error: Error occurred during setup of test case TC_ACE_1_2. Failed to commission DUT
Test Cleanup
Test Case Completed[ERROR]: TC-ACE-1.2
Suite Cleanup
Stopping SDK container
Test Suite Completed [ERROR]: Python Testing Suite - Legacy
Test Run Completed [ERROR]

PICS file

No response

Screenshots

No response

Environment

Fresh install of v2.10+spring2024 or upgraded to v2.10.1+spring2024 Ubuntu Server 22.04 LTS (64-bit)

Additional Information

No response

jolassa commented 2 months ago

Ok, it seems that it is fixed in ccb_v2.10.2+spring2024