This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 3b5b8a639a2c [MINOR][INFRA] Use `lsb_release -a` to display the
container os version
3b5b8a639a2c is described below
commit 3b5b8a639a2c8f4a5ba14e16b945bea88ce36d82
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Mon Feb 9 12:33:25 2026 +0800
[MINOR][INFRA] Use `lsb_release -a` to display the container os version
### What changes were proposed in this pull request?
Use `lsb_release -a` to display the container os version
### Why are the changes needed?
`uname -a` always show the host os version
### Does this PR introduce _any_ user-facing change?
no, infra-only
### How was this patch tested?
check in `lint` job which is currently based on ubuntu 22.04.
```
uname -a
lsb_release -a
```
outputs
```
Linux ffe3f795a8eb 6.11.0-1018-azure #18~24.04.1-Ubuntu SMP Sat Jun 28
04:46:03 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
```
https://github.com/zhengruifeng/spark/actions/runs/21808410627/job/62915850607
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #54219 from zhengruifeng/show_container_os.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
.github/workflows/build_and_test.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 8c332d1fae9b..d4d74cfa2751 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -632,7 +632,7 @@ jobs:
env: ${{ fromJSON(inputs.envs) }}
shell: 'script -q -e -c "bash {0}"'
run: |
- uname -a
+ lsb_release -a
for py in $(echo $PYTHON_TO_TEST | tr "," "\n")
do
$py --version
@@ -934,6 +934,7 @@ jobs:
- name: List Python packages
shell: 'script -q -e -c "bash {0}"'
run: |
+ lsb_release -a
if [[ "$BRANCH" == 'branch-3.5' || "$BRANCH" == 'branch-4.0' ]]; then
python3.9 --version
python3.9 -m pip list
@@ -1113,7 +1114,9 @@ jobs:
run: python3.9 -m pip list
- name: List Python packages
if: inputs.branch != 'branch-3.5' && inputs.branch != 'branch-4.0'
- run: python3.11 -m pip list
+ run: |
+ lsb_release -a
+ python3.11 -m pip list
- name: Install dependencies for documentation generation
run: |
# Keep the version of Bundler here in sync with the following
locations:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]