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

[SR-1193] LLDB Ubuntu build error: python 'time' not defined #4413

Closed
trfiala mannequin opened this issue Apr 8, 2016 · 4 comments
Closed

[SR-1193] LLDB Ubuntu build error: python 'time' not defined #4413

trfiala mannequin opened this issue Apr 8, 2016 · 4 comments
Assignees
Labels
bug Something isn't working LLDB for Swift

Comments

@trfiala
Copy link
Mannequin

trfiala mannequin commented Apr 8, 2016

Previous ID SR-1193
Radar None
Original Reporter @trfiala
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee @trfiala
Priority Medium

md5: edff2a22310212f214d596a96247cfc1

Issue Description:

Looks like a simple missing import in some python module:

ERROR: test_attach_to_process_by_id_denied_dwo (TestAttachDenied.AttachDeniedTestCase)
Test attach by process id denied

Traceback (most recent call last):
File "/home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-14_04/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1480, in dwo_test_method
return attrvalue(self)
File "/home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-14_04/lldb/packages/Python/lldbsuite/test/decorators.py", line 123, in wrapper
func(*args, **kwargs)
File "/home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-14_04/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py", line 38, in test_attach_to_process_by_id_denied
pid = lldbutil.wait_for_file_on_target(self, pid_file_path)
File "/home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-14_04/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 1064, in wait_for_file_on_target
time.sleep(pow(2, i) * 0.25)
NameError: global name 'time' is not defined
Config=x86_64-/usr/lib/llvm-3.6/bin/clang

@trfiala
Copy link
Mannequin Author

trfiala mannequin commented Apr 8, 2016

Looks like we don't see this normally since it only kicks in when a test is killed due to a timeout.

@trfiala
Copy link
Mannequin Author

trfiala mannequin commented Apr 8, 2016

Root issue:
http://reviews.llvm.org/D18789

Addressing upstream now and will pull down.

@trfiala
Copy link
Mannequin Author

trfiala mannequin commented Apr 8, 2016

PR for change is up here:
apple/swift-lldb#12

Testing with CI now.

@trfiala
Copy link
Mannequin Author

trfiala mannequin commented Apr 8, 2016

Merged in fix here:
apple/swift-lldb@b2902c2

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

0 participants