Skip to content

Commit

Permalink
Record soft failure when encountering unexpected situations
Browse files Browse the repository at this point in the history
- If we're online but still get release notes from RPM then we
  just soft-fail.
- Soft failure will have a reference to poo#97316
  • Loading branch information
rakoenig committed Sep 20, 2021
1 parent b8d1c77 commit e9c32ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >
Offline installation. Skipping registration for SLE 15, as requires network connection.
This is default behavior for SLE 12.
vars:
SCC_REGISTER: 'none'
SCC_REGISTER: 'installation'
ADDONS: all-packages
schedule:
- installation/bootloader_start
Expand All @@ -13,6 +13,7 @@ schedule:
- installation/network_configuration
- installation/scc_registration
- installation/addon_products_sle
- installation/releasenotes_origin
- installation/system_role
- installation/partitioning
- installation/partitioning_finish
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/releasenotes_origin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub run {
enter_cmd "grep -o \"Got release notes.*\" /var/log/YaST2/y2log";
assert_screen [qw(got-releasenotes-RPM got-releasenotes-URL)];
unless (match_has_tag "got-releasenotes-$src") {
die "Release notes source does NOT match expectaions or not found in YaST logs, expected source: $src";
record_soft_failure("poo#97316: Release notes source does NOT match expectations or not found in YaST logs, expected source: $src");
}
enter_cmd "exit";
# If we don't have system role screen, release notes origin is verified on partitioning screen
Expand Down

0 comments on commit e9c32ff

Please sign in to comment.