[Swan-dev] setting up tests on a brand new Fedora 23 installation

D. Hugh Redelmeier hugh at mimosa.com
Tue May 10 06:56:32 UTC 2016


| From: Paul Wouters <paul at nohats.ca>

| make kvm-clean kvm-clean-keys kvm-keys

[build at bluebird libreswan]$ make kvm-clean kvm-clean-keys kvm-keys
: KVM_OBJDIR: 'OBJ.kvm'
test -w /var/lib/libvirt/qemu || make --no-print-directory kvm-config-broken-qemu
/home/build/libreswan/testing/utils/kvmsh.py --output ++compile-log.txt --chdir .   east 'export OBJDIR=OBJ.kvm ; make -j2 OBJDIR=OBJ.kvm "clean"'
virsh east 0.047: login timeouts: 120 seconds for login prompt; 5 seconds for password prompt; 5 seconds for shell prompt
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 97, in expect_loop
    incoming = spawn.read_nonblocking(spawn.maxread, timeout)
  File "/usr/lib/python3.4/site-packages/pexpect/pty_spawn.py", line 452, in read_nonblocking
    raise TIMEOUT('Timeout exceeded.')
pexpect.exceptions.TIMEOUT: Timeout exceeded.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/libreswan/testing/utils/kvmsh.py", line 148, in <module>
    main()
  File "/home/build/libreswan/testing/utils/kvmsh.py", line 104, in main
    remote.login(domain, console)
  File "/home/build/libreswan/testing/utils/fab/remote.py", line 172, in login
    shell_timeout=shell_timeout)
  File "/home/build/libreswan/testing/utils/fab/remote.py", line 150, in _login
    console.expect(console.prompt, timeout=shell_timeout)
  File "/home/build/libreswan/testing/utils/fab/shell.py", line 195, in expect
    searchwindowsize=searchwindowsize)
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 315, in expect
    timeout, searchwindowsize, async)
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 339, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 104, in expect_loop
    return self.timeout(e)
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 68, in timeout
    raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7fe4336e1cc0>
command: /usr/bin/sudo
args: ['/usr/bin/sudo', 'virsh', 'console', '--force', 'east']
searcher: None
buffer (last 100 chars): '\r\n[root at swanbase ~]# '
before (last 100 chars): '\r\n[root at swanbase ~]# '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 13620
child_fd: 7
closed: False
timeout: 0
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: <fab.shell.Debug object at 0x7fe427dc1be0>
logfile_send: <fab.shell.Debug object at 0x7fe427dc1ba8>
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
/home/build/libreswan/mk/kvm-targets.mk:205: recipe for target 'kvm-clean' failed
make: *** [kvm-clean] Error 1


| make kvm-update

make: *** No rule to make target 'kvm-update'.  Stop.


| I had asked Andrew for a make kvm-help target but it is not there yet. I
| am not sure if ./testing/libvirt/install.sh is still the way to create
| VMs from scratch.

I'm only following the wikiu/Test_Suite page.


More information about the Swan-dev mailing list