Bug 1195244
Summary: | Mis-configured logging mutes log messages | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alec Leamas <leamas.alec> | ||||||
Component: | javapackages-tools | Assignee: | Michal Srb <msrb> | ||||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 22 | CC: | java-sig-commits, mizdebsk, msimacek, msrb | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-12-21 09:21:18 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: | |||||||||
Attachments: |
|
Description
Alec Leamas
2015-02-23 13:20:53 UTC
Hmm... I think that the problem lies somewhere else. pyxbmetadata.py takes already opened file, so it must have been accessible. What version of javapackages-tools are we talking about here? javapackages-tools-4.1.0-7.fc21.noarch (In reply to Michal Srb from comment #1) > Hmm... I think that the problem lies somewhere else. pyxbmetadata.py takes > already opened file, so it must have been accessible. Well, when I step the thing (pdb) the log message is in the parsing statement (In reply to Alec Leamas from comment #3) > > Well, when I step the thing (pdb) the log message is in the parsing statement The problem is that you can't parse what you can't read. Do you have a build.log from build when this error actually happened? The message about misconfigured logging appears always, it's not related to the problem you're having. The current upstream version (unreleased) no longer uses PyXB, so such message can no longer happen. To Michal: IMO, the problem is that metadata cache simply ignores anything it cannot read. The problematic part of code (cache/metadata.py:55): for path in metadata_paths: try: metadata = Metadata.create_from_file(path) if metadata: cache.update({path: metadata}) except MetadataLoadingException: continue Nevermind, the metadata cache wasn't used back then in the version thats on f21. Can you provide a full reproducer SRPM? (the attached thing points to your home) Sort of. Using my copr at [1]: - Install DecodeIrCaller. - chmod 600 /usr/share/maven-metadata/DecodeIrCaller.xml - Download the IrpMaster srpm - Install builddeps for IrpMaster srpm - Rebuild IrpMaster srpm Havn't checked, but it should "work" (in the sense that it fails...). https://copr.fedoraproject.org/coprs/leamas/harctoolbox/ (In reply to Michael Simacek from comment #6) > Nevermind, the metadata cache wasn't used back then in the version thats on > f21. Can you provide a full reproducer SRPM? (the attached thing points to > your home) Oops, sorry. Attaching that file, just store it somewhere and patch maven-req. That should be simpler and faster while testing. Created attachment 994406 [details]
File referenced in maven.req
(In reply to Alec Leamas from comment #7) > Sort of. Using my copr at [1]: > > - Install DecodeIrCaller. > - chmod 600 /usr/share/maven-metadata/DecodeIrCaller.xml > - Download the IrpMaster srpm > - Install builddeps for IrpMaster srpm > - Rebuild IrpMaster srpm > > Havn't checked, but it should "work" (in the sense that it fails...). > > https://copr.fedoraproject.org/coprs/leamas/harctoolbox/ I am getting completely different error: [ERROR] Failed to execute goal on project IrpMaster: Could not resolve dependencies for project org.harctoolbox:IrpMaster:jar:1.0.2: Cannot access repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/) in offline mode and the artifact com.hifiremote:DecodeIrCaller:jar:0.1314 has not been downloaded from it before. -> [Help 1] Hey, I made my first maven pom-file some days ago...maven is certainly full of surprises... you have installed DecodeIrCaller, have you? (In reply to Alec Leamas from comment #11) > Hey, I made my first maven pom-file some days ago...maven is certainly full > of surprises... you have installed DecodeIrCaller, have you? Yes, I have. I am just trying to understand where the problem could be. I have installed DecodeIrCaller, but since permissions are 600, even Maven/XMvn can't read it. Moving back to NEW as I never actually started working on a fix. The discussion here was just an attempt to triage the bug. Actually, I am going to close this bug as I wasn't able to reproduce it. To my best knowledge, it doesn't seem to be a bug in javapackages-tools. Alec, please feel free to reopen this bug if you're still able to reproduce it. Thanks ;) |