Closed
Bug 635367
Opened 15 years ago
Closed 15 years ago
Faking a RPM install in Hudson
Categories
(Cloud Services :: Server: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tarek, Assigned: tarek)
References
Details
So.. to catch dependencies bugs, like missing dependencies in RPM, we need to install all built RPMs for a project in a chroot.
This tool seems to be the best one to do the job : https://fedorahosted.org/mock/
WIll give it a shot
| Assignee | ||
Comment 1•15 years ago
|
||
On extra step after install: run a python script to control the health of the install - a few imports suffice to detect most issues
Looking forward to hearing how this goes. Moving to the dev queue since it's a dev task for now. Let us know if you need anything.
Component: Operations → Server: Other
QA Contact: operations → other-server
| Assignee | ||
Comment 3•15 years ago
|
||
this is now done for centos5 using mach. I cannot do it for rhel6 until centos6 is available.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #3)
> this is now done for centos5 using mach. I cannot do it for rhel6 until
> centos6 is available.
to summarize irc questions:
None of hudson, mach, or mock appear to support RHEL6; they only implement CentOS, and since CentOS 6 isn't out, there's apparently no ability to do any useful automated testing for RHEL6.
| Assignee | ||
Comment 5•15 years ago
|
||
not sure what you include in 'automated testing' but I want to make sure we're on the same page here:
1 - we can run the unit and functional tests in Jenkins in a rhel6 slave
2 - we can build the RPMs in Jenkins in a rhel6 slave
3 - we are unable at this point to install in a chroot environment in rhel6 the RPMs built, to check that all dependencies are met, and that the app is deploying correctly
for 3- we can do it on centos5 for the time being
That's an acceptable compromise. We should adjust staging to include RHEL6 so we can detect issues not caught by Hudson. Filing a bug for that.
Note that I don't know of any plans to include CentOS 6 in our list of deployed operating systems. RHEL6 is working acceptably for us, and if we were to introduce a third OS it would likely not be Redhat-based at all.
You need to log in
before you can comment on or make changes to this bug.
Description
•