@scope_cobbler
@skip_if_github_validation
@flaky
Feature: 0081 - Cobbler buildiso
Description: Builds several ISOs with Cobbler and checks the configuration files and ISOs afterwards.
File name: srv_cobbler_buildiso.feature
Relative path: secondary/srv_cobbler_buildiso.feature
@scope_cobbler
@skip_if_github_validation
Scenario: Create dummy profiles in the Cobbler buildiso context
Given
distro "buildisodistro" exists
00:00:00.003
When
I create profile "orchid" for distro "buildisodistro"
00:00:00.063
And
I create profile "flame" for distro "buildisodistro"
00:00:00.062
And
I create profile "pearl" for distro "buildisodistro"
00:00:00.085
@scope_cobbler
@skip_if_github_validation
Scenario: Check cobbler created a distro and profiles in the Cobbler buildiso context
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.214
Then
I should see a "buildisodistro" text
00:00:00.075
And
I should see a "orchid" text
00:00:00.069
And
I should see a "flame" text
00:00:00.070
And
I should see a "pearl" text
00:00:00.068
@scope_cobbler
@skip_if_github_validation
Scenario: Create dummy system in the Cobbler buildiso context
Given
profile "orchid" exists
00:00:00.009
When
I create system "testsystem" for profile "orchid"
00:00:00.044
And
I add the Cobbler parameter "name-servers" with value "9.9.9.9" to item "system" with name "testsystem"
00:00:04.085
@scope_cobbler
@skip_if_github_validation
Scenario: Run Cobbler buildiso with all profiles and check isolinux config file in the Cobbler buildiso context
When
I run Cobbler buildiso for distro "buildisodistro" and all profiles
00:00:23.909
And
I check Cobbler buildiso ISO "profile_all" with xorriso
00:00:07.667
And
I check the Cobbler parameter "nameserver" with value "9.9.9.9" in the isolinux.cfg
00:00:02.496
And
I cleanup xorriso temp files
00:00:04.334
@scope_cobbler
@skip_if_github_validation
Scenario: Run Cobbler buildiso with selected profile in the Cobbler buildiso context
When
I run Cobbler buildiso for distro "buildisodistro" and profile "orchid"
00:00:04.328
And
I check Cobbler buildiso ISO "orchid" with xorriso
00:00:07.529
And
I cleanup xorriso temp files
00:00:04.501
@scope_cobbler
@skip_if_github_validation
Scenario: Run Cobbler buildiso with selected profile and without dns entries in the Cobbler buildiso context
When
I run Cobbler buildiso for distro "buildisodistro" and profile "orchid" without dns entries
00:00:06.896
And
I check Cobbler buildiso ISO "orchid" with xorriso
00:00:09.554
And
I cleanup xorriso temp files
00:00:02.561
@scope_cobbler
@skip_if_github_validation
Scenario: Run Cobbler buildiso airgapped with all profiles in the Cobbler buildiso context
When
I run Cobbler buildiso "airgapped" for distro "buildisodistro"
00:00:34.743
And
I check Cobbler buildiso ISO "airgapped" with xorriso
00:00:07.666
And
I cleanup xorriso temp files
00:00:04.375
@scope_cobbler
@skip_if_github_validation
Scenario: Run Cobbler buildiso standalone with all profiles in the Cobbler buildiso context
When
I run Cobbler buildiso "standalone" for distro "buildisodistro"
00:00:35.475
And
I check Cobbler buildiso ISO "standalone" with xorriso
00:00:07.510
And
I cleanup xorriso temp files
00:00:04.607
@scope_cobbler
@skip_if_github_validation
Scenario: Cleanup: delete test profile in the Cobbler buildiso context
Given
I am authorized as "testing" with password "testing"
00:00:01.193
And
I remove profile "orchid"
00:00:00.345
And
I remove profile "flame"
00:00:00.162
And
I remove profile "pearl"
00:00:00.027
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.179
Then
I should not see a "orchid" text
00:00:00.066
And
I should not see a "flame" text
00:00:00.057
And
I should not see a "flame" text
00:00:00.059
@scope_cobbler
@skip_if_github_validation
Scenario: Cleanup: delete test distro in the Cobbler buildiso context
Given
I am authorized as "testing" with password "testing"
00:00:00.474
And
I remove distro "buildisodistro"
00:00:00.026
And
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.171
Then
I should not see a "buildisodistro" text
00:00:00.061
@scope_cobbler
@skip_if_github_validation
@flaky
Scenario: Check for errors in Cobbler monitoring
Then
the local logs for Cobbler should not contain errors
00:00:11.341
+ Show Error
+ Show Info
+ Screenshot
Errors in Cobbler logs (ScriptError) ./features/step_definitions/cobbler_steps.rb:293:in `/^the local logs for Cobbler should not contain errors$/' features/secondary/srv_cobbler_buildiso.feature:96:in `the local logs for Cobbler should not contain errors'
Error in Cobbler log: ["[2026-06-17_120511_sync] 2026-06-17T12:05:12 - ERROR | ### TASK FAILED ###\n"]