Public bug reported:

Impact
------

The autopkgtest for 0.96.20.12, which introduces Ubuntu Pro in Xenial's
software-properties, failed on Dbus tests[1].

The failure is because, at some point in time, the .keep file were
removed from the otherwise empty tests/aptroot/etc/apt/apt.conf.d/. This
caused the Git repository to drop tests/aptroot/etc/apt/apt.conf.d/ and
also its parent, which also became empty, and the tests try to directly
create files in those directories, raising the error.

It seems that previous uploaders did not use the Git checkout, as the
offending commit was introduced in Jun 2019 and there were subsequent
uploads that did contain those empty directories.

Test case
---------

Trigger an autopkgtest against the proposed package version. It must
succeed.

Regression Potential
--------------------

Although the introduced change is idempotent, there could be other part
of the code assuming the directories didn't exist and trying to create
them with a "fail if already exists" approach, causing a runtime
regression.

[1]
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
xenial/xenial/amd64/s/software-properties/20240301_100314_9e242@/log.gz

** Affects: software-properties (Ubuntu)
     Importance: Low
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress

** Affects: software-properties (Ubuntu Xenial)
     Importance: High
     Assignee: Nathan Teodosio (nteodosio)
         Status: New

** Also affects: software-properties (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: software-properties (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: software-properties (Ubuntu Xenial)
     Assignee: (unassigned) => Nathan Teodosio (nteodosio)

** Merge proposal linked:
   
https://code.launchpad.net/~nteodosio/software-properties/+git/software-properties/+merge/461724

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/2058035

Title:
  [SRU] Create directories for apt configuration files if they are
  absent

Status in software-properties package in Ubuntu:
  In Progress
Status in software-properties source package in Xenial:
  New

Bug description:
  Impact
  ------

  The autopkgtest for 0.96.20.12, which introduces Ubuntu Pro in
  Xenial's software-properties, failed on Dbus tests[1].

  The failure is because, at some point in time, the .keep file were
  removed from the otherwise empty tests/aptroot/etc/apt/apt.conf.d/.
  This caused the Git repository to drop
  tests/aptroot/etc/apt/apt.conf.d/ and also its parent, which also
  became empty, and the tests try to directly create files in those
  directories, raising the error.

  It seems that previous uploaders did not use the Git checkout, as the
  offending commit was introduced in Jun 2019 and there were subsequent
  uploads that did contain those empty directories.

  Test case
  ---------

  Trigger an autopkgtest against the proposed package version. It must
  succeed.

  Regression Potential
  --------------------

  Although the introduced change is idempotent, there could be other
  part of the code assuming the directories didn't exist and trying to
  create them with a "fail if already exists" approach, causing a
  runtime regression.

  [1]
  
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
  xenial/xenial/amd64/s/software-
  properties/20240301_100314_9e242@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2058035/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to