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

Fix: termios.error: (22, 'Invalid argument') during become on Solaris/Illumos/SmartOS #1089

Merged
merged 4 commits into from
Sep 20, 2024

fix: adjust syntax to match

57a4b4d
Select commit
Loading
Failed to load commit list.
Merged

Fix: termios.error: (22, 'Invalid argument') during become on Solaris/Illumos/SmartOS #1089

fix: adjust syntax to match
57a4b4d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mitogen-hq.mitogen succeeded Sep 20, 2024 in 19m 48s

Build #20240914.1 had test failures

Details

Tests

  • Failed: 2 (0.01%)
  • Passed: 18,738 (90.57%)
  • Other: 1,948 (9.42%)
  • Total: 20,688

Annotations

Check failure on line 1 in test_shutdown_wait_true (router_test.ShutdownTest)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mitogen-hq.mitogen

test_shutdown_wait_true (router_test.ShutdownTest)

Test failed
Raw output
Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/router_test.py", line 526, in test_shutdown_wait_true
    mitogen.context_id,
AssertionError: u'the respondent Context has disconnected' != 'no route to 1, my ID is 0'

Check failure on line 1 in test_earliest_messages_logged_via (log_handler_test.StartupTest)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mitogen-hq.mitogen

test_earliest_messages_logged_via (log_handler_test.StartupTest)

Test failed
Raw output
Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/log_handler_test.py", line 87, in test_earliest_messages_logged_via
    self.assertIn('Python version is', logs)
AssertionError: 'Python version is' not found in u'starting function call to c1: mitogen.parent._proxy_connect(kwargs=Kwargs({u\'unidirectional\': False, \'debug\': True, u\'profiling\': False}), name=u\'c2\', method_name=u\'local\')\nsending message to Context(1, u\'c1\'): Message(1, 0, 0, 101, 1001, \'\\x80\\x02(NX\\x0e\\x00\\x00\\x00mitogen.parentNX\\x0e\\x00\\x00\\x00_proxy_connect)cmitog\'..194)\nDispatcher: dispatching (None, u\'mitogen.parent\', None, u\'_proxy_connect\', (), Kwargs({\'kwargs\': Kwargs({u\'unidirectional\': False, \'debug\': True, u\'profiling\': False}), \'name\': u\'c2\', \'method_name\': u\'local\'}))\nupgraded Poller with EpollPoller (new: 4 readers, 0 writers; old: 4 readers, 0 writers)\nupgrading Router(Broker(aed0)) with capabilities to start new children\nIdAllocator(Router(Broker(8910))): allocating [2..1002)\nIdAllocator(Router(Broker(8910))): allocating [2..1002) to Context(1, u\'c1\')\ncreating connection to context 2 using mitogen.parent\ncommand line for Connection(None): /home/vsts/work/1/s/.tox/py27-mode_mitogen-distro_debian11/bin/python -c "import sys;sys.path=[p for p in sys.path if p];import binascii,os,zlib;exec(zlib.decompress(binascii.a2b_base64(\\"eNqVkl1PwjAUhu/5Fd6dLo7RDoWwuEQC+JHIRxaUGFzIxjpthHZpNyb8ejswsOGF8a5P3/f0vG2PZ85coayEJRQZNWnmJWLxhYZYyE9kOLViHWWJjbBJMDZO7JllklolB16uhKLIK4Msw6wMuYZDw4wHa91+jn3XhX4gc8Yh4FFZsv25Y/s3QDp7RW2VRb/oMkuDcEV1VSNTshEy3ki26Yfg4Jw5zg221YZ/t9f7NrbJMcGGSsUEnzvNorI40tE1lG+Y1LsweZ0+jEeLp+7zqPcw6C/uvPFwMfO6k8nAA98FAvvXOPq73v0L1kI1+sGjcYWqglnFS0Brlop3yp2NStVtvKkHu7aN661m07m+wi0DjJo+KpcspYiYMHycjjHGbxx0hKWI9D2NWs/drVhoRXQp1omkSqFiICKRUK7HAGQIhiVpECHS7pC2LogT9+SYmZCHUExHnPw06u3Xhx8/c+d/uX+nJdW0x1myjW9mLOVX\\")))"\nchild for Connection(None) started: pid:5410 stdin:15 stdout:15 stderr:None\nBootstrapProtocol(c2): first stage started succcessfully\nBootstrapProtocol(c2): first stage received mitogen.core source\nBootstrapProtocol(c2): new child booted successfully\nRouter(Broker(aed0)): registering Context(2, u\'c2\') to stream <Stream c2 #7b50>\nAdding route to 2 via <Stream c1 #fa10>\nRouter(Broker(8910)): adding route to context 2 via <Stream c1 #fa10>\nDispatcher: Message(1, 0, 0, 101, 1001, \'\\x80\\x02(NX\\x0e\\x00\\x00\\x00mitogen.parentNX\\x0e\\x00\\x00\\x00_proxy_connect)cmitog\'..194) -> {u\'id\': 2, u\'name\': u\'c2\', u\'msg\': None}\nContext(2, u\'c1.c2\').shutdown() sending SHUTDOWN\nRouter(Broker(5ed0)): registering Context(1, u\'parent\') to stream <Stream parent #63d0>\nshutdown request from context 0\nBroker(5ed0): shutting down\nIoLoggerProtocol(stdout): shutting down\nIoLoggerProtocol(stderr): shutting down\nWaker(fd=3/4): shutting down\nWaker(fd=3/4): disconnecting\nMitogenProtocol(parent): shutting down\n<Side of stdout fd 8>: empty read, disconnecting\nIoLoggerProtocol(stdout): disconnecting\n<Side of stderr fd 10>: empty read, disconnecting\nIoLoggerProtocol(stderr): disconnecting\nBroker(5ed0): force disconnecting <Side of parent fd 5>\nparent stream is gone, dying.\nBroker(5ed0): shutting down\n<Side of c2 fd 15>: empty read, disconnecting\nPopenProcess c2 pid 5410 still running after IO disconnect, recheck in 0.050s\nContext(2, u\'c2\'): disconnecting\nstream c2 is gone; propagating DEL_ROUTE for set([2])\nRouter(Broker(aed0)): deleting route to 2\nfiring local disconnect signal for Context(2, u\'c1.c2\')\n'