thoth-station / s2i-thoth

Thoth's addition to OpenShift's s2i Python builds to benefit from Thoth's recommendations in your application
GNU General Public License v3.0
6 stars 19 forks source link

fedora35-py3.10 build for v0.33.0 has failed the build #242

Closed harshad16 closed 2 years ago

harshad16 commented 2 years ago

fedora35-py3.10 build for v0.33.0 has failed the build with following error message:

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/tmp/tmp.2vBvyYm7DX
curl: (6) getaddrinfo() thread failed to start
curl: (6) getaddrinfo() thread failed to start
harshad16 commented 2 years ago

curl in fedora35 is having issues

https://bugzilla.redhat.com/show_bug.cgi?id=2042582 https://pascalroeleven.nl/2021/09/09/ubuntu-21-10-and-fedora-35-in-docker/

harshad16 commented 2 years ago

@fridex @codificat any suggestion on how should be tackling this?

goern commented 2 years ago

/kind bug /priority critical-urgent

is this worth a prescription? /sig stack-guidance

harshad16 commented 2 years ago

is this worth a prescription?

I m not sure, as this is a binary (curl) having issues, don't know if this would fit for our python prescriptions.

codificat commented 2 years ago

curl in fedora35 is having issues

https://bugzilla.redhat.com/show_bug.cgi?id=2042582

If I understand this correctly, this happens with Docker running on RHEL7.

I did not have problems in a quick test running curl inside a container on my local F35 laptop...

fedora35-py3.10 build for v0.33.0 has failed the build with following error message:

Where is that build running? Do we have more details about the host running the container? Can this run elsewhere?

harshad16 commented 2 years ago

Where is that build running? Do we have more details about the host running the container?

It is built directly in quay. https://quay.io/repository/thoth-station/s2i-thoth-f35-py310?tab=builds

Can this run elsewhere?

Not sure.

codificat commented 2 years ago

Where is that build running? Do we have more details about the host running the container?

It is built directly in quay. https://quay.io/repository/thoth-station/s2i-thoth-f35-py310?tab=builds

So, maybe file an issue with quay? https://issues.redhat.com/projects/PROJQUAY/issues/

Can this run elsewhere?

Not sure.

It builds on my laptop (yeah, containers were going to fix that situation... oh well)

Maybe a workaround could be to build/push it manually while waiting for feedback from the quay team?

harshad16 commented 2 years ago

Further going over this with new version v0.34.0 , it is stil failing to update.

Collecting setuptools==63.1.0
  Downloading setuptools-63.1.0-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 32.4 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 57.4.0
ERROR: Cannot uninstall setuptools 57.4.0, RECORD file not found. Hint: The package was installed by rpm.
harshad16 commented 2 years ago

The build is now fixed: https://quay.io/repository/thoth-station/s2i-thoth-f35-py310 closing this thanks, everyone for help.