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

vagrant-libvirt / vagrant-libvirt / 6016799058
79%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2023 07:45PM UTC
Jobs 6
Files 55
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

29 Aug 2023 07:43PM UTC coverage: 78.678% (-0.03%) from 78.707%
6016799058

push

github

web-flow
Poweroff domain on `vagrant halt -f` (#1766)

`vagrant halt -f` is supposed to poweroff the domain without attempting
graceful shutdown. Before, `vagrant halt -f` was attempting to send ACPI
and waiting for timeout before actually powering off the domain.

Fix a bug where ACPI timeout code would cause an exception to be thrown,
instead of setting :result to false and proceeding to poweroff the
domain.

The before behaviour:

`vagrant halt`:
    - attempt graceful shutdown (/sbin/shutdown)
        ERROR: next action
    - attempt sending ACPI (domain.shutdown)
        ERROR: timeout exception

`vagrant halt -f`:
    - attempt sending ACPI (domain.shutdown)
        ERROR: timeout exception

The after behaviour:

`vagrant halt`:
    - attempt graceful shutdown (/sbin/shutdown)
        ERROR: next action
    - attempt sending ACPI (domain.shutdown)
        ERROR: next action
    - poweroff the machine (domain.poweroff)
        ERROR: hopefully never

`vagrant halt -f`:
    - poweroff the machine (domain.poweroff)
        ERROR: hopefully never

Fixes #1765

3 of 5 new or added lines in 2 files covered. (60.0%)

3118 of 3963 relevant lines covered (78.68%)

978.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6016799058.1 29 Aug 2023 07:45PM UTC 0
77.66
GitHub Action Run
2 6016799058.2 29 Aug 2023 07:45PM UTC 0
77.93
GitHub Action Run
3 6016799058.3 29 Aug 2023 07:45PM UTC 0
77.93
GitHub Action Run
4 6016799058.4 29 Aug 2023 07:45PM UTC 0
77.67
GitHub Action Run
5 6016799058.5 29 Aug 2023 07:46PM UTC 0
77.93
GitHub Action Run
6 6016799058.6 29 Aug 2023 07:46PM UTC 0
77.93
GitHub Action Run
Source Files on build 6016799058
Detailed source file information is not available for this build.
  • Back to Repo
  • 574de06f on github
  • Prev Build on main (#6014268176)
  • Next Build on main (#6017379928)
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