Daily 22.04: lxd_container #48
110-daily-integration-22.04-lxd_container.yml
on: schedule
jammy-lxd_container
/
integration-test
1h 6m
Annotations
4 errors and 1 warning
|
Failed Test: test_default_user_settings_override
test_default_user_settings_override: AssertionError: assert None
+ where None = <function search at 0x7fee4fe19580>('^ubuntu\\s+P\\b', 'ubuntu L 07/30/2026 0 99999 7 -1')
+ where <function search at 0x7fee4fe19580> = re.search - client = <tests.integration_tests.instances.IntegrationInstance object at 0x7fee414bcdd0>
@pytest.mark.ci
@pytest.mark.skipif(not IS_UBUNTU, reason="Test is Ubuntu specific")
@pytest.mark.user_data(USER_DATA_OVERRIDE)
def test_default_user_settings_override(client: IntegrationInstance):
"""
Test that the default user settings are correctly overridden.
"""
# Check shell
shell_set = (
client.execute(["getent", "passwd", "ubuntu"])
.stdout.strip()
.split(":")[-1]
)
if CLOUD_INIT_SOURCE in ["NONE", "IN_PLACE"]:
assert (
"/bin/sh" == shell_set
), "Shell setting not overriden even though the user is new"
else:
assert (
"/bin/bash" == shell_set
), "Shell setting overriden even though user already exists"
# Check password is not locked
passwd_status = client.execute(["passwd", "-S", "ubuntu"]).stdout
> assert re.search(r"^ubuntu\s+P\b", passwd_status)
E AssertionError: assert None
E + where None = <function search at 0x7fee4fe19580>('^ubuntu\\s+P\\b', 'ubuntu L 07/30/2026 0 99999 7 -1')
E + where <function search at 0x7fee4fe19580> = re.search
tests/integration_tests/modules/test_users_groups.py:243: AssertionError
|
|
Failed Test: test_analyze_boot_ordered_timestamps
test_analyze_boot_ordered_timestamps: AssertionError: cloud-init analyze boot unexpected exit [1]
assert False
+ where False = '-- Most Recent Container Boot Record --\n Container started at: 2026-07-30 22:34:00.160388+00:00\n Cloud-init activated by systemd at: 2026-07-30 22:34:00.530930+00:00\n Cloud-init start: 2026-07-30 22:34:00.796000+00:00'.ok - self = <test_analyze.TestAnalyzeCommand object at 0x7fee44cfd370>
module_client = <tests.integration_tests.instances.IntegrationInstance object at 0x7fee447222d0>
@pytest.mark.skipif(not uses_systemd(), reason="Relies on systemd output")
@pytest.mark.skipif(
PLATFORM != "lxd_container",
reason="Testing lxdcontainer-specific behavior",
)
def test_analyze_boot_ordered_timestamps(self, module_client):
"""
Confirm that analyze boot is working correctly in lxd containers
and that the correct zero-point is used for the monotonic clock used
to determine when cloud-init was activated by systemd
"""
assert module_client.execute("cloud-init status --wait --long").ok
result = module_client.execute("cloud-init analyze boot")
> assert (
result.ok
), f"cloud-init analyze boot unexpected exit [{result.return_code}]"
E AssertionError: cloud-init analyze boot unexpected exit [1]
E assert False
E + where False = '-- Most Recent Container Boot Record --\n Container started at: 2026-07-30 22:34:00.160388+00:00\n Cloud-init activated by systemd at: 2026-07-30 22:34:00.530930+00:00\n Cloud-init start: 2026-07-30 22:34:00.796000+00:00'.ok
tests/integration_tests/cmd/test_analyze.py:24: AssertionError
|
|
Failed Test: test_mount_point_with_space_is_escaped
test_mount_point_with_space_is_escaped: AssertionError: assert '/mnt/Cdrom\\040Drive' in 'server.example:/export\t/mnt/Cdrom Drive\tnfs\tdefaults,noauto,comment=cloudconfig\t0\t0' - client = <tests.integration_tests.instances.IntegrationInstance object at 0x7fee447a3f20>
@pytest.mark.user_data(USER_DATA)
def test_mount_point_with_space_is_escaped(client: IntegrationInstance):
# cloud-init should have configured mounts without any errors.
log = client.read_from_file("/var/log/cloud-init.log")
verify_clean_log(log)
assert "SUCCESS: config-mounts ran successfully" in log
# The space must be octal-escaped (\040) in the /etc/fstab entry.
fstab = client.read_from_file("/etc/fstab")
> assert "/mnt/Cdrom\\040Drive" in fstab
E AssertionError: assert '/mnt/Cdrom\\040Drive' in 'server.example:/export\t/mnt/Cdrom Drive\tnfs\tdefaults,noauto,comment=cloudconfig\t0\t0'
tests/integration_tests/bugs/test_gh3603.py:42: AssertionError
|
|
jammy-lxd_container / integration-test
Process completed with exit code 1.
|
|
jammy-lxd_container / integration-test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ctrf-io/github-test-reporter@024bc4b64d997ca9da86833c6b9548c55c620e40. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-report-lxd_container-jammy
|
19.7 KB |
sha256:f499630ddaaf175eaec11b925358209d2b07f24c01e3dd40ed7482dfa447a498
|
|
|
failure-integration-test
|
553 KB |
sha256:36c2d348ecafb67e08114f14323c711c0a4a37732fcadf91e51b88e446847dc5
|
|