Skip to content

Conversation

@Teemperor
Copy link
Contributor

No description provided.

@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

// FIXME: We shouldn't count errors at all via the rootcling return code. See the warning about this from the
// libc documentation: http://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/Exit-Status.html
// This probably requires adapting roottest too as we check the exit code values there.
auto mainRetVal = nerrors + retVal;
Copy link
Member

Choose a reason for hiding this comment

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

I totally agree. I am not aware of roottest checking exit code values, except for "0 or not 0". Can you please set mainRetVal to 0 or 1, and see what roottest says about that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can even point you to an example line where this breaks: https://github.com/root-project/roottest/blob/master/root/meta/genreflex/CMakeLists.txt#L88 :)

But let's indeed remove this error counting mechanic and follow libc recommendations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I stand corrected, but now I have no idea how we passed those tests :)

@Teemperor Teemperor force-pushed the FixRootclingSucceedOn256Errors branch from eb52d4e to 02d5d86 Compare August 28, 2017 21:08
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@Teemperor Teemperor requested a review from dpiparo August 28, 2017 21:11
@Teemperor Teemperor force-pushed the FixRootclingSucceedOn256Errors branch from 02d5d86 to a4fef1d Compare August 29, 2017 09:41
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

We currently have a byte overflow in the exit code for rootcling,
so with N*256 errors we actually return 0 from our process.

This patch removes this functionality and rootcling now only
returns 0 and 1.
@Teemperor
Copy link
Contributor Author

Just for the record, all the Jenkins builds passed, but I just rewrote the commit message so Jenkins is rebuilding it without any changes. Any objections to get this merged?

@Axel-Naumann
Copy link
Member

Do it!

@phsft-bot
Copy link

Build failed on slc6/gcc49.
See console output.

Errors:

  • ERROR: Timeout after 10 minutes
  • ERROR: Error fetching remote repo 'origin'
  • ERROR: Error fetching remote repo 'origin'

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants