Project

General

Profile

Actions

Bug #14591

closed

make check is looking for radosgw-admin even if --with-radosgw is not engaged in configure

Added by Anonymous about 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While doing a make check on my local system (compiling the current master) I had the following error :

src/test/cli/radosgw-admin/help.t: failed
--- /home/erwan/Devel/ceph/src/test/cli/radosgw-admin/help.t
++ ./src/test/cli/radosgw-admin/help.t.err
@ -1,149 +1,4 @
$ radosgw-admin --help
- usage: radosgw-admin <cmd> [options...]
- commands:
.....
- --version show version and quit
-
- [1]
/bin/sh: line 3: radosgw-admin: command not found
+ [127]

  1. Ran 1 tests, 0 skipped, 1 failed.

By having a short discussion with Orit it appear that I didn't used the --with-radosgw option on my configure.

It getting the radosgw is optional at configure time, the associated make check should be also optional.

So I suggest putting the make check on radosgw considering if radosgw-admin have been built before trying making that test.

Actions #1

Updated by Anonymous about 8 years ago

It's pretty strange because after rebuilding with the proper option and getting radosgw-admin process being compile I still have the same failure.

But running src/test/run-cli-tests by hand works like :

  1. Ran 11 tests, 0 skipped, 0 failed.
    src/test/cli/radosgw-admin/help.t: passed
  2. Ran 1 tests, 0 skipped, 0 failed.
    src/test/cli/rbd/help.t: passed
    src/test/cli/rbd/invalid-snap-usage.t: passed
    src/test/cli/rbd/not-enough-args.t: passed
    src/test/cli/rbd/too-many-args.t: passed
  3. Ran 4 tests, 0 skipped, 0 failed.

So sounds like something from my env or the makefile make it fails :/

Actions #2

Updated by Casey Bodley about 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF