google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
750 stars 163 forks source link

[Bug]: YaraAnalysisTaskTest test failure #1568

Closed aarontp closed 6 days ago

aarontp commented 1 week ago

What steps will reproduce the bug?

Running github tests results in a test failure: https://github.com/google/turbinia/actions/runs/11843666733/job/33005112003#step:7:1173

What is the expected behavior?

Tests should pass.

What do you see instead?

======================================================================
FAIL: test_update_rules (workers.analysis.yara_test.YaraAnalysisTaskTest)
Tests the update_rules method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/turbinia/turbinia/workers/analysis/yara_test.py", line 81, in test_update_rules
    self.assertEqual(ret, True)
AssertionError: False != True

Unsure of why this is failing now as it hasn't been touched in a while and tests passed in the latest PR affecting the relevant file and test: https://github.com/google/turbinia/commits/master/turbinia/workers/analysis/yara_test.py https://github.com/google/turbinia/commits/master/turbinia/workers/analysis/yara.py

Additional information

No response