Skip to content

Failed to install runtime_python_requirements #114924

@carlossanlop

Description

@carlossanlop

The runtime-community CI legs in the 8.0 branch are failing with two errors:

chown: changing ownership of '/home/helixbot/.vsts-env/*': Operation not permitted

and

Failed to install runtime_python_requirements

The second one is what's being captured by the CI system, but seems to be a consequence of the first one.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1017225
Build error leg or test failing: linux-armv6 Release AllSubsets_Mono

Error Message

{
  "ErrorMessage" : "Failed to install runtime_python_requirements",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
+ chown -R helixbot /home/helixbot/.vsts-env
chown: changing ownership of '/home/helixbot/.vsts-env/include/python3.7m': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/include': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/lib/python3.7/orig-prefix.txt': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/lib/python3.7/collections': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/lib/python3.7/site-packages/wheel-0.40.0.dist-info/INSTALLER': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/lib/python3.7/site-packages/wheel-0.40.0.dist-info/entry_points.txt': Operation not permitted
chown: changing ownership of '/home/helixbot/.vsts-env/lib/python3.7/site-packages/wheel-0.40.0.dist-info/METADATA': Operation not permitted
...
...
...
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      
      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/
      
      Checking for Rust toolchain....
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Failed to install runtime_python_requirements
+ echo Failed to install runtime_python_requirements
+ exit 1

[END EXECUTION]
Exit Code:1

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1017225
Error message validated: [Failed to install runtime_python_requirements]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/22/2025 7:12:44 PM UTC

Report

Build Definition Test Pull Request
1221895 dotnet/runtime System.IO.Compression.ZipFile.Tests.WorkItemExecution
1221489 dotnet/runtime System.Reflection.InvokeEmit.Tests.WorkItemExecution
1220597 dotnet/runtime System.Formats.Tar.Manual.Tests.WorkItemExecution
1220518 dotnet/runtime System.IO.MemoryMappedFiles.Tests.WorkItemExecution
1213694 dotnet/runtime System.IO.Ports.Tests.WorkItemExecution
1213691 dotnet/runtime System.Net.Http.Enterprise.Tests.WorkItemExecution
1213647 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
1213633 dotnet/runtime System.Globalization.Tests.WorkItemExecution
1213603 dotnet/runtime System.IO.FileSystem.Primitives.Tests.WorkItemExecution
1205994 dotnet/runtime System.Diagnostics.TextWriterTraceListener.Tests.WorkItemExecution
1203813 dotnet/runtime System.IO.FileSystem.Manual.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions