[Bug 38453] New: lldb: new (unit)test failures in 7.0

Bug ID 38453
Summary lldb: new (unit)test failures in 7.0
Product lldb
Version 7.0
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter mgorny@gentoo.org
CC llvm-bugs@lists.llvm.org
Blocks 38406

Created attachment 20643 [details]
dev-util:lldb-7.0.9999:20180806-071614.log.xz

The following tests are repeatedly failing for me in the new branch (amd64;
Gentoo Linux):

Failing Tests (12):                                     
    lldb :: tools/lldb-mi/breakpoint/break-insert.test
    lldb :: tools/lldb-mi/data/data-info-line.test                              
    lldb :: tools/lldb-mi/exec/exec-continue.test                               
    lldb :: tools/lldb-mi/exec/exec-finish.test
    lldb :: tools/lldb-mi/exec/exec-interrupt.test
    lldb :: tools/lldb-mi/exec/exec-next-instruction.test
    lldb :: tools/lldb-mi/exec/exec-next.test
    lldb :: tools/lldb-mi/exec/exec-run-wrong-binary.test
    lldb :: tools/lldb-mi/exec/exec-step-instruction.test
    lldb :: tools/lldb-mi/exec/exec-step.test
    lldb :: tools/lldb-mi/symbol/symbol-list-lines.test
    lldb-Unit :: Utility/./UtilityTests/VMRange.CollectionContains

The lldb-mi issue looks like #28253.  The VMRange I didn't see a bug for:

******************** TEST 'lldb-Unit ::
Utility/./UtilityTests/VMRange.CollectionContains' FAILED ********************
Note: Google Test filter = VMRange.CollectionContains
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from VMRange
[ RUN      ] VMRange.CollectionContains
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/unittests/Utility/VMRangeTest.cpp:146:
Failure
Value of: VMRange::ContainsRange(collection, VMRange(0x100, 0x104))
  Actual: false
Expected: true
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/unittests/Utility/VMRangeTest.cpp:147:
Failure
Value of: VMRange::ContainsRange(collection, VMRange(0x108, 0x100))
  Actual: false
Expected: true
[  FAILED  ] VMRange.CollectionContains (0 ms)
[----------] 1 test from VMRange (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] VMRange.CollectionContains

 1 FAILED TEST

This should be fixed by rL338949

Hans Wennborg changed bug 38453

What Removed Added
Resolution FIXED
Fixed By Commit(s) r338949 r339107
CC hans@chromium.org
Status NEW RESOLVED

Comment # 3 on bug 38453 from Hans Wennborg

(In reply to Leonard Mosescu from comment #2)
> The VMRange failure should be fixed by rL338949
> ([https://reviews.llvm.org/D50290](https://reviews.llvm.org/D50290))

Merged to 7.0 in r339107.