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

mendersoftware / mender-mcu / 1748303724
58%
main: 0%

Build:
Build:
LAST BUILD BRANCH: pr_209
DEFAULT BRANCH: main
Ran 02 Apr 2025 11:12AM UTC
Jobs 2
Files 25
Run time 53min
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

02 Apr 2025 10:28AM UTC coverage: 57.632% (+0.6%) from 57.008%
1748303724

push

gitlab-ci

danielskinstad
fix: store `MENDER_UPDATE_STATE_REBOOT` before calling install callback

In the `zephyr-image` update module we set the pending image in
the install callback. If we don't store the next state before
setting the pending image, a spontaneous reboot in
`MENDER_UPDATE_STATE_INSTALL` will simply go to failure and stay in the
unconfirmed image in slot 1. By storing the next state, we assure that
the deployment will be marked as a failure and that we don't end up in
the wrong image.

Changelog: None
Ticket: None

Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>

11 of 11 new or added lines in 1 file covered. (100.0%)

623 existing lines in 14 files now uncovered.

2273 of 3944 relevant lines covered (57.63%)

70.63 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
56.0
2.24% src/platform/os/zephyr/os.c
4
82.61
-17.39% src/core/alloc.c
6
47.87
-0.96% src/platform/tls/generic/mbedtls/tls.c
7
65.16
-3.92% src/core/deployment-data.c
7
56.67
-23.33% src/core/update-module.c
12
68.42
18.42% src/platform/log/zephyr/log.c
14
70.83
2.65% src/core/artifact-download.c
28
51.67
0.0% src/platform/inventory/zephyr/inventory.c
38
61.61
-1.28% src/core/client.c
52
0.0
0.0% src/platform/storage/posix/storage.c
60
63.84
-22.14% src/core/utils.c
93
60.98
-6.07% src/platform/storage/zephyr/nvs/storage.c
133
58.67
0.2% src/core/api.c
167
62.77
-8.53% src/core/artifact.c
Jobs
ID Job ID Ran Files Coverage
1 integration-tests - 1748303724.1 02 Apr 2025 11:12AM UTC 19
61.46
2 unit-tests - 1748303724.2 02 Apr 2025 11:13AM UTC 18
23.21
Source Files on build 1748303724
  • Tree
  • List 25
  • Changed 10
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1748303724
  • 7cfec88e on github
  • Prev Build on pr_179 (#1736448952)
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