[Crunch] crunch-job should report current Python SDK version at start of each task
In the epic command line crunch-job uses to start each task, add something like
((pip freeze 2>/dev/null | grep arvados) || dpkg --show '*arvados*')
(or, hopefully, some less clunky way of accommodating both pip and deb installs)
#7 Updated by Tom Clegg over 6 years ago
- Seems wasteful to run the commands at all when task>0 and logging is disabled. But simpler=good, so I'm OK with it.
- Extra set of parens around the commands. Harmless, but might as well fix this and then merge.
Noticed, incidentally, that
TASK_SEQUENCE above this change should probably be
TASK_QSEQUENCE if the goal is to only log stuff from one task per job...