Project

General

Profile

Actions

action #17574

closed

[tools]Add caching/syncing of assets

Added by szarate about 7 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2017-04-29
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

Due to problems generated by the heavy NFS usage, actual asset caching needs to be implemented in openQA.

Among few discussions we came to the conclusion that the caching of assets is also tied to the caching of test distribution, the test distribution should be cached via rsync from the openqa web ui.

While currently the only criteria for enabling the caching is that the share directory does not exists in the worker, we should come up with a less hard coded approach.

See: https://github.com/os-autoinst/openQA/pull/1256


Checklist

  • Caching should allow syncronization of assets (HDD and ISO) in the first stage.
  • Caching should be enabled if the /share/ directory is not present in the worker.
  • Asset download should be done via HTTP
  • Caching should be done on the worker host, who should keep track of it's assets and clean up when needed
  • Caching method should be LRU
  • Test distribution must be cached through rsync
  • proper cleanup on s390pb

Subtasks 2 (0 open2 closed)

action #18880: fix interactive mode with cachingClosed2017-04-29

Actions
action #18882: job hangs in "pre-processing" for multiple hours, no screen display -> caching lockedRejected2017-04-29

Actions

Related issues 7 (0 open7 closed)

Related to openQA Tests - action #17594: [tools]Missing characters in the middle of type_string/assert_script_run (Ninja Keys)Resolvedszarate2017-03-07

Actions
Related to openQA Project - action #17790: Need to detach HDDs before uploadResolvedokurz2017-03-19

Actions
Related to openQA Project - action #17998: [tools] "No space left on device" on openqaworker7Rejectedszarate2017-03-24

Actions
Related to openQA Project - action #18730: openqaworker1 is causing weird test failuresRejected2017-04-24

Actions
Blocks openQA Tests - action #18072: [tools][opensuse] test fails in "good_buttons" seeing an existing cryptlvm partition when the harddisk should be cleanResolvedokurz2017-03-28

Actions
Blocks openQA Project - action #19274: cache download runs into 502 or 400Resolvedszarate2017-05-19

Actions
Follows openQA Project - action #17760: Upload .chksum files together with assetsRejected2017-03-16

Actions
Actions

Also available in: Atom PDF