Spdk/test/common
Michal Berger a66c52fd5c vm_setup: Install extra dependencies from a separate function
Since most of the sources are executed in a background, there's a
race happening between different instances of package maangers
which are called to install extra packages (for QAT and QEMU).
This mainly concerns apt-get which will not wait for locks on
given files to be released, it simply exits when they are still
held.

To avoid this, simply install all the extra packages from a separate
function before calling routine for a given source.

Running these builds in a background is still not safe in that regard,
since code of the actual source may want to perform a similar tasks,
however, this patch should at least mitigate the issue in its current
form.

Change-Id: Iede83793e1cc739cd3bc5dd4dee90f9c81d55f63
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2786
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
2020-07-01 07:50:49 +00:00
..
config vm_setup: Install extra dependencies from a separate function 2020-07-01 07:50:49 +00:00
lib rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
applications.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
autotest_common.sh test/cuse: use 512B block size on namespace revert 2020-06-23 08:04:05 +00:00
skipped_build_files.txt lib/makefile: move vhost_user.c into lib/virtio directory 2020-06-09 07:37:43 +00:00
skipped_tests.txt test/cuse: run namespace managment test if device supports it 2020-06-17 07:20:55 +00:00