Activity log for bug #2007241

Date Who What changed Old value New value Message
2023-02-14 07:12:46 errors.ubuntu.com bug bridge bug added bug
2023-02-14 07:12:47 errors.ubuntu.com bug bridge bug added subscriber Christian Ehrhardt 
2023-02-14 07:16:49 Launchpad Janitor ubuntu-advantage-tools (Ubuntu): status New Confirmed
2023-02-14 14:24:06 Christian Ehrhardt  ubuntu-advantage-tools (Ubuntu): assignee Renan Rodrigo (renanrodrigo)
2023-03-15 19:40:22 Grant Orndorff description The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This is will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python isntall -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2023-03-15 19:46:04 Grant Orndorff description [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This is will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python isntall -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This is will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python install -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2023-03-15 23:58:41 Grant Orndorff description [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This is will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python install -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python install -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2023-03-17 22:26:40 Athos Ribeiro bug added subscriber Athos Ribeiro
2023-03-23 02:23:12 Launchpad Janitor ubuntu-advantage-tools (Ubuntu): status Confirmed Fix Released
2023-03-23 20:58:29 Renan Rodrigo description [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to import yaml but the version of yaml installed by the user is not compatible with what u-a-t expects. The fix is to hard-code our yaml import to only import from the distro-provided python3-yaml library. This prevents python from accidentally importing incompatible user-installed pyyaml libraries. [Test Case] This will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix involves directly using pythons import mechanisms rather than using "import yaml". If we made a mistake here, then we may start failing to import yaml in different scenarios. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python install -> unsupported. This fix is a change in stance to have a best-effort implementation to support systems that have non-standard python installations. It is not supposed to be a guarantee that u-a-t will work with all non-standard python installs. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Impact] Users who have a non-standard python installation will get errors when u-a-t scripts run (including during apt update for most users - even if not attached to Ubuntu Pro). This happens when u-a-t tries to use yaml functionality but the version of yaml installed by the user is not compatible with what u-a-t expects. The issue is mitigated by logging an error and exiting when yaml fails to safe_load/safe_dump, avoiding a crash and autoamatic error reports. [Test Case] This will be covered by our full test run for u-a-t 27.14. The specific test that covers this scenario can be inspected here: https://github.com/canonical/ubuntu-pro-client/blob/27.14/features/unattached_commands.feature#L357 [Regression Potential] The fix relies on importing yaml functionality from uaclient.yaml - if in any code we import directly from yaml, it will bypass this fix and fail in the same scenario as this bug does. We need to pay attention to not import yaml directly in any other module. The fix also involves re-exporting the yaml functions, if we missed an export that another piece of code relies on, then that would cause an unhandled exception. [Discussion] Until recently our position had been: non-standard python install -> unsupported. This fix is deals with the error in a best-effort implementation to avoid crashes and automatic reports from errors.ubuntu.com, which can block phasing for no reason. [Original Description] The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-advantage-tools. This problem was most recently seen with package version 27.13.5~22.04.1, the problem page at https://errors.ubuntu.com/problem/4f8f84174665cc7c259acce6afe07a6fd5010b97 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2023-04-06 21:31:33 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Kinetic): status New Fix Committed
2023-04-06 21:31:35 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2023-04-06 21:31:37 Andreas Hasenack bug added subscriber SRU Verification
2023-04-06 21:31:42 Andreas Hasenack tags jammy jammy verification-needed verification-needed-kinetic
2023-04-06 21:36:11 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Jammy): status New Fix Committed
2023-04-06 21:36:18 Andreas Hasenack tags jammy verification-needed verification-needed-kinetic jammy verification-needed verification-needed-jammy verification-needed-kinetic
2023-04-06 21:40:58 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Focal): status New Fix Committed
2023-04-06 21:41:06 Andreas Hasenack tags jammy verification-needed verification-needed-jammy verification-needed-kinetic jammy verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-06 21:46:55 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Bionic): status New Fix Committed
2023-04-06 21:47:03 Andreas Hasenack tags jammy verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic jammy verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-06 21:52:34 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Xenial): status New Fix Committed
2023-04-06 21:52:41 Andreas Hasenack tags jammy verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic jammy verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial
2023-04-10 20:35:41 Lucas Albuquerque Medeiros de Moura attachment added test-yaml-result.tar.xz https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2007241/+attachment/5662794/+files/test-yaml-result.tar.xz
2023-04-10 20:36:10 Lucas Albuquerque Medeiros de Moura tags jammy verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial jammy verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-xenial verification-dope-kinetic
2023-04-18 23:56:32 Chris Halse Rogers tags jammy verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-xenial verification-dope-kinetic jammy verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic verification-done-xenial
2023-04-19 01:31:25 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Xenial): status Fix Committed Fix Released
2023-04-19 01:32:13 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2023-04-19 01:32:48 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Bionic): status Fix Committed Fix Released
2023-04-19 01:33:17 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Focal): status Fix Committed Fix Released
2023-04-19 01:33:44 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Jammy): status Fix Committed Fix Released
2023-04-19 01:34:12 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Kinetic): status Fix Committed Fix Released