nightmare_unreal | Hello i am trying to build IPA image using diskimage-builder on gitlab CI. I am using latest (master) version of dib . getting this error " Error: Unable to find a match: scsi-target-utils python-devel" | 08:30 |
---|---|---|
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 08:40 |
nightmare_unreal | Can someone review this patch : https://review.opendev.org/c/openstack/diskimage-builder/+/850882 | 08:44 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 08:58 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 09:20 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 09:36 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 10:16 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 10:41 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 10:54 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 11:05 |
opendevreview | Rafal Lewandowski proposed openstack/diskimage-builder master: Added example configuration https://review.opendev.org/c/openstack/diskimage-builder/+/861582 | 12:51 |
ravlew | I'm getting 2022-10-17 13:01:07.849515 | ubuntu-focal | /usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. in nodepool-build-image-siblings test, is this a known issue? | 13:06 |
ravlew | I mean this one: 2022-10-17 13:01:07.841407 | ubuntu-focal | Building wheel for netifaces (setup.py): finished with status 'error' | 13:07 |
ravlew | 2022-10-17 13:01:07.849484 | ubuntu-focal | × python setup.py bdist_wheel did not run successfully. | 13:08 |
clarkb | ravlew: can you link to the failed job? deprecation warnings won't cause failures | 13:52 |
ravlew | clarkb: https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/logs | 13:54 |
clarkb | ravlew: https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3467 that is the error | 13:55 |
clarkb | it is happening because netifaces has made a recent release and apparently has not made a wheel for the version of python there so we try to build it from scratch | 13:56 |
clarkb | the most recent release is very old though so thats intereting | 13:57 |
clarkb | maybe it is a new transitive dep for another package that released recently | 13:57 |
ravlew | I see | 13:58 |
clarkb | oh they don't have python3.10 wheels I'm guessing this job runs with python3.10 | 13:58 |
clarkb | I need to hop into meetings now. But I think we either need to update the bindep file to include build-essential or drop netifaces or something | 13:59 |
clarkb | gcc is listed in bindep.txt but for some reason bindep didn't decide it needed to be installed | 14:53 |
clarkb | https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3183-3204 you can see that here | 14:53 |
clarkb | ok that is because that is the bindep install on the install side no the build side. The build side did build a wheel here: https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3013-3014 which should'vebeen used on the install side to do the install | 14:54 |
clarkb | https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3311 why would it prefer a cached sdist over a cached wheel? | 14:55 |
clarkb | fungi: ^ did pip recently change behavior around preferences for sdist vs wheel? | 14:56 |
clarkb | I wonder if pip 22.3 is to blame | 15:00 |
clarkb | however we haven't updated our base images since that release this is very confusing | 15:01 |
fungi | are the cached sdist and cached wheel for the same version of the project? | 15:03 |
fungi | also why isn't netifaces getting a wheel built for our wheelhouse in afs? | 15:03 |
clarkb | yes https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3013-3014 there is the wheel being cached for 0.11.0. https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3311 is when it decides to use the 0.11.0 sdist | 15:04 |
clarkb | fungi: nodepool doesn't use the openstack wheel caches because they weren't available or python3.10 when we swapped and testing at that time indicated it wasn't necessary as enough projects upstream of us had pushed arm wheels by then | 15:05 |
fungi | oh, got it | 15:05 |
clarkb | https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#2987-2990 https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3256 it did the same thing with openshift | 15:07 |
clarkb | its almost like it won't prefer locally built wheels over locally cached sdists | 15:07 |
clarkb | I guess the next thing to do is update to pip 22.3 in the builds if we aren't already and debug from there? | 15:08 |
fungi | yeah, i'm not aware of anything pip would be doing intentionally to select an sdist over a wheel (its features have been focused on moving to the opposite of that, in fact) | 15:11 |
clarkb | The other possibility is that we're copying the sdist from the builder to the install image but not the wheels and so pip can't find them | 15:12 |
clarkb | https://zuul.opendev.org/t/openstack/build/9c462c2e396a4bf9a34bad3b3bf1972f/log/job-output.txt#3177 is where we do that I Think and unfortunately docker doesn't give us a listing of the copy contents | 15:13 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!