clixon/test/vagrant
2021-12-16 22:44:45 +01:00
..
clixon.sh * Tests: use YANG_STANDARD_DIR from ./configure --with-yang-standard-dir=DIR instead of YANGMODELS from site.sh 2021-12-16 22:44:45 +01: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 vagrant script updates 2021-11-30 16:00:41 +01: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