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

xapi-project / xen-api / 10765668418
80%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2024 02:53AM UTC
Jobs 1
Files 37
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

06 Sep 2024 01:40PM UTC coverage: 78.279%. Remained the same
10765668418

push

github

lindig
CP-32625: xenops-cli - replace handwritten JSON prettifier with yojson

Previously, the output of `xenops-cli diagnostics` was ill-formed JSON,
as keys weren't quoted strings and objects weren't separated by commas.
Just use yojson.prettify instead.

Before:
```
$ xenops-cli diagnostics
{
    vm_actions:  {} tasks:  [] updates:  {
        updates:  [] barriers:  []
    } scheduler:  [] workers:  [
        {
            state:  Idle
        } {
            state:  Idle
        } {
            state:  Idle
        }
    ] queues:  []
}
```

After:
```
$ xenops-cli diagnostics
{
  "vm_actions": {},
  "tasks": [],
  "updates": { "updates": [], "barriers": [] },
  "scheduler": [],
  "workers": [
    { "state": "Idle" },
    { "state": "Idle" },
    { "state": "Idle" }
  ],
  "queues": []
}
```

Nothing seems to rely on parsing the output of xenops-cli, so this should be
safe.

Signed-off-by: Andrii Sultanov <andrii.sultanov@cloud.com>

3456 of 4415 relevant lines covered (78.28%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 10765668418.1 09 Sep 2024 02:53AM UTC 37
78.28
GitHub Action Run
Source Files on build 10765668418
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10765668418
  • f2581892 on github
  • Prev Build on master (#10731576307)
  • Next Build on master (#10773721594)
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

© 2025 Coveralls, Inc