Skip to content

[Issue] Windows nightly: TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor fails on Windows temp-path case mismatch #14451

Open

Description

@TriveniTadapaneni

Context

Summary

hipdnn_plugin_sdk_tests (ctest 7 of 17) fails exactly one test ,
TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor. The two paths being compared point at the same file. They differ only in the case of the Windows directory in the temp path. Windows paths are case-insensitive but the assertion compares the strings exactly.

Exact Error

gfx1151:

 2026-10-27T03:31:57.9565546Z 7: [ RUN      ] TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor
2026-10-27T03:31:57.9676723Z 7: C:/home/runner/_work/rockrel/rockrel/rocm-libraries/projects/hipdnn/plugin_sdk/tests/ingestor/TestDescriptorLoader.cpp(2557): error: Expected equality of these values:
2026-10-27T03:31:57.9677191Z 7:   sets.front().heuristic->modelArtifactPath
2026-10-27T03:31:57.9677503Z 7:     Which is: "C:\\Windows\\SystemTemp\\descriptor_loader_model_subdir_17930719169415482_74\\models\\model.bin"
2026-10-27T03:31:57.9677911Z 7:   std::filesystem::absolute(dir.path() / "models" / "model.bin").lexically_normal().string()
2026-10-27T03:31:57.9678277Z 7:     Which is: "C:\\windows\\SystemTemp\\descriptor_loader_model_subdir_17930719169415482_74\\models\\model.bin"
2026-10-27T03:31:57.9678560Z 7: 
2026-10-27T03:31:57.9688457Z 7: [  FAILED  ] TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor (12 ms)

gfx120X-all :

  7: [ RUN      ] TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor
7: C:/home/runner/_work/rockrel/rockrel/rocm-libraries/projects/hipdnn/plugin_sdk/tests/ingestor/TestDescriptorLoader.cpp(2557): error: Expected equality of these values:
7:   sets.front().heuristic->modelArtifactPath
7:     Which is: "C:\\Windows\\SystemTemp\\descriptor_loader_model_subdir_17930824583749440_74\\models\\model.bin"
7:   std::filesystem::absolute(dir.path() / "models" / "model.bin").lexically_normal().string()
7:     Which is: "C:\\WINDOWS\\SystemTemp\\descriptor_loader_model_subdir_17930824583749440_74\\models\\model.bin"
7: 
7: [  FAILED  ] TestDescriptorLoader.AcceptsAModelArtifactInASubdirectoryOfTheDescriptor (6 ms)

Root Cause

File and line:

TEST(TestDescriptorLoader, AcceptsAModelArtifactInASubdirectoryOfTheDescriptor)

The test was added by "feat(hipdnn): UHD runtime for engine and kernel predictions (ALMIOPEN-2404)", #13028,

Recurrence

New on 2026-10-27. The gfx1151 and gfx120X-all hipdnn jobs did not fail on 10-24, 10-25 or 10-26.

Activity

  1. TriveniTadapaneni commented on Oct 27, 2026

    @TriveniTadapaneni
    ContributorAuthor

    @BrianHarrisonAMD @jdcampbe Could you check this issue?

  2. BrianHarrisonAMD commented on Oct 27, 2026

    @BrianHarrisonAMD
    Contributor

    Fix is up #14460.

    Testing issue where path comparison wasn't matching platform rules in all cases.
    Fix should be in soon.

  3. added a commit that references this issue on Oct 28, 2026
    413ce9b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions