Bug 1448510
Summary: | rlRpmDownload ignores specified version, release | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukáš Zachar <lzachar> |
Component: | beakerlib | Assignee: | Dalibor Pospíšil <dapospis> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | azelinka, dapospis, jprokes, mkyral, muller |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | beakerlib-1.13-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-13 10:17:13 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: |
Description
Lukáš Zachar
2017-05-05 15:39:52 UTC
So the problem is with --source. I guess this comes from the fact that --source was used especially by rlFetchSrcForInstalled where just name of the package is expected and version and release is got from the installed one. Is that right? Unfortunately the problem is in both. The only difference is that --source exits with 0 and hides the issue. In neither case rlRpmDownload downloads _specified_ n v r a Works for me, but two notes: - Isn't it a bit verbose? - Why there are ther duplicate tries? # rlRpmDownload --source java-1.8.0-openjdk 1.8.0.20 3.b26.el6 :: [ 02:35:10 ] :: rlRpmDownload: Fetching source RPM java-1.8.0-openjdk-1.8.0.20-3.b26.el6. :: [ 02:35:10 ] :: [ INFO ] :: trying to get the package using method 'direct' :: [ 02:35:10 ] :: [ INFO ] :: trying tool rpm with nvr :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk-1.8.0.20-3.b26.el6' not available using 'rpm' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool rpm with nvr :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk-1.8.0.20-3.b26.el6' not available using 'rpm' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool rpm with n :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk' not available using 'rpm' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool rpm with n :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk' not available using 'rpm' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool repoquery with nvr :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk-1.8.0.20-3.b26.el6' not available using 'repoquery' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool repoquery with nvr :: [ 02:35:11 ] :: [ INFO ] :: rpm 'java-1.8.0-openjdk-1.8.0.20-3.b26.el6' not available using 'repoquery' tool :: [ 02:35:11 ] :: [ INFO ] :: trying tool repoquery with n :: [ 02:35:12 ] :: [ INFO ] :: got rpm info for 'java-1.8.0-openjdk' via 'repoquery' :: [ 02:35:12 ] :: trying download from ..... It looks like duplicate but actually it tries brew and koji locations. I will probably turn those logs to debug logs in future. For now, as this is complete rework, I think it may help with finding problems. |