From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 68749@debbugs.gnu.org
Subject: bug#68749: [cuirass] test suite failures ()
Date: Fri, 26 Jan 2024 23:40:27 -0500 [thread overview]
Message-ID: <87bk97z8w4.fsf@gmail.com> (raw)
Hi,
Running 'make check' in the environment described in Cuirass' README
file, from the commit 7bcd3d079f0ec45ac50f0dbc14eb4ec68c6a6b53 (or the
latest tagged release):
--8<---------------cut here---------------start------------->8---
guix shell -CPNW --expose=/var/log/guix/drvs \
--expose=/var/run/dbus --expose=/run/avahi-daemon \
--expose=/etc/ssl/certs
[env] make check
--8<---------------cut here---------------end--------------->8---
produces the result:
--8<---------------cut here---------------start------------->8---
[...]
FAIL: tests/remote.scm - build done
FAIL: tests/remote.scm - build timeout
FAIL: tests/remote.scm - worker restart
PASS: tests/remote.scm - clean-up
PASS: tests/utils.scm - resource pool, no contention
PASS: tests/utils.scm - resource pool, contention
PASS: tests/utils.scm - resource pool, exception thrown
============================================================================
Testsuite summary for Cuirass UNKNOWN
============================================================================
# TOTAL: 135
# PASS: 132
# SKIP: 0
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
--8<---------------cut here---------------end--------------->8---
The test-suite.log file contains:
--8<---------------cut here---------------start------------->8---
=======================================
Cuirass UNKNOWN: ./test-suite.log
=======================================
# TOTAL: 135
# PASS: 132
# SKIP: 0
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: tests/remote
==================
test-name: db-init
location: /home/maxim/src/cuirass/tests/remote.scm:153
source:
+ (test-assert
+ "db-init"
+ (begin (test-init-db!) #t))
actual-value: #t
result: PASS
test-name: fill-db
location: /home/maxim/src/cuirass/tests/remote.scm:161
source:
+ (test-assert
+ "fill-db"
+ (let ((spec (specification (name "guix") (build 'hello)))
+ (checkouts
+ (list (checkout->channel-instance
+ "dir1"
+ #:name
+ 'guix
+ #:url
+ "url1"
+ #:commit
+ "fakesha1"))))
+ (db-add-or-update-specification spec)
+ (db-add-evaluation
+ "guix"
+ checkouts
+ #:timestamp
+ 1501347493)
+ (db-add-build
+ (make-build #:drv (force drv) #:output "fake-1"))))
warning: failed to load '(guix platforms avr)':
In procedure abi-check: #<record-type <platform>>: record ABI mismatch; recompilation needed
actual-value: 1
result: PASS
test-name: remote-server
location: /home/maxim/src/cuirass/tests/remote.scm:178
source:
+ (test-assert
+ "remote-server"
+ (begin (start-server) #t))
actual-value: #t
result: PASS
test-name: remote-worker
location: /home/maxim/src/cuirass/tests/remote.scm:183
source:
+ (test-assert
+ "remote-worker"
+ (begin (start-worker) #t))
actual-value: #t
result: PASS
test-name: build done
location: /home/maxim/src/cuirass/tests/remote.scm:188
source:
+ (test-assert
+ "build done"
+ (retry (lambda ()
+ (eq? (build-current-status (db-get-build (force drv)))
+ (build-status succeeded)))
+ #:times
+ 10
+ #:delay
+ 1))
increased maximum number of open files from 1024 to 2048
listening for build logs on port 5556
deleting old build logs from 'tests/cache'...
selected 0 build logs to remove
WARNING: (cuirass scripts remote-server): imported module (fibers) overrides core binding `sleep'
starting fetch worker with up to 8 concurrent downloads
periodic update: 0 resumable, 0 failed builds
creating 1 worker for build server at 127.0.0.1:5555
starting 1 workers (parallelism: 4 cores) for server at 127.0.0.1
unused GC roots older than 432000s will be deleted every 86400s
deleting old GC roots from '/var/guix/gcroots/profiles/per-user/maxim/cuirass/worker'...
selected 0 GC roots to remove
WARNING: (cuirass base): imported module (fibers) overrides core binding `sleep'
WARNING: (cuirass scripts remote-worker): imported module (fibers) overrides core binding `sleep'
worker 2DwmlYqW (PID 621) connected to tcp://127.0.0.1:5555
server publish URL: http://127.0.0.1:5557; server log port: 5556
warning: low disk space, doing nothing
2DwmlYqW: ping tcp://127.0.0.1:5555.
debug: worker 2DwmlYqW is up and running
debug: worker 2DwmlYqW is up and running
2024-01-27 04:38:15.767 UTC [632] WARNING: no usable system locales were found
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
actual-value: #f
result: FAIL
test-name: build timeout
location: /home/maxim/src/cuirass/tests/remote.scm:196
source:
+ (test-assert
+ "build timeout"
+ (begin
+ (db-add-build
+ (make-build
+ #:drv
+ (force drv-with-timeout)
+ #:output
+ "fake-2"
+ #:timeout
+ 1))
+ (retry (lambda ()
+ (eq? (build-current-status
+ (db-get-build (force drv-with-timeout)))
+ (build-status failed)))
+ #:times
+ 10
+ #:delay
+ 1)))
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
actual-value: #f
result: FAIL
test-name: worker restart
location: /home/maxim/src/cuirass/tests/remote.scm:209
source:
+ (test-assert
+ "worker restart"
+ (begin
+ (stop-worker)
+ (start-worker)
+ (db-update-build-status!
+ (force drv)
+ (build-status scheduled))
+ (retry (lambda ()
+ (eq? (build-current-status (db-get-build (force drv)))
+ (build-status succeeded)))
+ #:times
+ 10
+ #:delay
+ 1)))
terminating worker sub-process 634
creating 1 worker for build server at 127.0.0.1:5555
starting 1 workers (parallelism: 4 cores) for server at 127.0.0.1
unused GC roots older than 432000s will be deleted every 86400s
deleting old GC roots from '/var/guix/gcroots/profiles/per-user/maxim/cuirass/worker'...
selected 0 GC roots to remove
WARNING: (cuirass base): imported module (fibers) overrides core binding `sleep'
WARNING: (cuirass scripts remote-worker): imported module (fibers) overrides core binding `sleep'
worker jWnNYJ44 (PID 758) connected to tcp://127.0.0.1:5555
server publish URL: http://127.0.0.1:5557; server log port: 5556
warning: low disk space, doing nothing
jWnNYJ44: ping tcp://127.0.0.1:5555.
debug: worker jWnNYJ44 is up and running
debug: worker jWnNYJ44 is up and running
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
warning: low disk space, doing nothing
actual-value: #f
result: FAIL
test-name: clean-up
location: /home/maxim/src/cuirass/tests/remote.scm:221
source:
+ (test-assert
+ "clean-up"
+ (begin (stop-worker) (stop-server)))
terminating worker sub-process 766
actual-value: (620 . 256)
result: PASS
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Maxim
reply other threads:[~2024-01-27 4:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bk97z8w4.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=68749@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).