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

Backchannel failures in tests #1551

Closed
int19h opened this issue Jul 1, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@int19h
Copy link
Contributor

commented Jul 1, 2019

(https://github.com/microsoft/ptvsd/tree/dbg_adapter_refactor)

On Python 2.7, when the test reads from the backchannel, and debuggee writes to the backchannel and immediately exists, the test sometimes gets EOFError. This results in sporadic test failures for many tests.

@int19h int19h added the Test-issue label Jul 1, 2019

@int19h int19h self-assigned this Jul 1, 2019

@karthiknadig karthiknadig added this to the Jun 2019.2 milestone Jul 2, 2019

int19h added a commit to int19h/ptvsd that referenced this issue Jul 2, 2019

Fix microsoft#1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

int19h added a commit to int19h/ptvsd that referenced this issue Jul 2, 2019

Fix microsoft#1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

int19h added a commit to int19h/ptvsd that referenced this issue Jul 2, 2019

Fix microsoft#1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

int19h added a commit to int19h/ptvsd that referenced this issue Jul 2, 2019

Fix microsoft#1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

int19h added a commit to int19h/ptvsd that referenced this issue Jul 2, 2019

Fix microsoft#1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

int19h added a commit that referenced this issue Jul 3, 2019

Fix #1551: Backchannel failures in tests
Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.

Fix handling of DAP "terminated" event in debug.Session.

Add --ptvsd-logs and --pydevd-logs switches to pytest.

Improve message logging to fully capture the raw message data in the logs if deserialization fails.

Log all debuggee environment variables in debug.Session, and improve log readability.

@int19h int19h closed this Jul 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.