Actions
Idea #13501
closed[arvados-cwl-runner] [arv-keepdocker] Use subprocess32 instead of subprocess
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
07/09/2018
Due date:
Story points:
0.5
Release:
Release relationship:
Auto
Description
Google has created a backport of python3.3's subprocess module to python2, which includes includes "many important reliability bug fixes relevant on POSIX platforms" (see https://github.com/google/python-subprocess32) -- including making it safer to use with multi-threaded programs. It would be good to use this instead of the native python2 subprocess module.
- cwltool already uses subprocess32
- arvados-cwl-runner uses native subprocess
- arv-keepdocker uses native subprocess
- nodemanager uses native subprocess
Updated by Tom Morris over 6 years ago
- Tracker changed from Bug to Idea
- Target version set to To Be Groomed
Updated by Tom Clegg over 6 years ago
- Subject changed from Use subprocess32 instead of subprocess to [arvados-cwl-runner] [arv-keepdocker] Use subprocess32 instead of subprocess
Updated by Tom Morris over 6 years ago
- Target version changed from To Be Groomed to 2018-07-18 Sprint
Updated by Lucas Di Pentima over 6 years ago
- Assigned To set to Lucas Di Pentima
Updated by Peter Amstutz over 6 years ago
Notes:
- We are already building a backport of subprocess32 3.5
- Node manager also uses threads and subprocess, it should be included in this list of modules to be updated
Updated by Lucas Di Pentima over 6 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima over 6 years ago
Updates at 81fa59a1e - branch 13501-subprocess32
Test run: https://ci.curoverse.com/job/developer-run-tests/791/
- Replaced
subprocess
withsubprocess32
on nodemanager, arvados-cwl-runner & arv-keepdocker. - Updated tests and package dependencies where needed.
- Tested debian8 package building locally.
Updated by Peter Amstutz over 6 years ago
Lucas Di Pentima wrote:
Updates at 81fa59a1e - branch
13501-subprocess32
Test run: https://ci.curoverse.com/job/developer-run-tests/791/
- Replaced
subprocess
withsubprocess32
on nodemanager, arvados-cwl-runner & arv-keepdocker.- Updated tests and package dependencies where needed.
- Tested debian8 package building locally.
This LGTM.
Updated by Lucas Di Pentima over 6 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|688319dca9cbbb27452a0062943bb38b6935254e.
Actions