Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkov fails ldd-check test pipeline #41002

Closed
murraybd opened this issue Jan 31, 2025 · 0 comments · Fixed by #41625
Closed

checkov fails ldd-check test pipeline #41002

murraybd opened this issue Jan 31, 2025 · 0 comments · Fixed by #41625
Labels
bug Something isn't working fails-testing

Comments

@murraybd
Copy link
Member

The package checkov will fail the ldd-check test pipeline with the following error:

2025/01/30 20:53:51 INFO FAIL[ldd-check]: /usr/share/app/checkov/.venv/lib/python3.11/site-packages/igraph.libs/libxml2-3998bec4.so.2.9.1: missing liblzma-004595ca.so.5.2.2
2025/01/30 20:54:42 INFO INFO[ldd-check]: tested 50 files with ldd. 49 passes. 1 fails.
@murraybd murraybd added bug Something isn't working fails-testing labels Jan 31, 2025
murraybd pushed a commit that referenced this issue Feb 10, 2025
…ule, run newly passing tests (#41625)

Fixes: #41002,
#40838,
#41304,
#41305

These are cases where a python module brings a shared object with it,
and then that shared object links against a 2nd shared object brought by
the same module.
In this case SO1 links against SO2 using just the library name (instead
of a relative path), which the python interpreter allows by loading
objects in the same directory before looking elsewhere. LDD doesn't do
this by default.

Related: #40831,
#40843,
#40842

These have cases of this but they also have some other ldd failures
unrelated to python stuff.

---------

Signed-off-by: Amelia Crate <amelia.crate@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fails-testing
Projects
None yet
1 participant