Actions
Bug #44557
closedcephadm: error on run-tox-cephadm test
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
run-tox-cephadm test fails with:
mypy run-test: commands[0] | mypy cephadm cephadm:429: error: Argument 1 to "fcntl" has incompatible type "Optional[IO[Any]]"; expected "Union[int, HasFileno]" cephadm:430: error: Argument 1 to "fcntl" has incompatible type "Optional[IO[Any]]"; expected "Union[int, HasFileno]" cephadm:431: error: Argument 1 to "fcntl" has incompatible type "Optional[IO[Any]]"; expected "Union[int, HasFileno]" cephadm:432: error: Argument 1 to "fcntl" has incompatible type "Optional[IO[Any]]"; expected "Union[int, HasFileno]" cephadm:455: error: Item "None" of "Optional[IO[Any]]" has no attribute "fileno" cephadm:465: error: Item "None" of "Optional[IO[Any]]" has no attribute "fileno" cephadm:475: error: Item "None" of "Optional[IO[Any]]" has no attribute "fileno" Found 7 errors in 1 file (checked 1 source file) ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/src/cephadm/.tox/mypy/bin/mypy cephadm (exited with code 1)
Failed tests:
- https://jenkins.ceph.com/job/ceph-pull-requests/46982/console
- https://jenkins.ceph.com/job/ceph-pull-requests/46981/console
Updated by Kiefer Chang about 4 years ago
- Status changed from New to Fix Under Review
- Assignee set to Kefu Chai
- Pull request ID set to 33876
Updated by Kefu Chai about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions