Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.33 regression: Ssh fails with tmt-reproducer.sh #2937

Closed
LecrisUT opened this issue May 16, 2024 · 3 comments
Closed

1.33 regression: Ssh fails with tmt-reproducer.sh #2937

LecrisUT opened this issue May 16, 2024 · 3 comments

Comments

@LecrisUT
Copy link
Contributor

Running manually it seems the issue is that the private key doesn't work:

$ ssh -v -p10025 -i /var/tmp/tmt/run-018/plans/examples/provision/default-0/id_ecdsa root@127.0.0.1
debug1: Offering public key: /var/tmp/tmt/run-018/plans/examples/provision/default-0/id_ecdsa ECDSA SHA256:Y1t8uXs0xVMzhrfIzGN/DULtuwH0faoW6NCl5Xaz9ZQ explicit
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
tmt reproducer
$ ./tmt-reproducer.sh 
fatal: destination path 'testcode' already exists and is not an empty directory.
fatal: refusing to fetch into branch 'refs/heads/gluetool/d4a1eab381278f020310bca9e58ca92707057ba2' checked out at '/home/lecris/tmp/tmt/testcode'
Already on 'gluetool/d4a1eab381278f020310bca9e58ca92707057ba2'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   727  100   727    0     0   1914      0 --:--:-- --:--:-- --:--:--  1918
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   274  100   274    0     0    758      0 --:--:-- --:--:-- --:--:--   759
/var/tmp/tmt/run-016
Found 1 plan.

/plans/examples
summary: Documentation examples
    discover
        how: fmf
        directory: docs
        warn: Sources will not be extracted, prepare step is not enabled.
        Tests will be discovered after dist-git patching in prepare.
        summary: 0 tests selected
    provision
        queued provision.provision task #1: default-0
        
        provision.provision task #1: default-0
        how: virtual
        image: Fedora-Rawhide
        memory: 2048 MB
        disk: 40 GB
        qcow: Fedora-Cloud-Base-Generic.x86_64-Rawhide-20240514.n.0.qcow2
        effective hardware: {}
        name: tmt-016-BlkwxnTL
        key: /var/tmp/tmt/run-016/plans/examples/provision/default-0/id_ecdsa
        progress: booting...
        primary address: 127.0.0.1
        topology address: 127.0.0.1
        port: 10024
        fail: Failed to connect in 120s.

plan failed

The exception was caused by 1 earlier exceptions

Cause number 1:

    provision step failed

    The exception was caused by 1 earlier exceptions

    Cause number 1:

        Failed to connect in 120s.
/var/tmp/tmt/run-016

/plans/examples
    discover
        status: done
        summary: 0 tests selected
        warning: No tests found, finishing plan.
/var/tmp/tmt/run-016

/plans/examples
    prepare
    
        summary: 0 preparations applied
    execute
    finish
        warn: Nothing to finish, no guests provisioned.

plan failed

The exception was caused by 1 earlier exceptions

Cause number 1:

    No guests available for execution.
@thrix
Copy link
Collaborator

thrix commented May 16, 2024

@LecrisUT Can you check with:

  • F39 compose just to confirm it is not Rawhide related
  • Run tmt with -dddvvv to see the full output or upload the tmt log.txt

@LecrisUT
Copy link
Contributor Author

LecrisUT commented May 16, 2024

Hmm it seems to be rawhide specific, F39 worked. I have cleaned the /var/tmp/tmt/testcloud and tried again with all 3 f39, f40 and rawhide. Only rawhide was failing. Another annoyance is that virsh is not cleaned at the end of tmt run --since prepare (the other 2 manage to get cleaned).

Update: main branch still reproduces this issue.

@LecrisUT
Copy link
Contributor Author

Seems to be resolved in 1.34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants