[Bug 1586762] [NEW] Clock skew from host when using adt-virt-qemu runner

Brendan Donegan brendan.donegan at canonical.com
Sun May 29 11:42:10 UTC 2016


Public bug reported:

We were having issues when trying to collect Junit test results for MAAS
due to the fact that Jenkins was throwing an error saying the report was
too old. We later found that this was because the clock on the testbed
was 3 or so hours behind the host. We noted there is some code in the
adt-virt-qemu runner which attempts to correct the timezone to the hosts
timezone but running this on a qemu instance we had started ourselves
didn't seem to reproduce the issue. After comparing the qemu-system-
x86_64 call made by adt-virt-qemu to one we had handcrafted ourselves we
noted the presence of the '-localtime' argument in the command used by
adt-virt-qemu. Removing this fixed the clock skew.

At a minimum there needs to be a way to unspecify -localtime so we can
fix the situation in our environment. If the argument is no longer
needed it should be removed wholesale.

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1586762

Title:
  Clock skew from host when using adt-virt-qemu runner

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  We were having issues when trying to collect Junit test results for
  MAAS due to the fact that Jenkins was throwing an error saying the
  report was too old. We later found that this was because the clock on
  the testbed was 3 or so hours behind the host. We noted there is some
  code in the adt-virt-qemu runner which attempts to correct the
  timezone to the hosts timezone but running this on a qemu instance we
  had started ourselves didn't seem to reproduce the issue. After
  comparing the qemu-system-x86_64 call made by adt-virt-qemu to one we
  had handcrafted ourselves we noted the presence of the '-localtime'
  argument in the command used by adt-virt-qemu. Removing this fixed the
  clock skew.

  At a minimum there needs to be a way to unspecify -localtime so we can
  fix the situation in our environment. If the argument is no longer
  needed it should be removed wholesale.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1586762/+subscriptions



More information about the foundations-bugs mailing list