← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1716746] Re: functional job broken by new os-testr

 

Reviewed:  https://review.openstack.org/503561
Committed: https://git.openstack.org/cgit/openstack/networking-sfc/commit/?id=f9ea384efc86321e90b1bb93f6e1c09ffa868d62
Submitter: Jenkins
Branch:    master

commit f9ea384efc86321e90b1bb93f6e1c09ffa868d62
Author: Bernard Cafarelli <bcafarel@xxxxxxxxxx>
Date:   Wed Sep 13 10:28:37 2017 +0200

    Fix unit tests and test configuration
    
    Fix post gate hook to accommodate for new os-testr
    New versions now use .stestr instead of previous .testrepository
    directory
    
    Fix ml2 plugin config import
    Commit Ibc5a9ab268578c243ef13f7e0041bacd6c0c410b moved the ml2 plugin
    config file, which breaks unit tests
    
    Change-Id: Ib7541abb0bee619b87fbcc7fee5d5095255e1ec7
    Closes-Bug: #1716746


** Changed in: networking-sfc
       Status: In Progress => Fix Released

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

Title:
  functional job broken by new os-testr

Status in networking-bgpvpn:
  In Progress
Status in BaGPipe:
  Fix Released
Status in networking-sfc:
  Fix Released
Status in neutron:
  Fix Released

Bug description:
  functional job fails with:

  2017-09-12 16:09:20.705975 | 2017-09-12 16:09:20.705 | + /opt/stack/new/neutron/neutron/tests/contrib/post_test_hook.sh:main:L67:   testr_exit_code=0
  2017-09-12 16:09:20.707372 | 2017-09-12 16:09:20.706 | + /opt/stack/new/neutron/neutron/tests/contrib/post_test_hook.sh:main:L68:   set -e
  2017-09-12 16:09:20.718005 | 2017-09-12 16:09:20.717 | + /opt/stack/new/neutron/neutron/tests/contrib/post_test_hook.sh:main:L71:   generate_testr_results
  2017-09-12 16:09:20.719619 | 2017-09-12 16:09:20.719 | + /opt/stack/new/neutron/neutron/tests/contrib/post_test_hook.sh:generate_testr_results:L12:   sudo -H -u stack chmod o+rw .
  2017-09-12 16:09:20.720974 | 2017-09-12 16:09:20.720 | + /opt/stack/new/neutron/neutron/tests/contrib/post_test_hook.sh:generate_testr_results:L13:   sudo -H -u stack chmod o+rw -R .testrepository
  2017-09-12 16:09:20.722284 | 2017-09-12 16:09:20.721 | chmod: cannot access '.testrepository': No such file or directory

  This is because new os-testr switched to stestr that has a different
  name for the directory (.stestr).

To manage notifications about this bug go to:
https://bugs.launchpad.net/bgpvpn/+bug/1716746/+subscriptions


References