← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1703697] Re: tests fail under python 3.6

 

This is uploaded now under 0.7.9-212-g865e941f-0ubuntu1 but in keeping
with my slew of mistakes i didn't reference the bug in the changelog.


** Changed in: cloud-init (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1703697

Title:
  tests fail under python 3.6

Status in cloud-init:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. lxc launch ubuntu-daily:a a
  2. lxc exec a bash
  3. add-apt-repository ppa:canonical-foundations/python3.6-as-default -y
  4. apt-get update
  5. apt-get upgrade -y
  6. apt-get install tox
  6. git clone https://git.launchpad.net/cloud-init
  7. cd cloud-init
  8. tox

  Expected results:
  All tests pass

  Actual results:
  Numerous unittest failures, see:
  http://paste.ubuntu.com/25071344/

  There appear to be three types of errors:

  9x jsonpatch issues related: http://paste.ubuntu.com/25071366/
  2x unexpected None type: http://paste.ubuntu.com/25071385/
  1x incorrect assert/mock(?) http://paste.ubuntu.com/25071375/

  Related bugs:
   *  bug 1704024: stack trace on import with python3.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1703697/+subscriptions


References