From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35139: Rust builds systematically time out Date: Thu, 04 Apr 2019 10:59:52 +0200 Message-ID: <878swqtabb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hByF9-0000sS-Pk for bug-guix@gnu.org; Thu, 04 Apr 2019 05:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hByF4-0002jc-OH for bug-guix@gnu.org; Thu, 04 Apr 2019 05:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hByF4-0002ie-IA for bug-guix@gnu.org; Thu, 04 Apr 2019 05:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hByF4-00081L-C0 for bug-guix@gnu.org; Thu, 04 Apr 2019 05:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:35104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hByE1-0000Uu-1B for bug-Guix@gnu.org; Thu, 04 Apr 2019 04:59:58 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: bug-Guix@gnu.org Cc: Ivan Petkov Hello, On berlin, Rust 1.24.1 builds systematically exceed the timeout: --8<---------------cut here---------------start------------->8--- Building stage1 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unkn= own-linux-gnu) Compiling arena v0.0.0 (file:///tmp/guix-build-rust-1.24.1.drv-0/rustc-1= .24.1-src/src/libarena) Compiling rustc_driver v0.0.0 (file:///tmp/guix-build-rust-1.24.1.drv-0/= rustc-1.24.1-src/src/librustc_driver) [...] Compiling rls-data v0.14.0 Compiling rustc_data_structures v0.0.0 (file:///tmp/guix-build-rust-1.24= .1.drv-0/rustc-1.24.1-src/src/librustc_data_structures) Compiling flate2 v1.0.1 Compiling syntax_pos v0.0.0 (file:///tmp/guix-build-rust-1.24.1.drv-0/ru= stc-1.24.1-src/src/libsyntax_pos) Compiling rustc_errors v0.0.0 (file:///tmp/guix-build-rust-1.24.1.drv-0/= rustc-1.24.1-src/src/librustc_errors) Compiling backtrace v0.3.4 guix offload: error: timeout expired while offloading '/gnu/store/61bd22d9m= g3xl260jwddisiahh3kmanj-rust-1.24.1.drv' --8<---------------cut here---------------end--------------->8--- Strangely, the build lasts ~9000 seconds (2.5 hours) on the front-end node of berlin=C2=B9, and the timeout for guix-daemon on berlin is 6h (see guix-maintenance.git) while the max-silent-time is 1h. The build nodes may be slower than the front-end, but still, it seems unlikely that it would take more than 6h there. (That could happen if the test suite, which lasts 2.1h, were =E2=80=9Cembarrassingly parallel=E2= =80=9D, but we=E2=80=99re running tests with =E2=80=98-j1=E2=80=99.) To summarize, there are two problems: 1. Rust takes too long to build. What can we do about it? Enable parallel builds? 2. Offloaded builds seem to time out prematurely or something. Thoughts? Ludo=E2=80=99. =C2=B9 See for timings.