← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2019195] Re: Domain name for autopkgtests ending with dot ('.')

 

Hi Iain, you are fully right. There is only one piece of the puzzle that
does not fit: when running postfix autopkgtests triggered by postfix
itself, myhostname is set to 'localhost', which makes postfix happy. See
for example

https://autopkgtest.ubuntu.com/packages/postfix/mantic/amd64

The trailing dot is only present when postfix is installed as a
dependency. I still can't figure out why this difference (maybe there's
an extra reboot in some cases?).

** Changed in: auto-package-testing
     Assignee: (unassigned) => Paride Legovini (paride)

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2019195

Title:
  Domain name for autopkgtests ending with dot ('.')

Status in Auto Package Testing:
  New

Bug description:
  I have been looking at
  https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/f/fwlogwatch/20230502_145023_da50b@/log.gz
  where the installation of postfix fails in the autopkgtest environment.

  The hostname passed to the test is "adt-mantic-
  amd64-fwlogwatch-20230502-143927-lrg-root5".

  After concatenating with the domain in postfix function
  check_myhostname() the hostname becomes "adt-mantic-
  amd64-fwlogwatch-20230502-143927-lrg-root5.openstack.prodstack5.lan."
  which terminates with a dot. Later function valid_hostname() detects
  that this is invalid.

  As the problem does not occur in a local autopkgtest I assume this is
  due to some issue with the openstack configuration.

  Best regards

  Heinrich

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2019195/+subscriptions