Closed
Bug 613813
Opened 13 years ago
Closed 12 years ago
Mochitest websocket server shouldn't terminate on ctrl-c when debugging with gdb
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file, 1 obsolete file)
6.11 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
STR: * $ EXTRA_TEST_ARGS='--debugger=gdb' make mochitest-plain * Press ctrl-c at the gdb prompt Actual results: Mochitest webserver receives the SIGINT and kills itself. Expected results: Mochitest webserver should keep running. Patch in a moment.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → justin.lebar+bug
Status: NEW → ASSIGNED
Attachment #492134 -
Flags: review?(ted.mielczarek)
Comment 2•13 years ago
|
||
Is it just the pywebsocket server that dies? We already have SIGINT ignored for interactive debugging, right? I think all that pywebsocket code is from an upstream somewhere, I don't know if we want to take local patches.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to comment #2) > Is it just the pywebsocket server that dies? We already have SIGINT ignored for > interactive debugging, right? Correct. Other modules already ignore ctrl+c, but the pywebsocket server sometimes captures it and dies.
Comment 4•13 years ago
|
||
The pywebsocket code comes from http://code.google.com/p/pywebsocket/.
Updated•13 years ago
|
Summary: Mochitest server shouldn't terminate on ctrl-c when debugging with gdb → Mochitest websocket server shouldn't terminate on ctrl-c when debugging with gdb
Comment 5•13 years ago
|
||
Comment on attachment 492134 [details] [diff] [review] Patch v1 Can you try to upstream the pywebsocket bits of this? Otherwise we're likely to overwrite them if we have to update the code from upstream in the future.
Attachment #492134 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 6•12 years ago
|
||
The pywebsocket people suggested wrapping the invocation of standalone.py in a separate script which ignores SIGINT. Ted, how would you feel about that?
Comment 7•12 years ago
|
||
Fine with me.
Assignee | ||
Comment 8•12 years ago
|
||
Here's the pywebsocket bug: http://code.google.com/p/pywebsocket/issues/detail?id=85
Assignee | ||
Updated•12 years ago
|
Attachment #492134 -
Attachment is obsolete: true
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #497699 -
Flags: review?(ted.mielczarek)
Updated•12 years ago
|
Attachment #497699 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 10•12 years ago
|
||
Moving out of Testing product so I can request a2.0. Although I think this is NPOTB, I guess it's debatable.
Assignee: justin.lebar+bug → nobody
Component: Mochitest → Build Config
Product: Testing → Core
QA Contact: mochitest → build-config
Assignee | ||
Updated•12 years ago
|
Attachment #497699 -
Flags: approval2.0?
Comment 11•12 years ago
|
||
test-only changes historically do not require approval. Just land with a=testonly.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → justin.lebar+bug
Component: Build Config → Mochitest
Flags: approval2.0?
Product: Core → Testing
QA Contact: build-config → mochitest
Assignee | ||
Comment 12•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/fcd0e21db895
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•