Bug 1072925

Summary: IOError: [Errno 2] No such file or directory: '/home/atodorov/boto-2.25.0/tests/unit/test_endpoints.json'
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: python-botoAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: gholms, ohadlevy, orion, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/boto/boto/pull/2550
Whiteboard:
Fixed In Version: python-boto-2.34.0-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-27 18:08:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1072946    

Description Alexander Todorov 2014-03-05 11:57:03 UTC
Description of problem:

There's a missing file in boto's test suite which causes the tests to fail:

[boto-2.25.0]$ ./tests/test.py unit

... skip ...

======================================================================
ERROR: test_load_regions (tests.unit.test_regioninfo.TestEndpointLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/atodorov/boto-2.25.0/tests/unit/test_regioninfo.py", line 101, in test_load_regions
    endpoints = load_regions()
  File "/home/atodorov/boto-2.25.0/boto/regioninfo.py", line 96, in load_regions
    additional = load_endpoint_json(additional_path)
  File "/home/atodorov/boto-2.25.0/boto/regioninfo.py", line 40, in load_endpoint_json
    with open(path, 'r') as endpoints_file:
IOError: [Errno 2] No such file or directory: '/home/atodorov/boto-2.25.0/tests/unit/test_endpoints.json'



Version-Release number of selected component (if applicable):
python-boto-2.25.0-2.fc21.src.rpm

How reproducible:
Always

Comment 1 Alexander Todorov 2014-03-05 11:57:27 UTC
Additional info:
this file is available from upstream:
https://github.com/boto/boto/blob/develop/tests/unit/test_endpoints.json

Comment 2 Garrett Holmstrom 2014-08-22 21:43:28 UTC
That file simply isn't getting included in upstream's source distributions.  Filed here:  https://github.com/boto/boto/pull/2550

Comment 3 Fedora Update System 2014-11-08 01:50:32 UTC
python-boto-2.34.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc21

Comment 4 Fedora Update System 2014-11-08 01:52:15 UTC
python-boto-2.34.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc20

Comment 5 Fedora Update System 2014-11-08 01:54:01 UTC
python-boto-2.34.0-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc19

Comment 6 Fedora Update System 2014-11-08 01:55:10 UTC
python-boto-2.34.0-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.el7

Comment 7 Fedora Update System 2014-11-08 01:55:58 UTC
python-boto-2.34.0-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.el6

Comment 8 Fedora Update System 2014-11-09 15:41:34 UTC
Package python-boto-2.34.0-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-boto-2.34.0-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3881/python-boto-2.34.0-3.el6
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2014-11-13 18:05:56 UTC
python-boto-2.34.0-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-11-27 18:08:49 UTC
python-boto-2.34.0-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-11-27 18:09:36 UTC
python-boto-2.34.0-4.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-12-01 18:55:31 UTC
python-boto-2.34.0-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-12-01 19:06:37 UTC
python-boto-2.34.0-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.