Bug 1805631
| Summary: | lines in logs are duplicated | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Basil Eric Rabi <ericbasil.rabi> | ||||
| Component: | mock | Assignee: | Pavel Raiskup <praiskup> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 31 | CC: | copr-team, jdisnard, jkeating, mebrown, msuchy, orion, philip.wyett, praiskup, williams | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | mock-2.2-1.fc32 mock-2.2-1.fc31 mock-2.2-1.fc30 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-04-07 05:05:05 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: |
|
||||||
This was mentioned in https://bodhi.fedoraproject.org/updates/FEDORA-2020-8c3f06d776 Thanks for the report. I can not reproduce this, can you attach file with `mock -r fedora-31-x86_64 --debug-config`? Sorry, I forgot to log-out from our team account when writing the comment #2. Created attachment 1667726 [details] requested file > I can not reproduce this, can you attach file > with `mock -r fedora-31-x86_64 --debug-config`? I can still reproduce the duplicated lines. Weird, nothing special in your config (I use the same). Can you please post reproducer? Does this happen with each source RPM? > Can you please post reproducer? I use the command `./buildrpm.sh -s` in this project (https://github.com/qgis/QGIS/tree/master/rpm#generate-a-valid-spec-file-from-template) to build a src.rpm. It calls the command `mock --buildsrpm --spec qgis.spec --with-other-args` (https://github.com/qgis/QGIS/blob/3246a92db82946c8520b0d46a47025bf5268bd9f/rpm/buildrpms.sh#L155). After the source RPM is created, I see that the lines in the following files are duplicated: 1. build.log (all lines duplicated) 2. root.log (only lines after line 133 are duplicated) 3. state.log (only lines after line 7 are duplicated) > Does this happen with each source RPM? I only use mock to create src.rpm and rpm for QGIS. This happens to both creation of src.rpm and creating the rpms after I use `mock -r fedora-31-x86_64 --rebuild qgis-3.13.0-x.fc31.src.rpm --resultdir=out`. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. *** Bug 1452373 has been marked as a duplicate of this bug. *** FEDORA-2020-fba9845e22 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-fba9845e22 FEDORA-2020-6b7c342fb4 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6b7c342fb4 FEDORA-2020-85df0014c1 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-85df0014c1 FEDORA-2020-fba9845e22 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-fba9845e22` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-fba9845e22 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-85df0014c1 has been pushed to the Fedora 30 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-85df0014c1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-85df0014c1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-6b7c342fb4 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6b7c342fb4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6b7c342fb4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-fba9845e22 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-fba9845e22 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-6b7c342fb4 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-85df0014c1 has been pushed to the Fedora 30 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: With the recent update of mock, the lines in build.log and root.log are now duplicated. Version-Release number of selected component (if applicable): 2.0 How reproducible: 100% Actual results (build.log): Mock Version: 2.0 Mock Version: 2.0 Mock Version: 2.0 warning: line 172: Possible unexpanded macro in: Requires: grass(x86-64) = %{grass_version} warning: line 172: Possible unexpanded macro in: Requires: grass(x86-64) = %{grass_version} Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1582243200 setting SOURCE_DATE_EPOCH=1582243200 Wrote: /builddir/build/SRPMS/qgis-3.11.0-git342e6db8285.fc31.src.rpm Wrote: /builddir/build/SRPMS/qgis-3.11.0-git342e6db8285.fc31.src.rpm Child return code was: 0 Child return code was: 0 Expected results (build.log): Mock Version: 2.0 warning: line 172: Possible unexpanded macro in: Requires: grass(x86-64) = %{grass_version} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1582243200 Wrote: /builddir/build/SRPMS/qgis-3.11.0-git342e6db8285.fc31.src.rpm Child return code was: 0