Skip to content

shutdown_vm: false not working #109

@Alizter

Description

@Alizter

In the tests you are checking for qemu after the action step: https://github.com/cross-platform-actions/action/actions/runs/16437438052/job/46450172489

However reading the log there it seems that the vm is shutdown before the check, meaning it is not working correctly. I also am not able to get it to work in my own action.

...
2025-07-22T07:17:20.3889230Z ##[group]Run ./
2025-07-22T07:17:20.3889930Z with:
2025-07-22T07:17:20.3890604Z   operating_system: freebsd
2025-07-22T07:17:20.3891465Z   architecture: x86-64
2025-07-22T07:17:20.3892240Z   version: 13.2
2025-07-22T07:17:20.3892973Z   hypervisor: qemu
2025-07-22T07:17:20.3893704Z   shutdown_vm: false <<--------------
2025-07-22T07:17:20.3894438Z   run: true
2025-07-22T07:17:20.3895077Z   shell: default
2025-07-22T07:17:20.3895777Z   sync_files: true
2025-07-22T07:17:20.3896480Z ##[endgroup]
...
2025-07-22T07:17:48.8742235Z ::group::Tearing down VM <<-------- ?!?!
2025-07-22T07:17:48.8742535Z ##[group]Tearing down VM
2025-07-22T07:17:48.8744176Z Syncing back files
2025-07-22T07:17:48.8760604Z [command]/usr/bin/rsync -auzv runner@cross_platform_actions_host:/home/runner/work/ /home/runner/work
...

Have I misunderstood the situation here or is this test not testing what it is supposed to be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions