Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate lsb_release #688

Closed
2 of 5 tasks
mnboos opened this issue Jun 22, 2023 · 13 comments
Closed
2 of 5 tasks

Unable to locate lsb_release #688

mnboos opened this issue Jun 22, 2023 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@mnboos
Copy link

mnboos commented Jun 22, 2023

Description:
The job fails with the following error:

Unable to locate executable file: lsb_release. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Action version:
4

Platform:

  • Ubuntu 20.04
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
3.10

Repro steps:
The following workflow:

name: Tests

on:
  push:
    branches: [main, "feature/**", "fix/**"]
  pull_request:
    branches: [main, "feature/**", "fix/**"]

jobs:
  test-backend:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python 3.10
        uses: https://github.com/actions/setup-python@v4
        with:
          python-version: "3.10"
          token: ${{ secrets.GH_TOKEN }}

Expected behavior:
Should workflow should complete successfully.

Actual behavior:

[Tests/test-backend]   💬  ::debug::Python is expected to be installed into /opt/hostedtoolcache
| ::debug::Python is expected to be installed into /opt/hostedtoolcache
[Tests/test-backend]   ❓  ::group::Installed versions
| ::group::Installed versions
[Tests/test-backend]   💬  ::debug::Semantic version spec of 3.10 is 3.10
| ::debug::Semantic version spec of 3.10 is 3.10
[Tests/test-backend]   💬  ::debug::isExplicit:
| ::debug::isExplicit:
[Tests/test-backend]   💬  ::debug::explicit? false
| ::debug::explicit? false
[Tests/test-backend]   💬  ::debug::evaluating 0 versions
| ::debug::evaluating 0 versions
[Tests/test-backend]   💬  ::debug::match not found
| ::debug::match not found
| Version 3.10 was not found in the local cache
[Tests/test-backend]   💬  ::debug::Getting manifest from actions/python-versions@main
| ::debug::Getting manifest from actions/python-versions@main
[Tests/test-backend]   💬  ::debug::set auth
| ::debug::set auth
[Tests/test-backend]   💬  ::debug::check 3.12.0-beta.3 satisfies 3.10
| ::debug::check 3.12.0-beta.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-beta.2 satisfies 3.10
| ::debug::check 3.12.0-beta.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-beta.1 satisfies 3.10
| ::debug::check 3.12.0-beta.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.7 satisfies 3.10
| ::debug::check 3.12.0-alpha.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.6 satisfies 3.10
| ::debug::check 3.12.0-alpha.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.5 satisfies 3.10
| ::debug::check 3.12.0-alpha.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.4 satisfies 3.10
| ::debug::check 3.12.0-alpha.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.3 satisfies 3.10
| ::debug::check 3.12.0-alpha.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.2 satisfies 3.10
| ::debug::check 3.12.0-alpha.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.12.0-alpha.1 satisfies 3.10
| ::debug::check 3.12.0-alpha.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.4 satisfies 3.10
| ::debug::check 3.11.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.3 satisfies 3.10
| ::debug::check 3.11.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.2 satisfies 3.10
| ::debug::check 3.11.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.1 satisfies 3.10
| ::debug::check 3.11.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0 satisfies 3.10
| ::debug::check 3.11.0 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-rc.2 satisfies 3.10
| ::debug::check 3.11.0-rc.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-rc.1 satisfies 3.10
| ::debug::check 3.11.0-rc.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-beta.5 satisfies 3.10
| ::debug::check 3.11.0-beta.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-beta.4 satisfies 3.10
| ::debug::check 3.11.0-beta.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-beta.3 satisfies 3.10
| ::debug::check 3.11.0-beta.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-beta.2 satisfies 3.10
| ::debug::check 3.11.0-beta.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-beta.1 satisfies 3.10
| ::debug::check 3.11.0-beta.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.7 satisfies 3.10
| ::debug::check 3.11.0-alpha.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.6 satisfies 3.10
| ::debug::check 3.11.0-alpha.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.5 satisfies 3.10
| ::debug::check 3.11.0-alpha.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.4 satisfies 3.10
| ::debug::check 3.11.0-alpha.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.3 satisfies 3.10
| ::debug::check 3.11.0-alpha.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.2 satisfies 3.10
| ::debug::check 3.11.0-alpha.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.11.0-alpha.1 satisfies 3.10
| ::debug::check 3.11.0-alpha.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.12 satisfies 3.10
| ::debug::check 3.10.12 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::check 3.10.11 satisfies 3.10
| ::debug::check 3.10.11 satisfies 3.10
[Tests/test-backend]   💬  ::debug::arm64===x64 && darwin===linux
| ::debug::arm64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.10 satisfies 3.10
| ::debug::check 3.10.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.9 satisfies 3.10
| ::debug::check 3.10.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.8 satisfies 3.10
| ::debug::check 3.10.8 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.7 satisfies 3.10
| ::debug::check 3.10.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.6 satisfies 3.10
| ::debug::check 3.10.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.5 satisfies 3.10
| ::debug::check 3.10.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.4 satisfies 3.10
| ::debug::check 3.10.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.3 satisfies 3.10
| ::debug::check 3.10.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.2 satisfies 3.10
| ::debug::check 3.10.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.1 satisfies 3.10
| ::debug::check 3.10.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.0 satisfies 3.10
| ::debug::check 3.10.0 satisfies 3.10
[Tests/test-backend]   💬  ::debug::x64===x64 && darwin===linux
| ::debug::x64===x64 && darwin===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && linux===linux
| ::debug::x64===x64 && linux===linux
[Tests/test-backend]   💬  ::debug::x64===x64 && win32===linux
| ::debug::x64===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::x86===x64 && win32===linux
| ::debug::x86===x64 && win32===linux
[Tests/test-backend]   💬  ::debug::check 3.10.0-rc.2 satisfies 3.10
| ::debug::check 3.10.0-rc.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-rc.1 satisfies 3.10
| ::debug::check 3.10.0-rc.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-beta.4 satisfies 3.10
| ::debug::check 3.10.0-beta.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-beta.3 satisfies 3.10
| ::debug::check 3.10.0-beta.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-beta.2 satisfies 3.10
| ::debug::check 3.10.0-beta.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-beta.1 satisfies 3.10
| ::debug::check 3.10.0-beta.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.7 satisfies 3.10
| ::debug::check 3.10.0-alpha.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.6 satisfies 3.10
| ::debug::check 3.10.0-alpha.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.5 satisfies 3.10
| ::debug::check 3.10.0-alpha.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.4 satisfies 3.10
| ::debug::check 3.10.0-alpha.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.3 satisfies 3.10
| ::debug::check 3.10.0-alpha.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.2 satisfies 3.10
| ::debug::check 3.10.0-alpha.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.10.0-alpha.1 satisfies 3.10
| ::debug::check 3.10.0-alpha.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.17 satisfies 3.10
| ::debug::check 3.9.17 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.16 satisfies 3.10
| ::debug::check 3.9.16 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.15 satisfies 3.10
| ::debug::check 3.9.15 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.14 satisfies 3.10
| ::debug::check 3.9.14 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.13 satisfies 3.10
| ::debug::check 3.9.13 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.12 satisfies 3.10
| ::debug::check 3.9.12 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.11 satisfies 3.10
| ::debug::check 3.9.11 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.10 satisfies 3.10
| ::debug::check 3.9.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.9 satisfies 3.10
| ::debug::check 3.9.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.8 satisfies 3.10
| ::debug::check 3.9.8 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.7 satisfies 3.10
| ::debug::check 3.9.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.6 satisfies 3.10
| ::debug::check 3.9.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.5 satisfies 3.10
| ::debug::check 3.9.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.4 satisfies 3.10
| ::debug::check 3.9.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.3 satisfies 3.10
| ::debug::check 3.9.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.2 satisfies 3.10
| ::debug::check 3.9.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.2-rc.1 satisfies 3.10
| ::debug::check 3.9.2-rc.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.1 satisfies 3.10
| ::debug::check 3.9.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.1-rc.1 satisfies 3.10
| ::debug::check 3.9.1-rc.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.0 satisfies 3.10
| ::debug::check 3.9.0 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.0-rc.2 satisfies 3.10
| ::debug::check 3.9.0-rc.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.0-rc.1 satisfies 3.10
| ::debug::check 3.9.0-rc.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.0-beta.5 satisfies 3.10
| ::debug::check 3.9.0-beta.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.9.0-beta.4 satisfies 3.10
| ::debug::check 3.9.0-beta.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.17 satisfies 3.10
| ::debug::check 3.8.17 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.16 satisfies 3.10
| ::debug::check 3.8.16 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.15 satisfies 3.10
| ::debug::check 3.8.15 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.14 satisfies 3.10
| ::debug::check 3.8.14 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.13 satisfies 3.10
| ::debug::check 3.8.13 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.12 satisfies 3.10
| ::debug::check 3.8.12 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.11 satisfies 3.10
| ::debug::check 3.8.11 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.10 satisfies 3.10
| ::debug::check 3.8.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.9 satisfies 3.10
| ::debug::check 3.8.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.8 satisfies 3.10
| ::debug::check 3.8.8 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.7 satisfies 3.10
| ::debug::check 3.8.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.6 satisfies 3.10
| ::debug::check 3.8.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.5 satisfies 3.10
| ::debug::check 3.8.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.4 satisfies 3.10
| ::debug::check 3.8.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.3 satisfies 3.10
| ::debug::check 3.8.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.2 satisfies 3.10
| ::debug::check 3.8.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.1 satisfies 3.10
| ::debug::check 3.8.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.8.0 satisfies 3.10
| ::debug::check 3.8.0 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.17 satisfies 3.10
| ::debug::check 3.7.17 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.16 satisfies 3.10
| ::debug::check 3.7.16 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.15 satisfies 3.10
| ::debug::check 3.7.15 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.14 satisfies 3.10
| ::debug::check 3.7.14 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.13 satisfies 3.10
| ::debug::check 3.7.13 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.12 satisfies 3.10
| ::debug::check 3.7.12 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.11 satisfies 3.10
| ::debug::check 3.7.11 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.10 satisfies 3.10
| ::debug::check 3.7.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.9 satisfies 3.10
| ::debug::check 3.7.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.8 satisfies 3.10
| ::debug::check 3.7.8 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.7 satisfies 3.10
| ::debug::check 3.7.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.6 satisfies 3.10
| ::debug::check 3.7.6 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.5 satisfies 3.10
| ::debug::check 3.7.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.4 satisfies 3.10
| ::debug::check 3.7.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.3 satisfies 3.10
| ::debug::check 3.7.3 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.2 satisfies 3.10
| ::debug::check 3.7.2 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.7.1 satisfies 3.10
| ::debug::check 3.7.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.15 satisfies 3.10
| ::debug::check 3.6.15 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.14 satisfies 3.10
| ::debug::check 3.6.14 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.13 satisfies 3.10
| ::debug::check 3.6.13 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.12 satisfies 3.10
| ::debug::check 3.6.12 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.11 satisfies 3.10
| ::debug::check 3.6.11 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.10 satisfies 3.10
| ::debug::check 3.6.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.9 satisfies 3.10
| ::debug::check 3.6.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.8 satisfies 3.10
| ::debug::check 3.6.8 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.6.7 satisfies 3.10
| ::debug::check 3.6.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.5.10 satisfies 3.10
| ::debug::check 3.5.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.5.9 satisfies 3.10
| ::debug::check 3.5.9 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.5.4 satisfies 3.10
| ::debug::check 3.5.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.4.10 satisfies 3.10
| ::debug::check 3.4.10 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.4.4 satisfies 3.10
| ::debug::check 3.4.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.3.7 satisfies 3.10
| ::debug::check 3.3.7 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.3.5 satisfies 3.10
| ::debug::check 3.3.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.2.5 satisfies 3.10
| ::debug::check 3.2.5 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.1.4 satisfies 3.10
| ::debug::check 3.1.4 satisfies 3.10
[Tests/test-backend]   💬  ::debug::check 3.0.1 satisfies 3.10
| ::debug::check 3.0.1 satisfies 3.10
[Tests/test-backend]   💬  ::debug::Unable to locate executable file: lsb_release. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
| ::debug::Unable to locate executable file: lsb_release. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
[Tests/test-backend]   ❗  ::error::The version '3.10' with architecture 'x64' was not found for this operating system.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
| ::error::The version '3.10' with architecture 'x64' was not found for this operating system.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
[Tests/test-backend]   ❌  Failure - Main Set up Python 3.10
[Tests/test-backend] exitcode '1': failure
@mnboos mnboos added bug Something isn't working needs triage labels Jun 22, 2023
@dmitry-shibanov
Copy link
Contributor

Hello @mnboos. Thank you for your report. Could you please provide a public repository to reproduce the issue?

@mnboos
Copy link
Author

mnboos commented Jun 22, 2023

Hello @dmitry-shibanov

Unfortunately not right now. We internally self-host Gitea and none of the infrastructure is publicly available. However, I can provide you with all the necessary information, if this helps.

@dmitry-shibanov
Copy link
Contributor

Thank you for your response @mnboos. Do you use cache ? Could you please run this command: apt-get update && apt-get install -y lsb-release

@mnboos
Copy link
Author

mnboos commented Jun 23, 2023

Do you use cache?

I don't think so, my runners config file is the following, I just changed the log level to debug and tried to disable the cache:

cat config.yml
# Example configuration file, it's safe to copy this as the default config file without any modification.

log:
  # The level of logging, can be trace, debug, info, warn, error, fatal
  level: debug

runner:
  # Where to store the registration result.
  file: .runner
  # Execute how many tasks concurrently at the same time.
  capacity: 1
  # Extra environment variables to run jobs.
  envs:
    A_TEST_ENV_NAME_1: a_test_env_value_1
    A_TEST_ENV_NAME_2: a_test_env_value_2
  # Extra environment variables to run jobs from a file.
  # It will be ignored if it's empty or the file doesn't exist.
  env_file: .env
  # The timeout for a job to be finished.
  # Please note that the Gitea instance also has a timeout (3h by default) for the job.
  # So the job could be stopped by the Gitea instance if it's timeout is shorter than this.
  timeout: 3h
  # Whether skip verifying the TLS certificate of the Gitea instance.
  insecure: false
  # The timeout for fetching the job from the Gitea instance.
  fetch_timeout: 5s
  # The interval for fetching the job from the Gitea instance.
  fetch_interval: 2s
  # The labels of a runner are used to determine which jobs the runner can run, and how to run them.
  # Like: ["macos-arm64:host", "ubuntu-latest:docker://node:16-bullseye", "ubuntu-22.04:docker://node:16-bullseye"]
  # If it's empty when registering, it will ask for inputting labels.
  # If it's empty when execute `deamon`, will use labels in `.runner` file.
  labels: []

cache:
  # Enable cache server to use actions/cache.
  enabled: false
  # The directory to store the cache data.
  # If it's empty, the cache data will be stored in $HOME/.cache/actcache.
  dir: ""
  # The host of the cache server.
  # It's not for the address to listen, but the address to connect from job containers.
  # So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
  host: ""
  # The port of the cache server.
  # 0 means to use a random available port.
  port: 0

container:
  # Specifies the network to which the container will connect.
  # Could be host, bridge or the name of a custom network.
  # If it's empty, act_runner will create a network automatically.
  network: ""
  # Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
  privileged: false
  # And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
  options:
  # The parent directory of a job's working directory.
  # If it's empty, /workspace will be used.
  workdir_parent:

lsb-release is already installed:

$ sudo apt-get update && sudo apt-get install -y lsb-release
Hit:1 http://ch.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ch.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ch.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://ch.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsb-release is already the newest version (11.1.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

$ lsb_release -a
LSB Version:    core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

@dmitry-shibanov
Copy link
Contributor

Hello @mnboos. Do you use docker image ? Could you please try to reinstall lsb-release and add it to the PATH ? Besides, does the setup-python action fail and during python execution ?

@mnboos
Copy link
Author

mnboos commented Jun 26, 2023

Do you use docker image

No, it's just an Ubuntu VM.

Could you please try to reinstall lsb-release

Sure:

$ sudo apt-get reinstall lsb-release
[sudo] password for adminmbo20:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 10.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ch.archive.ubuntu.com/ubuntu focal/main amd64 lsb-release all 11.1.0ubuntu2 [10.6 kB]
Fetched 10.6 kB in 0s (165 kB/s)
(Reading database ... 131871 files and directories currently installed.)
Preparing to unpack .../lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) over (11.1.0ubuntu2) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...

and add it to the PATH

It already is:

$ which lsb_release
/usr/bin/lsb_release
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Besides, does the setup-python action fail and during python execution ?

setup-python fails. It does not come to execution of python.

image

@dmitry-shibanov
Copy link
Contributor

Hello @mnboos. Thank you for your response. Could you please try to use the approach from this comment ? If it does not work could you please try to use this snippet to check that python works in your self-hosted runner.

      - name: Download python 3.10
        run: |
          wget https://github.com/actions/python-versions/releases/download/3.10.12-5200619051/python-3.10.12-linux-20.04-x64.tar.gz -O ${{ runner.temp }}/python-3.10.12-linux-20.04-x64.tar.gz
          mkdir ${{ runner.temp }}/python-3.10.12-linux-20.04-x64
          tar -xzvf ${{ runner.temp }}/python-3.10.12-linux-20.04-x64.tar.gz -C ${{ runner.temp }}/python-3.10.12-linux-20.04-x64

      - name: Run script
        run: |
          echo "run script"
          bash setup.sh
        working-directory: ${{ runner.temp }}/python-3.10.12-linux-20.04-x64
      - run: echo "/opt/hostedtoolcache/Python/3.10.12/x64/" >> $GITHUB_PATH
      - run: python --version

@mnboos
Copy link
Author

mnboos commented Jun 26, 2023

Hi @dmitry-shibanov Thanks for your support.

I had to make a slight adjustment, i.e. adding export LD_LIBRARY_PATH=/tmp/python-3.10.12-linux-20.04-x64/lib, after which your steps worked:

      - name: Run script
        run: |
          echo "run script"
          export LD_LIBRARY_PATH=/tmp/python-3.10.12-linux-20.04-x64/lib
          bash setup.sh
        working-directory: ${{ runner.temp }}/python-3.10.12-linux-20.04-x64

Now also this step works:

      - name: Set up Python 3.10
        uses: https://github.com/actions/setup-python@v4
        with:
          python-version: "3.10"
          token: ${{ secrets.GH_TOKEN }}
          cache: "poetry"

@dmitry-shibanov
Copy link
Contributor

Hello @mnboos. For now I'm going to close the issue because we could not reproduce it. If you have any concerns feel free ping us.

@adamgranthendry
Copy link

@dmitry-shibanov This is still happening. I am using the ubuntu-22.04 GitHub Actions VM.

@dmitry-shibanov
Copy link
Contributor

Hello @adamgranthendry. Do you use self-hosted agent ? Do you use cache input ? What permissions do you have for lsb-release?

@adam-grant-hendry
Copy link

Hello @adamgranthendry. Do you use self-hosted agent ? Do you use cache input ? What permissions do you have for lsb-release?

  1. ubuntu-22.04 (the GitHub provided VM)
  2. No self-hosted agent
  3. No cache input
  4. Not sure (whatever the default permissions are in the GitHub VM)

@adam-grant-hendry
Copy link

@dmitry-shibanov Correction: this appears fixed with v4 (at least on my end).

The error remains when using necktos/act (see Issue #1856). That issue can be tracked there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants