Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906716 - dev-python/elasticsearch-py-8.7.0 fails tests (MUSL-SYSTEM)
Summary: dev-python/elasticsearch-py-8.7.0 fails tests (MUSL-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alfred Wingate
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-19 06:06 UTC by Agostino Sarubbo
Modified: 2023-07-24 18:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,120.64 KB, text/plain)
2023-05-19 06:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-19 06:06:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/elasticsearch-py-8.7.0 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-19 06:06:33 UTC
Created attachment 861945 [details]
build.log

build log and emerge --info
Comment 2 Alfred Wingate 2023-05-19 10:17:14 UTC
Java binary used for the ebuild packaged with elasticsearch so its glibc x86_64, so either have to change where I get the java jdk or exclude musl from tests.
Comment 3 Larry the Git Cow gentoo-dev 2023-06-11 08:49:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad3f005239e65805a298349182a2a51dd57decb

commit fad3f005239e65805a298349182a2a51dd57decb
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-06-06 10:30:40 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-06-11 08:49:36 +0000

    dev-python/elasticsearch-py: disable tests on on-glibc
    
    * Workaround but not a fix for 906716, ideally it would be easier to use
      system jdk of a sufficient version.
    
    Bug: https://bugs.gentoo.org/906716
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild | 7 ++++++-
 dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2023-07-24 18:48:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48aaf4bfab21264a86008144c153b4759c6cef6f

commit 48aaf4bfab21264a86008144c153b4759c6cef6f
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-07-18 22:42:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-07-24 18:48:54 +0000

    dev-python/elasticsearch-py: disable server tests
    
    * Fixes #906716 while allowing stabilize-allarches as all arches are now
      get some testing.
    
    Closes: https://bugs.gentoo.org/906716
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/elasticsearch-py/Manifest               |  3 -
 .../elasticsearch-py/elasticsearch-py-8.7.0.ebuild | 91 ++--------------------
 .../elasticsearch-py/elasticsearch-py-8.8.0.ebuild | 91 ++--------------------
 .../elasticsearch-py/elasticsearch-py-8.8.2.ebuild | 91 ++--------------------
 dev-python/elasticsearch-py/metadata.xml           |  1 +
 5 files changed, 16 insertions(+), 261 deletions(-)