• Bug#1057548: marked as done (cloud-init: FTBFS: failing tests) (2/2)

    From Debian Bug Tracking System@21:1/5 to All on Wed Mar 13 04:00:01 2024
    [continued from previous message]

    tests/unittests/reporting/test_reporting_hyperv.py::TextKvpReporter::test_get_boot_telemetry
    /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:138: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.
    fromtimestamp(timestamp, datetime.UTC).
    datetime.utcfromtimestamp(cloudinit_activation).isoformat() + "Z",

    tests/unittests/sources/test_azure.py: 65 warnings tests/unittests/sources/test_azure_helper.py: 17 warnings
    /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:1094: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
    if not root.find("./wa:ProvisioningSection", cls.NAMESPACES):

    tests/unittests/sources/test_azure.py: 49 warnings tests/unittests/sources/azure/test_kvp.py: 1 warning
    /<<PKGBUILDDIR>>/cloudinit/sources/azure/kvp.py:52: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.
    UTC).
    f"timestamp={datetime.utcnow().isoformat()}",

    tests/unittests/sources/test_azure.py: 50 warnings tests/unittests/sources/test_azure_helper.py: 4 warnings tests/unittests/sources/azure/test_errors.py: 9 warnings tests/unittests/sources/azure/test_kvp.py: 2 warnings
    /<<PKGBUILDDIR>>/cloudinit/sources/azure/errors.py:54: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.
    UTC).
    self.timestamp = datetime.utcnow()

    tests/unittests/sources/test_gce.py::TestDataSourceGCE::test_has_expired tests/unittests/sources/test_gce.py::TestDataSourceGCE::test_has_expired
    /<<PKGBUILDDIR>>/cloudinit/sources/DataSourceGCE.py:238: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(
    datetime.UTC).
    return datetime.datetime.utcnow() > expire_time

    tests/unittests/sources/azure/test_errors.py: 48 warnings
    /<<PKGBUILDDIR>>/tests/unittests/sources/azure/test_errors.py:22: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.
    now(datetime.UTC).
    timestamp = datetime.datetime.utcnow()

    tests/unittests/sources/azure/test_kvp.py::TestReportSuccessToHost::test_report_success_to_host
    /<<PKGBUILDDIR>>/tests/unittests/sources/azure/test_kvp.py:14: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(
    datetime.UTC).
    timestamp = datetime.utcnow()

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[basic]
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[no_home]
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[system_user]
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[explicit_no_home_false]
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[set_password]
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_group_added
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_only_new_group_added
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_whitespace_string
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_dict_deprecated
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_list
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_explicit_sudo_false
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_explicit_sudo_none
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_string
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_list
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_integer
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_no_cloud_keys
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_with_cloud_keys
    FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_does_not_disable_auth_keys
    ===== 18 failed, 4847 passed, 5 skipped, 1 xfailed, 575 warnings in 50.15s =====
    make[1]: *** [debian/rules:11: override_dh_auto_test] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:7: build] Error 2
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202312/

    About the archive rebuild: The build was made using virtual machines
    from AWS, with enough memory, enough disk, and either one or two
    CPUs, using a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and affects, so that this is still visible in the BTS web
    page for this package.

    Thanks.

    Received: (at 1057548-close) by bugs.debian.org; 13 Mar 2024 02:49:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-107.3 required=4.0 tests=BAYES_00,DKIM_SIGNED,
    DKIM_VALID,DKIM_VALID_AU,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
    META_ATTENDEES_DBSPAM1,PGPSIGNATURE,RDNS_NONE,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 108; hammy, 150; neutral, 268; spammy,
    0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
    0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
    0.000-+--UD:debian.tar.xz, 0.000-+--H*RU:sk:fasolo.
    Return-path: <envelope@ftp-master.debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:56110)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.debian.org,EMAIL=hostmaster@muffat.debian.org (verified)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1rkEg8-0069He-9k
    for 1057548-close@bugs.debian.org; Wed, 13 Mar 2024 02:49:16 +0000 Received: from [192.91.235.231] (port=55696 helo=fasolo.debian.org)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
    by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1rkEg7-001Cp0-6m
    for 1057548-close@bugs.debian.org; Wed, 13 Mar 2024 02:49:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
    d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
    Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
    :Content-Description:In-Reply-To:References;
    bh=WlFAzrJl5ZXUZr+5M/7aPvAg3eAqh58NMMwhIhlDbdU=; b=prX1BOEcub2TGbMW3d+qDgmGgk
    1f0gl2yNiETJtJo94leGAdRcFtYRTh46eRSjMjSpnALcYTcmd2icHX7KNewNpbLb/9n8ZEUlm5InV
    ztjG8nXWhu4I7MIH6QaYmmqpam5TkO1du/H1bO8Ri+eVJUwyI/NXc/r8b/UEhKVXMS+3VP/QQkLlp
    O1g6ka3u1Rae5JrwAc07B2AfK8/s/dO5/h4TvFkwVK03YOJqsD65xD26dJtG9OfEGIaqrh1bi/bMH
    NjLYYatjeM5uQXh1W4iUt5FjlOiN3mQx6kJbXdvmit2j4sRzC7FK/s68/hMU5lBite2BI/02bODuh
    w9/Somcg==;
    Received: from dak by fasolo.debian.org with local (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1rkEg5-004fOH-P2; Wed, 13 Mar 2024 02:49:13 +0000
    From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
    Reply-To: Noah Meyerhans <noahm@debian.org>
    To: 1057548-close@bugs.debian.org
    X-DAK: dak process-upload
    X-Debian: DAK
    X-Debian-Package: cloud-init
    Debian: DAK
    Debian-Changes: cloud-init_24.1.1-1_source.changes
    Debian-Source: cloud-init
    Debian-Version: 24.1.1-1
    Debian-Architecture: source
    Debian-Suite: unstable
    Debian-Archive-Action: accept
    MIME-Version: 1.0
    Subject: Bug#1057548: fixed in cloud-init 24.1.1-1
    Content-Type: multipart/signed; micalg="pgp-sha256";
    protocol="application/pgp-signature";
    boundary="===============6292842194847258558=="
    Message-Id: <E1rkEg5-004fOH-P2@fasolo.debian.org>
    Date: Wed, 13 Mar 2024 02:49:13 +0000

    --===============6292842194847258558==
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: quoted-printable

    Source: cloud-init
    Source-Version: 24.1.1-1
    Done: Noah Meyerhans <noahm@debian.org>

    We believe that the bug you reported is fixed in the latest version of cloud-init, which is due to be installed in the Debian FTP archive.

    A summary of the changes between this version and the previous one is
    attached.

    Thank you for reporting the bug, which will now be closed. If you
    have further comments please address them to 1057548@bugs.debian.org,
    and the maintainer will reopen the bug report if appropriate.

    Debian distribution maintenance software
    pp.
    Noah Meyerhans <noahm@debian.org> (supplier of updated cloud-init package)

    (This message was generated automatically at their request; if you
    believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)


    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512

    Format: 1.8
    Date: Mon, 11 Mar 2024 20:00:23 -0700
    Source: cloud-init
    Architecture: source
    Version: 24.1.1-1
    Distribution: unstable
    Urgency: medium
    Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org>
    Changed-By: Noah Meyerhans <noahm@debian.org>
    Closes: 926424 955620 1025618 1057548
    Changes:
    cloud-init (24.1.1-1) unstable; urgency=medium
    .
    [ Nick Brown ]
    * Add logrotate config (Closes: #926424)
    .
    [ Debian Janitor ]
    * Update lintian override info format in d/cloud-init.lintian-overrides
    on line 3-7.
    * Trim trailing whitespace.
    * Use secure copyright file specification URI.
    * Bump debhelper from old 10 to 13.
    + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since
    debhelper now does this.
    + Replace --no-restart-on-upgrade with --no-stop-on-upgrade.
    + Use dh_installsystemd rather than deprecated dh_systemd_start.
    * Set debhelper-compat version in Build-Depends.
    * Set upstream metadata fields: Repository-Browse.
    * Update standards version to 4.6.1, no changes needed.
    .
    [ Ross Vandegrift ]
    * d/control: Conflict with firewalld (Closes: #1025618)
    cloud-init and firewalld's systemd units jointly have startup cycles.
    Currently, they cannot be eliminated without breaking features of one
    or the other.
    * d/control: drop obsolete Depends on lsb-base
    .
    [ Noah Meyerhans ]
    * Fix debian/rules clean fails from git repo
    This may not be strictly correct from a pybuild perspective, but it
    avoids the need to call `setup.py` from the clean recipe.
    (Closes: #955620)
    .
    [ Ross Vandegrift ]
    * New upstream version 24.1 (Closes: #1057548)
    * d/p/0001-config-Support-APT-automated-mirror-selection.patch: refresh
    * d/p/0006-Disable-two-failing-WSL-unittests.patch: disable failing WSL tests
    .
    [ Noah Meyerhans ]
    * New upstream version 24.1.1
    * Drop patch 0006-Disable-two-failing-WSL-unittests.patch
    Checksums-Sha1:
    8ffde165b91d09b26dd1a2539c4901cd22341c16 2440 cloud-init_24.1.1-1.dsc
    7e45254e6a7efd64a99a1abd2d6dee585f4069d4 1730335 cloud-init_24.1.1.orig.tar.gz
    0f42f704eeac76b3ed0485e683a3abd4691e2c84 26624 cloud-init_24.1.1-1.debian.tar.xz
    3461c15b85793e894a9fb5c770e1390100b3d9bd 7290 cloud-init_24.1.1-1_source.buildinfo
    Checksums-Sha256:
    f54ecbc291bf6ecd05059628b11e78c5bc1990efb31e2fc2983d3aa9ad2bcf53 2440 cloud-init_24.1.1-1.dsc
    bda71fd0e4a2ad2c20941d941293a08bda490f075b24949b089f5425dcde1c73 1730335 cloud-init_24.1.1.orig.tar.gz
    3076753fd60c86b291e61a2878446315ced2b1f69247617c54cae24460075bb6 26624 cloud-init_24.1.1-1.debian.tar.xz
    82c8b70e0fba16bb01ebc776c071a2db65861c1c77ff7a66456d647cfe707428 7290 cloud-init_24.1.1-1_source.buildinfo
    Files:
    f349eb943e4e51c060a42954eb547f84 2440 admin optional cloud-init_24.1.1-1.dsc
    46d30a80410623af3246d479e303949f 1730335 admin optional cloud-init_24.1.1.orig.tar.gz
    bd75e08032ea5aee3664e0dd54818ea3 26624 admin optional cloud-init_24.1.1-1.debian.tar.xz
    bfe3a344b2fd0cbb740d0cea01842414 7290 admin optional cloud-init_24.1.1-1_source.buildinfo

    -----BEGIN PGP SIGNATURE-----

    iQJFBAEBCgAvFiEE5G+E0xEKhJuZ7RJ34+c1IpshdTUFAmXxCA8RHG5vYWhtQGRl Ymlhbi5vcmcACgkQ4+c1IpshdTVZHg/+JGRxaY/D8d+vPam5DyiChPwwkaNuyRky exZxMot5yEhwNuq9Ek7pHBif5lqBHhtQrgBIJXudGLYx2EU/6X+y4orrT/yuZdyn U98rZfE5SU+qdwWi0vpqv7IB/qHu5ZBdeK4ZGKzOcqkfr8IeOTXusx4TbDON1fPD +z67h/+lnyMQHr4g01StujlxV5ySqv8aGKHTsQkSBFPPTfY69T/EvgelgzhjMx1M ShkT6SqiIu6yx5G9Nt98J6FLTNixKUOYKfMCSBZ0utE8oWxvsn64J+kMT67vEjK5 PIjKdC0tBaGHuj9QC2AWfyI/E7rFgRK7ofMr23eli1/xt3N3FbIPzoBDe6FyEENC OuSHopic70k/QJ8oUJxsTB4O7Lr96eJudYu77kI9bom1WAxguKEB82wmz/Polmtq uwOaYjFbtNm5lq5N1lZAKyRQltWIwgePfC1WCQlW03qNowNrb6yZofyBwVAMcSKK rXXRIaGaLlX9m59/PizdJD2z7pq95Hl/TnnPhbBqPIoeFA1buEEKKPDONtQPHUz7 Fwj5ZWuwv4B13VTCLLMA8Hmvg8E9nKADgdhL5oI/H+UCTgc9F8Q/LfKsgVXowyaG KvbIM1jVCQvPtJIroHycUE5uktsLRVSxbf+lPR8IunltvkMeLnTCAuBCkDqfV3oS
    ibc3IBbwi3U=
    =pwDU
    -----END PGP SIGNATURE-----


    --==============b92842194847258558=Content-Type: application/pgp-signature

    -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCZfEUKQAKCRCb9qggYcy5 IbloAQChrbu9O9jiTEXo9uqtTs8DsKJSJ/seRKQC297lw5iECwEA0ZfLnmU1EwsB pB6ajrW5JrLIDM/LlJWjAgGckv7p3gIYZU
    -----END PGP SIGNATURE-----

    --==============b92842194847258558==--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)