Story #4312

[Crunch] crunch-job should report current Python SDK version at start of each task

Added by Tom Clegg over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
01/07/2015
Due date:
% Done:

100%

Estimated time:
(Total: 2.00 h)
Story points:
0.5

Description

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)


Subtasks

Task #4925: Review 4312-crunch-report-sdk-versionResolvedPeter Amstutz

Task #4606: Report relevant package versions during install phaseResolvedPeter Amstutz

Associated revisions

Revision 5523be76
Added by Peter Amstutz over 6 years ago

Merge branch '4312-crunch-report-sdk-version' closes #4312

History

#1 Updated by Tom Clegg over 6 years ago

  • Description updated (diff)
  • Category set to Crunch

#2 Updated by Ward Vandewege over 6 years ago

  • Target version changed from Arvados Future Sprints to 2014-11-19 sprint

#3 Updated by Tom Clegg over 6 years ago

  • Assigned To set to Tom Clegg

#4 Updated by Tom Clegg over 6 years ago

  • Target version changed from 2014-11-19 sprint to 2014-12-10 sprint

#5 Updated by Tom Clegg over 6 years ago

  • Target version changed from 2014-12-10 sprint to 2015-01-07 sprint

#6 Updated by Peter Amstutz over 6 years ago

  • Status changed from New to In Progress
  • Assigned To changed from Tom Clegg to Peter Amstutz

#7 Updated by Tom Clegg over 6 years ago

At 38891ae
  • 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...

Thanks.

#8 Updated by Peter Amstutz over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Applied in changeset arvados|commit:5523be76b00bc58cf9568cf7a1353326c6795cac.

Also available in: Atom PDF