GNU bug report logs - #42250
offload test failure: guile bug?

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> alaskasi.com>

Date: Tue, 7 Jul 2020 17:20:01 UTC

Severity: normal

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42250 in the body.
You can then email your comments to 42250 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42250; Package guix. (Tue, 07 Jul 2020 17:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> alaskasi.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 07 Jul 2020 17:20:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> alaskasi.com>
To: bug-guix <at> gnu.org
Subject: offload test failure: guile bug?
Date: Tue, 07 Jul 2020 09:19:37 -0800
Hi, I carefully followed the instructions in "Using the Offload
Facility" section of the manual, but am getting this error when running
`guix offload test':

"""
christopher <at> theoden ~$ guix offload test
guix offload: testing 1 build machines defined in
'/etc/guix/machines.scm'...
guix offload: Guix is usable on '192.168.1.31' (test returned
"/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
guix offload: '192.168.1.31' is running GNU Guile 3.0.4
sending 1 store item (0 MiB) to '192.168.1.31'...
exporting path `/gnu/store/rhkcw6r6jzshh56fjbb1xiyacxda635n-export-
test'
Backtrace:
           1 (primitive-load "/home/christopher/.config/guix/current…")
In guix/ui.scm:
  1953:12  0 (run-guix-command _ . _)

guix/ui.scm:1953:12: In procedure run-guix-command:
In procedure =: Wrong type argument in position 1: #f
"""

When I look up that code in my guix commit, it matches to the (apply
command-main args) line of the following:

"""
(define (run-guix-command command . args)
  "Run COMMAND with the given ARGS.  Report an error when COMMAND is
not
found."
  (define module
    (catch 'misc-error
      (lambda ()
        (resolve-interface `(guix scripts ,command)))
      (lambda -
        (format (current-error-port)
                (G_ "guix: ~a: command not found~%") command)
        (show-guix-usage))))

  (let ((command-main (module-ref module
                                  (symbol-append 'guix- command))))
    (parameterize ((program-name command))
      ;; Disable canonicalization so we don't don't stat unreasonably.
      (with-fluids ((%file-port-name-canonicalization #f))
        (dynamic-wind
          (const #f)
          (lambda ()
            (apply command-main args))
          (lambda ()
            ;; Abuse 'exit-hook' (which is normally meant to be used by
the
            ;; REPL) to run things like profiling hooks upon
completion.
            (run-hook exit-hook)))))))
"""

Here is my /etc/guix/machines.scm:

"""
guix/ui.scm:1953:12: In procedure run-guix-command:
In procedure =: Wrong type argument in position 1: #f
christopher <at> theoden ~/Remote$ cat /etc/guix/machines.scm
(list (build-machine
        (name "192.168.1.31")
        (system "x86_64-linux")
        (host-key
	  "ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIKCExQEX+D8Wq2NbP5k9nPpqrA9gcWUWX3nh2os1V2Gu
root@(none)")
        (user "christopher")
        (speed 2.)))
"""

Other system info:

"""
christopher <at> theoden ~/Remote$ guix describe
Generation 1	Jul 03 2020 01:41:35	(current)
  guix ec70df7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ec70df7243b8d0892d8cec7a43a87c9740c4bfaa

christopher <at> theoden ~/Remote$ neofetch --stdout
christopher <at> theoden 
------------------- 
OS: Guix System ec70df7243b8d0892d8cec7a43a87c9740c4bfaa x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.4.50-gnu 
Uptime: 3 days, 19 hours, 11 mins 
Packages: 85 (guix-system), 58 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1200 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: .gnome-terminal 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 3072MiB / 7872MiB 
"""



-- 
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com





Information forwarded to bug-guix <at> gnu.org:
bug#42250; Package guix. (Wed, 08 Jul 2020 16:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 42250 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> alaskasi.com>
To: 42250 <at> debbugs.gnu.org
Subject: [bug#42250] offload test failure: guile bug?
Date: Wed, 08 Jul 2020 08:09:05 -0800
[Message part 1 (text/plain, inline)]
I removed the sexp (speed 2.) from machines.scm, which I had copied
over from the tutorial, and the offload test was successful after that.
Not sure if there is still a bug that needs to be addressed. I'm having
some issues now related to private keys, but probably a separate issue.


-- 
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
[Message part 2 (text/html, inline)]

Reply sent to Christopher Howard <christopher <at> librehacker.com>:
You have taken responsibility. (Wed, 07 Apr 2021 17:25:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> alaskasi.com>:
bug acknowledged by developer. (Wed, 07 Apr 2021 17:25:02 GMT) Full text and rfc822 format available.

Message #13 received at 42250-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: 42250-done <at> debbugs.gnu.org
Subject: offload test failure: guile bug?
Date: Wed, 07 Apr 2021 09:24:29 -0800
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.