It is clear from the log output that build process has failed to complete. We’re aware that Snowplow Mini’s build process has a few fragile components that can easily break and we’ve started to address them. The next release is expected to bring build process to a durable state. You can see the ongoing 0.6.1 release work at https://github.com/snowplow/snowplow-mini/pull/197 .
In the meantime, you can use v0.6.1 branch and build locally fine. We aren’t done but it can be used for local test purposes. Please keep in mind that v0.6.1 branch will be updated regularly and can be in an invalid state for short periods until the release happens.
Thanks for sharing your progress. I don’t think it is about vagrant itself right now but the way Mini installs specific dependencies, which we’re updating within the 0.6.1 release.
You don’t need to jump over commits to find the one that works, if you’ve checked out the release branch v0.6.1 , running vagrant destroy && vagrant up command at the root of the repository should work fine, I just checked personally on my localhost & it builds fine. Note that there are recent force-pushes in the branch, so refresh your local branch before running a vagrant command.
If this still doesn’t work, then it might be a good idea to check if you can really boot up a vagrant machine. A fast option could be running vagrant init ubuntu/xenial64 && vagrant up inside a temporary test directory and checking if it is fine.
I’ve tested Vagrant with a blank Ubuntu image as you suggested, and it built successfully.
Wades-MBP:tmp wjensen$ vagrant ssh
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-150-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 packages can be updated.
0 updates are security updates.
New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
I’m able to progress much further through the ansible playbook now, but am still running into issues. I think due to a chown failing and subsequent filesystem access being denied.
The new terminal output from vagrant up on the root of the snowplow-mini repo on the v0.6.1 branch:
Hi @wadejensen that error is normally to do with a conflict between NFS and certain file permissions - as a last try could you try commenting out the NFS lines in the Vagrantfile, destroying your current Vagrant up attempt and then trying again?