unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30027: core-updates: guile build hung during tests with defunct guile process
@ 2018-01-08 16:35 Mark H Weaver
  2020-12-03  0:05 ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2018-01-08 16:35 UTC (permalink / raw)
  To: 30027

While building core-updates locally on my x86_64 system running GuixSD,
my first attempt to build guile-2.2.3 got hung up during the test suite.
There was no CPU usage or terminal output for over 30 minutes, and 'ps'
showed a defunct guile process at the bottom of the process tree.

My second attempt to build it succeeded.  Note that this is not
'guile-final', but rather the same derivation that would be built by
"guix build guile".  Also note that I do not use binary substitutes, so
everything is built locally.

Here's the tail of the build log, followed by an excerpt of "ps auxwwf"
output:

--8<---------------cut here---------------start------------->8---
starting phase `check'
  GEN      public-submodule-commit
make  check-recursive
make[1]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3'
Making check in lib
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
make  check-recursive
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
make[4]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib'
Making check in meta
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/meta'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/meta'
Making check in libguile
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/libguile'
make  check-am
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/libguile'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/libguile'
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/libguile'
Making check in bootstrap
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/bootstrap'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/bootstrap'
Making check in module
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/module'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/module'
Making check in guile-readline
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/guile-readline'
make  check-am
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/guile-readline'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/guile-readline'
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/guile-readline'
Making check in examples
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/examples'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/examples'
Making check in emacs
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/emacs'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/emacs'
Making check in test-suite
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
Making check in standalone
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
make  check-am
make[4]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
make  test-num2integral test-round test-foreign-object-c test-list test-unwind test-conversion test-loose-ends test-scm-c-read test-scm-take-locale-symbol test-scm-take-u8vector test-scm-to-latin1-string test-scm-values test-scm-c-bind-keyword-arguments test-srfi-4 test-with-guile-module test-scm-with-guile test-scm-spawn-thread test-pthread-create test-pthread-create-secondary test-smob-mark test-smob-mark-race test-system-cmds test-bad-identifiers test-require-extension test-guile-snarf test-import-order test-command-line-encoding test-command-line-encoding2 test-language test-guild-compile test-asmobs test-ffi test-foreign-object-scm test-fast-slot-ref test-mb-regexp test-use-srfi test-extensions test-stack-overflow test-out-of-memory
make[5]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
  CC       test_num2integral-test-num2integral.o
  CC       test_round-test-round.o
  CC       test_foreign_object_c-test-foreign-object-c.o
  CC       test_list-test-list.o
  CC       test_unwind-test-unwind.o
  CC       test_conversion-test-conversion.o
  CC       test_loose_ends-test-loose-ends.o
  CC       test_scm_c_read-test-scm-c-read.o
  CC       test_scm_take_locale_symbol-test-scm-take-locale-symbol.o
  CC       test_scm_take_u8vector-test-scm-take-u8vector.o
  CC       test_scm_to_latin1_string-test-scm-to-latin1-string.o
  CC       test_scm_values-test-scm-values.o
  CC       test_scm_c_bind_keyword_arguments-test-scm-c-bind-keyword-arguments.o
  CC       test_srfi_4-test-srfi-4.o
  CC       test_with_guile_module-test-with-guile-module.o
  CC       test_scm_with_guile-test-scm-with-guile.o
  CC       test_scm_spawn_thread-test-scm-spawn-thread.o
  CC       test_pthread_create-test-pthread-create.o
  CC       test_pthread_create_secondary-test-pthread-create-secondary.o
  CC       test_smob_mark-test-smob-mark.o
make[5]: Nothing to be done for 'test-system-cmds'.
make[5]: Nothing to be done for 'test-bad-identifiers'.
make[5]: Nothing to be done for 'test-require-extension'.
make[5]: Nothing to be done for 'test-guile-snarf'.
make[5]: Nothing to be done for 'test-import-order'.
make[5]: Nothing to be done for 'test-command-line-encoding'.
make[5]: Nothing to be done for 'test-command-line-encoding2'.
make[5]: Nothing to be done for 'test-language'.
make[5]: Nothing to be done for 'test-guild-compile'.
make[5]: Nothing to be done for 'test-asmobs'.
make[5]: Nothing to be done for 'test-ffi'.
make[5]: Nothing to be done for 'test-foreign-object-scm'.
make[5]: 'test-fast-slot-ref' is up to date.
make[5]: Nothing to be done for 'test-mb-regexp'.
make[5]: 'test-use-srfi' is up to date.
make[5]: Nothing to be done for 'test-extensions'.
make[5]: Nothing to be done for 'test-stack-overflow'.
make[5]: Nothing to be done for 'test-out-of-memory'.
  CC       test_smob_mark_race-test-smob-mark-race.o
  CCLD     test-num2integral
  CCLD     test-round
  CCLD     test-foreign-object-c
  CCLD     test-list
  CCLD     test-unwind
  CCLD     test-conversion
  CCLD     test-loose-ends
  CCLD     test-scm-c-read
  CCLD     test-scm-take-locale-symbol
  CCLD     test-scm-take-u8vector
  CCLD     test-scm-to-latin1-string
  CCLD     test-scm-values
  CCLD     test-scm-c-bind-keyword-arguments
  CCLD     test-srfi-4
  CCLD     test-with-guile-module
  CCLD     test-scm-with-guile
  CCLD     test-scm-spawn-thread
  CCLD     test-pthread-create
  CCLD     test-smob-mark
  CCLD     test-pthread-create-secondary
  CCLD     test-smob-mark-race
make[5]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
make  check-TESTS
make[5]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
PASS: test-system-cmds
PASS: test-bad-identifiers
PASS: test-require-extension
PASS: test-guile-snarf
PASS: test-import-order
PASS: test-command-line-encoding
/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone/test-command-line-encoding2: line 6: warning: setlocale: LC_ALL: cannot change locale (en_US): No such file or directory
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
guile: warning: failed to install locale
PASS: test-command-line-encoding2
PASS: test-language
error: interrupted by the user
PASS: test-guild-compile
PASS: test-num2integral
PASS: test-round
PASS: test-asmobs
PASS: test-ffi
PASS: test-foreign-object-scm
PASS: test-foreign-object-c
PASS: test-list
PASS: test-unwind
PASS: test-conversion
PASS: test-loose-ends
PASS: test-fast-slot-ref
PASS: test-mb-regexp
PASS: test-use-srfi
PASS: test-scm-c-read
PASS: test-scm-take-locale-symbol
PASS: test-scm-take-u8vector
PASS: test-scm-to-latin1-string
PASS: test-scm-values
PASS: test-scm-c-bind-keyword-arguments
PASS: test-srfi-4
PASS: test-extensions
PASS: test-with-guile-module
PASS: test-scm-with-guile
PASS: test-scm-spawn-thread
PASS: test-pthread-create
PASS: test-pthread-create-secondary
PASS: test-smob-mark
PASS: test-smob-mark-race
wrote `/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone/test-stack-overflow.go'
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
PASS: test-stack-overflow
wrote `/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone/test-out-of-memory.go'
GC Warning: Failed to expand heap by 134348800 bytes
GC Warning: Failed to expand heap by 134217728 bytes
GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL!
error creating finalization thread: Cannot allocate memory
GC Warning: Failed to expand heap by 1000132608 bytes
GC Warning: Failed to expand heap by 1000001536 bytes
GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL!
GC Warning: Failed to expand heap by 917504 bytes
GC Warning: Failed to expand heap by 937984 bytes
GC Warning: Failed to expand heap by 958464 bytes
GC Warning: Failed to expand heap by 983040 bytes
GC Warning: Failed to expand heap by 1003520 bytes
GC Warning: Failed to expand heap by 1024000 bytes
GC Warning: Failed to expand heap by 1048576 bytes
GC Warning: Failed to expand heap by 65536 bytes
GC Warning: Out of Memory! Heap size: 4 MiB. Returning NULL!
GC Warning: Failed to expand heap by 65536 bytes
GC Warning: Out of Memory! Heap size: 4 MiB. Returning NULL!
GC Warning: Failed to expand heap by 65536 bytes
GC Warning: Out of Memory! Heap size: 4 MiB. Returning NULL!
PASS: test-out-of-memory
===================
All 39 tests passed
===================
make[5]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
make[4]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/standalone'
Making check in vm
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm'
make  check-TESTS
make[4]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm'
running `./t-basic-contructs.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./run-vm-tests.scm
;;; /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./run-vm-tests.scm:59:0: warning: non-literal format string
;;; /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./run-vm-tests.scm:60:0: warning: non-literal format string
;;; /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./run-vm-tests.scm:61:0: warning: non-literal format string
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/run-vm-tests.scm.go
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-basic-contructs.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-basic-contructs.scm.go
PASS: t-basic-contructs.scm
running `./t-global-bindings.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-global-bindings.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-global-bindings.scm.go
PASS: t-global-bindings.scm
running `./t-catch.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-catch.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-catch.scm.go
PASS: t-catch.scm
running `./t-call-cc.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-call-cc.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-call-cc.scm.go
PASS: t-call-cc.scm
running `./t-closure.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-closure.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-closure.scm.go
PASS: t-closure.scm
running `./t-closure2.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-closure2.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-closure2.scm.go
PASS: t-closure2.scm
running `./t-closure3.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-closure3.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-closure3.scm.go
PASS: t-closure3.scm
running `./t-closure4.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-closure4.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-closure4.scm.go
PASS: t-closure4.scm
running `./t-do-loop.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-do-loop.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-do-loop.scm.go
PASS: t-do-loop.scm
running `./t-literal-integers.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-literal-integers.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-literal-integers.scm.go
PASS: t-literal-integers.scm
running `./t-macros.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-macros.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-macros.scm.go
PASS: t-macros.scm
running `./t-macros2.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-macros2.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-macros2.scm.go
PASS: t-macros2.scm
running `./t-map.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-map.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-map.scm.go
PASS: t-map.scm
running `./t-or.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-or.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-or.scm.go
PASS: t-or.scm
running `./t-proc-with-setter.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-proc-with-setter.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-proc-with-setter.scm.go
PASS: t-proc-with-setter.scm
running `./t-quasiquote.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-quasiquote.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-quasiquote.scm.go
PASS: t-quasiquote.scm
running `./t-values.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-values.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-values.scm.go
PASS: t-values.scm
running `./t-records.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-records.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-records.scm.go
PASS: t-records.scm
running `./t-match.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-match.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-match.scm.go
PASS: t-match.scm
running `./t-mutual-toplevel-defines.scm'...  reading...  compiling...  running...  reading...  ok
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/./t-mutual-toplevel-defines.scm
;;; compiled /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/cache/guile/ccache/2.2-LE-8-3.A/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm/t-mutual-toplevel-defines.scm.go
PASS: t-mutual-toplevel-defines.scm
===================
All 20 tests passed
===================
make[4]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm'
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/vm'
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
make  check-TESTS
make[4]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
PASS: lalr/test-glr-associativity.scm
PASS: lalr/test-glr-basics-01.scm
%% Shift/Reduce conflict (shift 1, reduce 3) on 'A' in state 0
PASS: lalr/test-glr-basics-02.scm
%% Shift/Reduce conflict (shift 1, reduce 5) on 'A' in state 0
PASS: lalr/test-glr-basics-03.scm
%% Shift/Reduce conflict (shift 1, reduce 4) on 'A' in state 0
PASS: lalr/test-glr-basics-04.scm
%% Shift/Reduce conflict (shift 1, reduce 4) on 'A' in state 0
PASS: lalr/test-glr-basics-05.scm
%% Shift/Reduce conflict (shift 5, reduce 2) on 'error' in state 8
%% Shift/Reduce conflict (shift 4, reduce 2) on 'N' in state 8
%% Shift/Reduce conflict (shift 3, reduce 2) on 'O' in state 8
%% Shift/Reduce conflict (shift 2, reduce 2) on 'T' in state 8
PASS: lalr/test-glr-script-expression.scm
PASS: lalr/test-glr-single-expressions.scm
%% Reduce/Reduce conflict (reduce 5, reduce 4) on 'M' in state 11
%% Reduce/Reduce conflict (reduce 5, reduce 4) on 'A' in state 11
%% Reduce/Reduce conflict (reduce 5, reduce 4) on '*eoi*' in state 11
PASS: lalr/test-lr-associativity-01.scm
PASS: lalr/test-lr-basics-01.scm
PASS: lalr/test-lr-basics-02.scm
PASS: lalr/test-lr-basics-03.scm
PASS: lalr/test-lr-basics-04.scm
PASS: lalr/test-lr-basics-05.scm
PASS: lalr/test-lr-error-recovery-01.scm
PASS: lalr/test-lr-error-recovery-02.scm
PASS: lalr/test-lr-no-clause.scm
PASS: lalr/test-lr-script-expression.scm
PASS: lalr/test-lr-single-expressions.scm
===================
All 19 tests passed
===================
make[4]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite'
Making check in benchmark-suite
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/benchmark-suite'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/benchmark-suite'
Making check in gc-benchmarks
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/gc-benchmarks'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/gc-benchmarks'
Making check in am
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/am'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/am'
Making check in doc
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc'
Making check in ref
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc/ref'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc/ref'
Making check in r5rs
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc/r5rs'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc/r5rs'
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc'
make[2]: Leaving directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/doc'
make[2]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3'
make  check-TESTS
make[3]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3'
Testing /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/meta/guile ...
with GUILE_LOAD_PATH=/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite
^C
mhw@jojen ~/guix-mhw-core-updates$ # it was hung there for over 30 minutes
mhw@jojen ~/guix-mhw-core-updates$ # the output of ps auxwwf before cancelling:
mhw@jojen ~/guix-mhw-core-updates$ 
mhw@jojen ~/guix-mhw-core-updates$ cat ~/GUIX_CORE_UPDATES_HUNG_GUILE_BUILD_PS 
root       259  0.0  0.0  34652   120 ?        Ss   Jan06   0:00 /gnu/store/5blqjzz2sn8p0ph3nhl6l1ynbn7fa6dh-guix-0.14.0-3.f76ff98/bin/guix-daemon --build-users-group guixbuild --max-silent-time 0 --timeout 0 --no-substitutes --substitute-urls  --gc-keep-derivations=yes --gc-keep-outputs=yes
root     25125  0.2  0.3  47500 13496 ?        Ss   Jan07   0:34  \_ /gnu/store/5blqjzz2sn8p0ph3nhl6l1ynbn7fa6dh-guix-0.14.0-3.f76ff98/bin/guix-daemon 25119               guixbuild --max-silent-time 0 --timeout 0 --no-substitutes --substitute-urls  --gc-keep-derivations=yes --gc-keep-outputs=yes
root     25142  0.0  0.4 130024 17484 ?        SLsl Jan07   0:00      \_ /gnu/store/f6pqrj9vykk6h5sbphaasdm58ydw2p0y-guile-2.2.2/bin/guile --no-auto-compile /gnu/store/5blqjzz2sn8p0ph3nhl6l1ynbn7fa6dh-guix-0.14.0-3.f76ff98/bin/.guix-real offload x86_64-linux 0 1 0
guixbui+ 13896  0.0  0.4 146736 18332 ?        Ssl  Jan07   0:01      \_ guile --no-auto-compile -L /gnu/store/71d3rwa514j7vy5l4vfivf68g5yxibvl-module-import /gnu/store/0nagqav5dsmmh6wj66scql4pkg4zhcl4-guile-2.2.3-guile-builder
guixbui+ 15752  0.0  0.0  11044  2580 ?        S    01:17   0:00          \_ make check -j 2
guixbui+ 15764  0.0  0.0   9348  2468 ?        S    01:17   0:00              \_ make check-recursive
guixbui+ 15775  0.0  0.0   9140  2428 ?        S    01:17   0:00                  \_ /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n 'x86_64-unknown-linux-gnu'; then true; elif test -n '4.2.1' && test -n '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \   failcom='fail=yes'; \ else \   failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo check-recursive | sed s/-recursive//`; \ case "check-recursive" in \   distclean-* | maintainer-clean-*) list='lib meta libguile bootstrap module guile-readline examples emacs test-suite benchmark-suite gc-benchmarks am doc prebuilt' ;; \   *) list='lib meta libguile bootstrap module guile-readline examples emacs test-suite benchmark-suite gc-benchmarks am doc' ;; \ esac; \ for subdir in $list; do \   echo "Making $target in $subdir"; \   if test "$subdir" = "."; then \     dot_seen=yes; \     local_target="$target-am"; \   else \     local_target="$target"; \   fi; \   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \   || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \   make  "$target-am" || exit 1; \ fi; test -z "$fail"
guixbui+ 20811  0.0  0.0   9348  2468 ?        S    01:17   0:00                      \_ make check-am
guixbui+ 20824  0.0  0.0   9348  2468 ?        S    01:17   0:00                          \_ make check-TESTS
guixbui+ 20835  0.0  0.0   9144  2256 ?        S    01:17   0:00                              \_ /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash -c failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=.; export srcdir; \ list=' check-guile '; \ { mgn= red= grn= lgn= blu= brg= std=; am__color_tests=no; if test "X" = Xno; then am__color_tests=no; elif test "X" = Xalways; then am__color_tests=yes; elif test "X$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then am__color_tests=yes; fi; if test $am__color_tests = yes; then red='?[0;31m'; grn='?[0;32m'; lgn='?[1;32m'; blu='?[1;34m'; mgn='?[0;35m'; brg='?[1m'; std='?[m'; fi; }; \ if test -n "$list"; then \   for tst in $list; do \     if test -f ./$tst; then dir=./; \     elif test -f $tst; then dir=; \     else dir="./"; fi; \     if CHARSETALIASDIR="/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/lib" ${dir}$tst ; then \       all=`expr $all + 1`; \       case "  " in \       *[\ \?]$tst[\ \?]*) \ ?xpass=`expr $xpass + 1`; \ ?failed=`expr $failed + 1`; \ ?col=$red; res=XPASS; \       ;; \       *) \ ?col=$grn; res=PASS; \       ;; \       esac; \     elif test $? -ne 77; then \       all=`expr $all + 1`; \       case "  " in \       *[\ \?]$tst[\ \?]*) \ ?xfail=`expr $xfail + 1`; \ ?col=$lgn; res=XFAIL; \       ;; \       *) \ ?failed=`expr $failed + 1`; \ ?col=$red; res=FAIL; \       ;; \       esac; \     else \       skip=`expr $skip + 1`; \       col=$blu; res=SKIP; \     fi; \     echo "${col}$res${std}: $tst"; \   done; \   if test "$all" -eq 1; then \     tests="test"; \     All=""; \   else \     tests="tests"; \     All="All "; \   fi; \   if test "$failed" -eq 0; then \     if test "$xfail" -eq 0; then \       banner="$All$all $tests passed"; \     else \       if test "$xfail" -eq 1; then failures=failure; else failures=failures; fi; \       banner="$All$all $tests behaved as expected ($xfail expected $failures)"; \     fi; \   else \     if test "$xpass" -eq 0; then \       banner="$failed of $all $tests failed"; \     else \       if test "$xpass" -eq 1; then passes=pass; else passes=passes; fi; \       banner="$failed of $all $tests did not behave as expected ($xpass unexpected $passes)"; \     fi; \   fi; \   dashes="$banner"; \   skipped=""; \   if test "$skip" -ne 0; then \     if test "$skip" -eq 1; then \       skipped="($skip test was not run)"; \     else \       skipped="($skip tests were not run)"; \     fi; \     test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \       dashes="$skipped"; \   fi; \   report=""; \   if test "$failed" -ne 0 && test -n "bug-guile@gnu.org"; then \     report="Please report to bug-guile@gnu.org"; \     test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \       dashes="$report"; \   fi; \   dashes=`echo "$dashes" | sed s/./=/g`; \   if test "$failed" -eq 0; then \     col="$grn"; \   else \     col="$red"; \   fi; \   echo "${col}$dashes${std}"; \   echo "${col}$banner${std}"; \   test -z "$skipped" || echo "${col}$skipped${std}"; \   test -z "$report" || echo "${col}$report${std}"; \   echo "${col}$dashes${std}"; \   test "$failed" -eq 0; \ else :; fi
guixbui+ 20836  0.0  0.5 156176 21144 ?        Sl   01:17   0:00                                  \_ /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/libguile/.libs/guile --debug -L /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite --no-auto-compile -e main -s /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/guile-test --test-suite /tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3/test-suite/tests --log-file check-guile.log
guixbui+ 20862  0.0  0.0      0     0 ?        Z    01:17   0:00                                      \_ [guile] <defunct>
--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30027: core-updates: guile build hung during tests with defunct guile process
  2018-01-08 16:35 bug#30027: core-updates: guile build hung during tests with defunct guile process Mark H Weaver
@ 2020-12-03  0:05 ` zimoun
  2020-12-03  3:27   ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2020-12-03  0:05 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 30027

Hi Mark,

This old bug #30027 is about core-updates and Guile (2.2).

  <http://issues.guix.gnu.org/issue/30027>


On Mon, 08 Jan 2018 at 11:35, Mark H Weaver <mhw@netris.org> wrote:
> While building core-updates locally on my x86_64 system running GuixSD,
> my first attempt to build guile-2.2.3 got hung up during the test suite.
> There was no CPU usage or terminal output for over 30 minutes, and 'ps'
> showed a defunct guile process at the bottom of the process tree.
>
> My second attempt to build it succeeded.  Note that this is not
> 'guile-final', but rather the same derivation that would be built by
> "guix build guile".  Also note that I do not use binary substitutes, so
> everything is built locally.
>
> Here's the tail of the build log, followed by an excerpt of "ps auxwwf"
> output:
>
> starting phase `check'
>   GEN      public-submodule-commit
> make  check-recursive
> make[1]: Entering directory '/tmp/guix-build-guile-2.2.3.drv-0/guile-2.2.3'

[...]

> mhw@jojen ~/guix-mhw-core-updates$ cat ~/GUIX_CORE_UPDATES_HUNG_GUILE_BUILD_PS

[...]

> guixbui+ 20862  0.0  0.0      0     0 ?        Z    01:17   0:00                                      \_ [guile] <defunct>


Is it still relevant?  Or can we close it?


All the best,
simon




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30027: core-updates: guile build hung during tests with defunct guile process
  2020-12-03  0:05 ` zimoun
@ 2020-12-03  3:27   ` Mark H Weaver
  0 siblings, 0 replies; 3+ messages in thread
From: Mark H Weaver @ 2020-12-03  3:27 UTC (permalink / raw)
  To: zimoun; +Cc: 30027-done

Hi,

zimoun <zimon.toutoune@gmail.com> writes:

> This old bug #30027 is about core-updates and Guile (2.2).
>
>   <http://issues.guix.gnu.org/issue/30027>
>
>
> On Mon, 08 Jan 2018 at 11:35, Mark H Weaver <mhw@netris.org> wrote:
>> While building core-updates locally on my x86_64 system running GuixSD,
>> my first attempt to build guile-2.2.3 got hung up during the test suite.
>> There was no CPU usage or terminal output for over 30 minutes, and 'ps'
>> showed a defunct guile process at the bottom of the process tree.
[...]
>
> Is it still relevant?  Or can we close it?

I wouldn't be surprised if the underlying bug still exists, but I don't
remember seeing this particular failure mode since then.  We might as
well close this bug.

Thank you for working through these old bugs, zimoun.

     Regards,
       Mark




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-03  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-08 16:35 bug#30027: core-updates: guile build hung during tests with defunct guile process Mark H Weaver
2020-12-03  0:05 ` zimoun
2020-12-03  3:27   ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).