Project

General

Profile

Actions

Feature #1353

closed

qa: full librados c++ api gtest coverage

Added by Sage Weil over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librados
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

the testrados[pp] apps cover a very very very small portion of the api, are interactive (testradospp is at least), and don't verify return codes.

Actions #1

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 18
Actions #2

Updated by Sage Weil over 12 years ago

  • Subject changed from qa: full librados api test coverage to qa: full librados c++ api gtest coverage
  • Translation missing: en.field_story_points set to 8
  • Translation missing: en.field_position deleted (34)
  • Translation missing: en.field_position set to 34
Actions #3

Updated by Sage Weil over 12 years ago

  • Assignee set to Colin McCabe
Actions #4

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
Actions #5

Updated by Sage Weil over 12 years ago

  • Status changed from Resolved to In Progress
  • Target version changed from v0.34 to v0.35

Bleh, when run via teuthology the binaries can't find libgtest.so. Probably needs to be included in the tarball we're building? Or better yet can be link it in statically into the binaries?


2011-08-20T23:10:43.334 INFO:teuthology.task.workunit:Running workunit rados/test.sh...
2011-08-20T23:10:43.397 INFO:teuthology.task.workunit.client.0.err:test_rados_api_aio: error while loading shared libraries: libgtest.so.0: cannot open shared object f
ile: No such file or directory
2011-08-20T23:10:43.459 ERROR:teuthology.run_tasks:Saw exception from tasks
Traceback (most recent call last):
  File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 25, in run_tasks
    manager = _run_one_task(taskname, ctx=ctx, config=config)
  File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 14, in _run_one_task
    return fn(**kwargs)
  File "/var/lib/teuthworker/teuthology/teuthology/task/workunit.py", line 54, in task
    p.spawn(_run_tests, ctx, role, tests)
  File "/var/lib/teuthworker/teuthology/teuthology/parallel.py", line 54, in __exit__
    for result in self:
  File "/var/lib/teuthworker/teuthology/teuthology/parallel.py", line 68, in next
    raise result
CommandFailedError: Command failed with status 127: 'mkdir -- /tmp/cephtest/mnt.0/client.0/tmp && cd -- /tmp/cephtest/mnt.0/client.0/tmp && PATH="$PATH:/tmp/cephtest/binary/usr/local/bin" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/tmp/cephtest/binary/usr/local/lib" CEPH_ARGS="-c /tmp/cephtest/ceph.conf" /tmp/cephtest/workunit.client.0/rados/test.sh && rm -rf -- /tmp/cephtest/mnt.0/client.0/tmp'
Actions #6

Updated by Sage Weil over 12 years ago

  • Status changed from In Progress to Resolved
  • Target version changed from v0.35 to v0.34

fixed (statically linked now)

Actions

Also available in: Atom PDF