Skip to content

test/libcephfs: copy DT_NEEDED entries from input libraries - #62865

Merged
batrick merged 3 commits into
ceph:mainfrom
batrick:i70498
Jun 4, 2025
Merged

batrick merged 3 commits into
ceph:mainfrom
batrick:i70498

Conversation

@batrick

@batrick batrick commented Apr 17, 2025 •

Copy link
Copy Markdown
Member

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

@batrick

batrick commented Apr 17, 2025

Copy link
Copy Markdown
Member Author

Moved json_spirit changes to #62867 as I no longer believe they're required for this fix.

@batrick

batrick commented Apr 17, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented Apr 17, 2025

Copy link
Copy Markdown
Member Author

jenkins test windows

1 similar comment
@batrick

batrick commented Apr 18, 2025

Copy link
Copy Markdown
Member Author

jenkins test windows

@batrick

batrick commented Apr 18, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented Apr 18, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

1 similar comment
@batrick

batrick commented Apr 18, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented Apr 18, 2025

Copy link
Copy Markdown
Member Author

jenkins test windows

Comment thread src/test/libcephfs/CMakeLists.txt Outdated

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.

I wonder if this might be addressed by -Wl,--start-group foo.o bar.o -Wl,--end-group. But then the problem would be where to insert those options using the cmake build macros.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure how that will help to be honest.

@batrick

batrick commented Apr 21, 2025

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented May 2, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented May 2, 2025

Copy link
Copy Markdown
Member Author

@batrick

batrick commented May 5, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented May 6, 2025

Copy link
Copy Markdown
Member Author
FAILED: ../src/pybind/mgr/dashboard/frontend/node_modules /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/frontend/node_modules 
cd /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/frontend && . /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/mgr/dashboard/frontend/node-env/bin/activate && CYPRESS_CACHE_FOLDER=/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci -f --userconfig /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/mgr/dashboard/frontend/node-env/.npmrc && deactivate
npm WARN using --force Recommended protections disabled.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Use your platform's native DOMException instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Use your platform's native DOMException instead
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: dommatrix is no longer maintained. Please use @thednp/dommatrix.
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: This package is now published under @cucumber/gherkin
npm WARN deprecated [email protected]: Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated [email protected]: This package is now published under @cucumber/cucumber-expressions
npm WARN deprecated [email protected]: This package is now published under @cucumber/cucumber-expressions
npm WARN deprecated [email protected]: This package is now published under @cucumber/messages
npm WARN deprecated @stylelint/[email protected]: Use the original unforked package instead: postcss-markdown
npm WARN deprecated @stylelint/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: This package is now published under @cucumber/gherkin
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno -104
npm ERR! network read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in: /home/jenkins-build/build/workspace/ceph-pull-requests/build/src/pybind/mgr/dashboard/frontend/node-env/.npm/_logs/2025-05-05T18_53_52_918Z-debug-0.log

@batrick

batrick commented May 6, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

1 similar comment
@batrick

batrick commented May 9, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented May 13, 2025

Copy link
Copy Markdown
Member Author
he following packages have unmet dependencies:
 python3-lldb-13 : Conflicts: python3-lldb-x.y
 python3-lldb-19 : Conflicts: python3-lldb-x.y
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Build step 'Execute shell' marked build as failure
[Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...

@batrick

batrick commented May 13, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented May 14, 2025

Copy link
Copy Markdown
Member Author
+--------------------------------+---------+--------+--------+
|              Name              | Queries | Tested | Cover  |
+--------------------------------+---------+--------+--------+
|        pool-detail.json        |    8    |   0    |  0.0%  |
|     radosgw-overview.json      |    24   |   24   | 100.0% |
|   radosgw-sync-overview.json   |    5    |   0    |  0.0%  |
|     rgw-s3-analytics.json      |    40   |   0    |  0.0%  |
|   ceph-cluster-advanced.json   |    62   |   43   | 69.35% |
|       smb-overview.json        |    13   |   0    |  0.0%  |
|      hosts-overview.json       |    8    |   3    | 37.5%  |
|        ceph-nvmeof.json        |    23   |   0    |  0.0%  |
|    osd-device-details.json     |    13   |   7    | 53.85% |
|        rbd-details.json        |    6    |   0    |  0.0%  |
|       ceph-cluster.json        |    29   |   10   | 34.48% |
|       osds-overview.json       |    25   |   1    |  4.0%  |
|      radosgw-detail.json       |    12   |   12   | 100.0% |
|  ceph-nvmeof-performance.json  |    10   |   0    |  0.0%  |
| ceph-application-overview.json |    26   |   2    | 7.69%  |
|       rbd-overview.json        |    9    |   0    |  0.0%  |
|       host-details.json        |    20   |   9    | 45.0%  |
|       pool-overview.json       |    24   |   0    |  0.0%  |
|      cephfs-overview.json      |    3    |   0    |  0.0%  |
|  multi-cluster-overview.json   |    23   |   0    |  0.0%  |
|             Total              |   383   |  111   | 28.98% |
+--------------------------------+---------+--------+--------+

Failing scenarios:
  tests_dashboards/features/ceph-cluster.feature:225  "Test IOPS Read"
  tests_dashboards/features/ceph-cluster.feature:234  "Test IOPS Write"

7 features passed, 1 failed, 0 skipped
113 scenarios passed, 2 failed, 0 skipped
317 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m0.047s
promql-query-test: exit 1 (204.22 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/monitoring/ceph-mixin> behave tests_dashboards/features pid=1243817
  promql-query-test: FAIL code 1 (448.27=setup[244.05]+cmd[204.22] seconds)
  evaluation failed :( (448.35 seconds)

sigh

batrick added 3 commits May 13, 2025 20:48
This is a client test -- no libcephfs.

Signed-off-by: Patrick Donnelly <[email protected]>
ceph-common is implied.

Signed-off-by: Patrick Donnelly <[email protected]>
On Ubuntu 22.04, the linker is not stumbling thinking the libceph-common
library is missing on the command-line. This appears to be a bug and the only
workaround I've found is to copy the DT_NEEDED entries for the input shared
objects (which is traditional linker behavior). I don't have an explanation for
why this occurs only for a few test executables.

Fixes: https://tracker.ceph.com/issues/70498
Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented May 14, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented May 14, 2025

Copy link
Copy Markdown
Member Author
The following tests FAILED:
	 31 - run-rbd-unit-tests-1.sh (Failed)
	313 - run-tox-promql-query-test (Failed)

@batrick

batrick commented May 14, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented May 15, 2025

Copy link
Copy Markdown
Member Author
Test failure

Test failures:

	313 - run-tox-promql-query-test (Failed)

@batrick

batrick commented May 15, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

1 similar comment
@batrick

batrick commented May 21, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick
batrick requested a review from a team June 3, 2025 12:33

@dubeyko dubeyko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We need to return the main branch in successful compilation state.

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