Skip to content

test/cls_rbd/test_cls_rbd: change to check for 4KB-aligned sparse read - #55984

Merged
idryomov merged 1 commit into
ceph:mainfrom
xxhdx1985126:wip-rbd-cls-sparsify-test
Mar 8, 2024
Merged

idryomov merged 1 commit into
ceph:mainfrom
xxhdx1985126:wip-rbd-cls-sparsify-test

Conversation

@xxhdx1985126

Copy link
Copy Markdown
Member

Signed-off-by: Xuehan Xu [email protected]

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@xxhdx1985126
xxhdx1985126 requested a review from a team as a code owner March 6, 2024 07:44
@github-actions github-actions Bot added the tests label Mar 6, 2024
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
@xxhdx1985126
xxhdx1985126 force-pushed the wip-rbd-cls-sparsify-test branch from b7013b8 to 565822c Compare March 6, 2024 09:01

@trociny trociny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
@xxhdx1985126
xxhdx1985126 force-pushed the wip-rbd-cls-sparsify-test branch from 565822c to 98b49ff Compare March 6, 2024 09:17
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved

@idryomov idryomov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of nits related to bogus * 1. Otherwise LGTM!

Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
Comment thread src/test/cls_rbd/test_cls_rbd.cc Resolved
SeaStore::fiemap() can only supported 4096-aligned sparse read.

Co-authored-by: Ilya Dryomov <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
@xxhdx1985126
xxhdx1985126 force-pushed the wip-rbd-cls-sparsify-test branch from 1d7014d to 6ec3fd9 Compare March 7, 2024 01:54
@idryomov

idryomov commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@idryomov

idryomov commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor

make check is failing to clone the repo:

> git fetch --tags --force --progress --depth=1 -- https://github.com/ceph/ceph.git +refs/pull/55984/*:refs/remotes/origin/pr/55984/* # timeout=20
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --depth=1 -- https://github.com/ceph/ceph.git +refs/pull/55984/*:refs/remotes/origin/pr/55984/*" returned status code 128:
stdout: 
stderr: fatal: unable to access 'https://github.com/ceph/ceph.git/': Could not resolve host: github.com

@idryomov

idryomov commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@idryomov

idryomov commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

@athanatos The issue with protobuf in make check (polluted Jenkins builders?) seems to persist:

[800/2740] Building CXX object src/seastar/CMakeFiles/seastar.dir/src/core/prometheus.cc.o
FAILED: src/seastar/CMakeFiles/seastar.dir/src/core/prometheus.cc.o 
/usr/bin/ccache /usr/bin/clang++-14 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_CONFIG_H -DSEASTAR_API_LEVEL=6 -DSEASTAR_BROKEN_SOURCE_LOCATION -DSEASTAR_DEBUG -DSEASTAR_DEBUG_PROMISE -DSEASTAR_DEBUG_SHARED_PTR -DSEASTAR_DEFAULT_ALLOCATOR -DSEASTAR_DEFERRED_ACTION_REQUIRE_NOEXCEPT -DSEASTAR_HAS_MEMBARRIER -DSEASTAR_HAVE_ASAN_FIBER_SUPPORT -DSEASTAR_HAVE_NUMA -DSEASTAR_HAVE_SYSTEMTAP_SDT -DSEASTAR_LOGGER_TYPE_STDOUT -DSEASTAR_PTHREAD_ATTR_SETAFFINITY_NP -DSEASTAR_SCHEDULING_GROUPS_COUNT=16 -DSEASTAR_SHUFFLE_TASK_QUEUE -DSEASTAR_SSTRING -DSEASTAR_STRERROR_R_CHAR_P -DSEASTAR_THREAD_STACK_GUARDS -DSEASTAR_TYPE_ERASE_MORE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/include -I/home/jenkins-build/build/workspace/ceph-pull-requests/src -I/home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/include -I/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/include -I/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src -I/home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/src -isystem /opt/ceph/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/build/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/jaegertracing/opentelemetry-cpp/api/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/xxHash -isystem /home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -U_FORTIFY_SOURCE -Wno-error=unused-result "-Wno-error=#warnings" -fstack-clash-protection -UNDEBUG -Werror -Wimplicit-fallthrough -Wdeprecated -Wno-error=deprecated -fvisibility=hidden -gz -DSEASTAR_NO_EXCEPTION_HACK -Wno-error -Wno-sign-compare -Wno-attributes -Wno-pessimizing-move -Wno-non-virtual-dtor -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr -std=gnu++2b -MD -MT src/seastar/CMakeFiles/seastar.dir/src/core/prometheus.cc.o -MF src/seastar/CMakeFiles/seastar.dir/src/core/prometheus.cc.o.d -o src/seastar/CMakeFiles/seastar.dir/src/core/prometheus.cc.o -c /home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/src/core/prometheus.cc
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/src/core/prometheus.cc:25:
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src/proto/metrics2.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
 ^
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src/proto/metrics2.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
 ^
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src/proto/metrics2.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
 ^
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/src/core/prometheus.cc:25:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src/proto/metrics2.pb.h:26:
In file included from /usr/include/google/protobuf/generated_message_table_driven.h:35:
In file included from /usr/include/google/protobuf/map_entry_lite.h:37:
/usr/include/google/protobuf/stubs/casts.h:120:25: error: use of undeclared identifier 'bit_cast_with_different_sizes'
                        bit_cast_with_different_sizes);
                        ^
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/src/core/prometheus.cc:25:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/seastar/gen/src/proto/metrics2.pb.h:26:
In file included from /usr/include/google/protobuf/generated_message_table_driven.h:35:
/usr/include/google/protobuf/map_entry_lite.h:60:1: error: too many template parameters in template redeclaration
template <typename Derived, typename Key, typename Value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/map.h:64:1: note: previous template declaration is here
template <typename Key, typename T>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@idryomov

idryomov commented Mar 8, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@idryomov
idryomov merged commit 7822ee4 into ceph:main Mar 8, 2024
@xxhdx1985126
xxhdx1985126 deleted the wip-rbd-cls-sparsify-test branch April 23, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants