pytest-dev / pytest-dev/execnet

`HostNotFound` is raised when SSH reports a different problem

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
102
Forks
47
PR merge metrics
No merged PRs in 30d

Description

This is due to this line (gateway_bootstrap.py line 46) https://bitbucket.org/hpk42/execnet/src/9c14d7158790c3156c36ab720caa20273647967f/execnet/gateway_bootstrap.py?at=default#gateway_bootstrap.py-46

It tries to write and read back and catches the EOFError.

But trying to connect to SSH directly reports in:

#!

Permission denied (publickey).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in execnet/gateway_bootstrap.py at line 46, where the SSH connection writes and reads back and catches EOFError. Compare this behavior with the reported direct SSH output, including “Permission denied (publickey).” Done means the reported SSH problem is not surfaced as HostNotFound when the failure is an authentication error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.