← 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/504791
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=e35f07289649b30feee8cee3e712b0de84563226
Submitter: Jenkins
Branch:    master

commit e35f07289649b30feee8cee3e712b0de84563226
Author: yong sheng gong <gong.yongsheng@xxxxxxxxxxx>
Date:   Sun Sep 17 23:28:28 2017 +0800

    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.
    
    Change-Id: I9b7fbba2fe7657bed53f74a22d36ad5116269f69
    Closes-bug: #1716746


** Changed in: tacker
       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
Status in tacker:
  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