#1008687 FTBFS: as-test_pool FAIL killed by signal 6 SIGABRT

#1008687#5
Date:
2022-03-30 18:17:12 UTC
From:
To:
Hello there,

during a rebuild of the reverse b-d of libyaml I found that this package
failed to build on my amd64.

In addition, the build also failed on amd64, i386, arm64, and armhf,
each both in unstable and in bookworm, cf.
<https://tests.reproducible-builds.org/debian/rb-pkg/appstream.html>
where you will also find full logs.

The relevant part from my build log (hopefully, full log attached):

|  6/11 as-test_pool                 FAIL            0.03s   killed by signal 6 SIGABRT
| 17:59:09 MALLOC_PERTURB_=51 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool /<<PKGBUILDDIR>>/tests/
| ----------------------------------- output -----------------------------------
| stdout:
| # random seed: R02Se3d6c05208037b9d353e9d2db1beef13
| 1..9
| # Start of AppStream tests
| # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
| (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): GLib-GIO-DEBUG: 17:59:09.947: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
| # DEBUG: run AsPool:load
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.947: run AsPool:load
| # DEBUG: Not pruning cache: Default paths were changed.
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.947: Not pruning cache: Default paths were changed.
| # DEBUG: run AsPool:load_collection_data
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.947: run AsPool:load_collection_data
| # DEBUG: Searching for XML data in: /<<PKGBUILDDIR>>/tests/samples/collection/xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.947: Searching for XML data in: /<<PKGBUILDDIR>>/tests/samples/collection/xml
| # DEBUG: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/lvfs-gdpr.xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.948: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/lvfs-gdpr.xml
| # DEBUG: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/foobar-1.xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.948: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/foobar-1.xml
| # DEBUG: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/merges.xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.949: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/merges.xml
| # DEBUG: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/suggestions.xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.949: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/suggestions.xml
| # DEBUG: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/limba_6375db4bb7186c39a4860544884575f7.xml
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.949: Reading: /<<PKGBUILDDIR>>/tests/samples/collection/xml/limba_6375db4bb7186c39a4860544884575f7.xml
| # DEBUG: Removed via merge component: system/package/os/org.example.DeleteMe/*
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Removed via merge component: system/package/os/org.example.DeleteMe/*
| # DEBUG: Merged data for '[2] system/package/os/links2.desktop/*' <<- '[2] system/*/as-testsuite/links2.desktop/*'
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Merged data for '[2] system/package/os/links2.desktop/*' <<- '[2] system/*/as-testsuite/links2.desktop/*'
| # DEBUG: Merged data for '[2] system/package/os/kiki.desktop/*' <<- '[2] system/*/as-testsuite/kiki.desktop/*'
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Merged data for '[2] system/package/os/kiki.desktop/*' <<- '[2] system/*/as-testsuite/kiki.desktop/*'
| # DEBUG: Merged data for '[2] system/package/os/literki.desktop/*' <<- '[2] system/*/as-testsuite/literki.desktop/*'
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Merged data for '[2] system/package/os/literki.desktop/*' <<- '[2] system/*/as-testsuite/literki.desktop/*'
| # DEBUG: Storing cache data for section: system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Storing cache data for section: system:C-c252fbf14e1d52b5096e439fc01c5b1c
| # DEBUG: Stemming language is: en
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.950: Stemming language is: en
| # DEBUG: Writing cache file: /tmp/as-test-cache-dummy/NQP3J1/C-c252fbf14e1d52b5096e439fc01c5b1c.xb
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.953: Writing cache file: /tmp/as-test-cache-dummy/NQP3J1/C-c252fbf14e1d52b5096e439fc01c5b1c.xb
| # DEBUG: run AsPool:get_components_by_id
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.954: run AsPool:get_components_by_id
| # DEBUG: Querying `components/component/id[lower-case(text())=?]/..` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.954: Querying `components/component/id[lower-case(text())=?]/..` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| # DEBUG: Querying `components/component/provides/id[lower-case(text())=?]/../..` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.954: Querying `components/component/provides/id[lower-case(text())=?]/../..` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| # DEBUG: run AsPool:get_components
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.954: run AsPool:get_components
| # DEBUG: Querying `components/component` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.954: Querying `components/component` in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: run AsPool:search
| # DEBUG: Searching for: kig
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: Searching for: kig
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
|   - [desktop-application::system/package/os/kig.desktop/*]> name: Kig | summary: Explore Geometric Constructions | package: kig
| ----
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: run AsPool:search
| # DEBUG: Searching for: web
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: Searching for: web
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.956: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
|   - [desktop-application::system/package/os/links2.desktop/*]> name: Links 2 | summary: Web browser running in both graphics and text mode | package: links2
| ----
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.957: run AsPool:search
| # DEBUG: Searching for: logic
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.957: Searching for: logic
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.957: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
|   - [desktop-application::system/package/os/logisim.desktop/*]> name: Logisim | summary: Graphical tool for designing and simulating logic circuits | package: logisim
|   - [desktop-application::system/package/os/xye.desktop/*]> name: Xye | summary: Solve puzzles and action challenges in order to get all the gems in the room. | package: xye
| ----
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.958: run AsPool:search
| # DEBUG: Searching for: biochemistri
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.958: Searching for: biochemistri
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.958: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
|   - [desktop-application::system/package/os/massxpert.desktop/*]> name: massXpert | summary: Bio-polymer mass spectrometry software | package: massxpert
| ----
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.959: run AsPool:search
| # DEBUG: Searching for: scalabl graphic
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.959: Searching for: scalabl graphic
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.959: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
|   - [desktop-application::system/package/os/org.inkscape.Inkscape/*]> name: Inkscape | summary: Create and edit Scalable Vector Graphics images | package: inkscape
| ----
| # DEBUG: run AsPool:search
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.960: run AsPool:search
| # DEBUG: Searching for: strategi game
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.960: Searching for: strategi game
| # DEBUG: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/as-test_pool:923621): DEBUG: 17:59:09.960: Full text search in system:C-c252fbf14e1d52b5096e439fc01c5b1c
| ----
| ----
| Bail out! ERROR:../tests/test-pool.c:372:test_pool_read: assertion failed (result->len == 2): (0 == 2)
| stderr:
| **
| ERROR:../tests/test-pool.c:372:test_pool_read: assertion failed (result->len == 2): (0 == 2)
| ------------------------------------------------------------------------------

Best regards,
Flo

#1008687#10
Date:
2022-04-10 21:08:40 UTC
From:
To:
Hello!

Am Mi., 30. März 2022 um 20:21 Uhr schrieb Florian Ernst
<florian_ernst@gmx.net>:

I can't reproduce this issue at all, and a recent upload of AppStream
is building fine on all architectures...
Does this issue still exist? Maybe it was a fluke or fixed in some
other component meanwhile...

Cheers,
    Matthias

#1008687#15
Date:
2022-04-10 21:08:40 UTC
From:
To:
Hello!

Am Mi., 30. März 2022 um 20:21 Uhr schrieb Florian Ernst
<florian_ernst@gmx.net>:

I can't reproduce this issue at all, and a recent upload of AppStream
is building fine on all architectures...
Does this issue still exist? Maybe it was a fluke or fixed in some
other component meanwhile...

Cheers,
    Matthias

#1008687#20
Date:
2022-04-11 07:26:11 UTC
From:
To:
Hello Matthias,

thank you for your reply and for the appstream update.

I agree that the new upload appears to be building just fine on the
official buildd, so thanks for that.

Unfortunately, for me both the previous version and the current version
still FTBFS on my local setup, with exactly the same error message. Of
course, that by itself could all too easily be a local fluke that I'd
have to investigate and that you could safely ignore, if it weren't for
reproducible-builds indicating the very same FTBFS as well.

Looking at the reproducible-builds history of appstream it seems it has
been FTBFS'ing in their setup for quite a while, cf.

https://tests.reproducible-builds.org/debian/history/appstream.html

as well as the individual logs at

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/unstable/i386/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/unstable/armhf/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/bookworm/amd64/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/bookworm/i386/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/bookworm/arm64/appstream_0.15.2-2.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/bookworm/armhf/appstream_0.15.2-2.rbuild.log.gz

All in all this hints at some issue still lingering around, but I cannot
exactly pinpoint what it might be.

I'd say let's wait until reproducible-builds attempts to build 0.15.3-1
and see what the results are. Or feel free to downgrade this issue here
as you deem fit, for on the official buildd and on your machine
everything seems to be working juts fine.

Cheers,
Flo

#1008687#25
Date:
2022-04-11 09:14:41 UTC
From:
To:
Hi Florian!

Am Mo., 11. Apr. 2022 um 09:30 Uhr schrieb Florian Ernst
<florian_ernst@gmx.net>:

I'll likely downgrade this bug, but this is fairly odd! If the tests
fail on some building machines, there is a chance that the actual
application also doesn't work everywhere. I can say though that this
works on the buildds, on my local machine and on GitLab. Is there
anything that's different in the reproducible build machines compared
to the buildds? Is there anything special about your local machine?

Cheers,
    Matthias

#1008687#30
Date:
2022-04-11 13:40:43 UTC
From:
To:
Hello Matthias,

Well, apperently there is, and I'd love to know what exactly it is, but
I'm afraid I don't know. I am using sbuild just like the buildd do, but
reproducible-builds is using pbuilder (cowbuilder?), and all in all I
don't see any common factor.

That being said I take some strange consolation now from the weird fact
that appstream 0.15.3-1 seems to FTBFS on reproducible-builds as well,
or at least on amd64, arm64, and armhf so far, right in the same manner
as initially reported. Yeah, I know, that is not really helpful ...

Cheers,
Flo

#1008687#39
Date:
2023-06-17 23:19:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
appstream, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1008687@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klumpp <mak@debian.org> (supplier of updated appstream package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 18 Jun 2023 10:38:22 +0200
Source: appstream
Architecture: source
Version: 0.16.2-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klumpp <mak@debian.org>
Changed-By: Matthias Klumpp <mak@debian.org>
Closes: 1008687
Changes:
 appstream (0.16.2-1) unstable; urgency=medium
 .
   * New upstream version 0.16.2
   * Drop all patches: Applied upstream
   * Add fix-default-priority-override.patch
     - Resolves a test failure (Closes: #1008687)
   * Update d/symbols file
Checksums-Sha1:
 9df545fde081158cf2d7fa074e1a7889b10ba2bc 3853 appstream_0.16.2-1.dsc
 24f16a0f72054e1131edc790ce2bd76cd60fd990 2567136 appstream_0.16.2.orig.tar.xz
 a71f267f706a5fde1ab18b23804cdcf30c879981 19316 appstream_0.16.2-1.debian.tar.xz
 dd20b9d312f968304b2fe9b734e9a7ea8fab37df 15302 appstream_0.16.2-1_source.buildinfo
Checksums-Sha256:
 0ae9d3efb61df627ce3400c403aaf4d64e61d0575ab3bb816ccce4fd25bea3fa 3853 appstream_0.16.2-1.dsc
 f9cb80bd388fbf06be268afa7f2d65863c85d605ad874b905094f3982d03f232 2567136 appstream_0.16.2.orig.tar.xz
 5d7551522c56b90c1b86fe91cc4c02bcfe308d7846f5f033438dd38e84244f11 19316 appstream_0.16.2-1.debian.tar.xz
 81706e2b418b4fc66d7331dc21cda5366e35a6804e6e2acabc4f7eab2aaa1a6c 15302 appstream_0.16.2-1_source.buildinfo
Files:
 c299fc6a418612227a33a1e6bcc2de55 3853 admin optional appstream_0.16.2-1.dsc
 7fb633c3062fe35b7feb263980d013e4 2567136 admin optional appstream_0.16.2.orig.tar.xz
 a075af8a00eba57c1d7c266c696b0e94 19316 admin optional appstream_0.16.2-1.debian.tar.xz
 a03b7212c823d7d199c201d39dc7ef43 15302 admin optional appstream_0.16.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEE0zo/DKFrCsxRpgc4SUyKX79N7OsFAmSOO3QPHG1ha0BkZWJp
YW4ub3JnAAoJEElMil+/TezrbwAP+gNtGfYLbbkJdwuDi5APpRWeibYvSnNabbaL
wFTLEt1com1xXRJhYyQlzrPwuY0TbjgeNpagjTsc+n+EtOzvtZhi5KfaW+Lp4f7Y
4eZFEyj5A234gmBp1oyHY3kzJBUyofw6hmbzZJOSere4/lWEk/0y8CFROtaTcuj3
u5SEoWgv0K/ZQ9VPXKxXJTH1rZH9SOuD5gFqSdxfy0fg72heSKm3MHiepsDu55XB
R3KhmREyoRES6CD30H2DPWOyBA+NME7FIIrsiN+8e2DfM/EH6BUmGt1j0XEdyKe8
pQ4A8/4XLZummrWx0gzDvcP6VzXvyT3hSF49JQUodtrI/Gb18X/56C8r/a13l1e1
qZOtwuSJbkbP0ap+BBLXfPAIvOSrZS6ydfu1pLK3jd+AfJ44dU/s3FtW44tMC/aR
rKuD33qsHFsOqOoN0w2rontS7ZNMhT1DKah8l0E8gY4+lJyISmSGFM8Pi2GORlPK
JHH+o79jIhaiKFzQFqwIbyjUPaKGtPO+tgbLyOHf6Mj/sBIAZp5VrqvZDzRl1jag
+9hTjP/oqs0l+2UxXO5jitIhkYkC9OCyiXDnSmbpV/kGWwTvAeHeJi0bZ3aJK/si
WWUogVvwo0loomXQqt6CIWMT3f1iV+KBqOVPO3EutI302TmbyUaS3CTgEhKNGiTn
GJ1nvv8/
=jW99
-----END PGP SIGNATURE-----