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

Valgrind tests failed on Linux #1434

Open
o-alquimista opened this issue Jan 12, 2025 · 0 comments
Open

Valgrind tests failed on Linux #1434

o-alquimista opened this issue Jan 12, 2025 · 0 comments

Comments

@o-alquimista
Copy link

o-alquimista commented Jan 12, 2025

Describe the bug

The following tests fail:

	 7 - clamd_valgrind (Failed)
	 9 - freshclam_valgrind (Failed)
	11 - sigtool_valgrind (Failed)

The summary would be helpful if it wasn't truncated. I'm finding it difficult to understand the logs.

[INFO]: ==13017== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=========================== short test summary info ============================
FAILED sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: asser...
FAILED sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Asserti...
ERROR sigtool_test.py::TC::test_sigtool_01_run_cdiff - UnicodeDecodeError: 'u...
ERROR sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Assertio...

How to reproduce the problem

  1. Install the prerequisites.
  2. Clone the repository and switch to the rel/1.4 branch
  3. mkdir build && cd build
  4. cmake .. -D DATABASE_DIRECTORY="/var/lib/_clamav" -D CLAMAV_USER="_clamav" -D CLAMAV_GROUP="_clamav"
  5. cmake --build .
  6. ctest

The list of prerequisites for my system (Void Linux amd64 glibc):

`gcc gdb make cmake python3-pytest python3 valgrind bzip2-devel check-devel libcurl-devel json-c-devel libmilter-devel libxml2-devel linux-headers ncurses-devel openssl-devel pcre2-devel zlib-devel`

Is it safe to complete the installation even if these tests failed?

Attachments

LastTest.log

@o-alquimista o-alquimista changed the title Valgrind tests failed Valgrind tests failed on Linux Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant