Your message dated Thu, 04 Jan 2024 01:04:04 +0000
with message-id <[email protected]>
and subject line Bug#1042003: fixed in fenics-dolfinx 1:0.7.3-3
has caused the Debian Bug report #1042003,
regarding python3-dolfinx: test_vector_function.py fails with PETSc 3.19
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1042003: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042003
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-dolfinx
Version: 1:0.6.0-6
Severity: normal
Control: forwarded -1 https://github.com/FEniCS/dolfinx/issues/2736
The python unit test python/test/unit/fem/test_vector_function.py
fails after building dolfinx 0.6.0 against PETSc 3.19
$ pytest-3 -v python/test/unit/fem/test_vector_function.py
==================================================================================================================================
test session starts
===================================================================================================================================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- /usr/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' ->
database=DirectoryBasedExampleDatabase('/projects/fenics/build/fenics-dolfinx/.hypothesis/examples')
rootdir: /projects/fenics/build/fenics-dolfinx/python
configfile: setup.cfg
plugins: xvfb-2.0.0, remotedata-0.4.0, asyncio-0.20.3, arraydiff-0.5.0,
hypothesis-6.82.0, filter-subpackage-0.1.2, flaky-3.7.0, mock-3.11.1, mpi-0.6,
astropy-header-0.2.2, cov-4.1.0, openfiles-0.5.0, astropy-0.10.0,
doctestplus-0.13.0
asyncio: mode=Mode.STRICT
collected 10 items
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[1-RT]
FAILED
[ 10%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[2-RT]
FAILED
[ 20%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[3-RT]
FAILED
[ 30%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[4-RT]
FAILED
[ 40%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[5-RT]
FAILED
[ 50%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[1-RT]
FAILED
[ 60%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[2-RT]
FAILED
[ 70%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[3-RT]
FAILED
[ 80%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[4-RT]
FAILED
[ 90%]
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[5-RT]
FAILED
[100%]
========================================================================================================================================
FAILURES
========================================================================================================================================
___________________________________________________________________________________________________________________________
test_div_conforming_triangle[1-RT]
___________________________________________________________________________________________________________________________
space_type = 'RT', order = 1
@pytest.mark.skip_in_parallel
@pytest.mark.parametrize('space_type', ["RT"])
@pytest.mark.parametrize('order', [1, 2, 3, 4, 5])
def test_div_conforming_triangle(space_type, order):
"""Checks that the vectors in div conforming spaces on a triangle are
correctly oriented"""
# Create simple triangle mesh
def perform_test(points, cells):
domain = ufl.Mesh(ufl.VectorElement("Lagrange", "triangle", 1))
mesh = create_mesh(MPI.COMM_WORLD, cells, points, domain)
V = FunctionSpace(mesh, (space_type, order))
f = Function(V)
output = []
for dof in range(len(f.vector[:])):
f.vector[:] = np.zeros(len(f.vector[:]))
f.vector[dof] = 1
points = np.array([[.5, .5, 0], [.5, .5, 0]])
cells = np.array([0, 1])
result = f.eval(points, cells)
normal = np.array([-1., 1.])
output.append(result.dot(normal))
return output
points = np.array([[0, 0], [1, 0], [1, 1], [0, 1]])
cells = np.array([[0, 1, 2], [2, 3, 0]])
> result = perform_test(points, cells)
python/test/unit/fem/test_vector_function.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python/test/unit/fem/test_vector_function.py:31: in perform_test
f.vector[:] = np.zeros(len(f.vector[:]))
petsc4py/PETSc/Vec.pyx:107: in petsc4py.PETSc.Vec.__getitem__
???
petsc4py/PETSc/petscvec.pxi:436: in petsc4py.PETSc.vec_getitem
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E petsc4py.PETSc.Error: error code 73
E [0] VecGetValues() at ./src/vec/vec/interface/rvector.c:924
E [0] Object is in wrong state
E [0] Not for unassembled vector, did you call
VecAssemblyBegin()/VecAssemblyEnd()?
petsc4py/PETSc/petscvec.pxi:388: Error
...etc
================================================================================================================================
short test summary info
=================================================================================================================================
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[1-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[2-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[3-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[4-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_triangle[5-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[1-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[2-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[3-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[4-RT]
- petsc4py.PETSc.Error: error code 73
FAILED
python/test/unit/fem/test_vector_function.py::test_div_conforming_tetrahedron[5-RT]
- petsc4py.PETSc.Error: error code 73
===================================================================================================================================
10 failed in 1.91s
===================================================================================================================================
--- End Message ---
--- Begin Message ---
Source: fenics-dolfinx
Source-Version: 1:0.7.3-3
Done: Drew Parsons <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fenics-dolfinx, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (supplier of updated fenics-dolfinx 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 04 Jan 2024 01:51:08 +0100
Source: fenics-dolfinx
Architecture: source
Version: 1:0.7.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1042003
Changes:
fenics-dolfinx (1:0.7.3-3) unstable; urgency=medium
.
* add debian patch test_timing_precision.patch to allow for more
uncertainty in timing resolution. Degradation of resolution might
have been introduced by boost 1.83. See upstream Issue #2946.
* dolfinx 0.7 supports PETSc 3.19. Closes: #1042003.
Checksums-Sha1:
57e71837ca22ecaf7aabb608da5b3b476cfdfe16 3975 fenics-dolfinx_0.7.3-3.dsc
4faf670acb2c5e9caf1f11edb4a5d02304eabed6 346380
fenics-dolfinx_0.7.3-3.debian.tar.xz
5b081c7f74f95275d09769b738171c03e0eefcc7 19923
fenics-dolfinx_0.7.3-3_source.buildinfo
Checksums-Sha256:
013819f5feb8a1a8a61a039dd9075703c04018a250dd56e5052b10a71fa6623a 3975
fenics-dolfinx_0.7.3-3.dsc
efabb8f996ecb39127d74bfe56a955d4c58b34cb924f068b58d7b78abd3b1e28 346380
fenics-dolfinx_0.7.3-3.debian.tar.xz
b017072191a43c9f9e9792bc92a72bf4569427be654e92503034b61683582cc0 19923
fenics-dolfinx_0.7.3-3_source.buildinfo
Files:
4cfebbebfc12b93be9405765600df756 3975 math optional fenics-dolfinx_0.7.3-3.dsc
fe54fabcd6f9e58ec4c28209122a845c 346380 math optional
fenics-dolfinx_0.7.3-3.debian.tar.xz
281920e440ce9563b8dcffd4fabfd90e 19923 math optional
fenics-dolfinx_0.7.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmWWASAUHGRwYXJzb25z
QGRlYmlhbi5vcmcACgkQVz7x5L1aAfoxpxAAphbg7bBJ9apsrynQBp5tEUV/iu1H
bQzPkXu0VuOwQ/NX7fhhkHL157rb5gb7rYqvVSrgdn9CTbxDnpO9UmIEzlC+8hVI
7Gg5C/1VfU81isavzl79LBfVH/FhfHXSzZ/dh9h4KJbKZK5oQtdxsUdoWf4S0Hbj
j5COowVGPJ3e2N4FJNDHIW8nSOFGOm8TytAI/G1qS9vcc9ETDPx0e5ghPCkWB/+A
/QTX6SD7e3W9SjrrDSn3ZSvZpP15uwg9f3APND+VM5AbvDRuCZCJmri/jHd16u5Q
TDYceJMMvHKlART8PmKTmvlrrWwAp5RXCDs4Q0j552blC9/dMEGH8G2wUTUsiX0y
GITV8As5hDTIFjfDjG3Sp6v5HBk87aYEGp3RVQXh984juTEID927ZjaHdz0DQRHg
IewWMBmz0/aA4wiqD011sJNvhihfCSmHhy1/N/zKLy7UXhSaplJirXEAflaT81Ns
PzhEWoF9trrpTP6v7tbB8Wls9hUDXHbYjFvjLoJmOFDb1yojrrG9e8+ncZs2Ohe+
ZkUiLI1cp6TVp9dM1427xq77yhVWRaiC7ax2/br1AFLeMPRJHfKpjPGbTbi4FM28
L/6i7mT1pmfYc0BBFkBagM1vfq5OALOsym/5OFucb0Uy4xI4w/Ox2mgEXB6ZUJRN
eM6XddEFIikYo54=
=b4CU
-----END PGP SIGNATURE-----
--- End Message ---