Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The LLDB test for the entry values will fail due to changes in the compiler #43404

Closed
llvmbot opened this issue Nov 19, 2019 · 5 comments
Closed
Labels
bugzilla Issues migrated from bugzilla lldb

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 19, 2019

Bugzilla Link 44059
Resolution FIXED
Resolved on Jan 28, 2020 01:53
Version unspecified
OS Linux
Blocks #43461
Reporter LLVM Bugzilla Contributor
CC @adrian-prantl,@JDevlieghere,@jmorse,@Teemperor,@vedantk

Extended Description

The test will be disabled (temporarily), since we are trying to change the approach for production of the entry values.

The D68206 is the first patch from the set of patches.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Nov 25, 2019

The https://reviews.llvm.org/D68209 is candidate to resolve this.

@Teemperor
Copy link
Collaborator

FYI, after D68209 has landed and the test got reenabled, it is failing on my machine (Arch Linux) with the following output:

FAIL: lldb-api :: functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py (1085 of 1831)
******************** TEST 'lldb-api :: functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py' FAILED ********************
lldb version 10.0.0 (git@github.com:Teemperor/llvm-project revision 2a873a2)
clang revision 2a873a2
llvm revision 2a873a2
LLDB library dir: /home/teemperor/work/ci/build/bin
LLDB import library dir: /home/teemperor/work/ci/build/bin
Skipping following debug info categories: ['dsym', 'gmodules']

Session logs for test failures/errors/unexpected successes will go into directory '/home/teemperor/work/ci/build/lldb-test-traces'
Command invoked: /home/teemperor/work/ci/llvm/lldb/test/API/dotest.py --arch=x86_64 -s /home/teemperor/work/ci/build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/teemperor/work/ci/build/./bin/lldb --compiler /home/teemperor/work/ci/build/./bin/clang --dsymutil /home/teemperor/work/ci/build/./bin/dsymutil --filecheck /home/teemperor/work/ci/build/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --env LLVM_LIBS_DIR=/home/teemperor/work/ci/build/./lib --build-dir /home/teemperor/work/ci/build/lldb-test-build.noindex --lldb-module-cache-dir /home/teemperor/work/ci/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/teemperor/work/ci/build/lldb-test-build.noindex/module-cache-clang/lldb-api /home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64 -p TestBasicEntryValuesX86_64.py
UNSUPPORTED: LLDB (/home/teemperor/work/ci/build/bin/clang-10-x86_64) :: test_dsym (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64) (test case does not fall in any category of interest for this run)

--- FileCheck trace (code=1) ---
/home/teemperor/work/ci/build/bin/FileCheck /home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp -check-prefix=FUNC11-BT

FileCheck input:

  • thread #​1, name = 'a.out', stop reason = breakpoint 10.1
    • frame #​0: 0x0000000000401204 a.outfunc11_tailcalled(sink=0x00007ffe292a7ffc, x=123) at main.cpp:160:3 [opt] frame #​1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe292a7ffc, x=123) at main.cpp:179:3 [opt]
      frame #​2: 0x00000000004012dd a.outmain at main.cpp:242:3 [opt] frame #​3: 0x00007f36e4c43153 libc.so.6__libc_start_main + 243
      frame #​4: 0x000000000040104e a.out`_start + 46

FileCheck output:

/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp:159:21: error: FUNC11-BT-NEXT: expected string not found in input
// FUNC11-BT-NEXT: func12{{.*}} [artificial]
^
:3:2: note: scanning from here
frame #​1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe292a7ffc, x=123) at main.cpp:179:3 [opt] ^ <stdin>:3:37: note: possible intended match here frame #&#8203;1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe292a7ffc, x=123) at main.cpp:179:3 [opt]
^

FAIL: LLDB (/home/teemperor/work/ci/build/bin/clang-10-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64)

--- FileCheck trace (code=1) ---
/home/teemperor/work/ci/build/bin/FileCheck /home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp -check-prefix=FUNC11-BT

FileCheck input:

  • thread #​1, name = 'a.out', stop reason = breakpoint 10.1
    • frame #​0: 0x0000000000401204 a.outfunc11_tailcalled(sink=0x00007ffe2fd71eec, x=123) at main.cpp:160:3 [opt] frame #&#8203;1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe2fd71eec, x=123) at main.cpp:179:3 [opt]
      frame #​2: 0x00000000004012dd a.outmain at main.cpp:242:3 [opt] frame #&#8203;3: 0x00007fe4c426f153 libc.so.6__libc_start_main + 243
      frame #​4: 0x000000000040104e a.out`_start + 46

FileCheck output:

/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp:159:21: error: FUNC11-BT-NEXT: expected string not found in input
// FUNC11-BT-NEXT: func12{{.*}} [artificial]
^
:3:2: note: scanning from here
frame #​1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe2fd71eec, x=123) at main.cpp:179:3 [opt] ^ <stdin>:3:37: note: possible intended match here frame #&#8203;1: 0x0000000000401226 a.outfunc12(sink=0x00007ffe2fd71eec, x=123) at main.cpp:179:3 [opt]
^

FAIL: LLDB (/home/teemperor/work/ci/build/bin/clang-10-x86_64) :: test_dwo (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64)
UNSUPPORTED: LLDB (/home/teemperor/work/ci/build/bin/clang-10-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64) (test case does not fall in any category of interest for this run)

FAIL: test_dwarf (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64)

Traceback (most recent call last):
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
return attrvalue(self)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
[Previous line repeated 1 more time]
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 124, in _test
self.do_test()
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 147, in do_test
parser.handle_breakpoint(self, breakpoint_id)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 80, in handle_breakpoint
test.execute_user_command(breakpoint['command'])
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 127, in execute_user_command
exec(__command, globals(), locals())
File "", line 1, in
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2252, in filecheck
self.assertTrue(cmd_status == 0)
AssertionError: False is not True
Config=x86_64-/home/teemperor/work/ci/build/bin/clang-10

FAIL: test_dwo (lldbsuite.test.lldbtest.TestBasicEntryValuesX86_64)

Traceback (most recent call last):
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
return attrvalue(self)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/decorators.py", line 141, in wrapper
func(*args, **kwargs)
[Previous line repeated 1 more time]
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 124, in _test
self.do_test()
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 147, in do_test
parser.handle_breakpoint(self, breakpoint_id)
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 80, in handle_breakpoint
test.execute_user_command(breakpoint['command'])
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 127, in execute_user_command
exec(__command, globals(), locals())
File "", line 1, in
File "/home/teemperor/work/ci/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2252, in filecheck
self.assertTrue(cmd_status == 0)
AssertionError: False is not True
Config=x86_64-/home/teemperor/work/ci/build/bin/clang-10

Ran 4 tests in 6.379s

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


@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 3, 2019

Reverted while investigating. Thanks!

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 6, 2019

This has been resolved with the rG4b4ede440a2a.

@dstenb
Copy link
Mannequin

dstenb mannequin commented Nov 27, 2021

mentioned in issue #43461

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lldb
Projects
None yet
Development

No branches or pull requests

2 participants