You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
dinadins
added a commit
to dinadins/molecule-plugins
that referenced
this issue
Oct 3, 2024
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
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: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.The text was updated successfully, but these errors were encountered: