From 12c2a750f5a607923ce3b532d34ec61a4a1b6eeb Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 13 Jun 2019 10:40:43 +0100 Subject: [PATCH] build: fix build lockup by increasing GOMAXPROCS - Fixes #3154 It was discovered after lots of experimentation that the cmd/mount tests have a tendency to lock up if GOMAXPROCS=1 or 2. Since the Travis builders only have 2 vCPUs by default, this happens on the build server very often. This workaround increases GOMAXPROCS to make the mount test lockup less likely. Ideally this should be fixed in the mount tests at some point. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 3bd5fb210..773faa6d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ install: env: global: - GOTAGS=cmount + - GOMAXPROCS=8 # workaround for cmd/mount tests locking up - see #3154 - GO111MODULE=off - GITHUB_USER=ncw - secure: gU8gCV9R8Kv/Gn0SmCP37edpfIbPoSvsub48GK7qxJdTU628H0KOMiZW/T0gtV5d67XJZ4eKnhJYlxwwxgSgfejO32Rh5GlYEKT/FuVoH0BD72dM1GDFLSrUiUYOdoHvf/BKIFA3dJFT4lk2ASy4Zh7SEoXHG6goBlqUpYx8hVA=