Skip to content

[None][infra] Always install latest openssl, libssl3t64 - #17096

Merged
yuanjingx87 merged 2 commits into
NVIDIA:mainfrom
yuanjingx87:user/yuanjingx/not_pin_openssl_version
Aug 1, 2026
Merged

[None][infra] Always install latest openssl, libssl3t64#17096
yuanjingx87 merged 2 commits into
NVIDIA:mainfrom
yuanjingx87:user/yuanjingx/not_pin_openssl_version

Conversation

@yuanjingx87

@yuanjingx87 yuanjingx87 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

  • The current file still uses apt-get install with unversioned libssl3t64 and openssl packages.
  • The reported apt-get satisfy minimum-version change is not present in the verified file output.
  • Review the patch to confirm that it installs the latest package versions as intended.

QA Engineer Review

No test changes.

Description

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com>
@yuanjingx87
yuanjingx87 requested review from a team as code owners July 31, 2026 02:40
@yuanjingx87
yuanjingx87 requested a review from niukuo July 31, 2026 02:40
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 349d9d72-dce5-4b3f-a980-6d2aa5cf9695

📥 Commits

Reviewing files that changed from the base of the PR and between 8f9194d and 5e4912b.

📒 Files selected for processing (1)
  • docker/common/install_base.sh
🚧 Files skipped from review as they are similar to previous changes (1)
  • docker/common/install_base.sh

Walkthrough

Ubuntu initialization now uses minimum-version constraints for libssl3t64 and openssl instead of exact package versions.

Changes

OpenSSL installation

Layer / File(s) Summary
Minimum OpenSSL package versions
docker/common/install_base.sh
Ubuntu initialization uses apt-get satisfy to install minimum versions of libssl3t64 and openssl.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: emmaqiaoch

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description contains only the template and does not explain the issue, solution, or test coverage. Add a concise issue and solution description, list relevant test coverage, and complete the PR checklist.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title follows the required format and clearly describes the infrastructure change to install the latest OpenSSL packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docker/common/install_base.sh`:
- Around line 99-101: Replace the apt-get satisfy command in the base dependency
installation block with apt-get install requesting libssl3t64 and openssl by
package name, so configured candidates are selected. After installation,
validate that both installed versions meet the minimum 3.0.13-0ubuntu3.11
requirement.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 5504c1a0-83f4-43dd-8a9a-d1e27caaaf79

📥 Commits

Reviewing files that changed from the base of the PR and between 138eb43 and 8f9194d.

📒 Files selected for processing (1)
  • docker/common/install_base.sh

Comment thread docker/common/install_base.sh Outdated
Comment on lines +99 to +101
apt-get satisfy -y --no-install-recommends \
"libssl3t64 (>= 3.0.13-0ubuntu3.11)" \
"openssl (>= 3.0.13-0ubuntu3.11)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

apt-cache policy libssl3t64 openssl
apt-get -s satisfy \
  "libssl3t64 (>= 3.0.13-0ubuntu3.11)" \
  "openssl (>= 3.0.13-0ubuntu3.11)"
apt-get -s install --no-install-recommends libssl3t64 openssl

Repository: NVIDIA/TensorRT-LLM

Length of output: 204


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- file list ---'
git ls-files 'docker/common/install_base.sh' 'docker' | sed -n '1,120p'

printf '%s\n' '--- header and target section ---'
cat -n docker/common/install_base.sh | sed -n '1,125p'

printf '%s\n' '--- changed-file summary ---'
git diff --stat -- docker/common/install_base.sh
git diff -- docker/common/install_base.sh | sed -n '1,180p'

printf '%s\n' '--- related package and base-image references ---'
rg -n --glob '!docker/common/install_base.sh' \
  'apt-get (satisfy|install|upgrade)|libssl3t64|openssl|install_base\.sh|FROM ' \
  docker README.md .github 2>/dev/null | sed -n '1,240p'

Repository: NVIDIA/TensorRT-LLM

Length of output: 7490


🌐 Web query:

apt-get satisfy dependency string installed package already satisfies version constraint apt-get install newest candidate manpage

💡 Result:

The apt-get satisfy command is designed to satisfy arbitrary dependency strings, similar to those found in package Build-Depends fields [1][2]. It is distinct from apt-get install, as it allows for more flexible requirement specifications, including version constraints (e.g., "pkg (>= 1.0)"), OR-dependencies ("pkg1 | pkg2"), and the ability to define conflicts [1][2]. Regarding your specific questions: 1. How apt-get satisfy handles installed packages: If a package required by a dependency string is already installed and meets the constraint (e.g., the string asks for "pkg (>= 1.0)" and version 1.1 is installed), apt-get satisfy will recognize that the requirement is already fulfilled and will not perform unnecessary changes for that specific dependency [2]. If the currently installed version does not meet the constraint, it will attempt to upgrade or install the correct version to satisfy the string [2]. 2. apt-get install and version constraints: The standard apt-get install command does not natively support version constraints like "pkg >= 1.0" in its argument list [3]. To install a specific version, you must provide the exact version string (e.g., apt-get install pkg=1.0) [3]. If you run apt-get install on a package that is already installed, APT will generally upgrade it to the "newest candidate" version available in the configured repositories, provided no dependency conflicts prevent the upgrade [4][5]. In summary, use apt-get satisfy when you need to enforce complex dependency relationships or minimum version requirements that the standard install command cannot parse directly [3][2]. Use apt-get install when you want to ensure the latest version of a specific package is present [4][5].

Citations:


Use apt-get install to request the newest configured candidates.

apt-get satisfy stops when the installed versions meet the lower bounds. It does not request an upgrade from an already-sufficient version. Install libssl3t64 and openssl by name, then check that both versions meet 3.0.13-0ubuntu3.11.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docker/common/install_base.sh` around lines 99 - 101, Replace the apt-get
satisfy command in the base dependency installation block with apt-get install
requesting libssl3t64 and openssl by package name, so configured candidates are
selected. After installation, validate that both installed versions meet the
minimum 3.0.13-0ubuntu3.11 requirement.

Comment thread docker/common/install_base.sh Outdated
Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com>
@yuanjingx87
yuanjingx87 merged commit fdf7bd5 into NVIDIA:main Aug 1, 2026
7 of 9 checks passed
yuanjingx87 added a commit that referenced this pull request Aug 1, 2026
Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com>
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.

2 participants