Skip to content

Restricted Cofunction RHS #6878

Restricted Cofunction RHS

Restricted Cofunction RHS #6878

Triggered via pull request December 12, 2024 18:35
Status Success
Total duration 15s
Artifacts

zenodo-canary.yml

on: pull_request
Run zenodo canary
7s
Run zenodo canary
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
test_bcs.test_bcs_rhs_assemble[FunctionSpace-False]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7ffba3bbc4f0>(array([2.+0.j, 1.+0.j, 2.+0.j, 0.+0.j, 2.+0.j, 1.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j]), array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j])) + where <function allclose at 0x7ffba3bbc4f0> = np.allclose + and array([2.+0.j, 1.+0.j, 2.+0.j, 0.+0.j, 2.+0.j, 1.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb6595f530'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1433').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb6595f530'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1433') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb6595f350>, FiniteElement('Lagrange', triangle, 1), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1375)), 2668).dat + and array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb6595f530'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1437').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb6595f530'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1437') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb6595f350>, FiniteElement('Lagrange', triangle, 1), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1375)), 2674).dat
test_bcs.test_bcs_rhs_assemble[FunctionSpace-True]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7ffba3bbc4f0>(array([2.+0.j, 1.+0.j, 0.+0.j, 2.+0.j, 0.+0.j, 2.+0.j, 1.+0.j, 0.+0.j,\n 0.+0.j]), array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j])) + where <function allclose at 0x7ffba3bbc4f0> = np.allclose + and array([2.+0.j, 1.+0.j, 0.+0.j, 2.+0.j, 0.+0.j, 2.+0.j, 1.+0.j, 0.+0.j,\n 0.+0.j]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1499').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1499') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65799670>, FiniteElement('Q', quadrilateral, 1), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1441)), 2795).dat + and array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j,\n 0.+0.j]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1503').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (1,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1503') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65799670>, FiniteElement('Q', quadrilateral, 1), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1441)), 2801).dat
test_bcs.test_bcs_rhs_assemble[VectorFunctionSpace-True]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7ffba3bbc4f0>(array([[2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]), array([[0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]])) + where <function allclose at 0x7ffba3bbc4f0> = np.allclose + and array([[2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1554').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1554') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65799670>, VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1441)), 2912).dat + and array([[0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1558').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c1a0'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1558') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65799670>, VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1441)), 2918).dat
test_bcs.test_bcs_rhs_assemble[VectorFunctionSpace-False]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7ffba3bbc4f0>(array([[2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [2.+0.j, 2.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]), array([[0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]])) + where <function allclose at 0x7ffba3bbc4f0> = np.allclose + and array([[2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [2.+0.j, 2.+0.j],\n [0.+0.j, 0.+0.j],\n [2.+0.j, 2.+0.j],\n [1.+0.j, 1.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c440'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1611').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c440'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1611') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65236060>, VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1562)), 3023).dat + and array([[0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j],\n [0.+0.j, 0.+0.j]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c440'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1615').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7ffb71e9c440'), (2,), 'None_nodes_dset', False), None, dtype('complex128'), 'cofunction_1615') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7ffb65236060>, VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1562)), 3029).dat
test_bcs.test_mixed_bcs[diagonal]: tests/firedrake/regression/test_bcs.py#L317
AttributeError: 'OneFormAssembler' object has no attribute '_weight'
test_assemble.test_assemble_diagonal_bcs: tests/firedrake/regression/test_assemble.py#L163
AttributeError: 'OneFormAssembler' object has no attribute '_weight'
test_bcs.test_bcs_rhs_assemble[FunctionSpace-False]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7f61027bc830>(array([2., 1., 2., 0., 2., 1., 0., 0., 0.]), array([0., 0., 0., 0., 0., 0., 0., 0., 0.])) + where <function allclose at 0x7f61027bc830> = np.allclose + and array([2., 1., 2., 0., 2., 1., 0., 0., 0.]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c80c9160'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1491').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c80c9160'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1491') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c80c86b0>, FiniteElement('Lagrange', triangle, 1), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1433)), 2910).dat + and array([0., 0., 0., 0., 0., 0., 0., 0., 0.]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c80c9160'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1495').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c80c9160'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1495') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c80c86b0>, FiniteElement('Lagrange', triangle, 1), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1433)), 2916).dat
test_bcs.test_bcs_rhs_assemble[FunctionSpace-True]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7f61027bc830>(array([2., 1., 0., 2., 0., 2., 1., 0., 0.]), array([0., 0., 0., 0., 0., 0., 0., 0., 0.])) + where <function allclose at 0x7f61027bc830> = np.allclose + and array([2., 1., 0., 2., 0., 2., 1., 0., 0.]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1557').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1557') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c942a360>, FiniteElement('Q', quadrilateral, 1), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1499)), 3035).dat + and array([0., 0., 0., 0., 0., 0., 0., 0., 0.]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1561').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (1,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1561') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c942a360>, FiniteElement('Q', quadrilateral, 1), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1499)), 3041).dat
test_bcs.test_bcs_rhs_assemble[VectorFunctionSpace-True]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7f61027bc830>(array([[2., 2.],\n [1., 1.],\n [0., 0.],\n [2., 2.],\n [0., 0.],\n [2., 2.],\n [1., 1.],\n [0., 0.],\n [0., 0.]]), array([[0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.]])) + where <function allclose at 0x7f61027bc830> = np.allclose + and array([[2., 2.],\n [1., 1.],\n [0., 0.],\n [2., 2.],\n [0., 0.],\n [2., 2.],\n [1., 1.],\n [0., 0.],\n [0., 0.]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1612').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1612') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c942a360>, VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1499)), 3150).dat + and array([[0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1616').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c8b3fc20'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1616') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c942a360>, VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 1499)), 3156).dat
test_bcs.test_bcs_rhs_assemble[VectorFunctionSpace-False]: tests/firedrake/regression/test_bcs.py#L333
AssertionError: assert False + where False = <function allclose at 0x7f61027bc830>(array([[2., 2.],\n [1., 1.],\n [2., 2.],\n [0., 0.],\n [2., 2.],\n [1., 1.],\n [0., 0.],\n [0., 0.],\n [0., 0.]]), array([[0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.]])) + where <function allclose at 0x7f61027bc830> = np.allclose + and array([[2., 2.],\n [1., 1.],\n [2., 2.],\n [0., 0.],\n [2., 2.],\n [1., 1.],\n [0., 0.],\n [0., 0.],\n [0., 0.]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c89f7830'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1669').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c89f7830'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1669') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c8a091f0>, VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1620)), 3261).dat + and array([[0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.],\n [0., 0.]]) = Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c89f7830'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1673').data + where Dat(DataSet(Set((np.int64(9), np.int64(9), np.int64(9)), 'set_#x7f60c89f7830'), (2,), 'None_nodes_dset', False), None, dtype('float64'), 'cofunction_1673') = Cofunction(FiredrakeDualSpace(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f60c8a091f0>, VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 1620)), 3267).dat
test_bcs.test_mixed_bcs[diagonal]: tests/firedrake/regression/test_bcs.py#L317
AttributeError: 'OneFormAssembler' object has no attribute '_weight'
test_assemble.test_assemble_diagonal_bcs: tests/firedrake/regression/test_assemble.py#L163
AttributeError: 'OneFormAssembler' object has no attribute '_weight'
Run zenodo canary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636