-
Notifications
You must be signed in to change notification settings - Fork 184
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 UTM to 0.11.1 #8375
Update UTM to 0.11.1 #8375
Conversation
A new Pull Request was created by @epalencia (Enrique Palencia Cortezon) for branch IB/CMSSW_13_1_X/master. @cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. |
please test |
@epalencia , do we need cms-sw/cmssw#41036 to test this PR? |
@smuzaffar It seems to be working so far, and if I'm reading the jenkins workflow right, I think it even passed the unit tests it was failing. cms-sw/cmssw#41036 is still a good code cleaning PR, but possibly not necessary for integration of this firmware external. |
yes unit tests passed, so v0.11.1 looks good. |
please test for el8_aarch64_gcc11 |
please test for el8_ppc64le_gcc11 |
@epalencia, @arnobaer, Looks like (hopefully) 11.1 passes unit tests. Looking at the diffs, I'm not positive, but I think this might have been the problem here: https://gitlab.cern.ch/cms-l1t-utm/utm/-/compare/utm_0.11.0...utm_0.11.1?from_project_id=4792&straight=false#5218e3632e92cf74920f5db96dc28add42fda4cc Thank you for your help debugging this @arnobaer. For my elucidation, what exactly did this change do? The objects are no longer referencing the underlying objects, which go out of scope and are destroyed rendering |
@aloeliger the patch fixes a segmentation fault issue when building utm Python bindings in a manylinux2014 (CentOS 7) docker container AND patching the binaries using auditwheel to pack dependent system libraries into the resulting universal binary wheel. When calling Both strings using Row = std::map<std::string, std::string>;
const Row::mapped_type& get(const Row& row, const std::string& key) {
if (not row.count(key)) throw std::runtime_error(key);
return row.at(key);
}
const Row::mapped_type& get(const Row& row, const std::string& key, const Row::mapped_type& optional) {
return row.count(key) ? row.at(key) : optional;
} {
const auto& comment = get(row, "comment", ""); // removing & fixed the issue
tm.setComment(comment); // inside here the segmentation fault occurs
} Note: I was not able to reproduce the segmentation fault by building and linking a test program on Ubunu 18.04 (gcc 7.5), CentOS 7 (gcc 4.8) and MacOS 10.15 (clang 12.0). |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7df4f1/31242/summary.html |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test testFWCoreConcurrency had ERRORS |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7df4f1/31241/summary.html Comparison SummarySummary:
|
@smuzaffar Is this expected? There's not much output from this:
and it doesn't look like something this library broke. |
That test failing occasionally on ppc64le is a known problem (cms-sw/cmssw#32086). |
Then we're good? This UTM firmware is okay to go? |
+externals looks good |
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_13_1_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
An updated utm library (version 0.11.1) is available: https://gitlab.cern.ch/cms-l1t-utm/utm/-/tree/utm_0.11.1/
Follow up of #8352.