Closed albinsuresh closed 1 month ago
Attention: Patch coverage is 0%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 78.0%. Comparing base (
c53e14a
) to head (8a91efb
). Report is 1 commits behind head on main.:exclamation: Current head 8a91efb differs from pull request most recent head 48fe6a9
Please upload reports for the commit 48fe6a9 to get more accurate results.
:white_check_mark: Passed | :x: Failed | :next_track_button: Skipped | Total | Pass % | :stopwatch: Duration |
---|---|---|---|---|---|
427 | 14 | 3 | 441 | 96.83 | 1h31m40.235889s |
Name | Message | :stopwatch: Duration | Suite |
---|---|---|---|
Set Configuration when file does not exist | Several failures occurred: 1) Expected operation (id=10406589) to be SUCCESSFUL, but got: PENDING (failureReason: ) 2) Expected operation (id=10406733) to be SUCCESSFUL, but got: PENDING (failureReason: ) 3) DeviceNotFound 4) DeviceNotFound | 307.759 s | Configuration Operation |
Set Configuration when file exists | Several failures occurred: 1) Expected operation (id=10408214) to be SUCCESSFUL, but got: PENDING (failureReason: ) 2) Expected operation (id=10408502) to be SUCCESSFUL, but got: PENDING (failureReason: ) 3) DeviceNotFound 4) DeviceNotFound | 310.866 s | Configuration Operation |
Set configuration with broken url | Several failures occurred: 1) Expected operation (id=10408658) to be FAILED, but got: PENDING 2) DeviceNotFound | 158.886 s | Configuration Operation |
Get Configuration from Main Device | Several failures occurred: 1) Expected operation (id=10408667) to be SUCCESSFUL, but got: PENDING (failureReason: ) 2) Expected operation (id=10408669) to be SUCCESSFUL, but got: PENDING (failureReason: ) | 242.539 s | Configuration Operation |
Get Configuration from Child Device | Several failures occurred: 1) DeviceNotFound 2) DeviceNotFound | 61.523 s | Configuration Operation |
Get Unknown Configuration Type From Device | Several failures occurred: 1) Expected operation (id=10408671) to be FAILED, but got: PENDING 2) DeviceNotFound | 63.132 s | Configuration Operation |
Get non existent configuration file From Device | Several failures occurred: 1) Expected operation (id=10408673) to be FAILED, but got: PENDING 2) DeviceNotFound | 63.415 s | Configuration Operation |
Update configuration plugin config via cloud | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 64.225 s | Configuration Operation |
Modify configuration plugin config via local filesystem modify inplace | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 61.934 s | Configuration Operation |
Modify configuration plugin config via local filesystem overwrite | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 63.370 s | Configuration Operation |
Update configuration plugin config via local filesystem copy | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 63.802 s | Configuration Operation |
Update configuration plugin config via local filesystem move (different directory) | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 62.557 s | Configuration Operation |
Update configuration plugin config via local filesystem move (same directory) | Several failures occurred: 1) Supported Configuration fragment (c8y_SupportedConfigurations) does not match. wanted: ['/etc/tedge/tedge.toml', 'CONFIG1', 'CONFIG1_BINARY', 'system.toml', 'tedge-configuration-plugin'] got: ['/etc/tedge/tedge.toml', 'system.toml', 'tedge-configuration-plugin'] 2) DeviceNotFound | 64.728 s | Configuration Operation |
Default plugin configuration | Matching messages is less than minimum. wanted: 1 got: 0 messages: [] | 31.172 s | Configuration Operation |
Proposed changes
If the mosquitto bridge is used for C8y connectivity, then the bridge service status must also be published to C8y.
Types of changes
Paste Link to the issue
https://github.com/thin-edge/thin-edge.io/issues/2898
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments