From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4LJrKexmvmS7DQEASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 13:56:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SN5gKOxmvmSwoQAAG6o9tA (envelope-from ) for ; Mon, 24 Jul 2023 13:56:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0EAFE549E1 for ; Mon, 24 Jul 2023 13:56:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690199788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=WK2G1bb0KklC7jKyKZkooPvtDn5AJqWWAvtXMMz2abw=; b=ZmxjjPwfX0BQjuA+CmeGBlbSa9Wm8FGA6Zeb2oPKjX9MNdcLBD1OGiba4sEyioJ7teuAiY MR/HLwpXbOI9OVTB0ayAebZe3ZHj6Wxst00/IspURQ+fY79XkyZUk1Ei+cF+X6TUWNUCHY J5W0vG3QP1i/tSyj45E2AqUeOwjpmYpPyTfRfCVBptPo5QFuScG0G/YhrzA0AYbT/Ny423 NzMqDVXjeLM24m1IalW2219V0pXBCd7gZnzRXQpc3LyGEnZaKW5G+NE2e99ejx/uMnFjZ0 ZhL/HWUGzhFM0t2dpzqO4KpeLQRHeKTToSZG62EH8Hov5D5RFrKjCjhXY79s5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690199788; a=rsa-sha256; cv=none; b=TWOt7FoyXeQyIqMA2NUDA3N8PJQSDXLo2tqj4Wisi3ncMOE2f6m1RRa2N2QwjOLXJy7B+M 8LFvvoDQLVo+oRTJYBdDzmGAfo8eOClADDpznb7J8AsZyNERcu7kQEUYqq2MtT92GzWz3U udv8Krnzbk8r8RmudcvX7ShKjk+sFjbFoE9NntFKEv+JweELru8V5s+jQH6lSE6wyCgmLn lGgonFnYXUrXGa5PvFWAQihBNu0JHAOi8+s5pZYIzV6199/6NXzKrb2UruHeCLBln47v8/ Mm7XVr0tLySEiSUdp+0soVMpeMMF912elWmoWPiv2px0xkICiqUjuYGisnGQiw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNuAX-0001Yn-4o; Mon, 24 Jul 2023 07:56:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNuAU-0001YJ-DP for bug-guix@gnu.org; Mon, 24 Jul 2023 07:56:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNuAU-0000h7-4C for bug-guix@gnu.org; Mon, 24 Jul 2023 07:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNuAU-00008F-0Y for bug-guix@gnu.org; Mon, 24 Jul 2023 07:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57143: Test failure in python-dolfin-adjoint References: In-Reply-To: Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 Jul 2023 11:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57143 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57143@debbugs.gnu.org Cc: Paul Garlick Received: via spool by 57143-submit@debbugs.gnu.org id=B57143.1690199744483 (code B ref 57143); Mon, 24 Jul 2023 11:56:01 +0000 Received: (at 57143) by debbugs.gnu.org; 24 Jul 2023 11:55:44 +0000 Received: from localhost ([127.0.0.1]:41986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNuAC-00007i-0X for submit@debbugs.gnu.org; Mon, 24 Jul 2023 07:55:44 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:58904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNuA7-00007L-Hd for 57143@debbugs.gnu.org; Mon, 24 Jul 2023 07:55:42 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 59206F92; Mon, 24 Jul 2023 13:55:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qzRBxhnuAg61; Mon, 24 Jul 2023 13:55:32 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 83F5DEB; Mon, 24 Jul 2023 13:55:32 +0200 (CEST) Date: Mon, 24 Jul 2023 13:55:31 +0200 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -1.15 X-Migadu-Queue-Id: 0EAFE549E1 X-Migadu-Spam-Score: -1.15 X-Migadu-Scanner: mx0.migadu.com X-TUID: AdR/g3OO4fGq Hello, below are more details on the current test failure of python-dolfin-adjoint version 2019.1.0. Maybe an option would be to try to update to a newer version? There is 2019.1.2. Andreas =================================== FAILURES =================================== _____________________________ test_read_checkpoint _____________________________ def test_read_checkpoint(): with stop_annotating(): N = 15 mesh = UnitSquareMesh(N, N) V = FunctionSpace(mesh, "CG", 1) x = SpatialCoordinate(mesh) v = project(x[0]*x[1]*cos(x[1]), V) out = XDMFFile(file_from_curr_dir("scalar.xdmf")) out.write_checkpoint(v, "u", 0.0) out.close() exact = assemble(v*dx) mesh = UnitSquareMesh(N, N) V = FunctionSpace(mesh, "CG", 1) v = Function(V) c = Control(v) J = assemble(v*dx) infile = XDMFFile(file_from_curr_dir("scalar.xdmf")) u = Function(V) > infile.read_checkpoint(u,'u', -1) tests/fenics_adjoint/test_io.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (Coefficient(FunctionSpace(Mesh(VectorElement(FiniteElement('Lagrange', triangle, 1), dim=2), 38754), FiniteElement('Lagrange', triangle, 1)), 38769), 'u', -1) kwargs = {}, annotate = True def XDMFFile_read_checkpoint(self, *args, **kwargs): annotate = annotate_tape(kwargs) > output = __XDMFFile_read_checkpoint__(self, *args, **kwargs) E RuntimeError: basic_string::_M_construct null not valid /gnu/store/p7hjddizapgmdk62dpvmrdkac0d4l3r9-python-dolfin-adjoint-2019.1.0/lib/python3.10/site-packages/fenics_adjoint/types/io.py:48: RuntimeError ----------------------------- Captured stdout call ----------------------------- Calling FFC just-in-time (JIT) compiler, this may take some time. ------------------------------ Captured log call ------------------------------- Level 25 FFC:log.py:127 Calling FFC just-in-time (JIT) compiler, this may take some time. INFO FFC:log.py:127 Compiling form ffc_form_e905624fad7a62b101d5d4bc784070d31ec0cc46 INFO FFC:log.py:127 Compiler stage 1: Analyzing form(s) INFO FFC:log.py:127 ----------------------------------- DEBUG FFC:log.py:127 Preprocessing form using 'uflacs' representation family. INFO FFC:log.py:127 INFO FFC:log.py:127 Geometric dimension: 2 Number of cell subdomains: 0 Rank: 1 Arguments: '(v_0)' Number of coefficients: 0 Coefficients: '[]' Unique elements: 'CG1(?,?), Vector<2 x CG1(?,?)>' Unique sub elements: 'CG1(?,?), Vector<2 x CG1(?,?)>' INFO FFC:log.py:127 representation: auto --> uflacs INFO FFC:log.py:127 quadrature_rule: auto --> default INFO FFC:log.py:127 quadrature_degree: auto --> 6 INFO FFC:log.py:127 quadrature_degree: 6 INFO FFC:log.py:127 INFO FFC:log.py:127 Compiler stage 1 finished in 0.00596237 seconds. INFO FFC:log.py:127 Compiler stage 2: Computing intermediate representation INFO FFC:log.py:127 ------------------------------------------------------- INFO FFC:log.py:127 Computing representation of 0 elements INFO FFC:log.py:127 Computing representation of 0 dofmaps INFO FFC:log.py:127 Computing representation of 0 coordinate mappings INFO FFC:log.py:127 Computing representation of integrals INFO FFC:log.py:127 Computing uflacs representation DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG FFC:log.py:127 Reusing element from cache DEBUG UFL:log.py:127 Blocks of each mode: 1 full INFO FFC:log.py:127 Computing representation of forms INFO FFC:log.py:127 INFO FFC:log.py:127 Compiler stage 2 finished in 0.0164835 seconds. INFO FFC:log.py:127 Compiler stage 3: Optimizing intermediate representation INFO FFC:log.py:127 -------------------------------------------------------- INFO FFC:log.py:127 Optimizing uflacs representation INFO FFC:log.py:127 INFO FFC:log.py:127 Compiler stage 3 finished in 0.000202894 seconds. INFO FFC:log.py:127 Compiler stage 4: Generating code INFO FFC:log.py:127 --------------------------------- INFO FFC:log.py:127 Generating code for 0 finite_element(s) INFO FFC:log.py:127 Generating code for 0 dofmap(s) INFO FFC:log.py:127 Generating code for 0 coordinate_mapping(s) INFO FFC:log.py:127 Generating code for integrals INFO FFC:log.py:127 Generating code from ffc.uflacs representation INFO FFC:log.py:127 Generating code for forms INFO FFC:log.py:127 INFO FFC:log.py:127 Compiler stage 4 finished in 0.00399137 seconds. INFO FFC:log.py:127 Compiler stage 4.1 finished in 9.53674e-07 seconds. INFO FFC:log.py:127 Compiler stage 5: Formatting code INFO FFC:log.py:127 --------------------------------- INFO FFC:log.py:127 INFO FFC:log.py:127 Compiler stage 5 finished in 0.000437498 seconds. INFO FFC:log.py:127 FFC finished in 0.0274181 seconds. =============================== warnings summary =============================== ../../../gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:96 /gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:96: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(scope="function") ../../../gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:230 /gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:230: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(scope="function") ../../../gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:255 /gnu/store/v36c8jmb0316czxkqajpkai70kjkmkfy-fenics-2019.1.0.post0/lib/python3.10/site-packages/dolfin_utils/test/fixtures.py:255: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def pushpop_parameters(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/fenics_adjoint/test_io.py::test_read_checkpoint - RuntimeError: ... = 1 failed, 125 passed, 9 skipped, 1 xfailed, 3 warnings in 839.66s (0:13:59) ==