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

FAILED mypy/test/testdaemon.py::DaemonSuite::testDaemonStatusKillRestartRecheck #10215

Open
ncopa opened this issue Mar 15, 2021 · 1 comment
Labels
bug mypy got something wrong topic-daemon dmypy topic-tests

Comments

@ncopa
Copy link

ncopa commented Mar 15, 2021

Bug Report
When rebuilding packages for python 3.9 mypy 0.812 unit test mypy/test/testdaemon.py::DaemonSuite::testDaemonStatusKillRestartRecheck fails.

To Reproduce

  1. build python 3.9 on alpine linux x86_64
  2. build mypy 0.812
  3. run unit tests

Expected Behavior

unit tests passes

Actual Behavior

=================================================== FAILURES ===================================================
______________________________________ testDaemonStatusKillRestartRecheck ______________________________________
[gw15] linux -- Python 3.9.1 /usr/bin/python3
data: /home/ncopa/aports/community/py3-mypy/src/mypy-0.812/test-data/unit/daemon.test:142:
/home/ncopa/aports/community/py3-mypy/src/mypy-0.812/mypy/test/testdaemon.py:27: in run_case
    test_daemon(testcase)
/home/ncopa/aports/community/py3-mypy/src/mypy-0.812/mypy/test/testdaemon.py:46: in test_daemon
    assert_string_arrays_equal(expected_lines,
/home/ncopa/aports/community/py3-mypy/src/mypy-0.812/mypy/test/helpers.py:116: in assert_string_arrays_equal
    raise AssertionError(msg)
E   AssertionError: Command 14 (dmypy status) did not give expected output
--------------------------------------------- Captured stderr call ---------------------------------------------
Expected:
  Daemon has died                               (diff)
  == Return code: 2                             (diff)
Actual:
  Daemon is stuck; consider /home/ncopa/aports/community/py3-mypy/src/mypy-0.812/mypy/dmypy/__main__.py kill (diff)
  error                   : [Errno 111] Connection refused (diff)
  == Return code: 2                             (diff)

Alignment of first line difference:
  E: Daemon has died...
  A: Daemon is stuck; consider /home/ncopa/aports/community/py3-mypy/src/mypy...
            ^
=========================================== short test summary info ============================================
FAILED mypy/test/testdaemon.py::DaemonSuite::testDaemonStatusKillRestartRecheck
=========================== 1 failed, 8700 passed, 362 skipped in 169.82s (0:02:49) ============================

Your Environment

  • Mypy version used: 0.812
  • Mypy command-line flags: py.test-3 -v
  • Mypy configuration options from mypy.ini (and other config files):
  • Python version used: Python 3.9.1
  • Operating system and version: Alpine Linux edge x86_64
@ncopa ncopa added the bug mypy got something wrong label Mar 15, 2021
@yimingwang123
Copy link

Hi, did you solve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong topic-daemon dmypy topic-tests
Projects
None yet
Development

No branches or pull requests

4 participants