Skip to content

fix: build x86_64 linux binary on glibc 2.31#738

Merged
thomasrockhu-codecov merged 1 commit into
mainfrom
th/fix-linux-glibc-x86_64
Jul 9, 2026
Merged

fix: build x86_64 linux binary on glibc 2.31#738
thomasrockhu-codecov merged 1 commit into
mainfrom
th/fix-linux-glibc-x86_64

Conversation

@thomasrockhu-codecov

Copy link
Copy Markdown
Contributor

Build codecovcli_linux in the ubuntu:20.04 Docker container (glibc 2.31) instead of on the ubuntu-22.04 runner (glibc 2.35). PR #725 dropped the Dockerized x86_64 build, causing the binary to require glibc 2.35 and break on older distros such as AL2023 (glibc 2.34).

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
723 1 722 1
View the full list of 1 ❄️ flaky test(s)
api.temp.calculator.test_calculator::test_divide

Flake rate in main: 100.00% (Passed 0 times, Failed 1265 times)

Stack Traces | 0.001s run time
def
                test_divide():
                > assert Calculator.divide(1, 2) == 0.5
                E assert 1.0 == 0.5
                E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
                E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
                .../temp/calculator/test_calculator.py:30: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@thomasrockhu-codecov thomasrockhu-codecov force-pushed the th/fix-linux-glibc-x86_64 branch from 951ce0c to 515f936 Compare July 9, 2026 00:21
PR #725 dropped the Dockerized ubuntu:20.04 x86_64 build and started
building codecovcli_linux on the ubuntu-22.04 runner (glibc 2.35),
breaking the binary on older distros such as AL2023 (glibc 2.34).

Restore the ubuntu:20.04 x86_64 build in the Dockerized job following the
pre-#725 pattern (wildcard codecovcli_* path, glibc compatibility notes),
and use file_glob so build_linux.sh's renamed output is published as the
canonical codecovcli_linux asset.
@thomasrockhu-codecov thomasrockhu-codecov force-pushed the th/fix-linux-glibc-x86_64 branch from 515f936 to e2009e1 Compare July 9, 2026 00:27
@thomasrockhu-codecov thomasrockhu-codecov merged commit 8f89dbe into main Jul 9, 2026
22 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the th/fix-linux-glibc-x86_64 branch July 9, 2026 01:32
Comment on lines 115 to +116
name: codecovcli_${{ matrix.distro_name }}_${{ matrix.arch }}
path: ./dist/codecovcli_${{ matrix.distro_name }}_${{ matrix.arch }}
path: ./dist/codecovcli_*

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.

These could be mismatched now making it harder to discern if we were to debug?

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