thin-edge.io
thin-edge.io copied to clipboard
Expand the Bug template
Gathering more informations and having better structure should lead in easier reproducing and understanding an bug. Consider this PR as starting point for discussion.
Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
- [ ] Documentation Update (if none of the other choices apply)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Paste Link to the issue
Checklist
- [x] I have read the CONTRIBUTING doc
- [x] I have signed the CLA (in all commits with git commit -s)
- [ ] I ran
cargo fmt
as mentioned in CODING_GUIDELINES - [ ] I used
cargo clippy
as mentioned in CODING_GUIDELINES - [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
Further comments
Robot Results
:white_check_mark: Passed | :x: Failed | :next_track_button: Skipped | Total | Pass % |
---|---|---|---|---|
172 | 0 | 5 | 172 | 100 |
Passed Tests
Name | :stopwatch: Duration | Suite |
---|---|---|
Define Child device 1 ID | 0.056 s | C8Y Child Alarms Rpi |
Normal case when the child device does not exist on c8y cloud | 3.076 s | C8Y Child Alarms Rpi |
Normal case when the child device already exists | 1.323 s | C8Y Child Alarms Rpi |
Reconciliation when the new alarm message arrives, restart the mapper | 2.523 s | C8Y Child Alarms Rpi |
Reconciliation when the alarm that is cleared | 6.686 s | C8Y Child Alarms Rpi |
Prerequisite Parent | 23.859 s | Child Conf Mgmt Plugin |
Prerequisite Child | 1.011 s | Child Conf Mgmt Plugin |
Child device bootstrapping | 20.189 s | Child Conf Mgmt Plugin |
Snapshot from device | 61.346 s | Child Conf Mgmt Plugin |
Child device config update | 61.898 s | Child Conf Mgmt Plugin |
Configuration types should be detected on file change (without restarting service) | 64.334 s | Inotify Crate |
Check lock file existence in default folder | 3.222 s | Lock File |
Check PID number in lock file | 2.557 s | Lock File |
Check PID number in lock file after restarting the services | 4.336 s | Lock File |
Check starting same service twice | 1.851 s | Lock File |
Switch off lock file creation | 2.882 s | Lock File |
Successful firmware operation | 82.693 s | Firmware Operation |
Install with empty firmware name | 74.323 s | Firmware Operation |
Prerequisite Parent | 26.254 s | Firmware Operation Child Device |
Prerequisite Child | 9.035 s | Firmware Operation Child Device |
Child device firmware update | 7.865 s | Firmware Operation Child Device |
Child device firmware update with cache | 7.097 s | Firmware Operation Child Device |
Update Inventory data via inventory.json | 1.746 s | Inventory Update |
Retrieve a JWT tokens | 69.571 s | Jwt Request |
Main device registration | 2.887 s | Device Registration |
Child device registration | 3.482 s | Device Registration |
Supports restarting the device | 90.672 s | Restart Device |
Update tedge version from previous using Cumulocity | 133.654 s | Tedge Self Update |
Test if all c8y services are up | 85.803 s | Service Monitoring |
Test if all c8y services are down | 76.981 s | Service Monitoring |
Test if all c8y services are using configured service type | 84.276 s | Service Monitoring |
Test if all c8y services using default service type when service type configured as empty | 67.587 s | Service Monitoring |
Check health status of tedge-mapper-c8y service on broker stop start | 35.441 s | Service Monitoring |
Check health status of tedge-mapper-c8y service on broker restart | 37.657 s | Service Monitoring |
Check health status of child device service | 31.433 s | Service Monitoring |
Successful shell command with output | 4.294 s | Shell Operation |
Check Successful shell command with literal double quotes output | 4.242 s | Shell Operation |
Execute multiline shell command | 4.063 s | Shell Operation |
Failed shell command | 4.321 s | Shell Operation |
Software list should be populated during startup | 63.773 s | Software |
Install software via Cumulocity | 88.926 s | Software |
Software list should only show currently installed software and not candidates | 68.444 s | Software |
Child devices support sending simple measurements | 2.058 s | Child Device Telemetry |
Child devices support sending custom measurements | 1.653 s | Child Device Telemetry |
Child devices support sending custom events | 1.756 s | Child Device Telemetry |
Child devices support sending custom events overriding the type | 1.738 s | Child Device Telemetry |
Child devices support sending custom alarms #1699 | 1.641 s | Child Device Telemetry |
Child devices support sending inventory data via c8y topic | 1.383 s | Child Device Telemetry |
Main device support sending inventory data via c8y topic | 2.242 s | Child Device Telemetry |
Child device supports sending custom child device measurements directly to c8y | 2.323 s | Child Device Telemetry |
Main device supports sending custom child device measurements directly to c8y | 2.166 s | Child Device Telemetry |
Check retained alarms | 61.634 s | Raise Alarms |
Validate updated data path used by tedge-agent | 0.981 s | Data Path Config |
Validate updated data path used by c8y-firmware-plugin | 12.019 s | Data Path Config |
Stop tedge-agent service | 0.238 s | Log Path Config |
Customize the log path | 0.151 s | Log Path Config |
Initialize tedge-agent | 0.214 s | Log Path Config |
Check created folders | 0.124 s | Log Path Config |
Remove created custom folders | 0.19 s | Log Path Config |
Install thin-edge via apt | 62.715 s | Install Apt |
Install latest via script (from current branch) | 38.519 s | Install Tedge |
Install specific version via script (from current branch) | 29.321 s | Install Tedge |
Install latest tedge via script (from main branch) | 41.618 s | Install Tedge |
Install then uninstall latest tedge via script (from main branch) | 88.131 s | Install Tedge |
Support starting and stopping services | 50.758 s | Service-Control |
Supports a reconnect | 71.78 s | Test-Commands |
Supports disconnect then connect | 69.387 s | Test-Commands |
Update unknown setting | 57.466 s | Test-Commands |
Update known setting | 35.357 s | Test-Commands |
Stop c8y-configuration-plugin | 0.463 s | Health C8Y-Configuration-Plugin |
Update the service file | 0.308 s | Health C8Y-Configuration-Plugin |
Reload systemd files | 1.2770000000000001 s | Health C8Y-Configuration-Plugin |
Start c8y-configuration-plugin | 0.276 s | Health C8Y-Configuration-Plugin |
Start watchdog service | 10.398 s | Health C8Y-Configuration-Plugin |
Check PID of c8y-configuration-plugin | 0.23 s | Health C8Y-Configuration-Plugin |
Kill the PID | 0.467 s | Health C8Y-Configuration-Plugin |
Recheck PID of c8y-configuration-plugin | 0.273 s | Health C8Y-Configuration-Plugin |
Compare PID change | 0.001 s | Health C8Y-Configuration-Plugin |
Stop watchdog service | 0.223 s | Health C8Y-Configuration-Plugin |
Remove entry from service file | 0.32 s | Health C8Y-Configuration-Plugin |
Stop c8y-log-plugin | 0.124 s | Health C8Y-Log-Plugin |
Update the service file | 0.11 s | Health C8Y-Log-Plugin |
Reload systemd files | 0.522 s | Health C8Y-Log-Plugin |
Start c8y-log-plugin | 0.15 s | Health C8Y-Log-Plugin |
Start watchdog service | 10.208 s | Health C8Y-Log-Plugin |
Check PID of c8y-log-plugin | 0.113 s | Health C8Y-Log-Plugin |
Kill the PID | 0.207 s | Health C8Y-Log-Plugin |
Recheck PID of c8y-log-plugin | 0.141 s | Health C8Y-Log-Plugin |
Compare PID change | 0.001 s | Health C8Y-Log-Plugin |
Stop watchdog service | 0.227 s | Health C8Y-Log-Plugin |
Remove entry from service file | 0.227 s | Health C8Y-Log-Plugin |
Stop tedge-mapper | 0.09 s | Health Tedge Mapper C8Y |
Update the service file | 0.074 s | Health Tedge Mapper C8Y |
Reload systemd files | 0.185 s | Health Tedge Mapper C8Y |
Start tedge-mapper | 0.081 s | Health Tedge Mapper C8Y |
Start watchdog service | 10.101 s | Health Tedge Mapper C8Y |
Check PID of tedge-mapper | 0.153 s | Health Tedge Mapper C8Y |
Kill the PID | 0.361 s | Health Tedge Mapper C8Y |
Recheck PID of tedge-mapper | 0.151 s | Health Tedge Mapper C8Y |
Compare PID change | 0.003 s | Health Tedge Mapper C8Y |
Stop watchdog service | 0.219 s | Health Tedge Mapper C8Y |
Remove entry from service file | 0.099 s | Health Tedge Mapper C8Y |
Stop tedge-agent | 0.265 s | Health Tedge-Agent |
Update the service file | 0.109 s | Health Tedge-Agent |
Reload systemd files | 0.39 s | Health Tedge-Agent |
Start tedge-agent | 0.123 s | Health Tedge-Agent |
Start watchdog service | 10.366 s | Health Tedge-Agent |
Check PID of tedge-mapper | 0.387 s | Health Tedge-Agent |
Kill the PID | 0.418 s | Health Tedge-Agent |
Recheck PID of tedge-agent | 0.236 s | Health Tedge-Agent |
Compare PID change | 0.001 s | Health Tedge-Agent |
Stop watchdog service | 0.482 s | Health Tedge-Agent |
Remove entry from service file | 0.275 s | Health Tedge-Agent |
Stop tedge-mapper-az | 0.442 s | Health Tedge-Mapper-Az |
Update the service file | 0.449 s | Health Tedge-Mapper-Az |
Reload systemd files | 1.08 s | Health Tedge-Mapper-Az |
Start tedge-mapper-az | 0.416 s | Health Tedge-Mapper-Az |
Start watchdog service | 10.333 s | Health Tedge-Mapper-Az |
Check PID of tedge-mapper-az | 0.165 s | Health Tedge-Mapper-Az |
Kill the PID | 0.351 s | Health Tedge-Mapper-Az |
Recheck PID of tedge-agent | 0.158 s | Health Tedge-Mapper-Az |
Compare PID change | 0.001 s | Health Tedge-Mapper-Az |
Stop watchdog service | 0.213 s | Health Tedge-Mapper-Az |
Remove entry from service file | 0.2 s | Health Tedge-Mapper-Az |
Stop tedge-mapper-collectd | 0.657 s | Health Tedge-Mapper-Collectd |
Update the service file | 0.353 s | Health Tedge-Mapper-Collectd |
Reload systemd files | 1.779 s | Health Tedge-Mapper-Collectd |
Start tedge-mapper-collectd | 0.433 s | Health Tedge-Mapper-Collectd |
Start watchdog service | 10.727 s | Health Tedge-Mapper-Collectd |
Check PID of tedge-mapper-collectd | 0.47 s | Health Tedge-Mapper-Collectd |
Kill the PID | 0.519 s | Health Tedge-Mapper-Collectd |
Recheck PID of tedge-mapper-collectd | 0.248 s | Health Tedge-Mapper-Collectd |
Compare PID change | 0.002 s | Health Tedge-Mapper-Collectd |
Stop watchdog service | 0.292 s | Health Tedge-Mapper-Collectd |
Remove entry from service file | 0.181 s | Health Tedge-Mapper-Collectd |
tedge-collectd-mapper health status | 6.4 s | Health Tedge-Mapper-Collectd |
c8y-log-plugin health status | 5.995 s | MQTT health endpoints |
c8y-configuration-plugin health status | 6.075 s | MQTT health endpoints |
Publish on a local insecure broker | 0.503 s | Connect Broker |
Publish on a local secure broker | 5.01 s | Connect Broker |
Wrong package name | 0.108 s | Improve Tedge Apt Plugin Error Messages |
Wrong version | 0.146 s | Improve Tedge Apt Plugin Error Messages |
Wrong type | 0.245 s | Improve Tedge Apt Plugin Error Messages |
tedge_connect_test_positive | 0.764 s | Tedge Connect Test |
tedge_connect_test_negative | 1.321 s | Tedge Connect Test |
tedge_connect_test_sm_services | 10.717 s | Tedge Connect Test |
tedge_disconnect_test_sm_services | 1.647 s | Tedge Connect Test |
Install thin-edge.io | 33.831 s | Call Tedge |
call tedge -V | 0.193 s | Call Tedge |
call tedge -h | 0.089 s | Call Tedge |
call tedge -h -V | 0.144 s | Call Tedge |
call tedge help | 0.177 s | Call Tedge |
tedge config list | 0.261 s | Call Tedge Config List |
tedge config list --all | 0.323 s | Call Tedge Config List |
set/unset device.type | 0.609 s | Call Tedge Config List |
set/unset device.key.path | 1.587 s | Call Tedge Config List |
set/unset device.cert.path | 1.023 s | Call Tedge Config List |
set/unset c8y.root.cert.path | 1.047 s | Call Tedge Config List |
set/unset c8y.smartrest.templates | 0.682 s | Call Tedge Config List |
set/unset az.root.cert.path | 0.559 s | Call Tedge Config List |
set/unset az.mapper.timestamp | 0.803 s | Call Tedge Config List |
set/unset mqtt.bind_address | 0.567 s | Call Tedge Config List |
set/unset mqtt.port | 0.713 s | Call Tedge Config List |
set/unset tmp.path | 0.533 s | Call Tedge Config List |
set/unset logs.path | 0.465 s | Call Tedge Config List |
set/unset run.path | 0.745 s | Call Tedge Config List |
Get Put Delete | 5.267 s | Http File Transfer Api |
Set keys should return value on stdout | 0.244 s | Tedge Config Get |
Unset keys should not return anything on stdout and warnings on stderr | 0.767 s | Tedge Config Get |
Invalid keys should not return anything on stdout and warnings on stderr | 0.37 s | Tedge Config Get |
Set configuration via environment variables | 1.883 s | Tedge Config Get |
Set unknown configuration via environment variables | 0.189 s | Tedge Config Get |
Having in mind that up to now, the existing template has been proved as enough and no changes are needed, I will close this PR as obsolite