Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VirtualBox in macos-12 runners #8625

Closed
2 of 11 tasks
dereknola opened this issue Oct 20, 2023 · 4 comments
Closed
2 of 11 tasks

Update VirtualBox in macos-12 runners #8625

dereknola opened this issue Oct 20, 2023 · 4 comments
Assignees
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: macOS

Comments

@dereknola
Copy link

dereknola commented Oct 20, 2023

Tool name

Virtualbox

Tool license

VirtualBox: GPL2 (https://www.virtualbox.org/wiki/Licensing_FAQ)

Add or update?

  • Add
  • Update

Desired version

7.0.10,a,158379

Approximate size

No response

Brief description of tool

Please update the brew installed version of VirtualBox. It is currently on virtualbox 6.1.38,153438 which was published over a year ago.

When VirtualBox 7.0.0 was released, Internal Networking was broken for MacOS, and as such, the version was pinned in #6391. However, support was added back in 7.0.2 (see https://www.virtualbox.org/wiki/Changelog-7.0 )

image

Additional fixes have been introduced in the year since, it is now safe to use the newest versions of Virtualbox.

URL for tool's homepage

https://www.virtualbox.org/

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

No, you cannot use `brew install` during CI run as there are limitations around KEXT permissions.

Attempting to call `brew install --cast virtualbox` sees the following error:

An error occurred durning 'sudo /sbin/kextunload -m org.virtualbox.kext.VBoxDrv', there should be a message above. (rc=71)
Failed to unload one or more KEXTs, please reboot the machine to complete the uninstall.


### Tool installation time in runtime

_No response_

### Are you willing to submit a PR?

Yes
@dereknola dereknola changed the title Update VirtualBox MacOS runners Update VirtualBox in macos-12 runners Oct 20, 2023
@dereknola
Copy link
Author

I am happy to open a PR to fix this, however it appears that MacOS changes are currently not accepted as stated in the https://github.com/actions/runner-images/blob/main/CONTRIBUTING.md#macos guide. Let me know if this limitation is not applicable for this fix.

@ilia-shipitsin
Copy link
Contributor

hello, we'll have a look

@vpolikarpov-akvelon vpolikarpov-akvelon self-assigned this Oct 24, 2023
@mikhailkoliada mikhailkoliada added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Oct 30, 2023
@vpolikarpov-akvelon
Copy link
Contributor

Hey @dereknola. Unfortunately, updating VirtualBox to version 7 still breaks many pipelines. Here is an example: #8730. We will have to revert this update. Sorry for that.

@vpolikarpov-akvelon vpolikarpov-akvelon closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
@dereknola
Copy link
Author

Unfortunate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: macOS
Projects
None yet
Development

No branches or pull requests

4 participants