PelionIoT / mbed-cloud-client-yocto-setup

Apache License 2.0
3 stars 2 forks source link

https://git.yoctoproject.org/git/poky is gone #29

Closed andrewc-arm closed 5 years ago

andrewc-arm commented 5 years ago

Problem

Our customer needs to build PDMC Linux for RPi3 and followed this instruction. https://www.pelion.com/docs/device-management/current/connecting/linux-on-raspberry-pi-3.html However, he and I are having permission failure when mbed deploy is called. This is the failure log when -vv option is used. We already have no-passphrase SSH key installed with github.

This is the log of my customer's.

krypton@krypton-PC:~/mbed-cloud-client-yocto-setup$ mbed deploy -vv
[mbed-1813] Working path "/home/krypton/mbed-cloud-client-yocto-setup" (program)
[mbed-1813] Exec "git remote -v" in "/home/krypton/mbed-cloud-client-yocto-setup"
origin  https://github.com/ARMmbed/mbed-cloud-client-yocto-setup (fetch)
origin  https://github.com/ARMmbed/mbed-cloud-client-yocto-setup (push)
[mbed-1813] Exec "git rev-parse HEAD" in "/home/krypton/mbed-cloud-client-yocto-setup"
cdeb462ea6fe9c628a21f37703ada7686e9fc98b
[mbed-1813] Adding library "poky" from "git://git.yoctoproject.org/poky" at rev #d240b885f26e
[mbed-1813] Trying to guess source control management tool. Supported SCMs: bld, git, hg
[mbed-1813] Exec "git clone git://git.yoctoproject.org/poky /home/krypton/mbed-cloud-client-yocto-setup/poky -v" in "/home/krypton/mbed-cloud-client-yocto-setup"
Cloning into '/home/krypton/mbed-cloud-client-yocto-setup/poky'...
Looking up git.yoctoproject.org ... done.
Connecting to git.yoctoproject.org (port 9418) ... 140.211.169.56 done.
remote: Counting objects: 444032, done.
remote: Compressing objects: 100% (104991/104991), done.
remote: Total 444032 (delta 332300), reused 443571 (delta 331843)
Receiving objects: 100% (444032/444032), 156.27 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (332300/332300), done.
[mbed-1813] ERROR: OS Error: Permission denied

I went a little deeper and found out that https://git.yoctoproject.org/git/poky is gone. And this simple cloning does not work.

andcho01@bc-a1-1-3:~/code/mbed-cloud-client-yocto-setup$ git clone ssh://git@git.yoctoproject.org/poky
Cloning into 'poky'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

There is business to be made and do we have any chance backup clone for that repository?

Thanks,

teetak01 commented 5 years ago

Hi @andrewc-arm thanks for the report.

I will check what might be the issue. The poky seems to be fine.

ciarmcom commented 5 years ago

ARM Internal Ref: IOTCLT-3545

teetak01 commented 5 years ago

If you have defined for. ex. "mbed config -G protocol ssh" then it will try by default to use secure mode.

In that case overriding that with "mbed deploy --protocol git" should allow deploying the poky correctly.

andrewc-arm commented 5 years ago

Thanks for the support, @teetak01 ! BTW, they have no passphrase on their SSH.

We already have no-passphrase SSH key installed with github.

You posted the code patch. Later even this similar issue happens even after the code patch, we (or someone else?) will reopen the case.