-
Notifications
You must be signed in to change notification settings - Fork 171
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
Update MC packages and FairRoot versions: #2114
Conversation
In Geant4 10.5 the URL for data sets is changed from http:// to https:// which causes the error: |
@ktf, could you, please, take a look why curl on the server does not support https protocol? See the error extracted from the log above. Thank you. |
@ktf, |
d83734e
to
ae9c28d
Compare
Hi, |
21b5d23
to
b0dcb61
Compare
158067a
to
f2240bd
Compare
In build/O2/alidist, we get a list of failing macros, where we get errors about incomplete types, eg:
To compare these with a successful build, we need a log from a recently merged PR. At the last WP3 meeting, @ktf mentioned that this is possible with the current system. @ktf, could you, please, point me at such a log from a recently merged PR? |
Just click on a commit and then on the details of a given test. If it's still there, you will get the log, otherwise you will get a "404" error. |
Thanks. I tried https://github.com/alisw/alidist/pull/2154/commits, then after clicking on the x for the 3rd commit, I get the logs. However here, we have "2 errored and 3 successful checks" but the PR was merged anyway. I was able to find a successful build and its log for this machine in the PR @sawenzel , @aphecetche , would you have an idea what could be common to these failing macros (as the log is very long, I put them also below): |
It was merged because the error was unrelated. |
f2240bd
to
cc13ea9
Compare
0fad9bd
to
7df3914
Compare
Finally, I was able to reproduce the error on CC7. In the LD_LIBRARY_PATH, there is: After linking by hand lib64 to lib, the failing tests pass. |
7df3914
to
266c1d0
Compare
@ktf , the build/O2/alidist fails on some python issues, while there is nothing related python in this update. Then, the build/AliRoot/alidist log is systematically empty with each branch update. Could you take a look? |
266c1d0
to
dc70166
Compare
@aphecetche , Adding
in FindGeant4.cmake is wrong as Geant4 does not use VGM at all; VGM is used only by Geant4 VMC. After removing this code, the build goes fine on my MacOS, as well as o2sim_G4 test. Can we remove this code? No other modifications will be needed for building with the new versions proposed in this PR. |
@ihrivnac will check further later on, as it may indeed be the case that those lines would be better in some FindGeant4_VMC.cmake but the point is that I did need them to have the o2sim_G4 tests running fine on Mac. And what I call running fine is in all of those situations :
|
@aphecetche , on my side (on Mac with SIP disabled, I believe) the |
@ihrivnac will do. Might take some time as it means quite a few packages to rebuild ;-) |
@ihrivnac. I tested w/ SIP enabled and no env. and the o2sim_G4 tests indeed work well. So yes, you can remove those lines from
|
@aphecetche , thanks for checking. The PR is now open: AliceO2Group/AliceO2#3395 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Genuine error.
@ihrivnac indeed you are right. But then the test could be a little DRYier, using something like (not tested ) : if(TARGET XmlVGM) if (targetXml) |
If VGM is found the target should exist, and if it does not exist it is better to issue an error than do silently nothing. So I'd prefer the test with the version; but the code can be improved, eg.:
|
GEANT3: v3-0 GEANT4: v10.5.1 GEANT4_VMC: v5-0 VGM: v4-7 FairRoot: 4ab2d2b1f0392 (includes a fix in FindROOT.cmake) - Keep previous Geant4 version for AliRoot (to use the same as in production): VGM v4-4 GEANT4_VMC v3-6-p6-inclxx-biasing-p2 GEANT4 v10.4.2 This should hopefully fix the JIRA issues O2-1029, O2-1044.
Withdraw dummy modification in order to trigger FairRoot revuild in CI
- Update VMC packages versions for patches: - geant3 version v2-7-p1 for Root 5 and v3-3 for Root 6 - geant4_vmc v5-0-p2 - Avoid installing FairRoot in lib64 (what causes test failures on CC7) - added CMAKE_INSTALL_LIBDIR
a2a2a74
to
d0ffb25
Compare
The fix in O2 CMake is now available AliceO2Group/AliceO2#3437. Running new test round after rebasing. |
Now the only test failing is O2Suite/alidist_macOS, there is one test failing which however fails also in other PRs, so it's not related to the changes in this PR. The change requested by @MichaelLettrich is applied, also the issue pointed by @aphecetche is solved (in O2). |
cmake.sh
Outdated
@@ -25,7 +25,7 @@ SET(Java_JAVAC_EXECUTABLE FALSE CACHE BOOL "" FORCE) | |||
SET(BUILD_CursesDialog FALSE CACHE BOOL "" FORCE) | |||
|
|||
# OpenSSL is problematic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need to comment this out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added to fix the problem commented on 28 Feb.
@ktf, @michael, |
@ktf , the change you requested is marked as resolved. Can you approve? |
All tests passed before my minor cosmetic cleanups. Merging. |
Please, next time if you need to do such a large PR, make sure when you are happy you squash the commits and edit the commit message to the actual content of the PR. This time I did it, please check I did not miss anything. |
@ktf, thanks for squashing. I use to do it just before merge to keep the list of commits available all time before merging. The commit message seems to me complete. |
* Update MC packages and FairRoot versions: GEANT3: v3-3 GEANT4: v10.5.1 GEANT4_VMC: v5-0-p2 VGM: v4-7 FairRoot: 4ab2d2b1f0392 (includes a fix in FindROOT.cmake) * Keep previous Geant4 version for AliRoot (to use the same as in production): VGM v4-4 GEANT4_VMC v3-6-p6-inclxx-biasing-p2 GEANT4 v10.4.2 This should hopefully fix the JIRA issues O2-1029, O2-1044. * Disable switching off OpenSSL * Set old VMC packages versions in all defaults using ROOT 5 * Avoid installing FairRoot in lib64 (what causes test failures on CC7) - added CMAKE_INSTALL_LIBDIR
GEANT3: v3-3
GEANT4: v10.5.1
GEANT4_VMC: v5-0-p2
VGM: v4-7
FairRoot: 4ab2d2b1f0392 (includes a fix in FindROOT.cmake)
GEANT3: v2-7-p1
VGM v4-4
GEANT4_VMC v3-6-p6-inclxx-biasing-p2
GEANT4 v10.4.2
This should hopefully fix the JIRA issues O2-1029, O2-1044.