Guests keep aborting

Discussions related to using VirtualBox on Linux hosts.
Post Reply
3evx
Posts: 5
Joined: 14. Dec 2016, 16:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS 6, CentOS 7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty, Ubuntu Xenial

Guests keep aborting

Post by 3evx »

Hello!

I'm having a huge problem with guest machines aborting for a reason that is yet unknown to me.

Most often it happens while Vagrant boxes are build and used by Jenkins and Ansible to perform certain actions. I've observed that boxes which are running but are not used by any process are affected as well and they abort seemingly for no reason at all. In both cases the following guests (Vagrant boxes of both architectures) are affected: CentOS 6, CentOS7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty and Ubuntu Xenial. I'm running VagrantBox on Ubuntu 16.04 64-bit remote host (I have no access to VB GUI).

I'm attaching three logs of different guests as well as VBoxSVC.log. I'm not sure what information more to provide.
Attachments
debian-8-64.log
(66.56 KiB) Downloaded 11 times
ubuntu-1204-64.log
(69.43 KiB) Downloaded 6 times
debian-7-32.log
(66.73 KiB) Downloaded 5 times
3evx
Posts: 5
Joined: 14. Dec 2016, 16:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS 6, CentOS 7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty, Ubuntu Xenial

Re: Guests keep aborting

Post by 3evx »

I could only attach 3 file to the previous post, so I'm attaching another log to this one.
Attachments
VBoxSVC.log
(7.27 KiB) Downloaded 8 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guests keep aborting

Post by socratis »

Vagrant is a program that relies on VirtualBox but modifies its configuration files in unknown ways to us. It is not supported on these VirtualBox user forums, they have their own vagrant support channels. If you are having this problem with a standalone version of VirtualBox, then we can continue this discussion.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
3evx
Posts: 5
Joined: 14. Dec 2016, 16:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS 6, CentOS 7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty, Ubuntu Xenial

Re: Guests keep aborting

Post by 3evx »

The thing is, I use the same setup on two different machines, and it works on one, but not on the other.

Could you please at least take a look at the logs?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guests keep aborting

Post by Perryg »

The logs don't really help all that much except to show the guest/s never achieve boot. Did they ever boot on this machine? By the way you can always look at the logs your self. Search for the lines where it shows the booting from and it should show hard drive. Other than that you would need to actually install a stand alone guest to do your diagnostics if you want help here. There are just too many differences in the way the setup is when using a specific tool like vagrant for a remote person to tell you what to try since there can be no hands on and none of us here uses or are familiar with vagrant.
3evx
Posts: 5
Joined: 14. Dec 2016, 16:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS 6, CentOS 7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty, Ubuntu Xenial

Re: Guests keep aborting

Post by 3evx »

Yes, all boxes always boot up.

Thank you for replies, I will approach this problem from the Vagrant side.
3evx
Posts: 5
Joined: 14. Dec 2016, 16:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS 6, CentOS 7, Debian Wheezy, Debian Jessie, Ubuntu Precise, Ubuntu Trusty, Ubuntu Xenial

Re: Guests keep aborting

Post by 3evx »

The source of my problem was Jenkins. When a Jenkins job ends, it also kills all processes that it starts. In this case, Jenkins started up Vagrant boxes, so when a Jenkins job ended the boxes were aborted. The solution was to set environment variable BUILD_ID=dontKillMe.

This information may be useful for someone with a similar problem, that's why I'm posting it.

Thank you again for assistance.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guests keep aborting

Post by socratis »

You should also post that information in the Jenkins/Vagrant forums, since it has more to do with Jenkins/Vagrant and way less with VirtualBox.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply