Package: src:plaso
Version: 20260119-2
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15 version we found that plaso fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856608/

From the log, the error seems to be:
======================================================================
FAIL: testParse26 (parsers.winprefetch.WinPrefetchParserTest.testParse26)
Tests the Parse function on a version 26 Prefetch file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/plaso-20260119/tests/parsers/winprefetch.py", line 286, in testParse26
    self.CheckEventData(event_data, expected_event_values)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/plaso-20260119/tests/parsers/test_lib.py", line 178, in CheckEventData
    self.assertEqual(value, expected_value, error_message)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None != ['2013-10-04T15:28:09.0103565+00:00', '20[65 chars]:00'] : event value: "previous_run_times" does not match expected value

======================================================================
FAIL: testParse30Compressed (parsers.winprefetch.WinPrefetchParserTest.testParse30Compressed)
Tests the Parse function on a compressed version 30 Prefetch file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/plaso-20260119/tests/parsers/winprefetch.py", line 334, in testParse30Compressed
    self.CheckEventData(event_data, expected_event_values)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/plaso-20260119/tests/parsers/test_lib.py", line 178, in CheckEventData
    self.assertEqual(value, expected_value, error_message)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None != ['2015-05-14T22:11:55.3576520+00:00', '20[176 chars]:00'] : event value: "previous_run_times" does not match expected value

======================================================================
FAIL: testParse30Variant1Compressed (parsers.winprefetch.WinPrefetchParserTest.testParse30Variant1Compressed)
Tests the Parse function on a compressed version 30 variant 1 file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/plaso-20260119/tests/parsers/winprefetch.py", line 379, in testParse30Variant1Compressed
    self.CheckEventData(event_data, expected_event_values)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/plaso-20260119/tests/parsers/test_lib.py", line 178, in CheckEventData
    self.assertEqual(value, expected_value, error_message)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None != ['2015-05-14T22:10:28.6747101+00:00'] : event value: "previous_run_times" does not match expected value

======================================================================
FAIL: testParse30Variant2Compressed (parsers.winprefetch.WinPrefetchParserTest.testParse30Variant2Compressed)
Tests the Parse function on a compressed version 30 variant 2 file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/plaso-20260119/tests/parsers/winprefetch.py", line 424, in testParse30Variant2Compressed
    self.CheckEventData(event_data, expected_event_values)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/plaso-20260119/tests/parsers/test_lib.py", line 178, in CheckEventData
    self.assertEqual(value, expected_value, error_message)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None != ['2019-06-05T19:23:00.8157052+00:00'] : event value: "previous_run_times" does not match expected value

Please note that while we ran into this error during the rebuild against Python 3.15, that doesn't mean that the root cause for the failure is necessarily the new Python version.

Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.

--
Regards,
Marga

Reply via email to