Hello Martin,

Token received and working. Thanks.

I didn't try all of the images but I did try alpine and alpine-efi and
they fail during image-prepare. Example for alpine:

[...]
Uploading /home/ac/src/cockpit/cockpit-344.dev1+g511761859.tar.xz
scp -F none -o BatchMode=yes -o IdentitiesOnly=yes -o PKCS11Provider=none
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
-oHostname=127.0.0.2 -oLogLevel=ERROR -oPort=2201 -oUser=root
-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-310370 -r -p
/home/ac/src/cockpit/cockpit-344.dev1+g511761859.tar.xz
vm:/var/tmp/cockpit-344.dev1+g511761859.tar.xz
cockpit-344.dev1+g511761859.tar.xz

                                                                   100%
38MB  71.9MB/s   00:00
+ (which pbuilder || which mock || which pacman) 2>/dev/null
killing ssh master process 310556
Traceback (most recent call last):
  File "/home/ac/src/cockpit/bots/image-customize", line 336, in <module>
    main()
    ~~~~^^
  File "/home/ac/src/cockpit/bots/image-customize", line 330, in main
    raise e
  File "/home/ac/src/cockpit/bots/image-customize", line 323, in main
    handler(machine, arg)
    ~~~~~~~^^^^^^^^^^^^^^
  File "/home/ac/src/cockpit/bots/image-customize", line 127, in execute
    out = machine_instance.execute("(which pbuilder || which mock || which
pacman) 2>/dev/null")
  File "/home/ac/src/cockpit/bots/machine/machine_core/ssh_connection.py",
line 337, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE',
'LC_ALL=C', 'ssh', '-F', 'none', '-o', 'BatchMode=yes', '-o',
'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o',
'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null',
'-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2201', '-oUser=root',
'-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-310370', 'vm', 'set
-e;', '(which pbuilder || which mock || which pacman) 2>/dev/null')'
returned non-zero exit status 1.

For alpine-efi the issue is not exactly the same but close: it fails at
"Uploading /home/ac/src/cockpit/cockpit-344.dev1+g511761859.tar.xz".

Should I create an issue? Or perhaps try to find the issue?

Lastly, the PR regarding
https://github.com/cockpit-project/cockpit/issues/12947 has been made.
Please let me know if anything needs to be revised.

Com os melhores cumprimentos. / Best regards.
Adriano Carvalho


On Tue, 5 Aug 2025 at 15:01, Martin Pitt via cockpit-devel <
[email protected]> wrote:

> Hello Adriano,
>
> Adriano Carvalho via cockpit-devel [2025-08-04 22:13 +0100]:
> > Is this why, when I try "test/image-prepare", I get the following?
> >
> >  ⨯ https://cockpit-images.eu-central-1.linodeobjects.com/
> >  ⨯ https://cockpit-images.us-east-1.linodeobjects.com/
> >   File "/home/ac/src/cockpit/bots/image-download", line 312, in main
> >     download_images(args.image, args.force, args.quiet, args.state,
> > args.store)
>
> Yes, exactly.
>
> > I am working on https://github.com/cockpit-project/cockpit/issues/12947
> > (you can expect a PR this week) and if so then I guess I'll need a token.
>
> I'll create a token for you and send it to you via private email.
>
> Martin
>
> --
> _______________________________________________
> cockpit-devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedorahosted.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
cockpit-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to