Oh no worries, I borked the builder email on our currently cumbersome multi-step process.
They’re failing with a permutation of this:
Traceback (most recent call last):
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2224, in dsym_test_method
return attrvalue(self)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 561, in wrapper
return func(self, *args, **kwargs)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py", line 31, in test_inferior_abort_received_debugserver
self.init_debugserver_test()
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 199, in init_debugserver_test
(self.named_pipe_path, self.named_pipe, self.named_pipe_fd) = self.create_named_pipe()
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 125, in create_named_pipe
self.addTearDownHook(shutdown_named_pipe)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1589, in addTearDownHook
print("Adding tearDown hook:", getsource_if_available(hook), file=sbuf)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 265, in __exit__
print(self.getvalue(), file=self.session)
TypeError: must be unicode, not str
Config=x86_64-/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Traceback (most recent call last):
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/test/dotest.py", line 7, in <module>
lldbsuite.test.run_suite()
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/dotest.py", line 1089, in run_suite
resultclass=test_result.LLDBTestResult).run(configuration.suite)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/runner.py", line 162, in run
test(result)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 65, in __call__
return self.run(*args, **kwds)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 85, in run
self._wrapped_run(result)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 115, in _wrapped_run
test._wrapped_run(result, debug)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 117, in _wrapped_run
test(result)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 433, in __call__
return self.run(*args, **kwds)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 361, in run
success = self.runMethod(testMethod, result)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 413, in runMethod
result.addError(self, sys.exc_info())
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/test_result.py", line 148, in addError
method()
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1666, in markError
print("ERROR", file=sbuf)
File "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 265, in __exit__
print(self.getvalue(), file=self.session)
TypeError: must be unicode, not str
There's a pattern for using a call that guarantees contents are converted to either (say) Unicode or Bytes, where the right way to do it depends on Python 2 or Python 3. I see that this isn't causing a problem on the Linux builder, which is a bit puzzling unless they are using Python 3. (Or something else is going on that isn't obvious).
I think I may leave it as is and try to fix it. If I can't figure it out quickly-ish tonight, I will revert and we can figure out the right fix tomorrow. (i.e. I'm not going to revert it right away if I can fix it quickly).
-Todd