Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cat: /var/tmp/tmt/run-075/plans/package_update-swtpm/execute/data/Setup: No such file or directory #148

Open
kkaarreell opened this issue Jan 17, 2023 · 0 comments

Comments

@kkaarreell
Copy link
Contributor

When running a test from tmt plan I can see following errors

how: tmt
order: 50
exit-first: False
    test: Configure local repository with RPMs from Brew
        out: /usr/share/beakerlib/journal.sh: line 146: $__INTERNAL_PHASE_STATUSES: ambiguous redirect
        out: /usr/share/beakerlib/journal.sh: line 147: $__INTERNAL_ASSERT_STATUSES: ambiguous redirect
        out: cat: /var/tmp/tmt/run-075/plans/package_update-swtpm/execute/data/Setup: No such file or directory
        out: cat: swtpm: No such file or directory
        out: cat: repo/setup/configure-repo-with-rpms-from-brew/default/PHASE_STATUSES: No such file or directory
        out: cat: /var/tmp/tmt/run-075/plans/package_update-swtpm/execute/data/Setup: No such file or directory
        out: cat: swtpm: No such file or directory
        out: cat: repo/setup/configure-repo-with-rpms-from-brew/default/ASSERT_STATUSES: No such file or directory
        out: 
        out: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
        out: ::   Setup
        out: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

It is caused by the fact that discover phase names contain spaces, e.g.

discover:
  - name: Setup swtpm

It seems that this is causing issue in beakerlib. In tmt this has been also a problem but has been addressed through teemtee/tmt#1520

I have: beakerlib-1.29.3-1.el9.noarch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant