You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Therare submodules defined in autoware.ai subdirectory that are not getting correctly detected by github submodule.
Not sure if this is something that always existed or something occurred due to our change
Since then, the build is failing saying it was not able to find url for its submodules (please see the long error message below):
When moving these submodule declarations into the root directory of the repository, submodules are detected but it still was not possible to clone the repositories with following unknown error:
#0 building with "builder-d96ce27e-2b94-4238-b169-b5d4327c3d3b" instance using docker-container driver
#1 [internal] load git source https://github.com/usdot-fhwa-stol/autoware.ai.git#refs/pull/271/merge
#1 0.042 Initialized empty Git repository in /var/lib/buildkit/runc-overlayfs/snapshots/snapshots/1/fs/
#1 0.399 b7cc23d1c9e0bb7ad0eb1130b4afd5c8427b686d refs/pull/271/merge
#1 8.510 From https://github.com/usdot-fhwa-stol/autoware.ai
#1 8.510 * [new ref] refs/pull/271/merge -> refs/pull/271/merge
#1 11.08 Submodule 'jsk_common_msgs/.travis' (git://github.com/jsk-ros-pkg/jsk_travis) registered for path 'jsk_common_msgs/.travis'
#1 11.08 Submodule 'jsk_recognition/.travis' (https://github.com/jsk-ros-pkg/jsk_travis.git) registered for path 'jsk_recognition/.travis'
#1 11.08 Submodule 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort' (https://github.com/nwojke/deep_sort.git) registered for path 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'
#1 11.08 Submodule 'jsk_recognition/jsk_perception/slic' (https://github.com/garaemon/SLIC-Superpixels.git) registered for path 'jsk_recognition/jsk_perception/slic'
#1 11.08 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
#1 146.1 fatal: unable to connect to github.com:
#1 146.1 github.com[0: 140.82.[113](https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8791371654/job/24125441576#step:4:118).3]: errno=Operation timed out
#1 146.1
#1 146.1 fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
#1 146.1 Failed to clone 'jsk_common_msgs/.travis'. Retry scheduled
#1 146.1 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/.travis'...
#1 146.3 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'...
#1 146.5 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/slic'...
#1 146.7 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
#1 281.3 fatal: unable to connect to github.com:
#1 281.3 github.com[0: 140.82.113.3]: errno=Operation timed out
#1 281.3
#1 281.3 fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
#1 281.3 Failed to clone 'jsk_common_msgs/.travis' a second time, aborting
#1 ERROR: failed to update submodules for https://github.com/usdot-fhwa-stol/autoware.ai.git: git error: exit status 1
stderr:
Submodule 'jsk_common_msgs/.travis' (git://github.com/jsk-ros-pkg/jsk_travis) registered for path 'jsk_common_msgs/.travis'
Submodule 'jsk_recognition/.travis' (https://github.com/jsk-ros-pkg/jsk_travis.git) registered for path 'jsk_recognition/.travis'
Submodule 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort' (https://github.com/nwojke/deep_sort.git) registered for path 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'
Submodule 'jsk_recognition/jsk_perception/slic' (https://github.com/garaemon/SLIC-Superpixels.git) registered for path 'jsk_recognition/jsk_perception/slic'
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Operation timed out
fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
Failed to clone 'jsk_common_msgs/.travis'. Retry scheduled
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/.travis'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/slic'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Operation timed out
fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
Failed to clone 'jsk_common_msgs/.travis' a second time, aborting
------
> [internal] load git source https://github.com/usdot-fhwa-stol/autoware.ai.git#refs/pull/271/merge:
146.1 Failed to clone 'jsk_common_msgs/.travis'. Retry scheduled
146.1 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/.travis'...
146.3 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'...
146.5 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/slic'...
146.7 Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
281.3 fatal: unable to connect to github.com:
281.3 github.com[0: 140.82.113.3]: errno=Operation timed out
281.3
281.3 fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
281.3 Failed to clone 'jsk_common_msgs/.travis' a second time, aborting
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
ERROR: failed to solve: failed to read dockerfile: failed to update submodules for https://github.com/usdot-fhwa-stol/autoware.ai.git: git error: exit status 1
stderr:
Submodule 'jsk_common_msgs/.travis' (git://github.com/jsk-ros-pkg/jsk_travis) registered for path 'jsk_common_msgs/.travis'
Submodule 'jsk_recognition/.travis' (https://github.com/jsk-ros-pkg/jsk_travis.git) registered for path 'jsk_recognition/.travis'
Submodule 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort' (https://github.com/nwojke/deep_sort.git) registered for path 'jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'
Submodule 'jsk_recognition/jsk_perception/slic' (https://github.com/garaemon/SLIC-Superpixels.git) registered for path 'jsk_recognition/jsk_perception/slic'
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Operation timed out
fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
Failed to clone 'jsk_common_msgs/.travis'. Retry scheduled
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/.travis'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_recognition/jsk_perception/slic'...
Cloning into '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Operation timed out
fatal: clone of 'git://github.com/jsk-ros-pkg/jsk_travis' into submodule path '/var/lib/buildkit/runc-overlayfs/snapshots/snapshots/2/fs/jsk_common_msgs/.travis' failed
Failed to clone 'jsk_common_msgs/.travis' a second time, aborting
However, I am not sure whether if this will fail at run-time or fail on features that we do not use currently such as any perception involved operations.
Version
4.5.0 (Current)
Expected Behavior
See above
Actual Behavior
See above
Steps to Reproduce the Actual Behavior
See above
Related Work
No response
The text was updated successfully, but these errors were encountered:
Interstingly, when we trigger build image with top of carma-develop branch, we are able to build the image, which I am assuming it skips the git cloning operation and builds from "cached builds"?. However, if that is the case, I am still little confused how it was able to build the cached one from the beginning:
Run docker/build-push-action@v3
GitHub Actions runtime token access controls
Docker info
Buildx version
/usr/bin/docker buildx build --iidfile /tmp/docker-build-push-UIfUNE/iidfile --tag usdotfhwastoldev/autoware.ai:develop --metadata-file /tmp/docker-build-push-UIfUNE/metadata-file --push .
#0 building with "builder-d5441fe6-8542-419c-a968-a4d0b669d5c8" instance using docker-container driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.18kB done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/usdotfhwastoldev/carma-base:develop
#2 ...
#3 [auth] usdotfhwastoldev/carma-base:pull token for registry-1.docker.io
#3 DONE 0.0s
#2 [internal] load metadata for docker.io/usdotfhwastoldev/carma-base:develop
#2 DONE 0.7s
#4 [internal] load .dockerignore
#4 transferring context: 500B done
#4 DONE 0.0s
#5 [base_image 1/1] FROM docker.io/usdotfhwastoldev/carma-base:develop@sha256:a5b9[21](https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8793203268/job/24130696780#step:5:23)b6f0dc550ecabc47e3706323e8bfa14da67600aae56795f8e985056c8a
#5 resolve docker.io/usdotfhwastoldev/carma-base:develop@sha256:a5b921b6f0dc550ecabc47e3706323e8bfa14da67600aae56795f8e985056c8a done
#5 DONE 0.1s
#6 [internal] load build context
#6 transferring context: 491.36MB 4.8s done
#6 DONE 4.8s
Summary
Therare submodules defined in autoware.ai subdirectory that are not getting correctly detected by github submodule.
Not sure if this is something that always existed or something occurred due to our change
Since then, the build is failing saying it was not able to find url for its submodules (please see the long error message below):
Original can be seen from this: https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8624698002/job/23640117337
When moving these submodule declarations into the root directory of the repository, submodules are detected but it still was not possible to clone the repositories with following unknown error:
Original can be seen from this action: https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8791371654/job/24125441576
Which leds me to believe (I could be wrong) that these submodules were never really cloned AND not needed.
They were added in 4.0.0 as part of fork from autoware, and the packages we build don't seem to need them:
please check this PR where basically removed the submodules usdot-fhwa-stol/autoware.ai#268
And the build succeeds: https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8630864827/job/23658072373?pr=268
However, I am not sure whether if this will fail at run-time or fail on features that we do not use currently such as any perception involved operations.
Version
4.5.0 (Current)
Expected Behavior
See above
Actual Behavior
See above
Steps to Reproduce the Actual Behavior
See above
Related Work
No response
The text was updated successfully, but these errors were encountered: