From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: bug#35139: Rust builds systematically time out Date: Fri, 05 Apr 2019 17:18:51 -0400 Message-ID: References: <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]:36343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCWGr-0004ht-8S for bug-guix@gnu.org; Fri, 05 Apr 2019 17:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCWGp-0005Bf-6v for bug-guix@gnu.org; Fri, 05 Apr 2019 17:21:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCWGk-00058T-O6 for bug-guix@gnu.org; Fri, 05 Apr 2019 17:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hCWGk-0004DU-6U for bug-guix@gnu.org; Fri, 05 Apr 2019 17:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:35520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCWFk-0004Gk-BN for bug-Guix@gnu.org; Fri, 05 Apr 2019 17:20:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCWFj-0003oD-34 for bug-Guix@gnu.org; Fri, 05 Apr 2019 17:20:00 -0400 In-reply-to: <878swqtabb.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: bug-Guix@gnu.org, Ivan Petkov When I try to install rust I get similar behavior. It does not finish building. The longest I have let it try for was around 12 hours. That was is a on a machine with 1GB RAM and 10GB SWAP. Ludovic Court=C3=A8s writes: > 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-un= known-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/= rustc-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/61bd22d= 9mg3xl260jwddisiahh3kmanj-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.