Skip to content

test_pe_cert_trust fails after 2024-07-28 #1300

@bmwiedemann

Description

@bmwiedemann

While working on reproducible builds for openSUSE (sponsored by the NLnet NGI0 fund), I found that
our clamav 1.3.1 package fails a test after 2024-07-28.

How to reproduce the problem

run the tests with the clock set to 2024-07-29, e.g. on openSUSE I do

osc checkout openSUSE:Factory/clamav && cd $_
osc build --vm-type=kvm --noservice --clean --build-opt=--vm-custom-opt="-rtc base=2024-07-29T00:00:00" standard

Attachments

FAILED clamscan/assorted_test.py::TC::test_pe_cert_trust - AssertionError: as...

Background:
As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future.
The usual offset is +16 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions