Azure / azure-iot-sdk-c

A C99 SDK for connecting devices to Microsoft Azure IoT services
https://azure.github.io/azure-iot-sdk-c
Other
588 stars 737 forks source link

Cloning 2017-05-19 fails #150

Closed lmussier closed 7 years ago

lmussier commented 7 years ago

Description of the issue:

clone fails due to not reachable submodules.

Code sample exhibiting the issue:

This will fail git clone https://github.com/Azure/azure-iot-sdk-c.git --recursive --branch 2017-05-19

(master is ok)

Console log of the issue:

lmussier@lmussier-virtual-machine:~/workspace$ git clone https://github.com/Azure/azure-iot-sdk-c.git --recursive --branch 2017-05-19
Cloning into 'azure-iot-sdk-c'...
remote: Counting objects: 48468, done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 48468 (delta 79), reused 98 (delta 43), pack-reused 48306
Receiving objects: 100% (48468/48468), 43.33 MiB | 988.00 KiB/s, done.
Resolving deltas: 100% (30480/30480), done.
Checking connectivity... done.
Note: checking out '7116519d0911ce686ec70d839b0b8fa23a790cdf'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Submodule 'azure-c-shared-utility' (https://github.com/Azure/azure-c-shared-utility.git) registered for path 'c-utility'
Submodule 'iothub_service_client/parson' (https://github.com/kgabis/parson) registered for path 'iothub_service_client/parson'
Submodule 'parson' (https://github.com/kgabis/parson) registered for path 'parson'
Submodule 'azure-uamqp-c' (https://github.com/Azure/azure-uamqp-c.git) registered for path 'uamqp'
Submodule 'azure-umqtt-c' (https://github.com/Azure/azure-umqtt-c.git) registered for path 'umqtt'
Cloning into 'c-utility'...
remote: Counting objects: 15081, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 15081 (delta 28), reused 37 (delta 10), pack-reused 15014
Receiving objects: 100% (15081/15081), 8.37 MiB | 1.16 MiB/s, done.
Resolving deltas: 100% (10514/10514), done.
Checking connectivity... done.
Submodule path 'c-utility': checked out '65470162d6dc4a8c3c9badf74ac509945c080bd9'
Submodule 'testtools/ctest' (https://github.com/Azure/azure-ctest.git) registered for path 'testtools/ctest'
Submodule 'testtools/testrunner' (https://github.com/Azure/azure-c-testrunnerswitcher.git) registered for path 'testtools/testrunner'
Submodule 'testtools/umock-c' (https://github.com/Azure/umock-c.git) registered for path 'testtools/umock-c'
Cloning into 'testtools/ctest'...
remote: Counting objects: 251, done.
remote: Total 251 (delta 0), reused 0 (delta 0), pack-reused 251
Receiving objects: 100% (251/251), 164.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (123/123), done.
Checking connectivity... done.
fatal: reference is not a tree: 16db98a3f04e5314ade78b21d51a33ecafec1440
Cloning into 'testtools/testrunner'...
remote: Counting objects: 209, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 209 (delta 6), reused 16 (delta 5), pack-reused 187
Receiving objects: 100% (209/209), 840.24 KiB | 590.00 KiB/s, done.
Resolving deltas: 100% (98/98), done.
Checking connectivity... done.
Submodule path 'c-utility/testtools/testrunner': checked out '58a928bc5cefb1db4bd7cd7c2a0e2d87a09019b6'
Cloning into 'testtools/umock-c'...
remote: Counting objects: 907, done.
remote: Total 907 (delta 0), reused 0 (delta 0), pack-reused 907
Receiving objects: 100% (907/907), 395.02 KiB | 227.00 KiB/s, done.
Resolving deltas: 100% (619/619), done.
Checking connectivity... done.
fatal: reference is not a tree: e8eea26a45a4220f8d393d507ef7d77c79336c84
Unable to checkout '16db98a3f04e5314ade78b21d51a33ecafec1440' in submodule path 'c-utility/testtools/ctest'
Unable to checkout 'e8eea26a45a4220f8d393d507ef7d77c79336c84' in submodule path 'c-utility/testtools/umock-c'
Cloning into 'iothub_service_client/parson'...
remote: Counting objects: 511, done.
remote: Total 511 (delta 0), reused 0 (delta 0), pack-reused 511
Receiving objects: 100% (511/511), 275.29 KiB | 527.00 KiB/s, done.
Resolving deltas: 100% (271/271), done.
Checking connectivity... done.
Submodule path 'iothub_service_client/parson': checked out 'ba2a854c27b24068977e5827bd129d0531f4503c'
Cloning into 'parson'...
remote: Counting objects: 511, done.
remote: Total 511 (delta 0), reused 0 (delta 0), pack-reused 511
Receiving objects: 100% (511/511), 275.29 KiB | 455.00 KiB/s, done.
Resolving deltas: 100% (271/271), done.
Checking connectivity... done.
Submodule path 'parson': checked out 'ba2a854c27b24068977e5827bd129d0531f4503c'
Cloning into 'uamqp'...
remote: Counting objects: 4364, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 4364 (delta 11), reused 18 (delta 7), pack-reused 4334
Receiving objects: 100% (4364/4364), 2.74 MiB | 664.00 KiB/s, done.
Resolving deltas: 100% (2738/2738), done.
Checking connectivity... done.
Submodule path 'uamqp': checked out '8c849749dc5ae9903d98e578e04fe5ea793283f2'
Submodule 'deps/azure-c-shared-utility' (https://www.github.com/Azure/azure-c-shared-utility) registered for path 'deps/azure-c-shared-utility'
Submodule 'deps/azure-c-testrunnerswitcher' (https://www.github.com/Azure/azure-c-testrunnerswitcher) registered for path 'deps/azure-c-testrunnerswitcher'
Submodule 'deps/azure-ctest' (https://www.github.com/Azure/azure-ctest) registered for path 'deps/azure-ctest'
Submodule 'deps/umock-c' (https://www.github.com/Azure/umock-c) registered for path 'deps/umock-c'
Cloning into 'deps/azure-c-shared-utility'...
remote: Counting objects: 15081, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 15081 (delta 28), reused 37 (delta 10), pack-reused 15014
Receiving objects: 100% (15081/15081), 8.37 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (10514/10514), done.
Checking connectivity... done.
Submodule path 'uamqp/deps/azure-c-shared-utility': checked out '65470162d6dc4a8c3c9badf74ac509945c080bd9'
Submodule 'testtools/ctest' (https://github.com/Azure/azure-ctest.git) registered for path 'testtools/ctest'
Submodule 'testtools/testrunner' (https://github.com/Azure/azure-c-testrunnerswitcher.git) registered for path 'testtools/testrunner'
Submodule 'testtools/umock-c' (https://github.com/Azure/umock-c.git) registered for path 'testtools/umock-c'
Cloning into 'testtools/ctest'...
remote: Counting objects: 251, done.
remote: Total 251 (delta 0), reused 0 (delta 0), pack-reused 251
Receiving objects: 100% (251/251), 164.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (123/123), done.
Checking connectivity... done.
fatal: reference is not a tree: 16db98a3f04e5314ade78b21d51a33ecafec1440
Cloning into 'testtools/testrunner'...
remote: Counting objects: 209, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 209 (delta 6), reused 16 (delta 5), pack-reused 187
Receiving objects: 100% (209/209), 840.24 KiB | 767.00 KiB/s, done.
Resolving deltas: 100% (98/98), done.
Checking connectivity... done.
Submodule path 'uamqp/deps/azure-c-shared-utility/testtools/testrunner': checked out '58a928bc5cefb1db4bd7cd7c2a0e2d87a09019b6'
Cloning into 'testtools/umock-c'...
remote: Counting objects: 907, done.
remote: Total 907 (delta 0), reused 0 (delta 0), pack-reused 907
Receiving objects: 100% (907/907), 395.02 KiB | 590.00 KiB/s, done.
Resolving deltas: 100% (619/619), done.
Checking connectivity... done.
fatal: reference is not a tree: e8eea26a45a4220f8d393d507ef7d77c79336c84
Unable to checkout '16db98a3f04e5314ade78b21d51a33ecafec1440' in submodule path 'uamqp/deps/azure-c-shared-utility/testtools/ctest'
Unable to checkout 'e8eea26a45a4220f8d393d507ef7d77c79336c84' in submodule path 'uamqp/deps/azure-c-shared-utility/testtools/umock-c'
Cloning into 'deps/azure-c-testrunnerswitcher'...
remote: Counting objects: 209, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 209 (delta 6), reused 16 (delta 5), pack-reused 187
Receiving objects: 100% (209/209), 840.24 KiB | 635.00 KiB/s, done.
Resolving deltas: 100% (98/98), done.
Checking connectivity... done.
Submodule path 'uamqp/deps/azure-c-testrunnerswitcher': checked out '58a928bc5cefb1db4bd7cd7c2a0e2d87a09019b6'
Cloning into 'deps/azure-ctest'...
remote: Counting objects: 251, done.
remote: Total 251 (delta 0), reused 0 (delta 0), pack-reused 251
Receiving objects: 100% (251/251), 164.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (123/123), done.
Checking connectivity... done.
fatal: reference is not a tree: 16db98a3f04e5314ade78b21d51a33ecafec1440
Cloning into 'deps/umock-c'...
remote: Counting objects: 907, done.
remote: Total 907 (delta 0), reused 0 (delta 0), pack-reused 907
Receiving objects: 100% (907/907), 395.02 KiB | 767.00 KiB/s, done.
Resolving deltas: 100% (619/619), done.
Checking connectivity... done.
fatal: reference is not a tree: e8eea26a45a4220f8d393d507ef7d77c79336c84
Failed to recurse into submodule path 'uamqp/deps/azure-c-shared-utility'
Unable to checkout '16db98a3f04e5314ade78b21d51a33ecafec1440' in submodule path 'uamqp/deps/azure-ctest'
Unable to checkout 'e8eea26a45a4220f8d393d507ef7d77c79336c84' in submodule path 'uamqp/deps/umock-c'
Cloning into 'umqtt'...
remote: Counting objects: 2122, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 2122 (delta 5), reused 8 (delta 1), pack-reused 2104
Receiving objects: 100% (2122/2122), 577.96 KiB | 292.00 KiB/s, done.
Resolving deltas: 100% (1140/1140), done.
Checking connectivity... done.
Submodule path 'umqtt': checked out '0d8b2d4abf3403a77037b3ad54846372964ae370'
Submodule 'azure-c-shared-utility' (https://github.com/Azure/azure-c-shared-utility.git) registered for path 'c-utility'
Cloning into 'c-utility'...
remote: Counting objects: 15081, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 15081 (delta 28), reused 37 (delta 10), pack-reused 15014
Receiving objects: 100% (15081/15081), 8.37 MiB | 964.00 KiB/s, done.
Resolving deltas: 100% (10514/10514), done.
Checking connectivity... done.
Submodule path 'umqtt/c-utility': checked out '65470162d6dc4a8c3c9badf74ac509945c080bd9'
Submodule 'testtools/ctest' (https://github.com/Azure/azure-ctest.git) registered for path 'testtools/ctest'
Submodule 'testtools/testrunner' (https://github.com/Azure/azure-c-testrunnerswitcher.git) registered for path 'testtools/testrunner'
Submodule 'testtools/umock-c' (https://github.com/Azure/umock-c.git) registered for path 'testtools/umock-c'
Cloning into 'testtools/ctest'...
remote: Counting objects: 251, done.
remote: Total 251 (delta 0), reused 0 (delta 0), pack-reused 251
Receiving objects: 100% (251/251), 164.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (123/123), done.
Checking connectivity... done.
fatal: reference is not a tree: 16db98a3f04e5314ade78b21d51a33ecafec1440
Cloning into 'testtools/testrunner'...
remote: Counting objects: 209, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 209 (delta 6), reused 16 (delta 5), pack-reused 187
Receiving objects: 100% (209/209), 840.24 KiB | 254.00 KiB/s, done.
Resolving deltas: 100% (98/98), done.
Checking connectivity... done.
Submodule path 'umqtt/c-utility/testtools/testrunner': checked out '58a928bc5cefb1db4bd7cd7c2a0e2d87a09019b6'
Cloning into 'testtools/umock-c'...
remote: Counting objects: 907, done.
remote: Total 907 (delta 0), reused 0 (delta 0), pack-reused 907
Receiving objects: 100% (907/907), 395.02 KiB | 398.00 KiB/s, done.
Resolving deltas: 100% (619/619), done.
Checking connectivity... done.
fatal: reference is not a tree: e8eea26a45a4220f8d393d507ef7d77c79336c84
Unable to checkout '16db98a3f04e5314ade78b21d51a33ecafec1440' in submodule path 'umqtt/c-utility/testtools/ctest'
Unable to checkout 'e8eea26a45a4220f8d393d507ef7d77c79336c84' in submodule path 'umqtt/c-utility/testtools/umock-c'
Failed to recurse into submodule path 'umqtt/c-utility'
Failed to recurse into submodule path 'c-utility'
Failed to recurse into submodule path 'uamqp'
Failed to recurse into submodule path 'umqtt'
Moncefmd commented 7 years ago

I had the exact same issue, while it worked perfectly with release 2017-05-05

ewertons commented 7 years ago

Hey @lmussier and @Moncefmd , we apologize for the issue, it seems to be glitch in our release scripts. Later today a new release will be available, which doesn't present this issue. I will update you both once the release is done.

ewertons commented 7 years ago

Please feel free to grab today's release, it should be working fine this time.

https://github.com/Azure/azure-iot-sdk-c/releases/tag/2017-06-02

lmussier commented 7 years ago

That's fine for me. Thanks.