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

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

Build:
Build:
LAST BUILD BRANCH: pr_1897
DEFAULT BRANCH: master
Ran 23 Jan 2025 01:19PM UTC
Files 145
Run time 5s
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

23 Jan 2025 01:09PM UTC coverage: 75.952% (-0.007%) from 75.959%
1637995628.1

push

gitlab-ci

lluiscampos
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>

7381 of 9718 relevant lines covered (75.95%)

11129.06 hits per line

Source Files on job 1637995628.1
  • Tree
  • List 145
  • Changed 29
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build a97eb0
  • GitLab Build #1637995628
  • a97eb04c on github
  • Prev Job for on pr_1724 (#1636068196.1)
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