Skip to content

Conversation

@linev
Copy link
Member

@linev linev commented Nov 7, 2025

With Makefile-based testing newstl tests were writing ROOT files into sub-directory with current version id.
So if same roottest was running with different ROOT version - it was creating different sub-dirs with such files.
And roottest was trying to read all these directories afterwards.

This functionality was never in use for CI - while never same roottest was running with different ROOT versions.

Now directly add ROOT files from previous ROOT versions and test reading of such files.
While automatic directory listing no longer required - simplify tests in this respect.
For the beginning add files generated with ROOT 6-32-19.

Fixes: #20313

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results

    22 files      22 suites   3d 22h 17m 15s ⏱️
 3 741 tests  3 741 ✅ 0 💤 0 ❌
80 351 runs  80 351 ✅ 0 💤 0 ❌

Results for commit aeb53b7.

♻️ This comment has been updated with latest results.

linev added 4 commits November 7, 2025 15:41
Older version of the test tried to list
current directory for files created by previous version of tests.
Now such situation is not possible,  therefore remove such listing
One can add reference files to check that reading
remains working also for older files.

So add for beginiing reference files from 6-32-19 version.
Some older files can be add as well
@linev linev force-pushed the roottest_newstl_read branch from dc86007 to 354a281 Compare November 7, 2025 15:09
variable size array of stl containers is not implemented so
it appears in test output every time - and differs on different platforms.

Just comment out it to avoid variation of tests output.
@pcanal
Copy link
Member

pcanal commented Nov 10, 2025

@dpiparo This is an interesting option to preserve the legacy root files (i.e. store them in the repository). The other option would be to store them (and retrieve them for the purpose of this test) in EOS. For perspective, a clean complete clone of the ROOT source is 2.2GB, while each set of files is approximately 1.6MB.

@dpiparo
Copy link
Member

dpiparo commented Nov 12, 2025

How much would we add in total in terms of size if we added the files to the repo?

@linev
Copy link
Member Author

linev commented Nov 12, 2025

@pcanal

I do not think that we need to add many different ROOT versions.
Something like from ROOT5 and several ROOT6.
So all together about 10MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roottest/root/io/newstl should preserves its data files.

3 participants