unit tests failed with Mac OSX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Haomai Wang |
Bug Description
Because of `dd` usage is different from Linux.
*BSD systems `dd` command use b, k, m, g, or w for "bs" option.
Linux `dd` command use c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y for "bs" option.
I think it may necessary to choose the common sign for tests.
OS: Mac osx
./run_tests.sh
=======
ERROR: cinder.
-------
_StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
File "/Users/
run_
File "/Users/
utils.
File "/Users/
cmd=' '.join(cmd))
ProcessExecutio
Command: dd if=/tmp/
Exit code: 1
Stdout: ''
Stderr: 'dd: bs: illegal numeric value\n'
=======
ERROR: cinder.
-------
_StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
File "/Users/
run_
File "/Users/
utils.
File "/Users/
cmd=' '.join(cmd))
ProcessExecutio
Command: dd if=/tmp/
Exit code: 1
Stdout: ''
Stderr: 'dd: bs: illegal numeric value\n'
Changed in cinder: | |
assignee: | nobody → Haomai Wang (haomai) |
Changed in cinder: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-2 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/32538
Review: https:/