← 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/503138
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3e341a9941607a404ce5219292464c423a3fa5fe
Submitter: Jenkins
Branch:    master

commit 3e341a9941607a404ce5219292464c423a3fa5fe
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Tue Sep 12 12:27:28 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.
    
    Change-Id: I82d52bf0ad885bd36d2f0782a7c86ac61df532f2
    Closes-Bug: #1716746


** Changed in: neutron
       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 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/neutron/+bug/1716746/+subscriptions


References