1bd0d0e50c9b0643 / format errored
- Started
- Duration
- 14s
Defined at .automate/pipelines.scm:159
autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force configure.ac:21: warning: AC_INIT: not a literal: m4_translit(m4_esyscmd([sed -n 's/^(define %automate-version "\(.*\)")$/\1/p' automate/config.scm]),m4_newline) autoreconf: configure.ac: tracing configure.ac:21: warning: AC_INIT: not a literal: m4_translit(m4_esyscmd([sed -n 's/^(define %automate-version "\(.*\)")$/\1/p' automate/config.scm]),m4_newline) autoreconf: configure.ac: not using Libtool autoreconf: running: /gnu/store/c0xha7yxihygbphf372hvpfd4b4m7cvr-autoconf-2.69/bin/autoconf --force configure.ac:21: warning: AC_INIT: not a literal: m4_translit(m4_esyscmd([sed -n 's/^(define %automate-version "\(.*\)")$/\1/p' automate/config.scm]),m4_newline) autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: warning: AC_INIT: not a literal: m4_translit(m4_esyscmd([sed -n 's/^(define %automate-version "\(.*\)")$/\1/p' automate/config.scm]),m4_newline) configure.ac:24: installing 'build-aux/install-sh' configure.ac:24: installing 'build-aux/missing' parallel-tests: installing 'build-aux/test-driver' doc/Makefile.am:31: installing 'build-aux/texinfo.tex' autoreconf: Leaving directory `.' checking for a BSD-compatible install... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for pkg-config... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 3.0 configure: found guile 3.0 checking for guile-3.0... no checking for guile3.0... no checking for guile-3... no checking for guile3... no checking for guile... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/guile checking for Guile version >= 3.0... 3.0.11 checking for guild... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/guild checking for guile-config... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/guile-config checking for a sed that does not truncate output... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/sed checking if (guix store) is available... yes checking if (goblins) is available... yes checking if (knots web-server) is available... yes checking if (json) is available... yes checking if (sqlite3) is available... yes checking if (zlib) is available... yes checking if (safsaf response-helpers sse) is available... yes checking if (prometheus) is available... yes checking if (syntax-highlight) is available... yes checking for documenta... /gnu/store/9ajmqd5izlymmcc76vjcl8wdf38h1wv8-profile/bin/documenta checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating pre-inst-env Formatting automate.scm Formatting automate/config.scm Formatting automate/model.scm Formatting automate/resources.scm Formatting automate/resources/materialise.scm Formatting automate/resources/cache.scm Formatting automate/resources/file-output.scm Formatting automate/resources/guix-daemon.scm Formatting automate/resources/gate.scm Formatting automate/resources/limiter.scm Formatting automate/resources/metrics.scm Formatting automate/resources/shepherd.scm Formatting automate/helpers/definitions.scm Formatting automate/shepherd/services.scm Formatting automate/shepherd/herd.scm Formatting automate/shepherd/bridge.scm Formatting automate/shepherd/pipeline-shepherd.scm Formatting automate/structure.scm Formatting automate/source.scm Formatting automate/pipeline/step-scheduling.scm Formatting automate/utils/options.scm Formatting automate/pipeline/lower.scm Formatting automate/helpers/guix.scm Formatting automate/helpers/git.scm Formatting automate/helpers/secrets.scm Formatting automate/helpers/profiles.scm Formatting automate/helpers/notify.scm Formatting automate/helpers/retry.scm Formatting automate/utils/files.scm Formatting automate/utils/logging.scm Formatting automate/utils/processes.scm Formatting automate/utils/goblins.scm Formatting automate/utils/sockets.scm Formatting automate/utils/prometheus.scm Formatting automate/utils/tcp-tls-netlayer.scm Formatting automate/pipeline.scm Formatting automate/pipeline/step.scm Formatting automate/pipeline/run-request.scm Formatting automate/pipeline/errors.scm Formatting automate/pipeline/attach.scm Formatting automate/pipeline/nrepl.scm Formatting automate/pipeline/repl.scm Formatting automate/pipeline/repl-client.scm Formatting automate/pipeline/confinement.scm Formatting automate/pipeline/contain.scm Formatting automate/pipeline/one-shot.scm Formatting automate/pipeline/daemon.scm Formatting automate/pipeline/output-marks.scm Formatting automate/pipeline/uploader.scm Formatting automate/pipeline/masking.scm Formatting automate/pumphouse/live.scm Formatting automate/pumphouse.scm Formatting automate/pumphouse/dispatch.scm Formatting automate/pumphouse/process.scm Formatting automate/pumphouse/records.scm Formatting automate/pumphouse/hub.scm Formatting automate/pumphouse/web/output.scm Formatting automate/pumphouse/web/events.scm Formatting automate/pumphouse/web/layout.scm Formatting automate/pumphouse/web/pages.scm Formatting automate/pumphouse/web/diagram.scm Formatting automate/pumphouse/web/webhooks.scm Formatting automate/utils/sqlite.scm Formatting automate/pumphouse/scope.scm Formatting automate/pumphouse/datastore.scm Formatting automate/pumphouse/schema.scm Formatting automate/pumphouse/attachments.scm Formatting automate/pumphouse/run-query.scm Formatting automate/pumphouse/http.scm Formatting automate/pumphouse/metrics.scm Formatting automate/pumphouse/client.scm Formatting automate/forge/forgejo.scm Formatting automate/forge/webhook.scm Formatting automate/command-line.scm Formatting tests/attach.scm Formatting tests/authority.scm Formatting tests/check.scm Formatting tests/contain.scm Formatting tests/definitions.scm Formatting tests/dispatch.scm Formatting tests/errors.scm Formatting tests/events.scm Formatting tests/files.scm Formatting tests/forgejo.scm Formatting tests/http.scm Formatting tests/layout.scm Formatting tests/logging.scm Formatting tests/masking.scm Formatting tests/metrics.scm Formatting tests/pages.scm Formatting tests/model.scm Formatting tests/output-marks.scm Formatting tests/notify.scm Formatting tests/pipeline.scm Formatting tests/pipeline-shepherd.scm Formatting tests/processes.scm Formatting tests/prometheus.scm Formatting tests/pumphouse.scm Formatting tests/pumphouse-lost.scm Formatting tests/pumphouse-draining.scm Formatting tests/pumphouse-replay.scm Formatting tests/pumphouse-restart.scm Formatting tests/pumphouse-stopping.scm Formatting tests/pumphouse-shepherd.scm Formatting tests/reconnect.scm Formatting tests/pumphouse-timers.scm Formatting tests/records.scm Formatting tests/relay.scm Formatting tests/run-query.scm Formatting tests/shepherd-bridge.scm Formatting tests/repl.scm Formatting tests/retry.scm Formatting tests/scope.scm Formatting tests/step-scheduling.scm Formatting tests/source.scm Formatting tests/webhooks-page.scm Formatting tests/uploader.scm diff --git a/automate/helpers/retry.scm b/automate/helpers/retry.scm index ef92029..18bac9b 100644 --- a/automate/helpers/retry.scm +++ b/automate/helpers/retry.scm @@ -31,8 +31,8 @@ predicates any of which may match, or #f for no test." (define (exception-text exception) "Return EXCEPTION as Guile would report it, without a backtrace." (call-with-output-string - (lambda (port) - (print-exception port #f '%exception (list exception))))) + (lambda (port) + (print-exception port #f '%exception (list exception))))) (define (attempt thunk ignore no-retry) "Call THUNK once, and return @code{(returned . VALUES)}, or diff --git a/automate/utils/prometheus.scm b/automate/utils/prometheus.scm index 9ed67d4..54d8402 100644 --- a/automate/utils/prometheus.scm +++ b/automate/utils/prometheus.scm @@ -269,9 +269,9 @@ LABELS VALUE); a sample of a name not declared is an untyped family." (let ((family part (family-of name declared))) (set! grouped (assoc-replace grouped family - (cons (list part labels value) - (or (assoc-ref grouped family) - '()))))))) + (cons (list part labels value) + (or (assoc-ref grouped family) + '()))))))) samples) (map (lambda (name) (let ((type (or (assoc-ref declared name) 'untyped)) diff --git a/tests/records.scm b/tests/records.scm index d0a949c..d5d534c 100644 --- a/tests/records.scm +++ b/tests/records.scm @@ -789,10 +789,10 @@ runs it held" `(,name counter "Things." #f (((("suite" . "unit")) ,value)))) (call 'event "run-9" 1 `(metrics double (,(counter "things_total" 3.0) - ,(gauge "size_bytes" 10.0))) + ,(gauge "size_bytes" 10.0))) 810) (call 'event "run-9" 2 `(metrics double (,(counter "things_total" 2.0) - ,(gauge "size_bytes" 20.0))) + ,(gauge "size_bytes" 20.0))) 811) (test-equal "a metrics event's changes add to the pipeline's sums" (list (counter "things_total" 5.0) (gauge "size_bytes" 20.0)) error: make format would change these files: "automate/helpers/retry.scm" irritants: "automate/helpers/retry.scm" backtrace: automate/pipeline/step.scm:733:62 (_) automate/step-body/format.scm:33:7 (body-thunk)