Skip to content

Revert "Merge pull request #69165 from sunyuechi/wip-addcephtest-catc… - #69372

Closed
batrick wants to merge 1 commit into
ceph:mainfrom
batrick:pr69165-revert
Closed

batrick wants to merge 1 commit into
ceph:mainfrom
batrick:pr69165-revert

Conversation

@batrick

@batrick batrick commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

…h2-imported-target"

This reverts commit 6cc2fc7, reversing changes made to 288d5e3.

This change broke builds on Noble:

make[2]: Leaving directory '/ceph/rpmbuild/BUILD/ceph-21.0.0-2299-g1560ff15/redhat-linux-build'
[2026-06-09T18:58:03Z DEBUG sccache::config] Attempting to read config file at "/ceph/sccache.conf"
[2026-06-09T18:58:03Z DEBUG sccache::commands] Server sent CompileStarted
CMake Error at cmake/modules/AddCephTest.cmake:191 (target_link_libraries):
  Target "unittest_rgw_hex" links to:

    Catch2::Catch2WithMain

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.

Call Stack (most recent call first): src/test/rgw/CMakeLists.txt:457 (add_catch2_test) src/test/rgw/CMakeLists.txt:463 (add_catch2_test_rgw)

-- Generating done (3.0s) CMake Warning: Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY

CMake Generate step failed.  Build files cannot be regenerated correctly.

From: https://jenkins.ceph.com/job/ceph-dev-pipeline/6067/consoleText

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

…catch2-imported-target"

This reverts commit 6cc2fc7, reversing
changes made to 288d5e3.

This change broke builds on Noble:

    make[2]: Leaving directory '/ceph/rpmbuild/BUILD/ceph-21.0.0-2299-g1560ff15/redhat-linux-build'
    [2026-06-09T18:58:03Z DEBUG sccache::config] Attempting to read config file at "/ceph/sccache.conf"
    [2026-06-09T18:58:03Z DEBUG sccache::commands] Server sent CompileStarted
    CMake Error at cmake/modules/AddCephTest.cmake:191 (target_link_libraries):
      Target "unittest_rgw_hex" links to:

        Catch2::Catch2WithMain

      but the target was not found.  Possible reasons include:

        * There is a typo in the target name.
        * A find_package call is missing for an IMPORTED target.
        * An ALIAS target is missing.

    Call Stack (most recent call first):
      src/test/rgw/CMakeLists.txt:457 (add_catch2_test)
      src/test/rgw/CMakeLists.txt:463 (add_catch2_test_rgw)

    -- Generating done (3.0s)
    CMake Warning:
      Manually-specified variables were not used by the project:

        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY

    CMake Generate step failed.  Build files cannot be regenerated correctly.

From: https://jenkins.ceph.com/job/ceph-dev-pipeline/6067/consoleText

Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-06-09-23:34.

@batrick

batrick commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

Creating QA ticket to verify Noble builds are working with this revert.

@batrick

batrick commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-06-09-12:34.

@batrick

batrick commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

Prefer to merge #69374 if that builds.

@tchaikov

Copy link
Copy Markdown
Contributor

superseded by #69374, which has been merged.

@tchaikov tchaikov closed this Jun 10, 2026
@batrick

batrick commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

This PR has been removed from main integration testing by pdonnell started 2026-06-09-12:34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants