Skip to content

cmake: do not link ceph-dencoder against global - #48418

Merged
tserong merged 1 commit into
ceph:mainfrom
tchaikov:wip-ceph-dencoder
Oct 11, 2022
Merged

tserong merged 1 commit into
ceph:mainfrom
tchaikov:wip-ceph-dencoder

Conversation

@tchaikov

@tchaikov tchaikov commented Oct 10, 2022 •

Copy link
Copy Markdown
Contributor

it does not use any symbol from global, so no need to link it against global.

Signed-off-by: Kefu Chai [email protected]

Contribution Guidelines

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

it does not use any symbol from global, so no need to link it
against global.

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov
tchaikov marked this pull request as ready for review October 10, 2022 12:24
@tchaikov
tchaikov requested a review from tserong October 10, 2022 12:26
@tchaikov

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@tserong

tserong commented Oct 11, 2022

Copy link
Copy Markdown
Member

Just doing a test build on openSUSE...

@tserong tserong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, and confirmed to work on openSUSE.

@vshankar

Copy link
Copy Markdown
Contributor

@tchaikov Not sure why but this seems to be causing test failures

Where the actual failures are due to ceph-dencoder failing with

023-01-10T15:26:33.131 DEBUG:teuthology.orchestra.run.smithi062:> ceph-dencoder type JournalPointer import - decode dump_json
2023-01-10T15:26:33.240 INFO:teuthology.orchestra.run.smithi062.stderr:src/tcmalloc.cc:332] Attempt to free invalid pointer 0x555c1219cd10
2023-01-10T15:26:33.247 DEBUG:teuthology.orchestra.run:got remote process result: None

I reverted the commit in my test branch

commit 843255dd155b0aee5302dd6b83e4d311ae8a3a0c (HEAD -> wip-vshankar-ceph-denc-20230111-104500, ci/wip-vshankar-ceph-denc-20230111-104500)
Author: Venky Shankar <[email protected]>
Date:   Wed Jan 11 10:45:16 2023 +0530

    Revert "cmake: do not link ceph-dencoder against global"
    
    This reverts commit ba226465b283e5ff99d9a6f32d433122949981fd.

and that seems to get ceph-dencoder all back again - https://pulpito.ceph.com/vshankar-2023-01-11_08:03:00-fs-wip-vshankar-ceph-denc-20230111-104500-testing-default-smithi/ (rerun of failed,dead jobs from https://pulpito.ceph.com/vshankar-2023-01-10_14:06:28-fs-main-testing-default-smithi/).

@vshankar

Copy link
Copy Markdown
Contributor

@tserong #48418 (comment)

Would you be able to help here?

@tserong

tserong commented Jan 20, 2023

Copy link
Copy Markdown
Member

@vshankar apologies for the laggy reply, I've been away. TBH I'm not sure what's going on here. I didn't see anything like that when I tested ceph-dencoder on openSUSE, but IIRC I only did src/test/encoding/check-generated.sh - maybe there's something different going on in the FS tests (although that's just a guess). I can try to look further next week.

@vshankar

Copy link
Copy Markdown
Contributor

@vshankar apologies for the laggy reply, I've been away. TBH I'm not sure what's going on here. I didn't see anything like that when I tested ceph-dencoder on openSUSE, but IIRC I only did src/test/encoding/check-generated.sh - maybe there's something different going on in the FS tests (although that's just a guess). I can try to look further next week.

Sure. Should we revert this change for now since a good number of fs suite tests fail with the ceph-dencoder exception?

@tserong

tserong commented Jan 24, 2023

Copy link
Copy Markdown
Member

Sure. Should we revert this change for now since a good number of fs suite tests fail with the ceph-dencoder exception?

Yeah, probably a good idea until we can figure out what's going on.

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.

3 participants