Ceph unit test help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello cephers,


I am new this ceph development although have been using it for long
time. At first I started building and followed the same steps
described the the github.

./do_cmake.sh
cd build
make

I changed some code in ceph-detect init and added proper test cases as
well but the test cased failed.

Could you please suggest me what is going wrong here?

sudo ctest --output-on-failure -R run-tox-ceph-detect-init
Test project /home/muislam/ceph_upstream/ceph/build
    Start 15: run-tox-ceph-detect-init
1/1 Test #15: run-tox-ceph-detect-init .........***Failed    0.25 sec
/home/muislam/ceph_upstream/ceph/src/ceph-detect-init/run-tox.sh: line
30: /tmp/ceph-detect-init-virtualenv/bin/activate: No such file or
directory
Traceback (most recent call last):
  File "/bin/tox", line 9, in <module>
    load_entry_point('tox==1.4.2', 'console_scripts', 'tox')()
  File "/usr/lib/python2.7/site-packages/tox/_cmdline.py", line 24, in main
    config = parseconfig(args, 'tox')
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 23, in
parseconfig
    parseini(config)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 170, in __init__
    config)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 223, in
_makeenvconfig
    for depline in reader.getlist(section, "deps"):
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 296, in getlist
    s = self.getdefault(section, name, None)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 389, in
getdefault
    x = self._replace(x)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 489, in _replace
    return rexpattern.sub(self._sub, x)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 402, in _sub
    (key, envkey))
tox.ConfigError: ConfigError: substitution 'env:NO_INDEX:':
'NO_INDEX:' not found in environment


0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.31 sec

The following tests FAILED:
     15 - run-tox-ceph-detect-init (Failed)
Errors while running CTest

Thanks in advance.

Best,
Muminul
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux