[Swan-dev] make kvm-install failing

Wewegama, Kavinda Kavinda.Wewegama at forcepoint.com
Tue Apr 13 18:59:33 UTC 2021


Hi folks,

I synced from Libreswan mainline this morning and I am currently encountering the following with `make kvm-install` on a 64-bit Fedora 32 VM:

make kvm-build-install
make[1]: Entering directory '/home/kavinda/libreswan'
/home/kavinda/libreswan/testing/utils/kvmsh.py  --chdir . build 'export OBJDIR=OBJ.kvm ; make OBJDIR=OBJ.kvm USE_EFENCE=true ALL_ALGS=false USE_SECCOMP=true USE_LABELED_IPSEC=true USE_NSS_IPSEC_PROFILE=true SD_R
ESTART_TYPE=no USE_NSS_KDF=true FINALNSSDIR=/etc/ipsec.d USE_FIPSCHECK=false install-base'
virsh 0.00: sending control-c+carriage return, waiting 10 seconds for login (or shell) prompt
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pexpect/expect.py", line 111, in expect_loop
    incoming = spawn.read_nonblocking(spawn.maxread, timeout)
  File "/usr/lib/python3.8/site-packages/pexpect/pty_spawn.py", line 509, 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/kavinda/libreswan/testing/utils/kvmsh.py", line 160, in <module>
    main()
  File "/home/kavinda/libreswan/testing/utils/kvmsh.py", line 112, in main
    remote.login(domain, console)
  File "/home/kavinda/libreswan/testing/utils/fab/remote.py", line 184, in login
    return _login(domain, console, login=login, password=password,
  File "/home/kavinda/libreswan/testing/utils/fab/remote.py", line 146, in _login
    match = console.expect([LOGIN_PROMPT, PASSWORD_PROMPT, console.prompt],
  File "/home/kavinda/libreswan/testing/utils/fab/shell.py", line 226, in expect
    match = self.child.expect(expect, timeout=timeout,
  File "/usr/lib/python3.8/site-packages/pexpect/spawnbase.py", line 340, in expect
    return self.expect_list(compiled_pattern_list,
  File "/usr/lib/python3.8/site-packages/pexpect/spawnbase.py", line 369, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/lib/python3.8/site-packages/pexpect/expect.py", line 119, in expect_loop
    return self.timeout(e)
  File "/usr/lib/python3.8/site-packages/pexpect/expect.py", line 82, in timeout
    raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7fc57800d790>
command: /usr/bin/sudo
args: ['/usr/bin/sudo', 'virsh', '--connect', 'qemu:///system', 'console', '--force', 'build']
buffer (last 100 chars): b'\r\n'
before (last 100 chars): b'\r\n'
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 421010
child_fd: 5
closed: False
timeout: 0
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: <fab.shell.Debug object at 0x7fc57800d5b0>
logfile_send: <fab.shell.Debug object at 0x7fc57800d4c0>
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
    0: re.compile(b'login: $')
    1: re.compile(b'Password:\\s?$')
    2: re.compile(b'\\[(?P<username>[-.a-z0-9]+)@(?P<hostname>[-a-z0-9]+) (?P<basename>[-+=:,\\.a-z0-9A-Z_~]+)(?P<status>| [0-9]+)\\](?P<dollar>[#\\$])<file://](%3fP%3cdollar%3e[%23/$%5d)> ')
make[1]: *** [/home/kavinda/libreswan/mk/kvm-targets.mk:1114: kvm-build-install] Error 1
make[1]: Leaving directory '/home/kavinda/libreswan'
make: *** [/home/kavinda/libreswan/mk/kvm-targets.mk:1124: kvm-install] Error 2


Any thoughts as to what might be wrong? Just a couple of weeks ago, `make kvm-install` worked for me without issue in the same environment.

Thanks.

-Kavinda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20210413/23663e82/attachment-0001.html>


More information about the Swan-dev mailing list