yara icon indicating copy to clipboard operation
yara copied to clipboard

Test Failure - test-rules: Assertion failed: status == SIGALRM (tests/test-rules.c: test_process_scan: 3524)

Open orbea opened this issue 1 year ago • 1 comments

Describe the bug

The test-rules test fails.

test-rules.log:

--- PASS 1 ---
Assertion failed: status == SIGALRM (tests/test-rules.c: test_process_scan: 3524)
Aborted 
FAIL test-rules (exit status: 134)
test-rules.log lines 1-4/4 (END)

Which points to this line. https://github.com/VirusTotal/yara/blob/8fa55cde4c0cde8a1ba4ced1c131827eb4005f0d/tests/test-rules.c#L3524

To Reproduce

make check

Expected behavior

Tests should pass.

Please complete the following information:

  • OS: Gentoo
  • YARA version: https://github.com/VirusTotal/yara/commit/8fa55cde4c0cde8a1ba4ced1c131827eb4005f0d

Additional context

Occurs on both my glibc and musl systems and with --without-crypto.

test-rules.trs:

:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes

orbea avatar Feb 25 '24 17:02 orbea

On FreeBSD I have similar test failures, this is with version 4.5.0:

Assertion failed: (status == SIGALRM), function test_process_scan, file tests/test-rules.c, line 3551.

And after commenting it out:

Assertion failed: (status == SIGALRM), function test_process_scan, file tests/test-rules.c, line 3572.

ant1 avatar Feb 29 '24 14:02 ant1