-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add ControllerTests to OIS unit-tests #23747
Comments
@pan- |
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Nov 24, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Nov 24, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Nov 24, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Nov 30, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Nov 30, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Dec 2, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Dec 2, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Dec 2, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Dec 5, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
ATmobica
added a commit
to ARM-software/connectedhomeip
that referenced
this issue
Dec 5, 2022
Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - project-chip#23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com>
andy31415
pushed a commit
that referenced
this issue
Dec 5, 2022
* [OIS] Open IoT SDK build system integration Add Open IoT SDK build system configuration directory. Create GN project to build CHIP library for Open IoT SDK port. Implement CMake file to build and expose CHIP library. Create python script to build GN arguments file. Provide mbedtls and LwIP default configuration. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK platform layer implementation Add platform layer adaptation files Open IoT SKD platform layer GN build integration Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK system layer adaptation Add cmsis-rtos locking option. Implement cmsis-rtos system mutex. Open IoT SDK system layer GN build integration. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK platform to common GN build settings Propagate Open IoT SDK platform settings in build system of Matter components. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK streamer implementation Add Open IoT SDK shell streamer based on SDK retarget. Use default shell main loop. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK examples common Add Open IoT SDK example platform target that contains source code shared between examples. Create common Cmake settings - sdk, chip and linker common cmake files. Create custome Corstone 300 GCC linker scripts. Create Corstone 300 FVP configuraiton file. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK shell example Implement Open IoT SDK shell example. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK lock-app example Implement Open IoT SDK lock-app example. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK examples helper tools Add Open IoT SDK example script which allows build and run supported examples. Implement OpenIotSdkBuilder Python class with generating and building examples support. Add Open IoT SDK targets to Python builder. Add Open IoT SDK memory configuration to memory script tool. Add Open IoT SDK VSCode tasks integration - build, run and debug OIS examples tasks. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK examples workflow Github workflow to validate Open IoT SDK examples Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add integration tests for Open IoT SDK examples Add network setup script to enable/disable the TAP/TUN network environment. Create TAP/TUN device and bridge interface to connect it with the ethernet network interface. Create Pytest implementation of Open IoT SDK examples integration tests. Implement lock-app and shell examples tests cases. Add test command to Open IoT SDK example script. Add integrations tests to CI workflow. Add Open IoT SDK examples testing to Vscode tasks. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK platform documentation Create Open IoT SDK platform overview, commissioning approach description and common examples guide. Add README files to shell and lock-app examples. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK unit-tests Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - #23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com> Signed-off-by: ATmobica <artur.tynecki@arm.com>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
This issue still exists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
Building ControllerTest fails for OIS unit tests.
The python environment for generating the data model is wrong, not contain the required packages.
There are also issues with TestReadChunking and TestWriteChunking which fail in specific use cases.
For now, the ControllerTest is skipped. We need to investigate and fix all issues.
The text was updated successfully, but these errors were encountered: