Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTree] Add compression algorithm test for TFile/TTree #5081

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kamahori
Copy link

@kamahori kamahori commented Mar 2, 2020

I added unit test TTree.cxx which checks default compression settings used for TFile.

@phsft-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@oshadura
Copy link
Contributor

oshadura commented Mar 2, 2020

@pcanal just FYI, it is a GSOC exersize PR :)

tree/tree/test/TTree.cxx Outdated Show resolved Hide resolved
tree/tree/test/TTree.cxx Outdated Show resolved Hide resolved
tree/tree/test/TTree.cxx Outdated Show resolved Hide resolved
@oshadura
Copy link
Contributor

oshadura commented Mar 2, 2020

@kamahori Can you add a proper commit message explaining what this code is doing? (it could be helpful https://chris.beams.io/posts/git-commit/)

@oshadura
Copy link
Contributor

oshadura commented Mar 2, 2020

@phsft-bot build!

@phsft-bot
Copy link
Collaborator

Starting build on ROOT-performance-centos7-multicore/default, ROOT-fedora27/noimt, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu18.04-i386/cxx14, mac1014/cxx17, windows10/cxx14
How to customize builds

@oshadura oshadura self-assigned this Mar 2, 2020
@phsft-bot
Copy link
Collaborator

Build failed on windows10/cxx14.
See console output.

@kamahori kamahori changed the title [TTree] added TTree.cxx [TTree] Add TTree.cxx Mar 3, 2020
@kamahori
Copy link
Author

kamahori commented Mar 3, 2020

How can I see the console output?
I cannot create my account on CERN Accelerating science page.

@oshadura
Copy link
Contributor

oshadura commented Mar 3, 2020

@kamahori Jenkins results of tests are not available for people without CERN account, I am sorry for this. Windows failure is not connected with your test, but is actually infrastructure configuration issue (you need to fork https://github.com/root-project/roottest and it will be gone).

@kamahori
Copy link
Author

kamahori commented Mar 3, 2020

@phsft-bot build

@oshadura
Copy link
Contributor

oshadura commented Mar 3, 2020

@phsft-bot build just on windows10/cxx14

@phsft-bot
Copy link
Collaborator

Starting build on windows10/cxx14
How to customize builds

@kamahori
Copy link
Author

kamahori commented Mar 3, 2020

Sorry, I'm not sure how to remove merge message.

@oshadura oshadura changed the title [TTree] Add TTree.cxx [TTree] Add compression algorithm test for TTree Mar 3, 2020
@oshadura oshadura changed the title [TTree] Add compression algorithm test for TTree [TTree] Add compression algorithm test for TFile/TTree Mar 3, 2020
@oshadura
Copy link
Contributor

@pcanal asked if you can rename file from TTree.cxx to testTTreeCompression.cxx or something similar not to confuse with actual TTree.cxx sources. I will add couple of comments to fix small typos.

@phsft-bot
Copy link
Collaborator

Starting build on ROOT-performance-centos7-multicore/default, ROOT-fedora27/noimt, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu18.04-i386/cxx14, mac1014/cxx17, windows10/cxx14
How to customize builds

}
};

TEST_F(TTreeTest, countBaskets)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo, not "countBaskets", but maybe "testDefaultCompression"

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora27/noimt.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-performance-centos7-multicore/default.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-ubuntu16/nortcxxmod.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora30/cxx14.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora29/python3.
See console output.

Warnings:

Failing tests:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-ubuntu18.04-i386/cxx14.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on mac1014/cxx17.
See console output.

Warnings:

@oshadura
Copy link
Contributor

@phsft-bot build!

@phsft-bot
Copy link
Collaborator

Starting build on ROOT-performance-centos7-multicore/default, ROOT-fedora27/noimt, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu18.04-i386/cxx14, mac1014/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-performance-centos7-multicore/default.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora29/python3.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora30/cxx14.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-ubuntu16/nortcxxmod.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-fedora27/noimt.
See console output.

Warnings:

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-ubuntu18.04-i386/cxx14.
See console output.

Warnings:

@oshadura
Copy link
Contributor

@kamahori no worries about test failures, it is unrelated to your changes

@oshadura
Copy link
Contributor

oshadura commented May 4, 2020

@pcanal can you please review this PR? and give some suggestions how it could be improved extended?

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.

None yet

5 participants