Skip to content

Commit

Permalink
Object Store tests hang in github CI
Browse files Browse the repository at this point in the history
The zfs-object-agent service is used by ZTS, but that service depends
on the zfs-mount service, which isn't enabled by the package install
done by CI. This causes the agent to fail to start, and the rest of the
test run hangs. By enabling and starting zfs-mount prior to launching
the tests, the agent can successfully start.
  • Loading branch information
jwk404 committed Jun 22, 2022
1 parent e42e634 commit 9cafe7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/zfs-tests-object-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ jobs:
sudo cp -r $HOME/.aws /root
- name: Tests
run: |
# The github CI package build doesn't enable any ZFS services by
# default. Since the object agent service is available on the test VM,
# ZTS tries to use it. Since it depends on the zfs-mount service, we
# enable it here. If we don't the agent will fail to start, and the
# workflow will hang.
sudo systemctl enable --now zfs-mount
/usr/share/zfs/zfs-tests.sh -v -s 3G -r object_store
env:
LD_LIBRARY_PATH: /lib/x86_64-linux-gnu
Expand Down

0 comments on commit 9cafe7c

Please sign in to comment.