Skip to content
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

disable unstable alarm tests #1756

Conversation

PradeepKiruvale
Copy link
Contributor

Proposed changes

Disabled the flaky alarm tests.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • 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

  • I have read the CONTRIBUTING doc
  • 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

Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
@PradeepKiruvale PradeepKiruvale temporarily deployed to Test Pull Request February 24, 2023 10:53 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
137 0 5 137 100

Passed Tests

Name ⏱️ Duration Suite
Define Child device 1 ID 0.004 s C8Y Child Alarms Rpi
Normal case when the child device does not exist on c8y cloud 4.263 s C8Y Child Alarms Rpi
Normal case when the child device already exists 1.254 s C8Y Child Alarms Rpi
Reconciliation when the new alarm message arrives, restart the mapper 1.4969999999999999 s C8Y Child Alarms Rpi
Reconciliation when the alarm that is cleared 5.8870000000000005 s C8Y Child Alarms Rpi
Prerequisite Parent 17.358 s Child Conf Mgmt Plugin
Prerequisite Child 0.454 s Child Conf Mgmt Plugin
Child device bootstrapping 14.63 s Child Conf Mgmt Plugin
Snapshot from device 21.528 s Child Conf Mgmt Plugin
Child device config update 17.978 s Child Conf Mgmt Plugin
Configuration types should be detected on file change (without restarting service) 48.031 s Inotify Crate
Child devices support sending simple measurements 48.973 s Child Device Telemetry
Child devices support sending custom measurements 41.285 s Child Device Telemetry
Child devices support sending custom events 39.756 s Child Device Telemetry
Child devices support sending custom events overriding the type 34.628 s Child Device Telemetry
Child devices support sending custom alarms #1699 33.897 s Child Device Telemetry
Child devices support sending inventory data via c8y topic 22.722 s Child Device Telemetry
Main device support sending inventory data via c8y topic 25.355 s Child Device Telemetry
Successful firmware operation 61.277 s Firmware Operation
Install with empty firmware name 50.043 s Firmware Operation
Supports restarting the device 70.271 s Restart Device
Update tedge version from previous using Cumulocity 101.401 s Tedge Self Update
Successful shell command with output 4.07 s Shell Operation
Check Successful shell command with literal double quotes output 3.544 s Shell Operation
Execute multiline shell command 3.356 s Shell Operation
Failed shell command 3.224 s Shell Operation
Software list should be populated during startup 50.153 s Software
Install software via Cumulocity 63.708 s Software
Software list should only show currently installed software and not candidates 39.964 s Software
Stop tedge-agent service 0.307 s Log Path Config
Customize the log path 0.099 s Log Path Config
Initialize tedge-agent 0.204 s Log Path Config
Check created folders 0.089 s Log Path Config
Remove created custom folders 0.093 s Log Path Config
Install latest via script (from current branch) 29.015 s Install Tedge
Install specific version via script (from current branch) 21.087 s Install Tedge
Install latest tedge via script (from main branch) 20.725 s Install Tedge
Support starting and stopping services 36.443 s Service-Control
Supports a reconnect 45.726 s Test-Commands
Supports disconnect then connect 46.127 s Test-Commands
Update unknown setting 28.632 s Test-Commands
Update known setting 25.09 s Test-Commands
Stop c8y-configuration-plugin 0.238 s Health C8Y-Configuration-Plugin
Update the service file 0.354 s Health C8Y-Configuration-Plugin
Reload systemd files 0.706 s Health C8Y-Configuration-Plugin
Start c8y-configuration-plugin 0.185 s Health C8Y-Configuration-Plugin
Start watchdog service 10.364 s Health C8Y-Configuration-Plugin
Check PID of c8y-configuration-plugin 0.116 s Health C8Y-Configuration-Plugin
Kill the PID 0.11 s Health C8Y-Configuration-Plugin
Recheck PID of c8y-configuration-plugin 2.154 s Health C8Y-Configuration-Plugin
Compare PID change 0.001 s Health C8Y-Configuration-Plugin
Stop watchdog service 0.138 s Health C8Y-Configuration-Plugin
Remove entry from service file 0.166 s Health C8Y-Configuration-Plugin
Stop c8y-log-plugin 0.339 s Health C8Y-Log-Plugin
Update the service file 0.263 s Health C8Y-Log-Plugin
Reload systemd files 0.823 s Health C8Y-Log-Plugin
Start c8y-log-plugin 0.214 s Health C8Y-Log-Plugin
Start watchdog service 10.295 s Health C8Y-Log-Plugin
Check PID of c8y-log-plugin 0.1 s Health C8Y-Log-Plugin
Kill the PID 0.176 s Health C8Y-Log-Plugin
Recheck PID of c8y-log-plugin 2.167 s Health C8Y-Log-Plugin
Compare PID change 0.001 s Health C8Y-Log-Plugin
Stop watchdog service 0.15 s Health C8Y-Log-Plugin
Remove entry from service file 0.093 s Health C8Y-Log-Plugin
Stop tedge-mapper 0.307 s Health Tedge Mapper C8Y
Update the service file 0.199 s Health Tedge Mapper C8Y
Reload systemd files 0.951 s Health Tedge Mapper C8Y
Start tedge-mapper 0.287 s Health Tedge Mapper C8Y
Start watchdog service 10.46 s Health Tedge Mapper C8Y
Check PID of tedge-mapper 0.07 s Health Tedge Mapper C8Y
Kill the PID 0.114 s Health Tedge Mapper C8Y
Recheck PID of tedge-mapper 2.163 s Health Tedge Mapper C8Y
Compare PID change 0.001 s Health Tedge Mapper C8Y
Stop watchdog service 0.082 s Health Tedge Mapper C8Y
Remove entry from service file 0.075 s Health Tedge Mapper C8Y
Stop tedge-agent 0.22 s Health Tedge-Agent
Update the service file 0.139 s Health Tedge-Agent
Reload systemd files 0.55 s Health Tedge-Agent
Start tedge-agent 0.139 s Health Tedge-Agent
Start watchdog service 10.251 s Health Tedge-Agent
Check PID of tedge-mapper 0.061 s Health Tedge-Agent
Kill the PID 0.063 s Health Tedge-Agent
Recheck PID of tedge-agent 2.155 s Health Tedge-Agent
Compare PID change 0.003 s Health Tedge-Agent
Stop watchdog service 0.126 s Health Tedge-Agent
Remove entry from service file 0.149 s Health Tedge-Agent
Stop tedge-mapper-az 0.126 s Health Tedge-Mapper-Az
Update the service file 0.164 s Health Tedge-Mapper-Az
Reload systemd files 0.328 s Health Tedge-Mapper-Az
Start tedge-mapper-az 0.16 s Health Tedge-Mapper-Az
Start watchdog service 10.242 s Health Tedge-Mapper-Az
Check PID of tedge-mapper-az 0.079 s Health Tedge-Mapper-Az
Kill the PID 0.095 s Health Tedge-Mapper-Az
Recheck PID of tedge-agent 2.2 s Health Tedge-Mapper-Az
Compare PID change 0.001 s Health Tedge-Mapper-Az
Stop watchdog service 0.149 s Health Tedge-Mapper-Az
Remove entry from service file 0.09 s Health Tedge-Mapper-Az
Stop tedge-mapper-collectd 0.162 s Health Tedge-Mapper-Collectd
Update the service file 0.16 s Health Tedge-Mapper-Collectd
Reload systemd files 0.499 s Health Tedge-Mapper-Collectd
Start tedge-mapper-collectd 0.254 s Health Tedge-Mapper-Collectd
Start watchdog service 10.311 s Health Tedge-Mapper-Collectd
Check PID of tedge-mapper-collectd 0.135 s Health Tedge-Mapper-Collectd
Kill the PID 0.114 s Health Tedge-Mapper-Collectd
Recheck PID of tedge-mapper-collectd 2.298 s Health Tedge-Mapper-Collectd
Compare PID change 0.001 s Health Tedge-Mapper-Collectd
Stop watchdog service 0.131 s Health Tedge-Mapper-Collectd
Remove entry from service file 0.229 s Health Tedge-Mapper-Collectd
c8y-log-plugin health status 5.316 s MQTT health endpoints
c8y-configuration-plugin health status 5.799 s MQTT health endpoints
Wrong package name 0.268 s Improve Tedge Apt Plugin Error Messages
Wrong version 0.232 s Improve Tedge Apt Plugin Error Messages
Wrong type 0.53 s Improve Tedge Apt Plugin Error Messages
tedge_connect_test_positive 0.573 s Tedge Connect Test
tedge_connect_test_negative 1.01 s Tedge Connect Test
tedge_connect_test_sm_services 7.086 s Tedge Connect Test
tedge_disconnect_test_sm_services 0.256 s Tedge Connect Test
Install thin-edge.io 11.008 s Call Tedge
call tedge -V 0.079 s Call Tedge
call tedge -h 0.151 s Call Tedge
call tedge -h -V 0.089 s Call Tedge
call tedge help 0.137 s Call Tedge
tedge config list 0.115 s Call Tedge Config List
tedge config list --all 0.117 s Call Tedge Config List
set/unset device.type 0.481 s Call Tedge Config List
set/unset device.key.path 0.747 s Call Tedge Config List
set/unset device.cert.path 0.944 s Call Tedge Config List
set/unset c8y.root.cert.path 0.851 s Call Tedge Config List
set/unset c8y.smartrest.templates 0.599 s Call Tedge Config List
set/unset az.root.cert.path 0.369 s Call Tedge Config List
set/unset az.mapper.timestamp 0.357 s Call Tedge Config List
set/unset mqtt.bind_address 0.367 s Call Tedge Config List
set/unset mqtt.port 0.274 s Call Tedge Config List
set/unset tmp.path 0.309 s Call Tedge Config List
set/unset logs.path 0.256 s Call Tedge Config List
set/unset run.path 0.269 s Call Tedge Config List
Get Put Delete 3.899 s Http File Transfer Api

Copy link
Member

@rina23q rina23q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also encountered multiple times failures of these tests... makes sense to disable until we fix the tests, which is filed in #1741.

    c8y::tests::c8y_mapper_alarm_mapping_to_smartrest
    c8y::tests::c8y_mapper_child_alarm_empty_payload

Copy link
Contributor

@didier-wenzek didier-wenzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@PradeepKiruvale PradeepKiruvale merged commit d8bd3b3 into thin-edge:main Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants