Closed TimBrown1611 closed 1 month ago
What happened: I am running make unit and the test of TestParseRpmFiles is failing. This is the error I see:
--- FAIL: TestParseRpmFiles (0.00s) --- FAIL: TestParseRpmFiles/test-fixtures/rpms (0.00s) parse_rpm_archive_test.go:93: Specific Differences: {[]pkg.Package}: -: [Pkg(name="abc" version="0:1.01-9.hg20160905.el7" type="rpm" id="") Pkg(name="zork" version="0:1.0.3-1.el7" type="rpm" id="")] +: [] parse_rpm_archive_test.go:93: unexpected packages from parsing (-expected +actual) []pkg.Package( - { - s`Pkg(name="abc" version="0:1.01-9.hg20160905.el7" type="rpm" id="")`, - s`Pkg(name="zork" version="0:1.0.3-1.el7" type="rpm" id="")`, - }, + nil, ) FAIL
What you expected to happen: UT should pass, the environment I am running the test is clean. Steps to reproduce the issue: Pull the main and run make unit Anything else we need to know?: Thanks! Environment:
syft version
cat /etc/os-release
Hey @TimBrown1611 would you be able to retest this? We made some recent changes to test fixtures, and believe this to be fixed now.
What happened: I am running make unit and the test of TestParseRpmFiles is failing. This is the error I see:
What you expected to happen: UT should pass, the environment I am running the test is clean. Steps to reproduce the issue: Pull the main and run make unit Anything else we need to know?: Thanks! Environment:
syft version
: main (1.10.0)cat /etc/os-release
or similar): linux