Error in dd arguments for cephtool-test-rados
My FreeBSD jenkins complains since 2 builds about:
========
6: + /home/jenkins/workspace/ceph-master/build/bin/rados -p trs_pool rm test_rados_obj
6: 2016-12-28 10:43:46.981189 817a16000 -1 WARNING: the following dangerous and experimental features are enabled: *
6: 2016-12-28 10:43:46.982043 817a16000 -1 WARNING: the following dangerous and experimental features are enabled: *
6: 2016-12-28 10:43:46.988431 817a16000 -1 WARNING: the following dangerous and experimental features are enabled: *
6: error removing trs_pool>test_rados_obj: (2) No such file or directory 6: + true
6: + dd if=/dev/urandom of=rados_object_10k bs=1KB count=10 6: dd: bs: illegal numeric value
6: rm -rf /tmp/test_rados_tool.XXXXXXXXXX.CXnpsJcw; exit
6: + rm -rf /tmp/test_rados_tool.XXXXXXXXXX.CXnpsJcw
6: + exit
1/1 Test #6: cephtool-test-rados.sh ...........***Failed 436.87 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 436.90 sec
The following tests FAILED:
6 - cephtool-test-rados.sh (Failed)
=========
http://www.unix.com/man-page/posix/1posix/dd/
It will accept: 1K as option, but not 1KB.
--WjW
Quoted 22 lines · Willem Jan Withagen
My FreeBSD jenkins complains since 2 builds about:
========
6: +/home/jenkins/workspace/ceph-master/build/bin/rados-ptrs_poolrmtest_rados_obj
6: 2016-12-28 10:43:46.981189817a16000-1 WARNING: the following dangerous and experimental features are enabled: *
6: 2016-12-28 10:43:46.982043817a16000-1 WARNING: the following dangerous and experimental features are enabled: *
6: 2016-12-28 10:43:46.988431817a16000-1 WARNING: the following dangerous and experimental features are enabled: *
6: error removing trs_pool>test_rados_obj: (2) No such file or directory 6: + true
6: + dd if=/dev/urandom of=rados_object_10k bs=1KB count=10 6: dd: bs: illegal numeric value
6: rm -rf/tmp/test_rados_tool.XXXXXXXXXX.CXnpsJcw; exit
6: + rm -rf/tmp/test_rados_tool.XXXXXXXXXX.CXnpsJcw
6: + exit
1/1 Test #6:cephtool-test-rados.sh...........***Failed 436.87 sec0% tests passed, 1 tests failed out of 1
Quoted 8 lines
Total Test time (real) = 436.90 sec
The following tests FAILED:
6 -cephtool-test-rados.sh(Failed)
=========http://www.unix.com/man-page/posix/1posix/dd/
It will accept: 1K as option, but not 1KB.
PR #12699
--WjW