[llvm-bugs] [Bug 49408] New: TestMultilineCompletion: test_basic_completion times out on FreeBSD
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 3 06:14:36 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49408
Bug ID: 49408
Summary: TestMultilineCompletion: test_basic_completion times
out on FreeBSD
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mgorny at gentoo.org
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Might also be related to pexpect or libedit.
******************** TEST 'lldb-api ::
commands/expression/multiline-completion/TestMultilineCompletion.py' FAILED
********************
Script:
--
/usr/local/bin/python3.7 /home/mgorny/llvm-project/lldb/test/API/dotest.py -u
CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
--env LLVM_LIBS_DIR=/home/mgorny/llvm-project/build.arm64/./lib --arch aarch64
--build-dir /home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex
--lldb-module-cache-dir
/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/module-cache-lldb/lldb-api
--clang-module-cache-dir
/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/module-cache-clang/lldb-api
--executable /home/mgorny/llvm-project/build.arm64/./bin/lldb --compiler
/home/mgorny/llvm-project/build.arm64/./bin/clang --dsymutil
/home/mgorny/llvm-project/build.arm64/./bin/dsymutil --llvm-tools-dir
/home/mgorny/llvm-project/build.arm64/./bin --lldb-libs-dir
/home/mgorny/llvm-project/build.arm64/./lib
/home/mgorny/llvm-project/lldb/test/API/commands/expression/multiline-completion
-p TestMultilineCompletion.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 13.0.0
Libc++ tests will not be run because: Don't know how to build with libc++ on
freebsd
libstdcxx tests will not be run because: Don't know how to build with libstdcxx
on freebsd
Skipping following debug info categories: ['dwo', 'dsym', 'gmodules']
objc tests will be skipped because of unsupported platform
--
Command Output (stderr):
--
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_basic_completion (TestMultilineCompletion.MultilineCompletionTest)
======================================================================
ERROR: test_basic_completion (TestMultilineCompletion.MultilineCompletionTest)
Test that we can complete a simple multiline expression
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/expect.py",
line 111, in expect_loop
incoming = spawn.read_nonblocking(spawn.maxread, timeout)
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py",
line 482, 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/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 149, in wrapper
return func(*args, **kwargs)
File
"/home/mgorny/llvm-project/lldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py",
line 45, in test_basic_completion
self.child.expect(re.compile(b"to_(\r" +
self.cursor_forward_escape_seq(len(" 1: to_")) + b")?complete"))
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py",
line 341, in expect
timeout, searchwindowsize, async_)
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py",
line 369, in expect_list
return exp.expect_loop(timeout)
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/expect.py",
line 119, in expect_loop
return self.timeout(e)
File
"/home/mgorny/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/expect.py",
line 82, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x4dc85fd0>
command: /home/mgorny/llvm-project/build.arm64/bin/lldb
args: ['/home/mgorny/llvm-project/build.arm64/bin/lldb', '--no-lldbinit',
'--no-use-colors', '-O', 'settings clear -all', '-O', 'settings set
symbols.enable-external-lookup false', '-O', 'settings set target.inherit-tcc
true', '-O', 'settings set target.detach-on-error false', '-O', 'settings set
target.auto-apply-fixits false', '-O', 'settings set
plugin.process.gdb-remote.packet-timeout 60', '-O', 'settings set
symbols.clang-modules-cache-path
"/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/module-cache-lldb/lldb-api"',
'-O', 'settings set use-color false', '-O', 'setting set
target.prefer-dynamic-value no-dynamic-values', '--file',
'/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/commands/expression/multiline-completion/TestMultilineCompletion.test_basic_completion/a.out']
buffer (last 100 chars): b':\r\n\x1b[1G\x1b[J 1: \x1b[1G 1:
\r\x1b[5C\x00\x00to_\tto_\r\x1b[8C\x00\x00complete '
before (last 100 chars): b':\r\n\x1b[1G\x1b[J 1: \x1b[1G 1:
\r\x1b[5C\x00\x00to_\tto_\r\x1b[8C\x00\x00complete '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 1096
child_fd: 6
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile(b'to_(\r\x1b\\[8C)?complete')
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang
----------------------------------------------------------------------
Ran 1 test in 80.787s
RESULT: FAILED (0 passes, 0 failures, 1 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210303/e09e794f/attachment-0001.html>
More information about the llvm-bugs
mailing list