Daily 24.04: lxd_vm #71
121-daily-integration-24.04-lxd_vm.yml
on: schedule
noble-lxd_vm
/
integration-test
3h 7m
Annotations
3 errors and 2 warnings
|
Failed Test: test_clean_package_install
test_clean_package_install: AssertionError: Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 452, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 445, in main
shortcut.add()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 226, in add
self.add_source()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 316, in add_source
self._add_deb822_source()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 265, in _add_deb822_source
if self.trustedparts_content:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 154, in trustedparts_content
key = self.lpppa.getSigningKeyData()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 642, in __call__
response, content = self.root._browser._request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 484, in _request
raise error
lazr.restfulclient.errors.ServerError: HTTP Error 500: Internal Server Error
Response headers:
---
connection: close
content-length: 30
content-type: text/plain;charset=utf-8
date: Mon, 24 Aug 2026 02:15:22 GMT
server: gunicorn
status: 500
x-lazr-oopsid: OOPS-58d54f93ad1c0f780bd07dc01bdab460
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-request-id: 9b231f98-b9d1-46a9-8f29-85526b279908
x-vcs-revision: 30a649def1ae8ec0c26613e441aa3ab155268a45
---
Response body:
---
b'GPGKeyTemporarilyNotFoundError'
--- - session_cloud = <tests.integration_tests.clouds.LxdVmCloud object at 0x7f530a9dbf50>
@pytest.mark.timeout(600) # A failure here can leave us hanging
def test_clean_package_install(session_cloud: IntegrationCloud):
"""Test that the package install works after purge of old package."""
source = get_validated_source(session_cloud)
if not source.installs_new_version():
pytest.skip(UNSUPPORTED_INSTALL_METHOD_MSG.format(source))
launch_kwargs = {"image_id": session_cloud.initial_image_id}
with session_cloud.launch(launch_kwargs=launch_kwargs) as instance:
# Do the update before uninstalling cloud-init because we
# use cloud-init to do the package update.
instance.update_package_cache()
assert instance.execute("apt --yes remove --purge cloud-init").ok
> instance.install_new_cloud_init(source, clean=False, update=False)
tests/integration_tests/test_upgrade.py:218:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/integration_tests/instances.py:197: in install_new_cloud_init
self.install_ppa(pkg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.integration_tests.instances.IntegrationInstance object at 0x7f53089d2a20>
pkg = 'cloud-init'
def install_ppa(self, pkg: str):
log.info("Installing %s from PPA", pkg)
if self.execute("which add-apt-repository").failed:
log.info("Installing missing software-properties-common package")
assert self.execute(
"apt install -qy software-properties-common"
).ok
pin_origin = self.settings.CLOUD_INIT_SOURCE[4:] # Drop leading ppa:
pin_origin = re.sub("[^a-z0-9-]", "-", pin_origin)
preferences = f"""\
package: cloud-init
Pin: release o=LP-PPA-{pin_origin}
Pin-Priority: 1001
package: cloud-init-base
Pin: release o=LP-PPA-{pin_origin}
Pin-Priority: 1001
package: cloud-init-cloud-sigma
Pin: release o=LP-PPA-{pin_origin}
Pin-Priority: 1001
package: cloud-init-smart-os
Pin: release o=LP-PPA-{pin_origin}
Pin-Priority: 1001"""
self.write_to_file(
"/etc/apt/prefere
|
|
Failed Test: test_clean_boot_of_upgraded_package
test_clean_boot_of_upgraded_package: AssertionError: Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 452, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 445, in main
shortcut.add()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 226, in add
self.add_source()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 316, in add_source
self._add_deb822_source()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 265, in _add_deb822_source
if self.trustedparts_content:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 154, in trustedparts_content
key = self.lpppa.getSigningKeyData()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 642, in __call__
response, content = self.root._browser._request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 484, in _request
raise error
lazr.restfulclient.errors.ServerError: HTTP Error 500: Internal Server Error
Response headers:
---
connection: close
content-length: 30
content-type: text/plain;charset=utf-8
date: Mon, 24 Aug 2026 02:12:11 GMT
server: gunicorn
status: 500
x-lazr-oopsid: OOPS-dfec37156e5932443e47442d9a700e9e
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-request-id: 749a4565-50ef-4b08-b8cc-7395e839a023
x-vcs-revision: 30a649def1ae8ec0c26613e441aa3ab155268a45
---
Response body:
---
b'GPGKeyTemporarilyNotFoundError'
--- - session_cloud = <tests.integration_tests.clouds.LxdVmCloud object at 0x7f530a9dbf50>
@pytest.mark.skipif(
PLATFORM == "lxd_vm" and CURRENT_RELEASE < FOCAL,
reason="Update test doesn't run on Bionic LXD VMs",
)
def test_clean_boot_of_upgraded_package(session_cloud: IntegrationCloud):
source = get_validated_source(session_cloud)
if not source.installs_new_version():
pytest.skip(UNSUPPORTED_INSTALL_METHOD_MSG.format(source))
launch_kwargs = {
"image_id": session_cloud.initial_image_id,
}
with session_cloud.launch(
launch_kwargs=launch_kwargs,
user_data=USER_DATA,
) as instance:
# get pre values
pre_hostname = instance.execute("hostname")
pre_cloud_id = instance.execute("cloud-id")
pre_result = instance.execute("cat /run/cloud-init/result.json")
pre_network = instance.execute("cat /etc/netplan/50-cloud-init.yaml")
pre_systemd_analyze = instance.execute("systemd-analyze")
pre_systemd_blame = instance.execute("systemd-analyze blame")
pre_cloud_analyze = instance.execute("cloud-init analyze show")
pre_cloud_blame = instance.execute("cloud-init analyze blame")
# Ensure no issues pre-upgrade
try:
verify_clean_boot(instance)
except AssertionError:
LOG.warning(
"There were errors/warnings/tracebacks pre-upgrade. "
"Any failures may be due to pre-upgrade problem"
)
# Upgrade
> instance.install_new_cloud_init(source)
tests/integration_tests/test_upgrade.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/integration_tests/instances.py:197: in install_new_cloud_init
self.install_ppa(pkg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.integration_tests.instances.IntegrationInstance object at 0x7f5309cdbb90>
pkg = 'cloud-init'
def install_ppa(self, pkg: str):
log.info("Installing %s from PPA", pkg)
if self.execute("which add-apt-repository").failed:
log.info("Installing missing software-proper
|
|
noble-lxd_vm / integration-test
Process completed with exit code 1.
|
|
noble-lxd_vm / 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/
|
|
noble-lxd_vm / integration-test
No files were found with the provided path: /home/runner/work/cloud-init/cloud-init/cloud_init_test_logs/. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-report-lxd_vm-noble
|
22.9 KB |
sha256:338cdb8ca65a0a6543c5b1b4626f0b98caafcb96e07b55489228f6e8898945d2
|
|