Bug 1217463 - mock fails on gzip warning
Summary: mock fails on gzip warning
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-30 12:33 UTC by Jose A. Rivera
Modified: 2015-04-30 12:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-30 12:46:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Jose A. Rivera 2015-04-30 12:33:49 UTC
mock fails on a gzip warning, though it won't tell me what the warning is. Also I don't think it should necessarily fail... but I'm not sure. At least I shuld know what the warning was.

Build in question: https://copr.fedoraproject.org/coprs/jarrpa/Samba/build/89347/

Relevant log lines:

root.log:

DEBUG util.py:518:  child environment: None
DEBUG util.py:452:  Executing command: /usr/bin/gzip -9 /var/tmp/mockremote-uqxNV/build/results/epel-7-x86_64/libldb-1.1.20-1.el7rhs/root.log with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell True
DEBUG util.py:499:  Child return code was: 2


mockchain.log:

INFO: mock.py version 1.2.8 starting (python version = 2.6.6)...
Start: init plugins
INFO: selinux enabled
INFO: compress_logs: initialized
Finish: init plugins
Start: run
INFO: Start(/tmp/tmpz1NVtv/libldb-1.1.20-1.el7rhs.src.rpm)  Config(epel-7-x86_64)
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
Mock Version: 1.2.8
INFO: Mock Version: 1.2.8
Start: yum install
Finish: yum install
Finish: chroot init
INFO: Installed packages:
Start: build phase for libldb-1.1.20-1.el7rhs.src.rpm
Start: build setup for libldb-1.1.20-1.el7rhs.src.rpm
ERROR: Exception(/tmp/tmpz1NVtv/libldb-1.1.20-1.el7rhs.src.rpm) Config(epel-7-x86_64) 2 minutes 58 seconds
INFO: Results and/or logs in: /var/tmp/mockremote-uqxNV/build/results/epel-7-x86_64/libldb-1.1.20-1.el7rhs
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed. See logs for output.
 # /usr/bin/gzip -9 /var/tmp/mockremote-uqxNV/build/results/epel-7-x86_64/libldb-1.1.20-1.el7rhs/root.log

Comment 1 Miroslav Suchý 2015-04-30 12:46:22 UTC
Yes, this problem today morning cause by mock getting into updates testing before we managed to alter config.
Now our config correctly use
 gzip -9 --force
so it overwrite previous logs.

In other words, please respin your job. It is fixed already.


Note You need to log in before you can comment on or make changes to this bug.