Bug 1213005 - python-setuptools-rust hangs in %check on armv6
Summary: python-setuptools-rust hangs in %check on armv6
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: armv5 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Python maintainers (group account)
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-05 08:28 UTC by Guillaume GARDET
Modified: 2023-09-29 11:50 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume GARDET 2023-07-05 08:28:52 UTC
python-setuptools-rust hangs in %check on armv6:

[   32s] Processing /home/abuild/rpmbuild/BUILD/setuptools-rust-1.6.0/examples/hello-world
[   32s]   Preparing metadata (pyproject.toml): started
[   32s]   Preparing metadata (pyproject.toml): finished with status 'done'
[   32s] Building wheels for collected packages: hello-world
[   32s]   Building wheel for hello-world (pyproject.toml): started
***** Hangs here *****

This prevents python-cryptography to build and prevents all armv6 images to build.
Comment 1 OBSbugzilla Bot 2023-07-11 14:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1213005) was mentioned in
https://build.opensuse.org/request/show/1098185 Factory / python-cryptography
Comment 2 Matej Cepl 2023-07-11 22:32:26 UTC
Cannot reproduce with my project https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages:python

I have modified python-cryptography in https://build.opensuse.org/request/show/1098045 to have less dependencies (we really don’t need to benchmark or measure test coverage in our packaging builds).
Comment 3 Guillaume GARDET 2023-07-12 20:21:17 UTC
(In reply to Matej Cepl from comment #2)
> Cannot reproduce with my project
> https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages:
> python
> 
> I have modified python-cryptography in
> https://build.opensuse.org/request/show/1098045 to have less dependencies
> (we really don’t need to benchmark or measure test coverage in our packaging
> builds).

Your SR has been merged in Factory and thus inherited in Factory:ARM but it did not build for armv6 since python-setuptools-rust failed to rebuild again.
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/python-setuptools-rust/standard/armv6l

No idea what is different in your home project which makes the build green...
Comment 5 Matej Cepl 2023-07-18 14:31:23 UTC
I (and OBS) blame the build system:

[10029s] No buildstatus set, either the base system is broken (kernel/initrd/udev/glibc/bash/perl)
[10029s] or the build host has a kernel or hardware problem...
Comment 6 Guillaume GARDET 2023-07-18 14:36:31 UTC
Sorry, but there is no fix yet. The build still fails in Factory:ARM and this needs to be fixed.

The build env/config is likely different between your home project and Factory:ARM.
Comment 7 Michal Suchanek 2023-07-19 19:29:24 UTC
(In reply to Matej Cepl from comment #2)
> Cannot reproduce with my project
> https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages:
> python

You are bot building for armv6
Comment 8 Michal Suchanek 2023-07-19 19:36:30 UTC
Nevermind, there are two ARM repositories, and the other one has armv6.

Only difference I can see is that Factory uses rpmlint-sctrict:

-<buildinfo project="home:mcepl:branches:devel:languages:python" repository="openSUSE_Factory_ARM" package="python-setuptools-rust" downloadurl="https://download.opensuse.org/repositories">
+<buildinfo project="openSUSE:Factory:ARM" repository="standard" package="python-setuptools-rust" downloadurl="https://download.opensuse.org/repositories">
   <arch>armv6l</arch>
-  <srcmd5>016da394ab1cfcfba645155233c50266</srcmd5>
+  <srcmd5>7b9760887aa760e806b4a1faa85be518</srcmd5>
   <verifymd5>7b9760887aa760e806b4a1faa85be518</verifymd5>
-  <rev>1</rev>
+  <rev>8</rev>
   <specfile>python-setuptools-rust.spec</specfile>
   <file>python-setuptools-rust.spec</file>
-  <versrel>1.6.0-23</versrel>
-  <bcnt>2</bcnt>
-  <release>23.2</release>
+  <versrel>1.6.0-1</versrel>
+  <bcnt>1</bcnt>
+  <release>1.1</release>
   <debuginfo>1</debuginfo>
   <subpack>python310-setuptools-rust</subpack>
-  <subpack>python311-setuptools-rust</subpack>
   <subpack>python38-setuptools-rust</subpack>
   <subpack>python39-setuptools-rust</subpack>
   <bdep name="liblua5_4-5" preinstall="1" notmeta="1" version="5.4.6" release="1.2" arch="armv6hl" hdrmd5="ba30c9271e4373acc7d619fbdf32314e" project="openSUSE:Factory:ARM" repository="standard"/>
@@ -216,6 +215,7 @@
   <bdep name="post-build-checks" notmeta="1" version="84.87+git20230328.de7e9df" release="1.1" arch="noarch" hdrmd5="a9c579320bc9b055c89e01afb21dd8ed" project="openSUSE:Factory:ARM" repository="standard"/>
   <bdep name="build-compare" notmeta="1" version="20230617T171717.50241a8" release="1.1" arch="noarch" hdrmd5="50a69f4892faedbef5b2c3ed53804847" project="openSUSE:Factory:ARM" repository="standard"/>
   <bdep name="rpmlint-mini" notmeta="1" version="2.4.0+git20230602.89901a92" release="12.1" arch="armv6hl" hdrmd5="ba3395c1a942889abf17cb7015119e41" project="openSUSE:Factory:ARM" repository="standard"/>
+  <bdep name="rpmlint-strict" notmeta="1" version="2.4.0+git20230713.dfa31c7" release="1.1" arch="noarch" hdrmd5="064b2ec0dd4db44608c2d3f2c079bd11" project="openSUSE:Factory:ARM" repository="standard"/>
   <bdep name="cputype-armv6" runscripts="1" notmeta="1" version="20190430" release="9.1" arch="armv6hl" hdrmd5="4f41f31df456fd1a2f48f1ae4fdfd1b2" project="openSUSE:Factory:ARM" repository="standard"/>
   <bdep name="ncurses-utils" notmeta="1" version="6.4.20230701" release="16.1" arch="armv6hl" hdrmd5="0129615290995e63293e9876f66fff09" project="openSUSE:Factory:ARM" repository="standard"/>
   <bdep name="libgdbm6" notmeta="1" version="1.23" release="1.14" arch="armv6hl" hdrmd5="d3568848228fb6a37d485089f4d540d9" project="openSUSE:Factory:ARM" repository="standard"/>
Comment 9 Guillaume GARDET 2023-07-20 07:24:58 UTC
I managed to reproduce the issue locally.
With a local checkout:
  osc co openSUSE:Factory:ARM/python-setuptools-rust

I can reproduce the problem with:
   osc build standard armv6l --vm-type=kvm --clean

But I can get the build successful with '--nopreinstallimage' option:
   osc build standard armv6l --vm-type=kvm --clean --nopreinstallimage
Comment 10 Guillaume GARDET 2023-07-20 07:55:56 UTC
It should be fixed with https://build.opensuse.org/request/show/1099659
Comment 11 Guillaume GARDET 2023-07-20 08:29:00 UTC
(In reply to Guillaume GARDET from comment #10)
> It should be fixed with https://build.opensuse.org/request/show/1099659

Fixed!