Project

General

Profile

Actions

Bug #56612

open

ceph_test_librbd fail with env RBD_FEATURES=61 or RBD_FEATURES=1 or RBD_FEATURES=109

Added by yunqing wang almost 2 years ago. Updated almost 2 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

root@node0:~/wyq/ceph-15.2.14/build# ../src/test/run-rbd-tests
++ dirname ../src/test/run-rbd-tests
+ source ../src/test/detect-build-env-vars.sh
++ '[' -n '' ']'
++ '[' -e CMakeCache.txt ']'
++ echo 'Environment Variables Not All Set, Detected Build System CMake'
Environment Variables Not All Set, Detected Build System CMake
++ echo 'Setting Environment Variables'
Setting Environment Variables
+++ grep ceph_SOURCE_DIR CMakeCache.txt
+++ cut -d = -f 2
++ export CEPH_ROOT=/root/wyq/ceph-15.2.14
++ CEPH_ROOT=/root/wyq/ceph-15.2.14
+++ pwd
++ export CEPH_BUILD_DIR=/root/wyq/ceph-15.2.14/build
++ CEPH_BUILD_DIR=/root/wyq/ceph-15.2.14/build
++ export CEPH_BIN=/root/wyq/ceph-15.2.14/build/bin
++ CEPH_BIN=/root/wyq/ceph-15.2.14/build/bin
++ export CEPH_LIB=/root/wyq/ceph-15.2.14/build/lib
++ CEPH_LIB=/root/wyq/ceph-15.2.14/build/lib
++ export PATH=/root/wyq/ceph-15.2.14/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++ PATH=/root/wyq/ceph-15.2.14/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++ export LD_LIBRARY_PATH=/root/wyq/ceph-15.2.14/build/lib
++ LD_LIBRARY_PATH=/root/wyq/ceph-15.2.14/build/lib
+ CEPH_SRC=/root/wyq/ceph-15.2.14/src
+ '[' -e CMakeCache.txt ']'
+ CYTHON_MODULES_DIR=/root/wyq/ceph-15.2.14/build/lib/cython_modules
+ export PYTHONPATH=/root/wyq/ceph-15.2.14/src/pybind:/root/wyq/ceph-15.2.14/src/test/pybind:/root/wyq/ceph-15.2.14/build/lib/cython_modules/lib.3
+ PYTHONPATH=/root/wyq/ceph-15.2.14/src/pybind:/root/wyq/ceph-15.2.14/src/test/pybind:/root/wyq/ceph-15.2.14/build/lib/cython_modules/lib.3
+ run_api_tests
+ ceph_test_librbd '--gtest_filter=*SnapshotCopyup*'
seed 2635247
Note: Google Test filter = *SnapshotCopyup*
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from TestInternal
[ RUN      ] TestInternal.SnapshotCopyup
SKIPPING
[       OK ] TestInternal.SnapshotCopyup (2241 ms)
[ RUN      ] TestInternal.SnapshotCopyupZeros
SKIPPING
[       OK ] TestInternal.SnapshotCopyupZeros (5 ms)
[ RUN      ] TestInternal.SnapshotCopyupZerosMigration
SKIPPING
[       OK ] TestInternal.SnapshotCopyupZerosMigration (27 ms)
[----------] 3 tests from TestInternal (2273 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (5721 ms total)
[  PASSED  ] 3 tests.
+ export 'RBD_CREATE_ARGS=--image-format 2'
+ RBD_CREATE_ARGS='--image-format 2'
+ for i in 0 1 61 109
+ export RBD_FEATURES=0
+ RBD_FEATURES=0
+ run_api_tests
+ ceph_test_librbd '--gtest_filter=*SnapshotCopyup*'
seed 2635301
Note: Google Test filter = *SnapshotCopyup*
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from TestInternal
[ RUN      ] TestInternal.SnapshotCopyup
SKIPPING
[       OK ] TestInternal.SnapshotCopyup (2319 ms)
[ RUN      ] TestInternal.SnapshotCopyupZeros
SKIPPING
[       OK ] TestInternal.SnapshotCopyupZeros (30 ms)
[ RUN      ] TestInternal.SnapshotCopyupZerosMigration
SKIPPING
[       OK ] TestInternal.SnapshotCopyupZerosMigration (34 ms)
[----------] 3 tests from TestInternal (2383 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (5697 ms total)
[  PASSED  ] 3 tests.
+ for i in 0 1 61 109
+ export RBD_FEATURES=1
+ RBD_FEATURES=1
+ run_api_tests
+ ceph_test_librbd '--gtest_filter=*SnapshotCopyup*'
seed 2635356
Note: Google Test filter = *SnapshotCopyup*
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from TestInternal
[ RUN      ] TestInternal.SnapshotCopyup
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:617: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyup (5581 ms)
[ RUN      ] TestInternal.SnapshotCopyupZeros
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:765: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZeros (2272 ms)
[ RUN      ] TestInternal.SnapshotCopyupZerosMigration
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:853: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration (1094 ms)
[----------] 3 tests from TestInternal (8947 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (11601 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] TestInternal.SnapshotCopyup
[  FAILED  ] TestInternal.SnapshotCopyupZeros
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration

 3 FAILED TESTS
+ for i in 0 1 61 109
+ export RBD_FEATURES=61
+ RBD_FEATURES=61
+ run_api_tests
+ ceph_test_librbd '--gtest_filter=*SnapshotCopyup*'
seed 2635414
Note: Google Test filter = *SnapshotCopyup*
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from TestInternal
[ RUN      ] TestInternal.SnapshotCopyup
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:617: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyup (5718 ms)
[ RUN      ] TestInternal.SnapshotCopyupZeros
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:765: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZeros (2062 ms)
[ RUN      ] TestInternal.SnapshotCopyupZerosMigration
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:853: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration (1119 ms)
[----------] 3 tests from TestInternal (8899 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (12288 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] TestInternal.SnapshotCopyup
[  FAILED  ] TestInternal.SnapshotCopyupZeros
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration

 3 FAILED TESTS
+ for i in 0 1 61 109
+ export RBD_FEATURES=109
+ RBD_FEATURES=109
+ run_api_tests
+ ceph_test_librbd '--gtest_filter=*SnapshotCopyup*'
seed 2635472
Note: Google Test filter = *SnapshotCopyup*
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from TestInternal
[ RUN      ] TestInternal.SnapshotCopyup
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:617: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyup (5691 ms)
[ RUN      ] TestInternal.SnapshotCopyupZeros
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:765: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZeros (2163 ms)
[ RUN      ] TestInternal.SnapshotCopyupZerosMigration
/root/wyq/ceph-15.2.14/src/test/librbd/test_internal.cc:853: Failure
Expected equality of these values:
  0
  snap_ctx.list_snaps(ictx2->get_object_name(0), &snap_set)
    Which is: -2
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration (1082 ms)
[----------] 3 tests from TestInternal (8937 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (12252 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] TestInternal.SnapshotCopyup
[  FAILED  ] TestInternal.SnapshotCopyupZeros
[  FAILED  ] TestInternal.SnapshotCopyupZerosMigration

 3 FAILED TESTS
+ echo OK
OK

the cluster version is 15.2.14, upgraded from 14.2.15

Actions #1

Updated by yunqing wang almost 2 years ago

root@node0:~/wyq/ceph-15.2.14/build# ceph osd dump
epoch 24562
fsid 1366551e-ab03-4a3b-b960-f791b5ac4e54
created 2022-07-06T15:49:50.432799+0800
modified 2022-07-19T11:24:30.024639+0800
flags sortbitwise,recovery_deletes,purged_snapdirs,pglog_hardlimit
crush_version 27
full_ratio 0.95
backfillfull_ratio 0.9
nearfull_ratio 0.85
require_min_compat_client jewel
min_compat_client jewel
require_osd_release octopus

Actions #2

Updated by Ilya Dryomov almost 2 years ago

Hi yunqing,

With --gtest_filter=*SnapshotCopyup*', only skipped and failed tests made it to the paste. Did you see any other test pass? If not, it could be an environmental issue on your end.

Actions #3

Updated by Ilya Dryomov almost 2 years ago

  • Status changed from New to Need More Info
  • Assignee set to Ilya Dryomov
Actions

Also available in: Atom PDF