Bug 1146918
Summary: | Strings in rlPhaseStartTest are crippled when contain special characters | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Aleš Mareček <amarecek> |
Component: | beah | Assignee: | beaker-dev-list |
Status: | CLOSED DUPLICATE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.18 | CC: | aigao, asaha, dapospis, dcallagh, mcsontos, pmuller, psplicha, rmancy |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-20 07:41:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Aleš Mareček
2014-09-26 11:06:05 UTC
The rl* bash functions you are using in your task are provided by the beakerlib shell library. https://fedorahosted.org/beakerlib/ I have a feeling that the phase name munging you are describing is a feature, not a bug, but I'll let the beakerlib developers comment further. I am afraid that the root cause is on beaker side. If you look into to the journal.xml the phase names are ok. The issue is just how the phase name is presented out. Let beaker devels put their two cents in. This is legacy rhts thing which is doing name mangling: the result names are converted to "safe-for-filesystem" names and these are used to store results on the host's FS. IMO the best is to avoid special characters or to include more characters in mangling procedure. And onwards the merry-go-round turns! I am going to dupe this onto a beakerlib bug I found and fixed yesterday: bug 1159191. rlPhaseEnd is mangling the phase name to an RHTS-compatible result name, but it doesn't handle embedded colons properly. This explains the truncated names you are seeing. As for why we do the mangling at all... that is really an old RHTS-ism, as noted by Marian in comment 3, and it is not something we can realistically change in the rhts-* scripts. Beaker itself will does not care about the result names, it will accept any value. If this limitation in the rhts-* scripts bothers you, the best bet is an alternative harness like restraint. *** This bug has been marked as a duplicate of bug 1159191 *** I don't understand how this bug can be duplicate of the bug filed a month later. Also, this bug contains more info than BZ#1159191... |