Project

General

Profile

Actions

Bug #57230

open

pacific: Could NOT find Python3

Added by Laura Flores over 1 year ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Affects API and make check tests on Pacific PRs.

https://jenkins.ceph.com/job/ceph-api/43117/
https://jenkins.ceph.com/job/ceph-pull-requests/102097/

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
  Development) (found suitable exact version "3.8.10")
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindPython/Support.cmake:1181 (find_package_handle_standard_args)
  cmake/modules/FindPython3.cmake:181 (include)
  CMakeLists.txt:477 (find_package)

Both checks involve braggi14.


Related issues 2 (1 open1 closed)

Copied to Ceph - Backport #57463: quincy: pacific: Could NOT find Python3In ProgressCory SnyderActions
Copied to Ceph - Backport #57464: pacific: pacific: Could NOT find Python3ResolvedActions
Actions #1

Updated by Laura Flores over 1 year ago

Seems to be happening on an Ubuntu (Jammy Jellyfish) node:

source /etc/os-release
++ PRETTY_NAME='Ubuntu 22.04.1 LTS'
++ NAME=Ubuntu
++ VERSION_ID=22.04
++ VERSION='22.04.1 LTS (Jammy Jellyfish)'
++ VERSION_CODENAME=jammy
++ ID=ubuntu
++ ID_LIKE=debian
++ HOME_URL=https://www.ubuntu.com/
++ SUPPORT_URL=https://help.ubuntu.com/
++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
++ UBUNTU_CODENAME=jammy

In that case, I think we should be referencing python 3.10.4. But here, we're detecting python 3.8.10.

Should be:

Found Python: /usr/bin/python3.10 (found version "3.10.4") found components: Interpreter

Actions #2

Updated by Laura Flores over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 47741

Proposing a solution.

Actions #3

Updated by Laura Flores over 1 year ago

  • Backport set to quincy,pacific

I think it would make sense to enforce this on all branches. That said, I am only really seeing this on braggi14 (https://jenkins.ceph.com/computer/172.21.2.14%2Bbraggi14/builds), Pacific PRs.

Actions #4

Updated by Laura Flores over 1 year ago

  • Has duplicate Bug #57229: pacific: ImportError: cannot import name 'sysconfig' from 'distutils' added
Actions #5

Updated by Laura Flores over 1 year ago

  • Has duplicate deleted (Bug #57229: pacific: ImportError: cannot import name 'sysconfig' from 'distutils')
Actions #6

Updated by Laura Flores over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Backport Bot over 1 year ago

Actions #8

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57464: pacific: pacific: Could NOT find Python3 added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF