unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#43905: cuirass: uncaught exception 'read-error' in 'metrics' fiber
@ 2020-10-10 10:02 Jonathan Brielmaier
       [not found] ` <handler.43905.B.160232418120408.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Brielmaier @ 2020-10-10 10:02 UTC (permalink / raw)
  To: 43905

I'm running current cuirass (0.0.1-51.cb2c4e3) but if fails directly
after the start with the following error log:

```
2020-10-10T11:47:50 retrieving list of pending builds...
2020-10-10T11:47:50 heap: 11.93 MiB; threads: 19; file descriptors: 78
2020-10-10T11:47:50 canceling 0 stale builds
2020-10-10T11:47:50 restarting 0 pending builds
2020-10-10T11:47:50 building 0 derivations in batches of 200
2020-10-10T11:47:50 done with 0 derivations
2020-10-10T11:47:50 done with restarted builds
2020-10-10T11:47:50 fatal: uncaught exception 'read-error' in 'metrics'
fiber!
2020-10-10T11:47:50 exception arguments: ("scm_lreadr" "#<unknown
port>:1:94: end of file in string constant" () #f)
In ice-9/boot-9.scm:
  1731:15 12 (with-exception-handler #<procedure 7f9ae7ffdab0 at ic?> ?)
  1736:10 11 (with-exception-handler _ _ #:unwind? _ # _)
    718:2 10 (call-with-prompt ("break") #<procedure 7f9aeb549ce0 a?> ?)
    718:2  9 (call-with-prompt ("continue") #<procedure 7f9aeb54962?> ?)
In ice-9/eval.scm:
    619:8  8 (_ #(#(#<directory (guile-user) 7f9aeb139f00> #<vari?>)))
In cuirass/logging.scm:
    58:18  7 (call-with-time-logging "Metrics update" #<procedure 7f?>)
In cuirass/metrics.scm:
   330:34  6 (db-update-metrics)
In ice-9/boot-9.scm:
  1669:16  5 (raise-exception _ #:continuable? _)
  1764:13  4 (_ #<&compound-exception components: (#<&lexical> #<&or?>)
In cuirass/utils.scm:
    284:8  3 (_ _ . _)
In ice-9/boot-9.scm:
  1731:15  2 (with-exception-handler #<procedure 7f9ae8a8d4e0 at ic?> ?)
In cuirass/utils.scm:
   285:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
In procedure scm_lreadr: #<unknown port>:1:94: end of file in string
constant
2020-10-10T11:47:50 fatal: uncaught exception 'read-error' in 'build' fiber!
2020-10-10T11:47:50 exception arguments: ("scm_lreadr" "#<unknown
port>:1:94: end of file in string constant" () #f)
In ice-9/boot-9.scm:
  1731:15 12 (with-exception-handler #<procedure 7f9ae7f93c90 at ic?> ?)
  1736:10 11 (with-exception-handler _ _ #:unwind? _ # _)
    152:2 10 (with-fluid* _ _ _)
    718:2  9 (call-with-prompt ("break") #<procedure 7f9aeb547e20 a?> ?)
    718:2  8 (call-with-prompt ("continue") #<procedure 7f9aeb54768?> ?)
In ice-9/eval.scm:
    619:8  7 (_ #(#(#<directory (guile-user) 7f9aeb139f00> #<var?> ?)))
    155:9  6 (_ #(#(#<directory (guile-user) 7f9aeb139f00> #<var?> ?)))
In ice-9/boot-9.scm:
  1669:16  5 (raise-exception _ #:continuable? _)
  1764:13  4 (_ #<&compound-exception components: (#<&lexical> #<&or?>)
In cuirass/utils.scm:
    284:8  3 (_ _ . _)
In ice-9/boot-9.scm:
  1731:15  2 (with-exception-handler #<procedure 7f9ad4426420 at ic?> ?)
In cuirass/utils.scm:
   285:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
In procedure scm_lreadr: #<unknown port>:1:94: end of file in string
constant
```




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

* bug#43905: Acknowledgement (cuirass: uncaught exception 'read-error' in 'metrics' fiber)
       [not found] ` <handler.43905.B.160232418120408.ack@debbugs.gnu.org>
@ 2020-10-11 17:39   ` Jonathan Brielmaier
  2020-10-12  7:37     ` Mathieu Othacehe
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Brielmaier @ 2020-10-11 17:39 UTC (permalink / raw)
  To: 43905

It happens when scamping around in the database:
update Specifications set proc_args='((subset "htop" "icedove") (systems
"x86_64-linux))';

So I guess it's not a real bug.




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

* bug#43905: Acknowledgement (cuirass: uncaught exception 'read-error' in 'metrics' fiber)
  2020-10-11 17:39   ` bug#43905: Acknowledgement (cuirass: uncaught exception 'read-error' in 'metrics' fiber) Jonathan Brielmaier
@ 2020-10-12  7:37     ` Mathieu Othacehe
  2020-11-02 18:19       ` Jonathan Brielmaier
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Othacehe @ 2020-10-12  7:37 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 43905


Hello Jonathan,

> It happens when scamping around in the database:
> update Specifications set proc_args='((subset "htop" "icedove") (systems
> "x86_64-linux))';

You mean it happens only when modifying 'proc_args' while Cuirass is
running? Could you share your specifications so that I can try to
reproduce it?

Thanks,

Mathieu




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

* bug#43905: Acknowledgement (cuirass: uncaught exception 'read-error' in 'metrics' fiber)
  2020-10-12  7:37     ` Mathieu Othacehe
@ 2020-11-02 18:19       ` Jonathan Brielmaier
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Brielmaier @ 2020-11-02 18:19 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 43905

On 12.10.20 09:37, Mathieu Othacehe wrote:
>
> Hello Jonathan,
>
>> It happens when scamping around in the database:
>> update Specifications set proc_args='((subset "htop" "icedove") (systems
>> "x86_64-linux))';
>
> You mean it happens only when modifying 'proc_args' while Cuirass is
> running? Could you share your specifications so that I can try to
> reproduce it?

Sorry for the late answer

```
(define %cuirass-specs

  #~(list

  '((#:name . "foo-master")

    (#:load-path-inputs . ())

    (#:package-path-inputs . ("foo-packages"))

    (#:proc-input . "guix")

    (#:proc-file . "build-aux/cuirass/gnu-system.scm")

    (#:proc . cuirass-jobs)

    (#:proc-args . ((subset . ("htop" "icedove"))

                    (systems . ("x86_64-linux"))))

    (#:inputs . (((#:name . "guix")

                  (#:url . "https://git.savannah.gnu.org/git/guix.git")

                  (#:load-path . ".")

                  (#:branch . "master")

                  (#:no-compile? . #t))

                 ((#:name . "foo-packages")

                  (#:url . "https://gitlab.com/foo/foo.git")

                  (#:load-path . ".")

                  (#:branch . "master")

                  (#:no-compile? . #t))))

    (#:build-outputs . ()))))


```





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

end of thread, other threads:[~2020-11-02 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 10:02 bug#43905: cuirass: uncaught exception 'read-error' in 'metrics' fiber Jonathan Brielmaier
     [not found] ` <handler.43905.B.160232418120408.ack@debbugs.gnu.org>
2020-10-11 17:39   ` bug#43905: Acknowledgement (cuirass: uncaught exception 'read-error' in 'metrics' fiber) Jonathan Brielmaier
2020-10-12  7:37     ` Mathieu Othacehe
2020-11-02 18:19       ` Jonathan Brielmaier

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git