Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE #3938

Closed
wants to merge 3 commits into from

k

bfc7fc1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

DO NOT MERGE #3938

k
bfc7fc1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Firedrake complex failed Dec 18, 2024 in 0s

8137 tests run, 6641 passed, 1474 skipped, 22 failed.

Annotations

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2459), Mesh(VectorElement(FiniteElement('Q', quadr...j, 0.53333333+0.j,
       0.        +0.j, 0.33333333+0.j, 0.8       +0.j, 0.66666667+0.j,
       1.        +0.j]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b9ed5a00>, FiniteElement(...iteElement('Q', quadrilateral, 4), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 2460)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b9ed5a00>, Fi...'Lagrange', triangle, 3), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2459)), 5178))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[circlemanifold]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2642), Mesh(VectorElement(FiniteElement('Lagrange'...  0.        +0.j, -0.        +0.j, ...,
       -0.01884509+0.j, -0.01256505+0.j, -0.00628302+0.j], shape=(1006,)), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b95d1610>, FiniteElement(...lement('Lagrange', interval, 4), name=None), Mesh(VectorElement(FiniteElement('Lagrange', interval, 1), dim=2), 2644)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b95d1610>, Fi...'Lagrange', triangle, 3), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2642)), 5474))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[circlemanifold_to_high_order]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2825), Mesh(VectorElement(FiniteElement('Lagrange'...  0.        +0.j, -0.        +0.j, ...,
       -0.00942422+0.j, -0.00628302+0.j, -0.00314157+0.j], shape=(2006,)), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b917bfb0>, FiniteElement(...lement('Lagrange', interval, 4), name=None), Mesh(VectorElement(FiniteElement('Lagrange', interval, 2), dim=2), 2831)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b917bfb0>, Fi...'Lagrange', triangle, 3), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 2825)), 5777))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare_to_high_order]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3020), Mesh(VectorElement(FiniteElement('Q', quadr...j, 0.53333333+0.j,
       0.        +0.j, 0.33333333+0.j, 0.8       +0.j, 0.66666667+0.j,
       1.        +0.j]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b92968d0>, FiniteElement(...iteElement('Q', quadrilateral, 4), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 2), dim=2), 3026)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b92968d0>, Fi...'Lagrange', triangle, 3), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3020)), 6095))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[extrudedcube]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(TensorProductElement(FiniteElement('Lagrange', triangle, 1), FiniteElement('Lagrange', interval, 1...j,
       1.4       +0.j, 1.34285714+0.j, 0.66666667+0.j, 1.14285714+0.j,
       1.2       +0.j, 1.        +0.j]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.ExtrudedMeshTopology object at 0x7f28bab43cb0>, Tensor...('Lagrange', tetrahedron, 3), name=None), Mesh(VectorElement(FiniteElement('Lagrange', tetrahedron, 1), dim=3), 3210)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.ExtrudedMeshTopology object at 0x7f28bab43...iangle, 1), FiniteElement('Lagrange', interval, 1), cell=TensorProductCell(triangle, interval)), dim=3), 3209)), 6392))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare_vfs]

AttributeError: 'ComponentTensor' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3391), Mesh(VectorElement(FiniteElement('Q', quadr...        +0.j, 1.6       +0.j],
       [1.33333333+0.j, 2.        +0.j],
       [2.        +0.j, 2.        +0.j]]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28ba4407d0>, VectorElement(...nt('Q', quadrilateral, 4), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 3392)))
right = ComponentTensor(Product(IntValue(2), Indexed(Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology objec...initeElement('Lagrange', triangle, 1), dim=2), 3391)), 6690), MultiIndex((Index(6843),)))), MultiIndex((Index(6843),)))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'ComponentTensor' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare_tfs]

AttributeError: 'ComponentTensor' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3574), Mesh(VectorElement(FiniteElement('Q', quadr...667+0.j, 1.        +0.j]],

       [[1.        +0.j, 1.        +0.j],
        [1.        +0.j, 1.        +0.j]]]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28bcf5d3d0>, TensorElement(...l, 4), shape=(2, 2), symmetry={}), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 3575)))
right = ComponentTensor(Product(IntValue(2), Indexed(Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology objec... triangle, 1), dim=2), 3574)), 6990), MultiIndex((Index(6900), Index(6901))))), MultiIndex((Index(6900), Index(6901))))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'ComponentTensor' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare_N1curl_source]

AttributeError: 'ComponentTensor' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3757), Mesh(VectorElement(FiniteElement('Q', quadr...        +0.j, 1.6       +0.j],
       [1.33333333+0.j, 2.        +0.j],
       [2.        +0.j, 2.        +0.j]]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b8ea4680>, FiniteElement(...nt('Q', quadrilateral, 4), dim=2), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 3758)))
right = ComponentTensor(Product(IntValue(2), Indexed(Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology objec...initeElement('Lagrange', triangle, 1), dim=2), 3757)), 7284), MultiIndex((Index(6944),)))), MultiIndex((Index(6944),)))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'ComponentTensor' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[unitsquare_Regge_source]

AttributeError: 'ComponentTensor' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 3946), Mesh(VectorElement(FiniteElement('Q', quadr...667+0.j, 1.        +0.j]],

       [[1.        +0.j, 1.        +0.j],
        [1.        +0.j, 1.        +0.j]]]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b8f955e0>, FiniteElement(...l, 4), shape=(2, 2), symmetry={}), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=2), 3947)))
right = ComponentTensor(Product(IntValue(2), Indexed(Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology objec... triangle, 1), dim=2), 3946)), 7586), MultiIndex((Index(7003), Index(7004))))), MultiIndex((Index(7003), Index(7004))))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'ComponentTensor' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[spheresphere]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=3), 4129), Mesh(VectorElement(FiniteElement('Lagrange', ...FixedIndex(1),))))), array([ 1.        ,  1.        , -1.        , -1.        ,  1.41421356,
       -0.3660254 ]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b8fc9d60>, FiniteElement(...lement('Lagrange', triangle, 4), name=None), Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=3), 4130)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.MeshTopology object at 0x7f28b8fc9d60>, Fi...ent('Q', quadrilateral, 3), name=None), Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=3), 4129)), 7886))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 598 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh[sphereextrudedsphereextruded]

AttributeError: 'Product' object has no attribute 'arguments'
Raw output
parameters = (Mesh(VectorElement(TensorProductElement(FiniteElement('Lagrange', triangle, 1), FiniteElement('Lagrange', interval, 1...FixedIndex(1),))))), array([ 1.5       ,  1.5       , -1.5       , -1.5       ,  2.12132034,
       -0.29903811]), ...)

    def test_interpolate_cross_mesh(parameters):
        (
            m_src,
            m_dest,
            coords,
            expr_src,
            expr_dest,
            expected,
            V_src,
            V_dest,
            V_dest_2,
        ) = parameters
>       get_expected_values(
            m_src, m_dest, V_src, V_dest, coords, expected, expr_src, expr_dest
        )

tests/firedrake/regression/test_interpolate_cross_mesh.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/firedrake/regression/test_interpolate_cross_mesh.py:507: in get_expected_values
    interpolator, f_src, f_dest, m_src = interpolator_function(
tests/firedrake/regression/test_interpolate_cross_mesh.py:598: in interpolator_function
    assemble(interpolator.interpolate(2 * f_src))
firedrake/interpolation.py:347: in _interpolate_future
    interp = action(interp, f)
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
    ???
firedrake/ufl_expr.py:306: in action
    return ufl.action(form, coefficient, derivatives_expanded=derivatives_expanded)
../firedrake_venv/src/ufl/ufl/formoperators.py:135: in action
    return Action(form, coefficient)
../firedrake_venv/src/ufl/ufl/action.py:91: in __init__
    _check_function_spaces(left, right)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

left = Interpolate(Argument(WithGeometry(FunctionSpace(<firedrake.mesh.ExtrudedMeshTopology object at 0x7f28b931b860>, Tensor...ge', triangle, 1), FiniteElement('Lagrange', interval, 1), cell=TensorProductCell(triangle, interval)), dim=3), 4319)))
right = Product(IntValue(2), Coefficient(WithGeometry(FunctionSpace(<firedrake.mesh.ExtrudedMeshTopology object at 0x7f28b931b...iangle, 1), FiniteElement('Lagrange', interval, 1), cell=TensorProductCell(triangle, interval)), dim=3), 4315)), 8186))

    def _check_function_spaces(left, right):
        """Check if the function spaces of left and right match."""
        # Action differentiation pushes differentiation through
        # right as a consequence of Leibniz formula.
        if isinstance(right, CoefficientDerivative):
            right, *_ = right.ufl_operands
        if isinstance(left, CoefficientDerivative):
            left, *_ = left.ufl_operands
    
        # `Zero` doesn't contain any information about the function space.
        # -> Not a problem since Action will get simplified with a
        #    `ZeroBaseForm` which won't take into account the arguments on
        #    the right because of argument contraction.
        # This occurs for:
        # `derivative(Action(A, B), u)` with B is an `Expr` such that dB/du == 0
        # -> `derivative(B, u)` becomes `Zero` when expanding derivatives since B is an Expr.
        if isinstance(left, Zero) or isinstance(right, Zero):
            return
    
        # `left` can also be a Coefficient in V (= V**), e.g.
        # `action(Coefficient(V), Cofunction(V.dual()))`.
        if isinstance(left, Coefficient):
            V_left = left.ufl_function_space()
        else:
            V_left = left.arguments()[-1].ufl_function_space().dual()
        if isinstance(right, Coefficient):
            V_right = right.ufl_function_space()
        else:
>           V_right = right.arguments()[0].ufl_function_space().dual()
E           AttributeError: 'Product' object has no attribute 'arguments'

../firedrake_venv/src/ufl/ufl/action.py:187: AttributeError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5151), Mesh(VectorElement(FiniteEle..., 0.53333333+0.j,
       0.        +0.j, 0.33333333+0.j, 0.8       +0.j, 0.66666667+0.j,
       1.        +0.j]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[circlemanifold]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5155), Mesh(VectorElement(FiniteEle... 0.        +0.j, -0.        +0.j, ...,
       -0.01884509+0.j, -0.01256505+0.j, -0.00628302+0.j], shape=(1006,)), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[circlemanifold_to_high_order]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold_to_high_order]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold_to_high_order]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5159), Mesh(VectorElement(FiniteEle... 0.        +0.j, -0.        +0.j, ...,
       -0.00942422+0.j, -0.00628302+0.j, -0.00314157+0.j], shape=(2006,)), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold_to_high_order]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[circlemanifold_to_high_order]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare_to_high_order]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_to_high_order]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_to_high_order]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5173), Mesh(VectorElement(FiniteEle..., 0.53333333+0.j,
       0.        +0.j, 0.33333333+0.j, 0.8       +0.j, 0.66666667+0.j,
       1.        +0.j]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_to_high_order]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_to_high_order]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[extrudedcube]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[extrudedcube]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[extrudedcube]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(TensorProductElement(FiniteElement('Lagrange', triangle, 1), FiniteElement('Lagrang...,
       1.4       +0.j, 1.34285714+0.j, 0.66666667+0.j, 1.14285714+0.j,
       1.2       +0.j, 1.        +0.j]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[extrudedcube]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[extrudedcube]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare_vfs]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_vfs]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_vfs]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5186), Mesh(VectorElement(FiniteEle...       +0.j, 1.6       +0.j],
       [1.33333333+0.j, 2.        +0.j],
       [2.        +0.j, 2.        +0.j]]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_vfs]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_vfs]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare_tfs]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_tfs]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_tfs]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5190), Mesh(VectorElement(FiniteEle...67+0.j, 1.        +0.j]],

       [[1.        +0.j, 1.        +0.j],
        [1.        +0.j, 1.        +0.j]]]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_tfs]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_tfs]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare_N1curl_source]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_N1curl_source]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_N1curl_source]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5194), Mesh(VectorElement(FiniteEle...       +0.j, 1.6       +0.j],
       [1.33333333+0.j, 2.        +0.j],
       [2.        +0.j, 2.        +0.j]]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_N1curl_source]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_N1curl_source]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[unitsquare_Regge_source]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_Regge_source]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_Regge_source]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 5202), Mesh(VectorElement(FiniteEle...67+0.j, 1.        +0.j]],

       [[1.        +0.j, 1.        +0.j],
        [1.        +0.j, 1.        +0.j]]]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_Regge_source]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[unitsquare_Regge_source]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[spheresphere]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[spheresphere]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[spheresphere]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(FiniteElement('Q', quadrilateral, 1), dim=3), 5206), Mesh(VectorElement(FiniteEleme...ixedIndex(1),))))), array([ 1.        ,  1.        , -1.        , -1.        ,  1.41421356,
       -0.3660254 ]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[spheresphere]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[spheresphere]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError

Check failure on line 1 in tests/firedrake/regression/test_interpolate_cross_mesh.py

See this annotation in the file changed.

@github-actions github-actions / Firedrake complex

test_interpolate_cross_mesh.test_interpolate_cross_mesh_parallel[sphereextrudedsphereextruded]

subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[sphereextrudedsphereextruded]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[sphereextrudedsphereextruded]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'parameters': (Mesh(VectorElement(TensorProductElement(FiniteElement('Lagrange', triangle, 1), FiniteElement('Lagrang...ixedIndex(1),))))), array([ 1.5       ,  1.5       , -1.5       , -1.5       ,  2.12132034,
       -0.29903811]), ...)}

    def parallel_callback(*args, **kwargs):
>       subprocess.run(cmd, check=True)

../firedrake_venv/src/pytest-mpi/pytest_mpi.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, **kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return code
        in the returncode attribute, and output & stderr attributes if those streams
        were captured.
    
        If timeout is given, and the process takes too long, a TimeoutExpired
        exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[sphereextrudedsphereextruded]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/regression/test_interpolate_cross_mesh.py::test_interpolate_cross_mesh_parallel[sphereextrudedsphereextruded]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.

/usr/lib/python3.12/subprocess.py:571: CalledProcessError