]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-windows: remove installed packages 2064/head
authorKefu Chai <tchaikov@gmail.com>
Sat, 20 Aug 2022 00:17:45 +0000 (08:17 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 20 Aug 2022 00:22:47 +0000 (08:22 +0800)
commita21ce2fe21a195142da25a7074d2c7d8919c0baf
tree09b14758caf861e79309137683783671e74c801c
parent092e9460e43972b4bdf2f2e1ab3f7af370878bd2
ceph-windows: remove installed packages

`ceph-windows/run_tests` installs client side dependencies using
`cephadm install ceph-common`, which leaves us with a bunch ceph
packages after the test finishes. and they inteferes with succeeding
tests which, for instance, try to import python modules from test's
building directory.
but they end up with importing the python modules installed in system.

in this change, the installed package and its ceph dependencies are
removed in the cleanup script. the list of packages is collected by
inspecting `/var/log/dpkg.log` on the system where the test failures
were spotted and `ceph/debian/control` 's "ceph-common" section.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
scripts/ceph-windows/cleanup