<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TestMultilineCompletion: test_basic_completion times out on FreeBSD"
   href="https://bugs.llvm.org/show_bug.cgi?id=49408">49408</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestMultilineCompletion: test_basic_completion times out on FreeBSD
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>