← 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/503793
Committed: https://git.openstack.org/cgit/openstack/networking-bagpipe/commit/?id=c6a9bcc34b63c927a37a0596f4bd8c1b0292cff2
Submitter: Jenkins
Branch:    master

commit c6a9bcc34b63c927a37a0596f4bd8c1b0292cff2
Author: Thomas Morin <thomas.morin@xxxxxxxxxx>
Date:   Wed Sep 13 13:45:56 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>
    
    Change-Id: Ieee4bf6e3399b1f496850a23ba2e135b61b03f27
    Closes-Bug: 1716746


** Changed in: networking-bagpipe
       Status: New => 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:
  In Progress
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