Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934571 - app-emulation/cloud-init-23.4 fails tests: AssertionError: Regex pattern did not match.
Summary: app-emulation/cloud-init-23.4 fails tests: AssertionError: Regex pattern did ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-19 19:19 UTC by matoro
Modified: 2024-07-15 04:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.xz,212.62 KB, application/x-xz)
2024-06-19 19:19 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-19 19:19:44 UTC
Created attachment 896116 [details]
build.log and emerge --info

Sample log from amd64 to demonstrate that issue is on all arches.

FAILED tests/unittests/config/test_cc_apk_configure.py::TestApkConfigureSchema::test_schema_validation[config7-apk_repos.alpine_repo: 'version' is a required property, apk_repos.alpine_repo: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apk_configure.py::TestApkConfigureSchema::test_schema_validation[config10-apk_repos: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config3-apt: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config6-apt\\.disable_suites:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config10-apt\\.primary:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config17-apt\\.primary\\.0\\.search:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config24-apt.debconf_selections: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_apt_configure.py::TestAPTConfigureSchema::test_schema_validation[config33-apt.sources.opaquekey: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_bootcmd.py::TestBootCMDSchema::test_schema_validation[config1-bootcmd:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_bootcmd.py::TestBootCMDSchema::test_schema_validation[config2-Cloud\\ config\\ schema\\ errors:\\ bootcmd:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_ca_certs.py::TestCACertsSchema::test_schema_validation[config2-ca_certs:\\ \\{\\}\\ does\\ not\\ have\\ enough\\ properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_ca_certs.py::TestCACertsSchema::test_schema_validation[config6-ca_certs\\.trusted:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_chef.py::TestBootCMDSchema::test_schema_validation[config1-\\ chef:\\ \\{\\}\\ does\\ not\\ have\\ enough\\ properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_chef.py::TestBootCMDSchema::test_schema_validation[config4-chef\\.directories:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_lxd.py::TestLXDSchema::test_schema_validation[config6-lxd: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_mounts.py::TestMountsSchema::test_schema_validation[config0-mounts:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_mounts.py::TestMountsSchema::test_schema_validation[config1-mounts\\.0:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_package_update_upgrade_install.py::TestPackageUpdateUpgradeSchema::test_schema_validation[config2-is too short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_runcmd.py::TestRunCmdSchema::test_schema_validation[config3-runcmd: \\[\\] is too short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_set_passwords.py::TestSetPasswordsSchema::test_schema_validation[config16-expectation16] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_snap.py::TestSnapSchema::test_schema_validation[config10-{} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_snap.py::TestSnapSchema::test_schema_validation[config12-snap.commands: \\[\\] is too short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_snap.py::TestSnapSchema::test_schema_validation[config13-snap.commands: {} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_snap.py::TestSnapSchema::test_schema_validation[config21-\\[\\] is too short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_snap.py::TestSnapSchema::test_schema_validation[config22-\\{} does not have enough properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_write_files.py::TestWriteFilesSchema::test_schema_validation[config1-write_files:\\ \\[\\]\\ is\\ too\\ short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/config/test_cc_yum_add_repo.py::TestAddYumRepoSchema::test_schema_validation[config2-yum_repos:\\ \\{\\}\\ does\\ not\\ have\\ enough\\ properties] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/test_cli.py::TestCLI::test_status_wrapper_init_local_writes_fresh_status_info - RuntimeError: generator raised StopIteration
FAILED tests/unittests/test_cli.py::TestCLI::test_status_wrapper_init_local_honor_cloud_dir - RuntimeError: generator raised StopIteration
FAILED tests/unittests/test_merging.py::TestMergingSchema::test_schema_validation[config2-\\[\\] is too short] - AssertionError: Regex pattern did not match.
FAILED tests/unittests/test_stages.py::TestInit::test_apply_network_on_same_instance_id - AssertionError: Expected 'apply_network_config' to not have been called. Called 1 times.
======= 31 failed, 4991 passed, 6 skipped, 1 xfailed, 481 warnings in 96.50s (0:01:36) ========
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-15 03:50:53 UTC
Hoo boy: https://github.com/canonical/cloud-init/compare/23.4..24.2.
Comment 2 Larry the Git Cow gentoo-dev 2024-07-15 04:22:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265e3dd6c9c3df8268606c0b91ed1dac549cb44a

commit 265e3dd6c9c3df8268606c0b91ed1dac549cb44a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-15 04:20:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-15 04:21:15 +0000

    app-emulation/cloud-init: add 24.2
    
    Closes: https://bugs.gentoo.org/675724
    Closes: https://bugs.gentoo.org/708716
    Closes: https://bugs.gentoo.org/762172
    Closes: https://bugs.gentoo.org/841128
    Closes: https://bugs.gentoo.org/926830
    Closes: https://bugs.gentoo.org/934571
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/cloud-init/Manifest               |   1 +
 app-emulation/cloud-init/cloud-init-24.2.ebuild | 101 ++++++++++++++++++++++++
 app-emulation/cloud-init/cloud-init-9999.ebuild |   8 +-
 3 files changed, 109 insertions(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-15 04:22:53 UTC
The issue was dep rot here.