Skip to content

Reuse test hosts

Ian Jackson xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest82 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/82ms-queuedaemon: Update for newer Tcl's socket channel idsms-queuedaemon+5 -50 replies
2/82Executive.pm planner: fix typoOsstest/Executive.pm+1 -10 replies
3/82README.planner: Document magic job hostflagsREADME.planner+60 -00 replies
4/82sg-run-job: Minor whitespace (formatting) changessg-run-job+4 -40 replies
5/82sg-run-job: Improve some internal API docssg-run-job+4 -40 replies
6/82show_abs_time: Represent undef $timet as <undef>Osstest.pm+1 -00 replies
7/82ts-hosts-allocate-Executive: Add a comment about a warningts-hosts-allocate-Executive+4 -00 replies
8/82host reuse: ms-planner: Bring some variables forwardms-planner+6 -50 replies
9/82host reuse: ms-planner: Do not show reuse as shared in the planms-planner+5 -20 replies
10/82hsot reuse: ms-planner: Abbreviate reporting of test sharesms-planner+3 -10 replies
11/82cr-publish-flight-logs: Fix abs_time callscr-publish-flight-logs+1 -10 replies
12/82target setup refactoring: Move target_kernkind_checkts-debian-fixup+1 -10 replies
13/82target setup refactoring: Move target_kernkind_console_inittabts-debian-fixup+2 -20 replies
14/82target setup refactoring: Merge target_kernkind_*Osstest/Debian.pm Osstest/TestSupport.pm ts-debian-fixup+6 -110 replies
15/82target setup refactoring: Add a doc commentOsstest/TestSupport.pm+3 -00 replies
16/82abolish "kernkind"; desupport non-pvops kernelsOsstest/TestSupport.pm README make-hosts-flight +1 more+5 -141 reply
17/82Debian: osstest-erase-other-disks: Slightly guard against racesOsstest/Debian.pm+2 -20 replies
18/82host allocation: Remove some unnecessary definedness testsOsstest/Executive.pm+2 -90 replies
19/82host allocation: Executive: Honour $xparams{InfraPriority}Osstest/Executive.pm+1 -00 replies
20/82ts-hosts-allocate-Executive: Fix handling of failed preps for same sharingts-hosts-allocate-Executive+5 -60 replies
21/82sg-run-job: support +! for *only* adding things to TESTIDsg-run-job+9 -10 replies
22/82sg-run-job: Use +! in per-host-ts implementationsg-run-job+4 -50 replies
23/82db_retry: Make the sleeps random and increasingOsstest.pm+7 -40 replies
24/82host allocation: *_shared_mark_ready: Allow other statesOsstest/Executive.pm Osstest/JobDB/Executive.pm Osstest/TestSupport.pm+17 -130 replies
25/82host allocation: *_shared_mark_ready: Make $sharetype check optionalOsstest/Executive.pm+9 -50 replies
26/82host allocation: selecthost: allow sort-of-selection of prospective hostsOsstest/TestSupport.pm+6 -40 replies
27/82host allocation: *_shared_mark_ready: allow alternative $oldtypesOsstest/Executive.pm+4 -20 replies
28/82host allocation: Support new reuse-* magic hostflagREADME.planner ts-hosts-allocate-Executive+22 -00 replies
29/82host allocation: *_shared_mark_ready: Only prod when $newstate is readyOsstest/Executive.pm+9 -70 replies
30/82plan_search: Break out $share_compat_okOsstest/Executive.pm+15 -90 replies
31/82plan_search: Improve debugging of $share_compat_ok->()Osstest/Executive.pm+7 -00 replies
32/82plan_search: Use plan's Wear information rather than tracking it ourselvesOsstest/Executive.pm+4 -120 replies
33/82plan search: Move $share_compat_ok further up the fileOsstest/Executive.pm+17 -170 replies
34/82plan_search: Track last sharing state to determine $share_reuseOsstest/Executive.pm+7 -10 replies
35/82resource reporting: Print username when listing "rogue tasks"ms-planner+1 -00 replies
36/82resource reporting, nfc: Break out report_rogue_task_descriptionOsstest/Executive.pm ms-planner+15 -50 replies
37/82ts-hosts-allocate-Executive: Better message for hosts abandoned mid-testts-hosts-allocate-Executive+1 -10 replies
38/82ts-host-reuse: New script, to do reuse state changests-host-reuse+163 -00 replies
39/82ts-host-reuse: tolerate unremoveable lvts-host-reuse+1 -10 replies
40/82ts-host-reuse: Do not depend on biosts-host-reuse+1 -10 replies
41/82ts-host-reuse: Add some missing runvars to the host sharing controlts-host-reuse+2 -10 replies
42/82host allocation: selecthost(): Support @IDENT for reuseOsstest/TestSupport.pm+24 -20 replies
43/82ts-hosts-allocate-Executive print sharing info in debug outputts-hosts-allocate-Executive+3 -10 replies
44/82sg-run-job: New @ iffail tag for prep taskssg-run-job+10 -40 replies
45/82sg-run-job: Detect improper use of @ iffail with run-tssg-run-job+3 -00 replies
46/82shared/reuse: Use @ for ts-xen-build-prepsg-run-job ts-xen-build-prep+1 -20 replies
47/82shared/reuse: Use @ for ts-host-installsg-run-job ts-host-install+3 -40 replies
48/82shared/reuse: Use @ for freebsd host prepsg-run-job ts-build-prep-freebsd ts-freebsd-host-install+9 -50 replies
49/82host reuse: sg-run-job: per-host prep: Use @ for per-host-tssg-run-job+3 -30 replies
50/82shared/reuse: Rely on @ for ts-host-ping-checkts-host-ping-check+0 -20 replies
51/82host reuse: Reuse test hosts within a flightsg-run-job+5 -00 replies
52/82host allocation: Group jobs by their reuse parametersOsstest/JobDB/Executive.pm Osstest/JobDB/Standalone.pm ts-host-reuse +1 more+54 -00 replies
53/82host reuse: Jiggle the infra-priority a bit, within a flightts-hosts-allocate-Executive+7 -20 replies
54/82host reuse: Use literal for the hosts_infraprioritygroup runvarOsstest/JobDB/Executive.pm+5 -50 replies
55/82host reuse: Bump host share reuse bonusts-hosts-allocate-Executive+1 -10 replies
56/82subst_netboot_template: Do not use all of %rOsstest/TestSupport.pm+2 -10 replies
57/82TestSupport: Provide runvar_is_synthOsstest/TestSupport.pm+9 -30 replies
58/82runvar access: Introduce access control machineryOsstest/TestSupport.pm README+54 -10 replies
59/82runvar access: Provide runvar_globOsstest/TestSupport.pm+15 -10 replies
60/82runvar access: Use runvar_glob for dmrestrict runvar searchOsstest/Debian.pm+1 -10 replies
61/82runvar access: Introduce sharing_for_buildOsstest/TestSupport.pm ts-host-install ts-xen-build-prep+6 -10 replies
62/82runvar access: Introduce effects_gone_before_share_reuseOsstest/Debian.pm Osstest/TestSupport.pm+12 -40 replies
63/82test host reuse: Switch to principled sharing scope runvar schemeOsstest/TestSupport.pm ts-host-reuse+30 -130 replies
64/82hsot reuse: Hash the share typeREADME ts-host-reuse+8 -50 replies
65/82hsot reuse: Make share type hash more easily greppablets-host-reuse+1 -00 replies
66/82host lifecycle: Machinery, db, for tracking relevant eventsOsstest/JobDB/Executive.pm Osstest/JobDB/Standalone.pm Osstest/TestSupport.pm +1 more+268 -00 replies
67/82host lifecycle: Fix detection of concurrent jobsOsstest/JobDB/Executive.pm+6 -70 replies
68/82host lifecycle: Prevent referential integrity violationOsstest/JobDB/Executive.pm+25 -00 replies
69/82host lifecycle: Record lifecycle in db and runvarOsstest/TestSupport.pm schema/host-lifecycle.sql ts-freebsd-host-install +3 more+7 -10 replies
70/82sg-report-flight: Refactor runvar accesssg-report-flight+12 -80 replies
71/82resource reporting, nfc: split a here documentsg-report-flight+3 -00 replies
72/82resource reporting: Report host reuse/sharing in job reportsg-report-flight+330 -10 replies
73/82host reuse: sg-run-job: Reanme post-test-ok parametersg-run-job ts-host-reuse+2 -20 replies
74/82host reuse: ts-host-reuse: Prepare for argument handlingts-host-reuse+6 -30 replies
75/82host reuse: New protocol between sg-run-job and ts-host-reusesg-run-job ts-host-reuse+23 -100 replies
76/82sg-report-flight: Reformat slightlysg-report-flight+4 -20 replies
77/82sg-report-flight: Improvements to other job (share/reuse) reportingsg-report-flight+7 -50 replies
78/82flight other job reporting: Put nulls last in the reportsg-report-flight+4 -10 replies
79/82flight other job reporting: Further improvements to orderingsg-report-flight+6 -20 replies
80/82tsreadconfig: Change misleading "setting" messageOsstest/TestSupport.pm+1 -10 replies
81/82sg-report-flight: Sharing reports: more task finished infosg-report-flight+10 -40 replies
82/82sg-report-flight: Word-wrapping improvements to job and step namessg-report-flight+12 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OSSTEST PATCH 00/82] Reuse test hosts

This series arranges to save on host setup by reusing a test host, if the previous test passed. Care is taken to make sure that a host is only reused in this way if the new test would have set it up identically.

I have had this branch in preparation since November 2017...

Signature · 1 line
2.20.1