clixon/test/vagrant
2021-07-29 23:01:47 -06:00
..
clixon.sh Several fixes to restconf internal and vagrants tests 2021-05-24 13:10:21 +02:00
Makefile.in - Fixed [clixon_proc can't start new process with PATH env #202](https://github.com/clicon/clixon/issues/202) 2021-04-14 17:02:24 +02:00
mem.sh vagrant tests eg with evhtp 2020-07-10 12:33:30 +00:00
nginx.sh more test and vagrant for nginx checks 2020-11-25 19:48:42 +01:00
README.md Vagrant and test updates for restconf /www-data mods 2021-05-23 19:55:01 +02:00
vagrant.sh Merge branch 'master' into filter-and-xml-encoding-fixes 2021-07-29 23:01:47 -06:00

Vagrant scripts

Scripts for booting local vagrant hosts, installing clixon and running clixon tests

The script then uses a Makefile and logs in to each host, pulls from git, configure, makes and runs through the tests. Make is used to get concurrency - eg with make -j 10

The Makefile contains a configurable VAGRANTS variable, which is defined in a site.mk file. You can add such a file, eg:

  VAGRANTS += freebsd/FreeBSD-12.1-STABLE
  VAGRANTS += generic/centos8

Beware memory exhaustion if you run too many simultaneously.

Logs appear in : <dir>/<hostname>.log.

You can also run a single vagrant test as follows:

  vagrant.sh freebsd/FreeBSD-12.1-STABLE

The current vagrant boxes are verified continuously:

  • ubuntu/bionic64
  • generic/centos8
  • generic/freebsd12

For other vagrant boxes, see search vagrant boxes

Inaccessible

Sometimes Vagrant says: ”Your VM has become inaccessible”

VBoxManage list vms
VBoxManage unregistervm xxx