Skip to content

Commit

Permalink
Try to not use podman - some tar and pipe problems
Browse files Browse the repository at this point in the history
Problem happens after all tests pass:

Run command with stdout: podman exec --user pytest -i ansible-test-controller-hLEbtZTx sh -c 'tar cf - -C /root/ansible_collections/scale_computing/hypercore/tests --exclude .tmp output | gzip'
Run command with stdin: tar oxzf - -C /home/runner/work/HyperCoreAnsibleCollection/HyperCoreAnsibleCollection/ansible_collections/scale_computing/hypercore/tests
WARNING: Command "tar oxzf - -C /home/runner/work/HyperCoreAnsibleCollection/HyperCoreAnsibleCollection/ansible_collections/scale_computing/hypercore/tests" returned exit status 2.
>>> Standard Error
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive

Maybe this will help.
See also containers/podman#5046

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
  • Loading branch information
justinc1 committed Feb 1, 2023
1 parent 1201557 commit 4757dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
NAMESPACE: scale_computing
COLLECTION_NAME: hypercore
ANSIBLE_TEST_PREFER_PODMAN: 1
# ANSIBLE_TEST_PREFER_PODMAN: 1
jobs:
job1:
outputs:
Expand Down

0 comments on commit 4757dd5

Please sign in to comment.