-
Notifications
You must be signed in to change notification settings - Fork 55
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
c8y-firmware-plugin timer actor does not react to a shutdown message #1932
Labels
Comments
11 tasks
11 tasks
github-actions bot
referenced
this issue
May 3, 2023
fix(test): reduce test scope for firmware restart
This was referenced May 3, 2023
github-actions bot
referenced
this issue
May 4, 2023
fix: improve collectd integration test to avoid sporadic failures
github-actions bot
referenced
this issue
May 4, 2023
…n-timeout fix(test): increase operation assertion timeouts
This was referenced May 5, 2023
github-actions bot
referenced
this issue
May 8, 2023
update to clap 3.2.25, move back to stable clippy
This was referenced May 9, 2023
github-actions bot
referenced
this issue
May 10, 2023
…qtt-endpoints Add separate HTTP and MQTT endpoints for Cumulocity
11 tasks
github-actions bot
referenced
this issue
May 11, 2023
…ted operation file contents (#1959) * Update the tedge-mapper-c8y operations list dynamically Signed-off-by: Pradeep Kumar K J <[email protected]>
This was referenced Aug 4, 2023
Merged
This was referenced Aug 7, 2023
github-actions bot
referenced
this issue
Aug 8, 2023
chore: add maintainer scripts from existing debian packages for later comparison
This was referenced Aug 8, 2023
11 tasks
11 tasks
18 tasks
This was referenced Nov 2, 2023
18 tasks
11 tasks
11 tasks
This was referenced Jan 18, 2024
14 tasks
11 tasks
13 tasks
11 tasks
11 tasks
This was referenced Jul 17, 2024
Closed
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
c8y-firmware-plugin
does not restart cleanly (e.g. less than 60 seconds) when a child firmware operation is in progress.The logs seem to indicate that the
Timer
actor does not react to theshutdown
message. All other actors within thec8y-firmware-plugin
actors respond (e.g.HealthMonitorActor
,C8YJwtRetriever
,MQTT
,Downloader
,Signal-Handler
andFirmwareManager
)To Reproduce
Given the following setup
Then
Create a Cumulocity firmware operation for the child device
Whilst the operation is processing, restart the firmware plugin
Note: The restart command will take 60 seconds, and the following log message is shown in the journald logs (e.g.
journalctl -fu c8y-firmware-plugin -n 100
)Expected behavior
The
Timer
actor should listen to theshutdown
message and stop the timer action so that it the actorRuntime
does not need to forcefully shutdown the process.Screenshots
Below shows the log output of the
c8y-firmware-plugin
after thesystemctl restart c8y-firmware-plugin
command was executed.Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: