Bug 612123
Summary: | rpmbuild rarely fails on s390x | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Šimon Lukašík <slukasik> | ||||||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 6.0 | CC: | jnovy | ||||||||
Target Milestone: | rc | Keywords: | Regression | ||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-07-19 05:48:48 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: | |||||||||||
Bug Blocks: | 582655 | ||||||||||
Attachments: |
|
Created attachment 430035 [details]
Spec file
It's not rpm that's crashing but something inside a script which rpm invokes during %install, based on the output that'd be inside brp-python-hardlink. There's not a whole lot going on in brp-python-hardlink: it's a /bin/sh script which calls "find", comparing the results with "sha1sum" and calling "ln" on matches. One of those commands is segfaulting. Try adding 'ulimit -c unlimited' to the beginning of %install and see if you can catch a core dump or two, that'd tell us what exactly is crashing. Created attachment 431272 [details] rpmbuild.log This is what I get when 'ulimit -c unlimited' added to %install section. This log comes from task: https://beaker.engineering.redhat.com/recipes/12453#task147136 Please note, that I cannot reproduce it on RHEL6.0-Snapshot-7. There are beaker recipes, each with 32 runs of original reproducer. None of them caught traceback. https://beaker.engineering.redhat.com/recipes/13140 https://beaker.engineering.redhat.com/recipes/13153 s/traceback/seg fault/ (In reply to comment #7) > Please note, that I cannot reproduce it on RHEL6.0-Snapshot-7. > Problem was reported against Snap-6. Closing as it is no more reproducible since snap 7. |
Created attachment 430033 [details] full rpmbuild log Description of problem: When building 1000 same rpms, which differs only by name. Time-to-time one of build fails. It happens only on rhel6 s390x. Version-Release number of selected component (if applicable): rpm-4.8.0-8.el6.s390x How reproducible: very rare Steps to Reproduce: 1. run /CoreOS/rpm/Sanity/long-list several times 2. 3. Actual results: + /usr/lib/rpm/redhat/brp-python-hardlink /var/tmp/rpm-tmp.I8yduU: line 46: 22815 Segmentation fault (core dumped) /usr/lib/rpm/redhat/brp-python-hardlink error: Bad exit status from /var/tmp/rpm-tmp.I8yduU (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.I8yduU (%install) Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nMsLWY Expected results: Additional info: