Ironic tests unable to run on Macs
Bug #1329077 reported by
David Shrewsbury
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Wishlist
|
milan k |
Bug Description
This is definitely a wishlist item.
It would be nice if we could run the Ironic unit test suite on Macs. Problems known thus far:
* -Use of mknod(), which requires super-user privilege- (solved by https:/
* The sendfile module produces the error "Socket operation on non-socket".
Not sure what other obstacles are in the way since I haven't gotten past those two errors.
Changed in ironic: | |
assignee: | nobody → David Shrewsbury (dshrews) |
status: | New → In Progress |
tags: | added: testing |
Changed in ironic: | |
importance: | Undecided → Wishlist |
description: | updated |
Changed in ironic: | |
status: | In Progress → Triaged |
Changed in ironic: | |
assignee: | nobody → milan k (vetrisko) |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/99484 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=8f968c3d7fa f27b7d765676558 fe80ebf331afe0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8f968c3d7faf27b 7d765676558fe80 ebf331afe0
Author: David Shrewsbury <email address hidden>
Date: Wed Jun 11 17:07:03 2014 -0400
Replace mknod() with chmod()
Using mknod() can be troublesome on Macs since the underlying system
call requires super-user privileges. Since its main use here
is to set the mode of the file (the subsequent call to open() is
enough to create it), we remove it and replace it with the less
troublesome chmod().
Partial-Bug: #1329077
Change-Id: I30c767792f44d2 7c6c01794741120 15c5ab9bac3