← 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/503790
Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=8f576a2ccb2aa16ff1585b93c4fbb58247d209bd
Submitter: Jenkins
Branch:    master

commit 8f576a2ccb2aa16ff1585b93c4fbb58247d209bd
Author: Thomas Morin <thomas.morin@xxxxxxxxxx>
Date:   Wed Sep 13 13:28:11 2017 -0600

    Fix post gate hook to accommodate for new os-testr
    
    New os-testr uses stestr under the hood, which creates .stestr but not
    .testrepository directory in the current dir. Other than that, it
    doesn't seem like there is any difference in the format or names of
    files generated in the directory.
    
    (shamelessly stolen from I82d52bf0ad885bd36d2f0782a7c86ac61df532f2)
    Co-Authored-By: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
    
    This change also wraps up another fix (simultaneous voting test job
    breakage) related to a recent change in the neutron repository of
    the import statements for ml2 config.
    
    Change-Id: I6bfaca7de99c6ef6834375d4e5b3218a50a60491
    Closes-Bug: 1716746


** Changed in: bgpvpn
       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:
  Fix Released
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