Comments (1)
The process child processes are zombies:
jhenner 3347498 3.2 0.5 296956 42672 pts/1 S 01:50 0:00 /home/jhenner/work/sat/broker/venv/bin/python venv/bin/py.test tests -v
jhenner 3347507 0.0 0.0 0 0 pts/1 Z 01:50 0:00 [py.test] <defunct>
jhenner 3347508 0.0 0.0 0 0 pts/1 Z 01:50 0:00 [py.test] <defunct>
The parent hangs when dealing with the Queue
(gdb) py-bt
Traceback (most recent call first):
<built-in method read of module object at remote 0x7fd1114b9680>
File "/usr/lib64/python3.9/multiprocessing/connection.py", line 384, in _recv
chunk = read(handle, remaining)
File "/usr/lib64/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes
buf = self._recv(4)
File "/usr/lib64/python3.9/multiprocessing/connection.py", line 221, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/usr/lib64/python3.9/multiprocessing/queues.py", line 103, in get
res = self._recv_bytes()
File "/home/jhenner/work/sat/broker/broker/broker.py", line 75, in _mp_split
result.append(mp_queue.get())
File "/home/jhenner/work/sat/broker/broker/broker.py", line 27, in wrapper
return vmb_inst._mp_split(vmb_inst.checkout, count, **vmb_inst._kwargs)
File "/home/jhenner/work/sat/broker/tests/test_broker.py", line 50, in test_mp_checkout
I started an attempt #53 to fix this using the concurrent.futures which I find easy to use and enough for many situations.
from broker.
Related Issues (20)
- Ansible Automation Platform API path changes HOT 1
- Failed to login in the non-default port guest HOT 2
- BUG: `AssertionError: can only join a child process` when trying to run the process in the background HOT 1
- ssh timeouts regardless of desired timeout specified HOT 1
- AttributeError is raised when loading host with more complex data in `_broker_args` `from_inventory`
- [RFE] Add a function to transfer directory/files from one host to another at specific location
- BUG: `sftp_write` fails if the destination file does not exist in the container
- Properly handle return code after error HOT 5
- [RFE] allow custom environmental variables to be passed to containers/hosts HOT 2
- Implement smarter auth source identification for AnsibleTower HOT 1
- new broker 0.2.10 fails to checkout some instances HOT 1
- Unauthorized (401) - During checkin dynaconf envars are overridden by empty values from settings HOT 6
- Make inventory_file have a sane default, and not required
- Return of AnsibleTower workflows and job-templates should include inventory and description HOT 1
- from_inventory ContentHostError when hostnames are missing in inventory file HOT 1
- 'Container' object has no attribute 'extend_vm'
- 'AnsibleTower' object has no attribute 'inventory' HOT 1
- Test suite needs to be updated to look for broker_settings.yaml in ~/.broker
- Add a simple command to print workflows HOT 1
- Checkin fails with 0.3.2 and using a single provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broker.