Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872308 - dev-python/pyopencl-2022.2.3 fails tests
Summary: dev-python/pyopencl-2022.2.3 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 877971
  Show dependency tree
 
Reported: 2022-09-22 07:33 UTC by Agostino Sarubbo
Modified: 2022-11-01 13:10 UTC (History)
0 users

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


Attachments
build.log (build.log,165.88 KB, text/plain)
2022-09-22 07:33 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 2022-09-22 07:33:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pyopencl-2022.2.3 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-22 07:33:44 UTC
Created attachment 813472 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-25 20:27:15 UTC
Yeah, I get:

```
test_array.py::test_dtype_conversions[<context factory for <pyopencl.Device 'pthread-AMD Ryzen 9 3950X 16-Core Processor' on 'Portable Computing Language'>>] PASSED [214/310]
test_array.py::test_arrays_with_svm_allocators[<context factory for <pyopencl.Device 'pthread-AMD Ryzen 9 3950X 16-Core Processor' on 'Portable Computing Language'>>-False] /var/tmp/portage/dev-python/pyopencl-2022.2.3/temp/environment: line 2068: 496244 Aborted                 (core dumped) "${@}"
 * ERROR: dev-python/pyopencl-2022.2.3::gentoo failed (test phase):
 *   pytest failed with python3.10
 *
```

See https://projects.gentoo.org/python/guide/test.html#tests-aborting-due-to-assertions.

By adding '-s' to 'epytest', I got a bit more info at least:
```
test_array.py::test_arrays_with_svm_allocators[<context factory for <pyopencl.Device 'pthread-AMD Ryzen 9 3950X 16-Core Processor' on 'Portable Computing Language'>>-False] python3.10: /var/tmp/portage/dev-libs/pocl-3.0/work/pocl-3.0/lib/CL/devices/common.c:653: pocl_exec_command: Assertion `item' failed.
```

I wasn't able to get anything more useful yet.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-01 13:10:41 UTC
The bug has been closed via the following commit(s):

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

commit 12121e67bbbd982f7f689b5ccc13d0774da447ff
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-11-01 13:08:23 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-11-01 13:10:34 +0000

    dev-python/pyopencl: restrict tests again
    
    Worked for a while, now it triggers errors inside pOCL for at least some
    users. It was fun while it lasted.
    
    Closes: https://bugs.gentoo.org/872308
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)