[lldb-dev] [Bug 27782] New: Go tests failing on OS X

via lldb-dev lldb-dev at lists.llvm.org
Mon May 16 13:37:35 PDT 2016


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

            Bug ID: 27782
           Summary: Go tests failing on OS X
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: todd.fiala at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The Go language tests are failing on OS X when using Xcode 7.3.1 and the latest
go from OS X homebrew (go1.6.2 darwin/amd64).

=============
Issue Details
=============
FAIL: test_dsym (functionalities/exec/TestExec.py)
FAIL: test_dwarf (functionalities/exec/TestExec.py)
FAIL: test_go_formatter_plugin (lang/go/formatters/TestGoFormatters.py)
FAIL: test_with_dsym_and_python_api (lang/go/types/TestGoASTContext.py)
FAIL: test_with_dsym_and_python_api_dsym
(lang/go/expressions/TestExpressions.py)
FAIL: test_with_dsym_and_python_api_dwarf
(lang/go/expressions/TestExpressions.py)



Session logs for test failures/errors/unexpected successes will go into
directory '2016-05-16-13_23_06'
Command invoked: /Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py
--apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestGoASTContext.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int

Configuration: arch=x86_64
compiler=/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
----------------------------------------------------------------------
Collected 1 test

======================================================================
FAIL: test_with_dsym_and_python_api (TestGoASTContext.TestGoASTContext)
   Test GoASTContext dwarf parsing.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 270, in wrapper
    return func(self, *args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py",
line 27, in test_with_dsym_and_python_api
    self.check_main_vars()
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py",
line 95, in check_main_vars
    self.assertEqual('true', v.value)
AssertionError: 'true' != 'false'
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
----------------------------------------------------------------------
Ran 1 test in 1.917s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
Session logs for test failures/errors/unexpected successes can be found in
directory '2016-05-16-13_23_06'

[TestGoASTContext.py FAILED]
Command invoked: /usr/bin/python
/Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py --apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestGoASTContext.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int
1 out of 4 test suites processed - TestGoASTContext.py

Session logs for test failures/errors/unexpected successes will go into
directory '2016-05-16-13_23_06'
Command invoked: /Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py
--apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestExec.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int

Configuration: arch=x86_64
compiler=/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
----------------------------------------------------------------------
Collected 2 tests

======================================================================
FAIL: test_dsym (TestExec.ExecTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1449, in dsym_test_method
    return attrvalue(self)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py",
line 76, in test
    "Process should be stopped at __dyld_start")
AssertionError: False is not True : Process should be stopped at __dyld_start
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
======================================================================
FAIL: test_dwarf (TestExec.ExecTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1459, in dwarf_test_method
    return attrvalue(self)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py",
line 76, in test
    "Process should be stopped at __dyld_start")
AssertionError: False is not True : Process should be stopped at __dyld_start
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
----------------------------------------------------------------------
Ran 2 tests in 2.789s

RESULT: FAILED (0 passes, 2 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
Session logs for test failures/errors/unexpected successes can be found in
directory '2016-05-16-13_23_06'

[TestExec.py FAILED]
Command invoked: /usr/bin/python
/Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py --apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestExec.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int
2 out of 4 test suites processed - TestExec.py

Session logs for test failures/errors/unexpected successes will go into
directory '2016-05-16-13_23_06'
Command invoked: /Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py
--apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestExpressions.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int

Configuration: arch=x86_64
compiler=/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
----------------------------------------------------------------------
Collected 2 tests

======================================================================
FAIL: test_with_dsym_and_python_api_dsym (TestExpressions.TestGoUserExpression)
   Test GoASTUserExpress.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1449, in dsym_test_method
    return attrvalue(self)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py",
line 21, in test_with_dsym_and_python_api
    self.go_expressions()
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py",
line 68, in go_expressions
    self.assertEqual(22, x.GetValueAsSigned())
AssertionError: 22 != 0L
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
======================================================================
FAIL: test_with_dsym_and_python_api_dwarf
(TestExpressions.TestGoUserExpression)
   Test GoASTUserExpress.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1459, in dwarf_test_method
    return attrvalue(self)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py",
line 21, in test_with_dsym_and_python_api
    self.go_expressions()
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py",
line 68, in go_expressions
    self.assertEqual(22, x.GetValueAsSigned())
AssertionError: 22 != 0L
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
----------------------------------------------------------------------
Ran 2 tests in 2.737s

RESULT: FAILED (0 passes, 2 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
Session logs for test failures/errors/unexpected successes can be found in
directory '2016-05-16-13_23_06'

[TestExpressions.py FAILED]
Command invoked: /usr/bin/python
/Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py --apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestExpressions.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int
3 out of 4 test suites processed - TestExpressions.py

Session logs for test failures/errors/unexpected successes will go into
directory '2016-05-16-13_23_06'
Command invoked: /Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py
--apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestGoFormatters.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int

Configuration: arch=x86_64
compiler=/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
----------------------------------------------------------------------
Collected 1 test

======================================================================
FAIL: test_go_formatter_plugin (TestGoFormatters.TestGoLanguage)
   Test go data formatters.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 270, in wrapper
    return func(self, *args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/decorators.py",
line 121, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py",
line 22, in test_go_formatter_plugin
    self.check_formatters()
  File
"/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py",
line 57, in check_formatters
    self.assertEqual('(string) a = "my string"', str(a))
AssertionError: '(string) a = "my string"' != '(string) a = unable to read
data'
Config=x86_64-/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang-3.9
----------------------------------------------------------------------
Ran 1 test in 1.954s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
Session logs for test failures/errors/unexpected successes can be found in
directory '2016-05-16-13_23_06'

[TestGoFormatters.py FAILED]
Command invoked: /usr/bin/python
/Users/tfiala/src/lldb-llvm.org-ci/lldb/test/dotest.py --apple-sdk macosx
--executable=/Users/tfiala/src/lldb-llvm.org-ci/lldb/build/Release/lldb -C
/Users/tfiala/src/lldb-llvm.org-ci/lldb/llvm-build/Release+Asserts/x86_64/bin/clang
--rerun-all-issues --env TERM=vt100 -s 2016-05-16-13_23_06 --results-port 60612
--inferior -p TestGoFormatters.py
/Users/tfiala/src/lldb-llvm.org-ci/lldb/packages/Python/lldbsuite/test
--event-add-entries worker_index=0:int
4 out of 4 test suites processed - TestGoFormatters.py

-- 
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/20160516/30b1a99d/attachment-0001.html>


More information about the lldb-dev mailing list