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

nodeset testcase: Allow dash in hostnames #7436

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

Obihoernchen
Copy link
Member

Before:

------START::nodeset_stat::Time:Sun Apr 14 17:09:00 2024------

RUN:nodeset xcat01-cn stat [Sun Apr 14 17:09:00 2024]
ElapsedTime:0 sec
RETURN rc = 0
OUTPUT:
xcat01-cn: netboot alma8.6-x86_64-compute
CHECK:rc == 0	[Pass]
CHECK:output =~ xcat01-cn:\s+[discover|boot|reboot|install|netboot|shell|standby]	[Pass]
 
RUN:nodeset xcat01-cn stat -V [Sun Apr 14 17:09:00 2024]
ElapsedTime:0 sec
RETURN rc = 0
OUTPUT:
xcat01-cn: [xcat01-mn]: netboot alma8.6-x86_64-compute
CHECK:rc == 0	[Pass]
CHECK:output =~ xcat01-cn:\s+\[\w+\]:\s+[discover|boot|reboot|install|netboot|shell|standby]	[Failed]
 
------END::nodeset_stat::Failed::Time:Sun Apr 14 17:09:00 2024 ::Duration::0 sec------
------Total: 1 , Failed: 1------

After:

------START::nodeset_stat::Time:Sun Apr 14 17:17:09 2024------

RUN:nodeset xcat01-cn stat [Sun Apr 14 17:17:09 2024]
ElapsedTime:0 sec
RETURN rc = 0
OUTPUT:
xcat01-cn: netboot alma8.6-x86_64-compute
CHECK:rc == 0	[Pass]
CHECK:output =~ xcat01-cn:\s+[discover|boot|reboot|install|netboot|shell|standby]	[Pass]
 
RUN:nodeset xcat01-cn stat -V [Sun Apr 14 17:17:09 2024]
ElapsedTime:0 sec
RETURN rc = 0
OUTPUT:
xcat01-cn: [xcat01-mn]: netboot alma8.6-x86_64-compute
CHECK:rc == 0	[Pass]
CHECK:output =~ xcat01-cn:\s+\[[a-zA-Z0-9\-]+\]:\s+[discover|boot|reboot|install|netboot|shell|standby]	[Pass]
 
------END::nodeset_stat::Passed::Time:Sun Apr 14 17:17:09 2024 ::Duration::0 sec------

@Obihoernchen Obihoernchen added this to the 2.17 milestone Apr 14, 2024
@Obihoernchen Obihoernchen self-assigned this Apr 14, 2024
@Obihoernchen Obihoernchen requested a review from ocfmatt April 15, 2024 08:11
@Obihoernchen Obihoernchen merged commit 5883584 into master Apr 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants