teemtee / tmt

Test Management Tool
MIT License
76 stars 112 forks source link

HTML report has a useless `data` column #2856

Closed comps closed 1 month ago

comps commented 1 month ago

This got introduced somewhere between TMT version 1.29 and 1.31.1, image however all the hyperlinks seem to lead to non-existent locations, returning 404: https://server/path_to_tmt_datadir/plans/default/execute/None.

I'm assuming the field was added as part of some feature, and the submitter didn't expect it to be None (unused).

happz commented 1 month ago

Can you share more details? Command line, for example, because it seems to work for me:

# added `exit 79` into tests/core/enabled/test.sh, the run:
$ tmt -c trigger=commit -vv run -a provision -h local report -h html plan -n '^/plans/features/core$' test -n '^/tests/core/enabled$'

I get a nice report, with an error, and its data leads to an existing directory:

2024-04-12_16-40 2024-04-12_16-40_1

lukaszachy commented 1 month ago

isn't that from 'result:custom'? we have a bug of not setting data dir when processing custom results

2770

comps commented 1 month ago

isn't that from 'result:custom'? we have a bug of not setting data dir when processing custom results

2770

That's probably it, thanks, closing this one as a duplicate of https://github.com/teemtee/tmt/issues/2770.