Update ohai gem to 18.1.3
What does this MR do and why?
Update the ohai gem to 3.1.3 to support ruby 3.1.
Related
Closes #424131 (closed)
How to set up and validate locally
-
Green pipeline.
-
Install omnibus package.
-
Verify ohai version is installed:
/opt/gitlab/embedded/bin/gem list ohai *** LOCAL GEMS *** ohai (18.1.3, 17.9.0)
-
Check version in rails:
sudo gitlab-rails console irb(main):001:0> Gem.loaded_specs["ohai"] . . . s.name = "ohai" s.version = Gem::Version.new("18.1.3") . . .
-
Verify operating system returned by ohai:
sudo gitlab-rake gitlab:usage_data:generate | grep operating_system "operating_system": "ubuntu-22.04",
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Merge request reports
Activity
assigned to @apatterson2
added groupdistribution label
added devopssystems label
changed milestone to %16.6
- Resolved by Gary Holtz
1 Warning This Merge Request needs to be labelled with backend. Please request a reviewer or maintainer to add them. 1 Message CHANGELOG missing: If this merge request needs a changelog entry, add the
Changelog
trailer to the commit message you want to add to the changelog.If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.
Reviewer roulette
Changes that require review have been detected!
Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:
Category Reviewer Maintainer backend @hraghuvanshi
(UTC+5.5, 11.5 hours ahead of author)
@vyaklushin
(UTC+1, 7 hours ahead of author)
Please check reviewer's status!
Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.
Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.
Rubygems
This merge request adds, or changes a Rubygems dependency. Please review the Gemfile guidelines.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by Ghost User- Resolved by Andrew Patterson
@apatterson2 - please see the following guidance and update this merge request.1 Error Please add typebug typefeature, or typemaintenance label to this merge request.
added typemaintenance label
- Resolved by Kevin Morrison
This MR has changed Gemfile.checksum. GitLab team members should review the following dependency SAST scans:- chef-config-18.3.0-ruby-c183a2ff
- chef-utils-18.3.0-ruby-827f7aac
- libyajl2-2.1.0-ruby-aa5df6c7
- mixlib-config-3.0.27-ruby-d7748b18
- mixlib-shellout-3.2.7-ruby-46f6d1f9
- mixlib-shellout-3.2.7-universal-mingw32-4d7bea07
- mixlib-shellout-3.2.7-x64-mingw-ucrt-de01743f
- net-scp-4.0.0-ruby-b32ded0d
- net-ssh-7.2.0-ruby-2a28f177
- ohai-18.1.3-ruby-980cfd6a
- plist-3.7.0-ruby-703ca90a
- train-core-3.10.8-ruby-8493da02
- wmi-lite-1.0.7-ruby-116ef5bb
If there appear to be any true-positive vulnerabilities identified, the report is misconfigured, or if you have questions, mention
@gitlab-com/gl-security/appsec
. If everything seems fine, react to this comment with a .Please also review the Gemfile development AppSec guidelines. Thank you for keeping GitLab secure!
Generated by depSASTer. Open an issue to provide feedback.
added 31 commits
-
d9a90d4d...5c6968f8 - 30 commits from branch
master
- 736e4f24 - Update ohai gem to 3.1.3
-
d9a90d4d...5c6968f8 - 30 commits from branch
Allure report
allure-report-publisher
generated test report!e2e-test-on-gdk:
test report for 736e4f24expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Verify | 32 | 0 | 0 | 1 | 32 | ❗ | | Govern | 48 | 0 | 0 | 0 | 48 | ✅ | | Plan | 55 | 0 | 0 | 0 | 55 | ✅ | | Create | 40 | 0 | 6 | 0 | 46 | ✅ | | Data Stores | 22 | 0 | 0 | 0 | 22 | ✅ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | | Monitor | 4 | 0 | 0 | 0 | 4 | ✅ | | Manage | 0 | 0 | 1 | 0 | 1 | ➖ | | Framework sanity | 0 | 0 | 1 | 0 | 1 | ➖ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 201 | 0 | 9 | 1 | 210 | ❗ | +------------------+--------+--------+---------+-------+-------+--------+
e2e-package-and-test:
test report for 736e4f24expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Create | 539 | 0 | 101 | 0 | 640 | ✅ | | Verify | 155 | 1 | 9 | 0 | 165 | ❌ | | Plan | 249 | 0 | 10 | 0 | 259 | ✅ | | Manage | 40 | 0 | 10 | 1 | 50 | ❗ | | Govern | 303 | 0 | 12 | 3 | 315 | ❗ | | Fulfillment | 8 | 0 | 69 | 0 | 77 | ✅ | | Data Stores | 117 | 0 | 3 | 0 | 120 | ✅ | | Systems | 8 | 0 | 0 | 0 | 8 | ✅ | | GitLab Metrics | 2 | 0 | 1 | 1 | 3 | ❗ | | Package | 226 | 0 | 17 | 3 | 243 | ❗ | | Analytics | 7 | 0 | 0 | 0 | 7 | ✅ | | Release | 15 | 0 | 3 | 0 | 18 | ✅ | | Secure | 6 | 0 | 3 | 0 | 9 | ✅ | | ModelOps | 0 | 0 | 6 | 0 | 6 | ➖ | | Configure | 1 | 0 | 9 | 0 | 10 | ✅ | | Monitor | 39 | 0 | 7 | 0 | 46 | ✅ | | Growth | 0 | 0 | 6 | 0 | 6 | ➖ | | Framework sanity | 0 | 0 | 5 | 0 | 5 | ➖ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 1715 | 1 | 271 | 8 | 1987 | ❌ | +------------------+--------+--------+---------+-------+-------+--------+
Edited by Ghost Usermarked the checklist item I have evaluated the MR acceptance checklist for this MR. as completed
Green pipeline at https://gitlab.com/gitlab-org/gitlab/-/pipelines/1057918580.
requested review from @sdungarwal
added workflowready for review label
added pipeline:mr-approved label