Bug 1424571

Summary: ansible-lint: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: ansible-lintAssignee: Parag Nemade <pnemade>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: pnemade, upstream-release-monitoring
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 05:09:16 UTC Type: ---
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: 1421485    
Bug Blocks: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2017-02-17 17:35:55 UTC
Your package ansible-lint failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17821082

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 17:36:00 UTC
Created attachment 1254972 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 17:36:03 UTC
Created attachment 1254973 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 17:36:06 UTC
Created attachment 1254974 [details]
state.log

Comment 4 Will Thames 2017-02-19 05:57:03 UTC
Seems like this is a problem with pypi rather than ansible-lint

Searching for jinja2<2.9
Reading https://pypi.python.org/simple/jinja2/
Download error on https://pypi.python.org/simple/jinja2/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't retrieve index page for 'jinja2'
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for jinja2<2.9
error: Could not find suitable distribution for Requirement.parse('jinja2<2.9')

This is the second occurrence of this (I got a similar bug against ansible-inventory-grapher) - can the problem identification be made a little more sophisticated?

Comment 5 Parag Nemade 2017-02-19 07:31:23 UTC
I concluded that ansible package's setup.py need to be updated to allow jinja2 > 2.9 requirements. Currently its limited to jinja2<2.9 and we have no jinja2-2.8.x package in rawhide anymore. Thus it falls back to pulling such requirement from pip and on koji there is no internet connection hence it failed.

Comment 6 Parag Nemade 2017-02-19 07:32:26 UTC
Reported bug1421485 against ansible

Comment 7 Parag Nemade 2017-02-20 08:02:37 UTC
*** Bug 1421668 has been marked as a duplicate of this bug. ***

Comment 8 Upstream Release Monitoring 2017-02-23 05:08:02 UTC
pnemade's ansible-lint-3.4.11-1.fc26 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=858691