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

data-path not set for results from result: custom #2770

Open
lukaszachy opened this issue Mar 19, 2024 · 1 comment
Open

data-path not set for results from result: custom #2770

lukaszachy opened this issue Mar 19, 2024 · 1 comment
Labels
results Related to how tmt stores and shares results

Comments

@lukaszachy
Copy link
Collaborator

This path exists as the TMT_TEST_DATA is created each time. However test like this

cat <<EOF > main.fmf
test: cp results.yaml \$TMT_TEST_DATA/
result: custom
EOF

cat <<EOF > results.yaml
- name: /
  result: pass
EOF

after tmt run has /var/tmp/tmt/run-087/default/plan/execute/results.yaml with data-path: even though data-path /var/tmp/tmt/run-087/default/plan/execute/data/guest/default-0/default-1/data/ exists.

@lukaszachy lukaszachy added the results Related to how tmt stores and shares results label Mar 19, 2024
@happz
Copy link
Collaborator

happz commented Mar 19, 2024

Right, this seems to be missing. https://github.com/teemtee/tmt/blob/main/tmt/steps/execute/__init__.py#L582 sets some interesting properties of the "main" result, to present consistent timestamps and stuff, but data path is not set anywhere in this area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
results Related to how tmt stores and shares results
Projects
None yet
Development

No branches or pull requests

2 participants