This is an old revision of the document!
This page details the known issues and any workarounds when working with the B@D VM. The issues are tracked in the CIP bugtracker on gitlab.com. Links to the issues are given when possible. Additionally, the CIP testing team has started compiling a troubleshooting guide for some common problems we've seen that are not bugs.
Known issues of the VM created within the CIP project including LAVAv2 and KernelCI.
There is a known issue with LAVA2 that it does not clear out some temporary files see https://gitlab.com/cip-project/cip-testing/testing/issues/84
LAVA looks for the U-Boot prompt but due to differing forms of this prompt may not find it, see https://gitlab.com/cip-project/cip-testing/testing/issues/53 for background.
If you suspend your host with Vagrant still running, when you awaken it the VM still has the time when suspended and it does not get updated to the time now. See https://gitlab.com/cip-project/cip-testing/testing/issues/87 for the associated issue.
LAVA's health check will pause at the auto-login-action see https://gitlab.com/cip-project/cip-testing/testing/issues/56 for the associated issue.
This shows up on Settings dialog of the B@D VM. See https://gitlab.com/cip-project/cip-testing/testing/issues/92 for the associated issue.
When attempting to install B@D on a machine behind a web proxy you may experience the issues detailed here: https://gitlab.com/cip-project/cip-testing/testing/issues/99
The beaglebone black health check and other tests for that device reference files on the linaro website that have now moved location. See https://gitlab.com/cip-project/cip-testing/testing/issues/103 for the history of this issue.
* Important * These changes need applying whether the user is using b@d from git or the pre-provisioned box.
The installation procedure is as follows:
1. On the VM
wget https://s3-us-west-2.amazonaws.com/download.cip-project.org/ciptesting/b%40d/tests/tests-0.1.tgz wget https://s3-us-west-2.amazonaws.com/download.cip-project.org/ciptesting/b%40d/tests/tests-0.1.sha256sum wget https://s3-us-west-2.amazonaws.com/download.cip-project.org/ciptesting/b%40d/tests/tests-0.1.tgz.sig
2. Check the integrity of the download - see these instructions for the box replace with the appropriate file names.
cd /vagrant sudo tar zxf $DOWNLOADDIR/tests-0.1.tgz
3. If you have already created a Beaglebone black health check then you need to replace it with the new /vagrant/tests/bbb_debian_ramdisk_test.yaml
If the QEMU Health check times out try adjusting the values in the script along the lines of those values mentioned in https://gitlab.com/cip-project/cip-testing/testing/issues/121
If during “vagrant up” the VM becomes unresponsive at the “Configuring and enabling network interfaces” step.
Press Ctrl-C twice to force a shutdown of the VM and restart it by issuing the vagrant up
command again. Normal
vagrant control should be possible after the restart.
Note: You can also force a shutdown using the Virtualbox GUI.
Below are a list of errors you might see during the vagrant up
process:
A. GetPassWarning: This warning is safe to ignore on our Board-at-Desk Single-Developer VM. It does not affect the operation of the KernelCI/LAVA VM.
GetPassWarning: Can not control echo on the terminal."
- "Warning: Password input may be echoed."
B. CommaSeparatedIntegerField: This warning is safe to ignore on our Board-at-Desk Single-Developer VM. It does not affect the operation of the KernelCI/LAVA VM.
==> default: lava_scheduler_app.Notification.job_status_trigger: (fields.W901) CommaSeparatedIntegerField has been deprecated. Support for it (except in historical migrations) will be removed in Django 2.0.
==> default: HINT: Use CharField(validators=[validate_comma_separated_integer_list]) instead.
The Vagrant instance by default is configured with 2GB of memory, if you require more memory, and have sufficient local resources on your machine, edit line 26 of the Vagrantfile so that
vbox.customize [“modifyvm”, :id, “–memory”, “2048”]
is given a larger value.
Similarly, if you need a larger disk storage capacity, there are several ways you can accomplish that. The preferred method is shown below.
1. To Add a new hard drive to the B@D Virtual Machine, shutdown the VM using vagrant halt
http://www.techrepublic.com/article/how-to-add-new-drives-to-a-virtualbox-virtual-machine/
2. Using the GUI, add a hard drive to the VM (/dev/sda)
3. Boot the VM using vagrant up
4. Create a new partition table on the new disk using fdisk
https://askubuntu.com/questions/384062/how-do-i-create-and-tune-an-ext4-partition-from-the-command-line
5. Create a new primary partition (/dev/sda1)
6. Write your changes to disk
7. Make a directory where you want to mount the new disk to (/storage)
8. Mount /dev/sdb1 to /storage
9. Consider moving the /var directory to the new drive since that is where the build artifacts are stored. https://linuxconfig.org/how-to-move-var-directory-to-another-partition. As the /home directory is likely to be larger than /var unless you do a lot of builds of different versions of the CIP kernel you may also wish to move /home onto its own partition.
If you have not rebooted the virtual machine after the initial provision, logging in as administrator will return you to the home page but with the login still available. You need a
vagrant halt vagrant up
in order to have the LAVA installation running cleanly so that login works.