Skip to content

Tests / Change detection fails consistently for 3.14 branch #134031

Duplicate of#133410
@sobolevn

Description

@sobolevn

Bug report

Link: https://github.com/python/cpython/actions/runs/15038350621/job/42264238017

Run python Tools/build/compute-changes.py
##[debug]/usr/bin/bash -e /home/runner/work/_temp/b54cd67a-b3c1-4f7c-ae74-c2e1fd097e3c.sh
fatal: bad revision 'origin/main...f2a4b1066be66574a147bc353efc91a6dc65753d'
target ref: 'main'
head ref: 'f2a4b1066be66574a147bc353efc91a6dc65753d'
git diff --name-only origin/main...f2a4b1066be66574a147bc353efc91a6dc65753d --
Traceback (most recent call last):
  File "/home/runner/work/cpython/Tools/build/compute-changes.py", line 206, in <module>
    compute_changes()
    ~~~~~~~~~~~~~~~^^
  File "/home/runner/work/cpython/Tools/build/compute-changes.py", line 62, in compute_changes
    files = get_changed_files(target_branch, head_ref)
  File "/home/runner/work/cpython/Tools/build/compute-changes.py", line 107, in get_changed_files
    changed_files_result = subprocess.run(
        args, stdout=subprocess.PIPE, check=True, encoding="utf-8"
    )
  File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('git', 'diff', '--name-only', 'origin/main...f2a4b1066be66574a147bc353efc91a6dc65753d', '--')' returned non-zero exit status 128.

See other commits in the same branch: https://github.com/python/cpython/commits/3.14/

It is failing since 7504fe6

CC @hugovk @AA-Turner

Activity

added
type-bugAn unexpected behavior, bug, or error
buildThe build process and cross-build
3.14bugs and security fixes
on May 15, 2025
hugovk

hugovk commented on May 15, 2025

@hugovk
Member

I already have a PR to fix this: #133671

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.14bugs and security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    `Tests / Change detection` fails consistently for `3.14` branch · Issue #134031 · python/cpython

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant