-
Notifications
You must be signed in to change notification settings - Fork 127
[6.18.z] Fix generating of hostname prefix #20008
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
[6.18.z] Fix generating of hostname prefix #20008
Conversation
trigger: test-robottelo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRT failed with NameError: name 'gen_string' is not defined
You need to introduce the following import in 6.18.z branch:
from fauxfactory import gen_string
fix generating of hostname prefix Co-authored-by: Lukas Pramuk <[email protected]> (cherry picked from commit 431c943)
8764d07
to
0bb98b3
Compare
trigger: test-robottelo |
PRT Result
|
Cherrypick of PR: #20007
Test test_positive_update_hostname_default_prefix failed (semi)randomly. The failures were caused by invalid characters in the hostname prefix that is generated by generate_strings_list.
Allowed characters are following:
Value must start with a letter. Allowed characters:
a-z
,A-Z
,0-9
and-
. Max length is 62 characters.This fix generates string that meets this requirement.