Feature: 0014 - Synchronize fake channels
Description: In order to use the content provided inside the repositories of the fake channels
As admin
I want to synchronize the fake channels
File name: srv_sync_fake_channels.feature
Relative path: reposync/srv_sync_fake_channels.feature
Given
I am authorized for the "Admin" section
00:00:00.502
When
I follow the left menu "Software > Manage > Channels"
00:00:00.200
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.490
And
I follow "Repositories" in the content area
00:00:00.071
And
I follow "Sync"
00:00:00.900
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.067
And
I click on "Sync Now"
00:00:02.752
Then
I should see a "Repository sync scheduled for Fake-RPM-SUSE-Channel." text
00:00:00.076
DEBUG: Found channel 'fake-rpm-suse-channel' at line 225. Checking for completion... DEBUG: Sync for fake-rpm-suse-channel still in progress (no completion message found). DEBUG: Found channel 'fake-rpm-suse-channel' at line 225. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-rpm-suse-channel at line 229. SUCCESS: fake-rpm-suse-channel is fully synchronized.
@skip_if_github_validation
Scenario: Synchronize Fake-Child-Channel-i586 channel
Given
I am authorized for the "Admin" section
00:00:00.434
When
I follow the left menu "Software > Manage > Channels"
00:00:00.179
And
I follow "Fake-Child-Channel-i586"
00:00:00.382
And
I follow "Repositories" in the content area
00:00:00.055
And
I follow "Sync"
00:00:00.348
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.066
And
I click on "Sync Now"
00:00:01.746
Then
I should see a "Repository sync scheduled for Fake-Child-Channel-i586." text
00:00:00.071
DEBUG: Found channel 'fake-child-channel-i586' at line 233. Checking for completion... DEBUG: Sync for fake-child-channel-i586 still in progress (no completion message found). DEBUG: Found channel 'fake-child-channel-i586' at line 233. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-child-channel-i586 at line 237. SUCCESS: fake-child-channel-i586 is fully synchronized.
Given
I am authorized for the "Admin" section
00:00:00.461
When
I follow the left menu "Software > Manage > Channels"
00:00:00.180
And
I follow "Test-Child-Channel-x86_64"
00:00:00.375
And
I follow "Repositories" in the content area
00:00:00.059
And
I follow "Sync"
00:00:00.436
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.069
And
I click on "Sync Now"
00:00:01.733
Then
I should see a "Repository sync scheduled for Test-Child-Channel-x86_64." text
00:00:00.070
DEBUG: Found channel 'test-child-channel-x86_64' at line 241. Checking for completion... DEBUG: Sync for test-child-channel-x86_64 still in progress (no completion message found). DEBUG: Found channel 'test-child-channel-x86_64' at line 241. Checking for completion... DEBUG: Found 'Sync of channel completed.' for test-child-channel-x86_64 at line 245. SUCCESS: test-child-channel-x86_64 is fully synchronized.
Given
I am authorized for the "Admin" section
00:00:00.441
When
I follow the left menu "Software > Manage > Channels"
00:00:00.176
And
I follow "Fake-Child-Channel-SUSE-like"
00:00:00.397
And
I follow "Repositories" in the content area
00:00:00.063
And
I follow "Sync"
00:00:00.346
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.068
And
I click on "Sync Now"
00:00:01.763
Then
I should see a "Repository sync scheduled for Fake-Child-Channel-SUSE-like." text
00:00:00.070
And
I wait until the channel "fake-child-channel-suse-like" has been synced
00:00:21.311
+ Show Info
DEBUG: Found channel 'fake-child-channel-suse-like' at line 249. Checking for completion... DEBUG: Sync for fake-child-channel-suse-like still in progress (no completion message found). DEBUG: Found channel 'fake-child-channel-suse-like' at line 249. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-child-channel-suse-like at line 253. SUCCESS: fake-child-channel-suse-like is fully synchronized.
@deblike_minion
Scenario: Synchronize Fake-Base-Channel-Debian-like channel
Given
I am authorized for the "Admin" section
00:00:00.433
When
I follow the left menu "Software > Manage > Channels"
00:00:00.202
And
I follow "Fake-Base-Channel-Debian-like"
00:00:00.390
And
I follow "Repositories" in the content area
00:00:00.059
And
I follow "Sync"
00:00:00.366
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.070
And
I click on "Sync Now"
00:00:01.791
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-Debian-like." text
00:00:00.073
And
I wait until the channel "fake-base-channel-debian-like" has been synced
00:00:03.768
+ Show Info
DEBUG: Found channel 'fake-base-channel-debian-like' at line 257. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-base-channel-debian-like at line 261. SUCCESS: fake-base-channel-debian-like is fully synchronized.
Given
I am authorized for the "Admin" section
00:00:00.521
When
I follow the left menu "Software > Manage > Channels"
00:00:00.179
And
I follow "Fake-Base-Channel-RH-like"
00:00:00.495
And
I follow "Repositories" in the content area
00:00:00.062
And
I follow "Sync"
00:00:00.446
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.069
And
I click on "Sync Now"
00:00:01.832
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-RH-like." text
00:00:00.066
DEBUG: Found channel 'fake-base-channel-rh-like' at line 265. Checking for completion... DEBUG: Sync for fake-base-channel-rh-like still in progress (no completion message found). DEBUG: Found channel 'fake-base-channel-rh-like' at line 265. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-base-channel-rh-like at line 269. SUCCESS: fake-base-channel-rh-like is fully synchronized.
Given
I am authorized for the "Admin" section
00:00:00.433
When
I follow the left menu "Software > Manage > Channels"
00:00:00.182
And
I follow "Fake-Base-Channel-AppStream"
00:00:00.390
And
I follow "Repositories" in the content area
00:00:00.059
And
I follow "Sync"
00:00:00.451
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
00:00:00.071
And
I click on "Sync Now"
00:00:01.730
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-AppStream." text
00:00:00.072
DEBUG: Found channel 'fake-base-channel-appstream' at line 273. Checking for completion... DEBUG: Sync for fake-base-channel-appstream still in progress (no completion message found). DEBUG: Found channel 'fake-base-channel-appstream' at line 273. Checking for completion... DEBUG: Found 'Sync of channel completed.' for fake-base-channel-appstream at line 277. SUCCESS: fake-base-channel-appstream is fully synchronized.
@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Synchronize the repository in the terminal channel
Given
I am authorized for the "Admin" section
0s
And
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-RPM-Terminal-Channel"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-RPM-Terminal-Channel." text
0s
And
I wait until the channel "fake-rpm-terminal-channel" has been synced
0s
@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Verify state of Fake-RPM-Terminal-Channel custom channel
Then
"orion-dummy-1.1-1.1.x86_64.rpm" package should have been stored
0s
And
solver file for "fake-rpm-terminal-channel" should reference "orion-dummy-1.1-1.1.x86_64.rpm"
0s
When
I follow the left menu "Admin > Task Schedules"
00:00:00.129
And
I follow "errata-cache-default"
00:00:01.356
And
I follow "errata-cache-bunch"
00:00:01.312
And
I click on "Single Run Schedule"
00:00:01.566
Then
I should see a "bunch was scheduled" text
00:00:00.268
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:00.950
When
I follow the left menu "Admin > Task Schedules"
00:00:00.069
And
I follow "channel-repodata-default"
00:00:01.089
And
I follow "channel-repodata-bunch"
00:00:01.289
And
I click on "Single Run Schedule"
00:00:01.277
Then
I should see a "bunch was scheduled" text
00:00:00.281
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:01.210