Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-4462

Fix O-RAN job with failing Python 3.6

Issue XMLXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Global JJB
    • None
    • ORAN

      ORAN raised a ticket (IT-24595):

      RIC sdlpy Jenkins verify-master job failure -- missing python 3.8 interpreter

      Error in job:

      08:27:55 ---> logs-deploy.sh
      08:27:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OOoh
      08:27:58 Cache entry deserialization failed, entry ignored
      08:27:59   Cache entry deserialization failed, entry ignored
      08:27:59   Cache entry deserialization failed, entry ignored
      08:28:00   Cache entry deserialization failed, entry ignored
      08:28:00   Cache entry deserialization failed, entry ignored
      08:28:00   Cache entry deserialization failed, entry ignored
      08:28:02 lf-activate-venv(): INFO: Installing: lftools 
      08:28:23 lf-activate-venv(): INFO: Adding /tmp/venv-OOoh/bin to PATH
      08:28:23 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-sdlpy-pypi-verify-master/52
      08:28:23 INFO: archiving workspace using pattern(s): 
      08:28:25 Archives upload complete.
      08:28:25 /tmp/venv-OOoh/lib64/python3.6/site-packages/requests/__init__.py:104: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
      08:28:25   RequestsDependencyWarning)
      08:28:25 /tmp/venv-OOoh/lib64/python3.6/site-packages/jwt/utils.py:7: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
      08:28:25   from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
      08:28:25 INFO: archiving logs to Nexus

      Looks like the script here needs to be modified to request Python 3.8 specifically:

      Script with error: oran/ci-management/global-jjb/shell/logs-deploy.sh

              modesevenindustrialsolutions Matthew Watkins
              modesevenindustrialsolutions Matthew Watkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: