summaryrefslogtreecommitdiffstats
path: root/cucumber/features/support/helpers
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01lvc: lift helpers from latest tails to see if that helps at allPhilip Hands2-18/+25
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-08-01lvc: grab updates from tails (01371c19bd..6ae59c49e5)Philip Hands9-349/+762
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-07lvc: reinstate VMcommand's ability to run commands and get resultsPhilip Hands1-17/+28
This modifies the inittab to run a very simple loop on d-i's ttyS0 that reads commands from stdin, runs them and tops and tails the output with various control characters to make it easier to see when we have a result. It outputs a BEL (Ctrl-G, \a, \007) at the start, then an STX (\002) before running the command, and an ETX (\003) afterwards, to bracket STDOUT. After the ETX comes the command's return code, in decimal, then a US (\037), then comes the STDERR, and finally a NUL (\000) That lets us send an 'exit' and look for a BEL then issue a command and find the values required to populate the @returncode, @stdout and @stderr values.
2016-11-27lvc: try setting the serial console portPhilip Hands1-1/+1
2016-07-22lvc: move vm-pools to /srv/lvc to avoid filling swap via tmpfsPhilip Hands1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-20lvc: uniquify VM's serial-port port, based on $executor_numberPhilip Hands1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-11lvc: make sure that the pool directory exists, independent of the poolPhilip Hands1-12/+12
on pb10 it seems that it's currently failing to do this, so perhaps the pool is being left around despite the directory not existing. This may allow the pool to start working, or may act to highlight the underlying problem. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-21lvc: put VM storage in /srv/workspace/vm-pools/Philip Hands1-1/+1
2016-06-18lvc: make the storage-pool directory a little more obviousPhilip Hands1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-16lvc: name the storage after the VM, to avoid conflictsPhilip Hands1-1/+2
perhaps it would be better to prefix volume names in a common pool so we could try that at some point Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-10lvc: discard a couple of meaningless reminder commentsPhilip Hands1-2/+0
2016-06-10lvc: job-specific net name, and don't hardwire UUIDPhilip Hands1-2/+9
2016-06-10lvc: name VMs after the job, so snapshots are distinctPhilip Hands1-2/+8
2016-05-26lvc: stop cucumber from eating the CPU wholePhilip Hands1-0/+1
2016-05-22Revert "lvc: slow down typing to see if that helps with kernel cmdline"Holger Levsen1-1/+0
This reverts commit 77e4dc7d319d597d91a3fdf1e7b96dbd85f4c5ae.
2016-05-22lvc: slow down typing to see if that helps with kernel cmdlinePhilip Hands1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-05-21lvc: wait longer for the remote shellPhilip Hands2-2/+2
2016-05-11move cucumber things under cucumber/Philip Hands11-0/+1901