-
Notifications
You must be signed in to change notification settings - Fork 578
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
TriBits: undefined variable breaks nightly builds #4796
Comments
@lucbv, can you give more context? What is the actual error message with the stack track? |
@bartlettroscoe here is the log we get from the nightly builds (I only posted the relevant part but I could mail you the log if it helps).
The part of the log where the error occurs
|
@lucbv, let me see if I can figure out what is going on with this. NOTE: This system was written by a contractor and never had any automated tests so it has been very hard to support because of this and other reasons. See: We don't use it for the ATDM Trilinos builds. |
Btw, setting
|
@jhux2, the problem is the the vars Can you try the patch shown below and see if that fixes this?
Might just have to bite the bullet and start writing some automated tests for this sticking dashboard driver system (written by a contractor years ago who did not write any automated tests for this). |
@bartlettroscoe I tried your suggestion, but get the same error. |
@jhux2 said:
Okay, I will revert the changes to those files and see if we can get this working. I will try to set up a manual testing scenario to see if this will fix the problem. |
@jhux2, another option is to use the same logic as ATDM to run our nightly tests. I am attempting to setup such a build for trappist. This is still a work in progress but if you look at the dashboard you can see that I have a test build that was able to post results in the nightly track. Now I only need to have it actually test something... |
@lucbv said:
If that would not be too much trouble, that would be my advice. It is pretty simple. Just clone an "outer" Trilinos and then set up SRC_AND_BUILD and allow the ctest -S script.cmake run in there. The big disadvantage is that you will not see results on a CDash site, only in log files on the machine where you run the scripts. Just make sure you update that "outer" Trilinos before running the individual builds. Now that we have ninja and since configuration is pretty fast (unless you have a mounted disk) there is no advantage to running more than one build at a time so a simple loop over your builds does the trick. But I will still fix this for other builds out there. |
@bartlettroscoe, I can see results on
|
@lucbv asked:
I mean you can't see the STDOUT output from the |
@bartlettroscoe that's fine with me, I do hope to set things up once and for all and then only have to touch up sporadically. As long as I get the results from my nightly builds correctly on the dashboard that will be OK. |
@lucbv said:
Would this documentation help: ? Otherwise, I will be posting a PR with a fix for the old deprecated TriBITS Dashboard Driver system shortly. |
FYI: PR #4859 should fix this. Please approve the PR. Sorry this took me so long to get to this. Given the Trilinos PR builds and the ATDM Trilinos builds, hopefully there were not too many holes in testing in this time. |
Sorry, the commit TriBITSPub/TriBITS@e155f5d closed this issue when it should not have. Re-opening. |
FYI: The PR #4859 that should fix this was just merged. Just a little history here. The commit that broke this was merged way back on 3/28/2019 as part of PR #4750. But no one seemed to notice that results on CDash were missing until 5 days later on 4/2/2019 when this Issue was created and someone else did not notice this until 4/4/2019 (7 days after 3/28/2019) when duplicate #4809 was created. That suggests that these results on CDash are not really being looked after very carefully. If you guys are interested, I can show you how to set up the tool Putting this in review to see that results show up starting tomorrow. |
@bartlettroscoe said:
sorry for being at a conference while the #4750 was pushed, I would have complained earlier otherwise! |
@bartlettroscoe for info, unless I am away, these builds are looked at every morning, hence me catching them and filing the issue the day I got back... |
As @lucbv noted, this was just bad timing -- lots of MueLu develops on travel or vacation. Btw, 3/28 is a Thursday. Even in a normal week, this might not have been flagged until the next Monday. |
Looking at full Trilinos dashboard yesterday and compare it to the builds from 2019-04-02 it looks like all of the various non-ATDM builds are posting again so I will assume that my PR #4859 fixed this. Can we close this? |
Thanks for fixing this. It's fine with me to close this issue. |
Sorry this slipped through. May ha e to find a way set up automated tests for that system. |
@bartlettroscoe (there is not good team for that type of issues...)
Expectations
triBits changes should not break current nightly builds.
Current Behavior
The nightly builds from MueLu are all failing at configure time due to an undefined variable:
${${PROJECT_NAME}_TRIBITS_DIR}
in filecmake/tribits/core/utils/MessageWrapper.cmake
at line 45.Motivation and Context
This has taken down all the nightly MueLu builds which means that we cannot detect bugs in our specialize and experimental tracks that usually are not tested by ATDM or Continuous builds.
Possible Solution
Is seems that changes done last week in triBits are to blame, see commit
2283e955
Steps to Reproduce
Attempting to run any build using the
cmake/ctest/drivers/{enigma,geminga,rocketman,trappist}
will fail.The text was updated successfully, but these errors were encountered: