build-tools: can't build tools Docker file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Davlet Panech |
Bug Description
Brief Description
-----------------
Dockerfile in starlingx/tools fails to build, causing daily builds on CENGN to fail.
Severity
--------
Critical
Steps to Reproduce
------------------
Try to build Docker file in starlingx/tools.
Expected Behavior
------------------
Build succeeds
Actual Behavior
----------------
Build fails
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2022-06-13
Last Pass
---------
master/2022-06-08
Timestamp/Logs
--------------
19:04:00 + docker build --build-arg MYUID=18876 --build-arg MYUNAME=jenkins --ulimit core=0 --network host --tag jenkins:
[...]
19:04:00 Step 27/54 : COPY toCOPY/
19:04:00 ---> Using cache
19:04:00 ---> dfba8e678e71
19:04:00 Step 28/54 : RUN pip install -c /home/$
19:04:00 ---> Running in 8c5d28ea68f0
19:04:01 Collecting git-review==1.28.0 (from -c /home/jenkins/
19:04:01 Downloading https:/
19:04:01 Collecting pbr==5.6.0 (from -c /home/jenkins/
19:04:01 Downloading https:/
19:04:01 Collecting python-
19:04:02 Downloading https:/
19:04:02 Collecting junitxml==0.7 (from -c /home/jenkins/
19:04:02 Downloading https:/
19:04:02 Collecting testtools==2.4.0 (from -c /home/jenkins/
19:04:02 Downloading https:/
19:04:02 Collecting testrepository=
19:04:02 Downloading https:/
19:04:02 Collecting fixtures==3.0.0 (from -c /home/jenkins/
19:04:03 Downloading https:/
19:04:03 Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/
19:04:03 Collecting requests>=1.1 (from git-review=
19:04:03 Downloading https:/
19:04:03 Complete output from command python setup.py egg_info:
19:04:03
19:04:03 =======
19:04:03 Unsupported Python version
19:04:03 =======
19:04:03 This version of Requests requires at least Python 3.7, but
19:04:03 you're trying to install it on Python 2.7. To resolve this,
19:04:03 consider upgrading to a supported Python version.
19:04:03
19:04:03 If you can't upgrade your Python version, you'll need to
19:04:03 pin to an older version of Requests (<2.28).
19:04:03
19:04:03 -------
19:04:03 [91mCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-
Test Activity
-------------
N/A
Workaround
----------
None
tags: | added: stx.7.0 stx.build stx.tools |
Changed in starlingx: | |
importance: | Undecided → High |
assignee: | nobody → Davlet Panech (dpanech) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /tools/ +/845590
Review: https:/