Skip to content

Comments

run-make-check: remove write permission on libceph-common.so during ctest#62832

Closed
cbodley wants to merge 1 commit intoceph:mainfrom
cbodley:wip-70700-chmod
Closed

run-make-check: remove write permission on libceph-common.so during ctest#62832
cbodley wants to merge 1 commit intoceph:mainfrom
cbodley:wip-70700-chmod

Conversation

@cbodley
Copy link
Contributor

@cbodley cbodley commented Apr 15, 2025

https://tracker.ceph.com/issues/70700 tracks a ton of recent failures during ctest of the form:

loading shared libraries: /path/to/lib/libceph-common.so.2: file too short

it seems that something is corrupting this file, so this removes write permissions for the duration. ideally this would cause a different test failure if a test actually is trying to modify it

Show available Jenkins commands

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check arm64

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check arm64

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check arm64

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check arm64

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

@cbodley
Copy link
Contributor Author

cbodley commented Apr 15, 2025

jenkins test make check

…test

https://tracker.ceph.com/issues/70700 tracks a ton of recent failures during ctest of the form:

> loading shared libraries: /path/to/lib/libceph-common.so.2: file too short

it seems that something is corrupting this file, so this removes write
permissions for the duration. ideally this would cause a different
test failure if a test actually is trying to modify it

Signed-off-by: Casey Bodley <[email protected]>
@cbodley
Copy link
Contributor Author

cbodley commented Apr 16, 2025

https://jenkins.ceph.com/job/ceph-pull-requests/156255/ reproduced

before ctest:

make check: successful build on 2214d2fae929551011975eb3da58e9199727f346
lrwxrwxrwx 1 jenkins-build users        19 Apr 15 21:27 lib/libceph-common.so -> libceph-common.so.2
-rwxr-xr-x 1 jenkins-build users 190751192 Apr 15 21:27 lib/libceph-common.so.2

after ctest:

Errors while running CTest
lrwxrwxrwx 1 jenkins-build users        19 Apr 15 21:27 lib/libceph-common.so -> libceph-common.so.2
-rwxr-xr-x 1 jenkins-build users 190751192 Apr 15 21:33 lib/libceph-common.so.2

ctest was green until this:

106/317 Test #156: unittest_decode_start_v_checker ..................***Failed    0.38 sec
[1/6] Building CXX object src/test/common/CMakeFiles/unittest_decode_start_v_checker.dir/test_decode_start_v_checker.cpp.o
[2/6] Building CXX object src/extblkdev/CMakeFiles/extblkdev.dir/ExtBlkDevPlugin.cc.o
[3/6] Linking CXX static library lib/libextblkdev.a
[4/6] Linking CXX shared library lib/libceph-common.so.2
FAILED: lib/libceph-common.so.2 
: && /usr/bin/clang++-19 -fPIC -g -Werror  -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -shared -Wl,-soname,libceph-common.so.2 -o lib/libceph-common.so.2 [...]
clang++-19: error: no such file or directory: 'lib/libextblkdev.a'
ninja: build stopped: subcommand failed.

@cbodley
Copy link
Contributor Author

cbodley commented Apr 16, 2025

https://jenkins.ceph.com/job/ceph-pull-requests-arm64/72347/ reproduced

before ctest:

make check: successful build on 2214d2fae929551011975eb3da58e9199727f346
lrwxrwxrwx 1 jenkins-build users        19 Apr 15 21:33 lib/libceph-common.so -> libceph-common.so.2
-rwxr-xr-x 1 jenkins-build users 194071304 Apr 15 21:33 lib/libceph-common.so.2

after ctest:

Errors while running CTest
lrwxrwxrwx 1 jenkins-build users        19 Apr 15 21:49 lib/libceph-common.so -> libceph-common.so.2
-rwxr-xr-x 1 jenkins-build users 194071304 Apr 15 21:49 lib/libceph-common.so.2

ctest was green until this:

115/314 Test #103: unittest_throttle ................................   Passed   15.38 sec
        Start 157: unittest_decode_start_v_checker_expect_failure
116/314 Test  #35: run-cli-tests ....................................***Failed   25.14 sec

unlike the above, that test case passed:

264/314 Test #157: unittest_decode_start_v_checker_expect_failure ...   Passed   35.96 sec

@cbodley
Copy link
Contributor Author

cbodley commented Apr 16, 2025

cc @rzarzynski #60159 did merge ~3 weeks ago which is when we started seeing libceph-common.so.2: file too short errors in https://tracker.ceph.com/issues/70700

@dmick
Copy link
Member

dmick commented Apr 18, 2025

I marked the two most recent failing builds as "keep forever" so that Jenkins won't reap them

@cbodley cbodley closed this Apr 25, 2025
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