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

Vagrant: Test test_vagrant_root[box_url] fails due to missing box #274

Closed
dinadins opened this issue Oct 3, 2024 · 0 comments
Closed

Vagrant: Test test_vagrant_root[box_url] fails due to missing box #274

dinadins opened this issue Oct 3, 2024 · 0 comments

Comments

@dinadins
Copy link
Contributor

dinadins commented Oct 3, 2024

The test's molecule.yml references a remote Vagrant box that has been removed - CentOS-Stream-Vagrant-9-20230704.1.x86_64.vagrant-libvirt.box. Consequently the test fails with error:

There was an error while downloading the metadata for this box.
The error message is shown below:

The requested URL returned error: 404

The box URL is indeed dead, its entry is missing from the image page; there are no libvirt boxes older than a year. Perhaps referencing a "historical" image like CentOS-8-Vagrant-8.4.2105-20210603.0.x86_64.vagrant-libvirt.box will be more future-proof - however, these do not have a checksum (part of the testcase) which will need to be calculated manually. For this one sha256sum returns "37cc017738bf12cafce3a97c4de73526452da6332cc5c0516723988644e62620".

With these values in test/vagrant-plugin/scenarios/molecule/box_url/molecule.yml the test passes.

dinadins added a commit to dinadins/molecule-plugins that referenced this issue Oct 3, 2024
@dinadins dinadins changed the title Test test_vagrant_root[box_url] fails due to missing box Vagrant: Test test_vagrant_root[box_url] fails due to missing box Oct 3, 2024
apatard pushed a commit to dinadins/molecule-plugins that referenced this issue Oct 4, 2024
apatard pushed a commit that referenced this issue Oct 4, 2024
@dinadins dinadins closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant