[lldb-dev] [Bug 39959] New: TestGdbRemoteRegisterState fails on Linux

via lldb-dev lldb-dev at lists.llvm.org
Tue Dec 11 06:15:42 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39959

            Bug ID: 39959
           Summary: TestGdbRemoteRegisterState fails on Linux
           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: martongabesz at gmail.com
                CC: llvm-bugs at lists.llvm.org

Ubuntu 16.04, x86_64

FAIL: lldb-Suite :: tools/lldb-server/TestGdbRemoteRegisterState.py (760 of
1400)
******************** TEST 'lldb-Suite ::
tools/lldb-server/TestGdbRemoteRegisterState.py' FAILED ********************
lldb version 8.0.0 (https://llvm.org/svn/llvm-project/lldb/trunk revision
348711)
  clang revision 348755
  llvm revision 348757
LLDB library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
LLDB import library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
The 'lldb-vscode' executable cannot be located.  The lldb-vscode tests can not
be run as a result.
Skipping following debug info categories: ['dsym', 'gmodules']

Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server
-p TestGdbRemoteRegisterState.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_grp_register_save_restore_works_no_suffix_debugserver
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState) (debugserver tests)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_grp_register_save_restore_works_no_suffix_llgs
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState)
lldb-server exiting...
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_grp_register_save_restore_works_with_suffix_debugserver
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState) (debugserver tests)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_grp_register_save_restore_works_with_suffix_llgs
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState)
lldb-server exiting...
======================================================================
FAIL: test_grp_register_save_restore_works_no_suffix_llgs
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 143, in wrapper
    func(*args, **kwargs)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py",
line 137, in test_grp_register_save_restore_works_no_suffix_llgs
    self.grp_register_save_restore_works(USE_THREAD_SUFFIX)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py",
line 97, in grp_register_save_restore_works
    context = self.expect_gdbremote_sequence()
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py",
line 713, in expect_gdbremote_sequence
    self.logger)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 261, in expect_lldb_gdbserver_replay
    asserter, content, context=context)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 564, in assert_match
    self._assert_exact_payload_match(asserter, actual_packet)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 518, in _assert_exact_payload_match
    assert_packets_equal(asserter, actual_packet, self.exact_payload)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 159, in assert_packets_equal
    asserter.assertEqual(actual_stripped, expected_stripped)
AssertionError: '$E77' != '$OK'
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
======================================================================
FAIL: test_grp_register_save_restore_works_with_suffix_llgs
(TestGdbRemoteRegisterState.TestGdbRemoteRegisterState)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 143, in wrapper
    func(*args, **kwargs)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py",
line 121, in test_grp_register_save_restore_works_with_suffix_llgs
    self.grp_register_save_restore_works(USE_THREAD_SUFFIX)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py",
line 97, in grp_register_save_restore_works
    context = self.expect_gdbremote_sequence()
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py",
line 713, in expect_gdbremote_sequence
    self.logger)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 261, in expect_lldb_gdbserver_replay
    asserter, content, context=context)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 564, in assert_match
    self._assert_exact_payload_match(asserter, actual_packet)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 518, in _assert_exact_payload_match
    assert_packets_equal(asserter, actual_packet, self.exact_payload)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py",
line 159, in assert_packets_equal
    asserter.assertEqual(actual_stripped, expected_stripped)
AssertionError: '$E77' != '$OK'
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
----------------------------------------------------------------------
Ran 4 tests in 4.006s

RESULT: FAILED (0 passes, 2 failures, 0 errors, 2 skipped, 0 expected failures,
0 unexpected successes)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20181211/454fed00/attachment-0001.html>


More information about the lldb-dev mailing list