Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
ecb883c3
Commit
ecb883c3
authored
5 months ago
by
Zuul
Committed by
Gerrit Code Review
5 months ago
Browse files
Options
Downloads
Plain Diff
Merge "CI: Skip test_ntp_clock_synchronized on Ubuntu 24.04"
parents
ec1d3365
310428b5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py
+9
-0
9 additions, 0 deletions
...ost-configure-base/tests/test_overcloud_host_configure.py
with
9 additions
and
0 deletions
playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py
+
9
−
0
View file @
ecb883c3
...
@@ -25,6 +25,12 @@ def _is_dnf_mirror():
...
@@ -25,6 +25,12 @@ def _is_dnf_mirror():
return
info
==
'
centos
'
return
info
==
'
centos
'
def
_is_ubuntu_noble
():
name
=
distro
.
name
()
version
=
distro
.
version
()
return
name
==
'
Ubuntu
'
and
version
==
24.04
def
test_network_ethernet
(
host
):
def
test_network_ethernet
(
host
):
interface
=
host
.
interface
(
'
dummy2
'
)
interface
=
host
.
interface
(
'
dummy2
'
)
assert
interface
.
exists
assert
interface
.
exists
...
@@ -198,6 +204,9 @@ def test_ntp_non_default_time_server(host):
...
@@ -198,6 +204,9 @@ def test_ntp_non_default_time_server(host):
assert
"
time.cloudflare.com
"
in
chrony_config
.
content_string
assert
"
time.cloudflare.com
"
in
chrony_config
.
content_string
# TODO(priteau): Remove once we force time sync
@pytest.mark.skipif
(
_is_ubuntu_noble
(),
reason
=
"
Clock often fails to synchronize on Ubuntu Noble
"
)
def
test_ntp_clock_synchronized
(
host
):
def
test_ntp_clock_synchronized
(
host
):
# Tests that the clock is synchronized
# Tests that the clock is synchronized
status_output
=
host
.
check_output
(
"
timedatectl status
"
)
status_output
=
host
.
check_output
(
"
timedatectl status
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment