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

mendersoftware / mender / 1325231394
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: pr_1861
DEFAULT BRANCH: master
Ran 10 Jun 2024 11:09AM UTC
Jobs 1
Files 132
Run time 1min
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

10 Jun 2024 10:41AM UTC coverage: 79.777%. Remained the same
1325231394

push

gitlab-ci

kacf
fix: parse artifact ID before validating payload size

If a deployment fails before the artifact info is parsed, e.g. when a deployment
is started but S3 is blocked by a firewall, the JSON state data describes an
artifact with an empty payload-types list. If mender-update is subsequently
restarted, the JSON state data unmarshaler would exit early and return invalid
state data (empty deployment ID) triggering an assert in
DeploymentClient::PushStatus. The client would never recover from this.

Original-by: Fredrik Ellertsen <fredrik.ellertsen@disruptive-technologies.com>
* https://github.com/mendersoftware/mender/pull/1635

Modified-by: Kristian Amlie <kristian.amlie@northern.tech>
* Fix compile error due to declaration order.
* Made same fix for loading v1 state data.
* Adjusted changelog entry.

Changelog: Fix error which could sometimes happen with restrictive
firewalls, resulting in this output:
```
Programming error, should not happen: Assert `deployment_id != ""`
```

Ticket: MEN-7327

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 0321b33d3)

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

7077 of 8871 relevant lines covered (79.78%)

12331.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1325231394.1 10 Jun 2024 11:09AM UTC 132
79.78
Source Files on build 1325231394
  • Tree
  • List 132
  • Changed 21
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1325231394
  • 28b83196 on github
  • Prev Build on 4.0.x (#1317357978)
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