Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820293 - [guru] sci-physics/SU2-7.2.0 fails tests
Summary: [guru] sci-physics/SU2-7.2.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 05:51 UTC by Agostino Sarubbo
Modified: 2021-10-28 20:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,711.26 KB, text/plain)
2021-10-26 05:51 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 2021-10-26 05:51:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-physics/SU2-7.2.0 fails tests.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-26 05:51:38 UTC
Created attachment 746745 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-26 05:51:38 UTC
Possible context of error(s):

ModuleNotFoundError: No module named 'numpy'
Comment 3 Sergey Torokhov 2021-10-26 06:32:06 UTC
For some reason mpirun tests are failed with some versions of openmpi and mpich.
I can't find what is changed mpi and how to surely disable checking of network interface availability.

I could left only serial tests or add FEATURES condition check if "network-sandbox" is enabled.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-26 06:33:18 UTC
(In reply to Sergey Torokhov from comment #3)
> For some reason mpirun tests are failed with some versions of openmpi and
> mpich.
> I can't find what is changed mpi and how to surely disable checking of
> network interface availability.
> 
> I could left only serial tests or add FEATURES condition check if
> "network-sandbox" is enabled.

Instead use https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html#properties-test-network-to-ease-reenabling-tests-requiring-internet.
Comment 5 Sergey Torokhov 2021-10-27 10:05:43 UTC
(In reply to Sam James from comment #4)
> (In reply to Sergey Torokhov from comment #3)
> > For some reason mpirun tests are failed with some versions of openmpi and
> > mpich.
> > I can't find what is changed mpi and how to surely disable checking of
> > network interface availability.
> > 
> > I could left only serial tests or add FEATURES condition check if
> > "network-sandbox" is enabled.
> 
> Instead use
> https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html#properties-test-
> network-to-ease-reenabling-tests-requiring-internet.

Great thanks for notice about new feature I missed! I also will try to apply it to sys-cluster/opencoarrays package.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-28 20:56:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85c4f567a9f07f9075c864b636f9245ed600fc49

commit 85c4f567a9f07f9075c864b636f9245ed600fc49
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2021-10-27 20:53:10 +0000
Commit:     Sergey Torokhov <torokhov-s-a@yandex.ru>
CommitDate: 2021-10-27 20:53:10 +0000

    sci-physics/SU2: switch to EAPI-8. Enable MPI network tests
    
    Use EAPI-8 option PROPERTIES="test_network" to enable
    network testing that is required by MPI.
    
    Closes: https://bugs.gentoo.org/820293
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>

 sci-physics/SU2/SU2-7.2.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)