• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mendersoftware / mender / 1641512428 / 1
76%
master: 82%

Build:
Build:
LAST BUILD BRANCH: pr_1897
DEFAULT BRANCH: master
Ran 26 Jan 2025 04:01PM UTC
Files 145
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jan 2025 03:50PM UTC coverage: 75.952%. First build
1641512428.1

Pull #1734

gitlab-ci

Mender
fix: Fix Mender client getting stuck after failure in sync state

From the code point, the issue was that the re-scheduling of new polls
for updates or inventory were done from the states _after_ the sync
state, so unless the state machine reached that point the new polls
would not be scheduled.

Fix by creating two new states, that just do the re-scheduling, between
idle and sync. Note that the timer(s) have now been moved to the context
object so that it can be accessed from multiple states (namely, update
polling and submit inventory states which would need to manipulate the
timer for exponential back-off retries.

Ticket: MEN-7900

Changelog: Fix issue where any error in Sync state (triggered for
example with an error in Sync_Enter state scripts) leaves the client
stuck in idle state forever and no new polls for update nor submit of
inventory would be attempted again.

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit a97eb04c8)
Pull Request #1734: [Cherry 5.0.x]: MEN-7900: Fix Mender client getting stuck after failure in sync state

7381 of 9718 relevant lines covered (75.95%)

11129.07 hits per line

Source Files on job 1641512428.1
  • Tree
  • List 145
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0d6471
  • GitLab Build #1641512428
  • 0d64711f on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc