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

[DO NOT MERGE] Investigation into why github action is failing #268

Closed
wants to merge 10 commits into from

Conversation

MishkaMN
Copy link

@MishkaMN MishkaMN commented Apr 9, 2024

PR Details

Description

This is the first time this is occuring after changing our github workflow dockerhub yml here:
#266

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). Similar error also can be seen from freshly cloned repo by:

$ git submodule status
fatal: no submodule mapping found in .gitmodules for path 'jsk_common_msgs/.travis'

Therefore this PR, removes the cached submodules. from the git by:

git rm --cached jsk_recognition/jsk_perception/slic
git rm --cached jsk_recognition/jsk_perception/node_scripts/deep_sort/deep_sort
git rm --cached jsk_recognition/.travis
git rm --cached jsk_common_msgs/.travis

and re-intialize them:

 git submodule update --init --recursive 

Now the git submodule status should not return error.

EDIT: it should also show the submodules, but it is NOT currently... which means I just deleted the submodule...

Error on the dockerhub build during github workflow:

#1 [internal] load git source https://github.com/usdot-fhwa-stol/autoware.ai.git#eeaa1296f41c24378bb6a9de4971c4022435a0fd
#1 0.080 Initialized empty Git repository in /var/lib/buildkit/runc-overlayfs/snapshots/snapshots/1/fs/
#1 0.[115](https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8624683047/job/23640077614#step:7:120) fatal: Not a valid object name eeaa1296f41c24378bb6a9de4971c4022435a0fd^{commit}
#1 11.08 From https://github.com/usdot-fhwa-stol/autoware.ai
#1 11.08  * [new branch]          bugfix/auto_builds      -> origin/bugfix/auto_builds
#1 11.08  * [new branch]          carma-develop           -> origin/carma-develop
#1 11.08  * [new branch]          carma-master            -> origin/carma-master
#1 11.08  * [new branch]          compilation-database    -> origin/compilation-database
#1 11.08  * [new branch]          feature/add_can2odom    -> origin/feature/add_can2odom
#1 11.08  * [new branch]          feature/add_gha         -> origin/feature/add_gha
#1 11.08  * [new branch]          feature/add_polymorphism_to_reg_elem -> origin/feature/add_polymorphism_to_reg_elem
#1 11.08  * [new branch]          feature/arm_port        -> origin/feature/arm_port
#1 11.08  * [new branch]          feature/bus_stop_sp     -> origin/feature/bus_stop_sp
#1 11.08  * [new branch]          feature/carla_bridge    -> origin/feature/carla_bridge
#1 11.08  * [new branch]          feature/carma_python_support -> origin/feature/carma_python_support
#1 11.08  * [new branch]          feature/ekf_timestamp   -> origin/feature/ekf_timestamp
#1 11.08  * [new branch]          feature/enhanced-build-warnings -> origin/feature/enhanced-build-warnings
#1 11.08  * [new branch]          feature/gear_change_update -> origin/feature/gear_change_update
#1 11.08  * [new branch]          feature/gitmodule       -> origin/feature/gitmodule
#1 11.08  * [new branch]          feature/ihp_develop_merge -> origin/feature/ihp_develop_merge
#1 11.08  * [new branch]          feature/lanelet2_participation_type -> origin/feature/lanelet2_participation_type
#1 11.08  * [new branch]          feature/lanelet2_update -> origin/feature/lanelet2_update
#1 11.08  * [new branch]          feature/mpc_controller  -> origin/feature/mpc_controller
#1 11.08  * [new branch]          feature/mpc_test        -> origin/feature/mpc_test
#1 11.08  * [new branch]          feature/msgs_ros1_and_ros2_compile_backup -> origin/feature/msgs_ros1_and_ros2_compile_backup
#1 11.08  * [new branch]          feature/ndt_with_imu    -> origin/feature/ndt_with_imu
#1 11.08  * [new branch]          feature/object_detection -> origin/feature/object_detection
#1 11.08  * [new branch]          feature/object_tracking -> origin/feature/object_tracking
#1 11.08  * [new branch]          feature/ros2_update_amathutils -> origin/feature/ros2_update_amathutils
#1 11.08  * [new branch]          feature/update_ci_for_ros2 -> origin/feature/update_ci_for_ros2
#1 11.08  * [new branch]          feature/update_ekf_tf_pub -> origin/feature/update_ekf_tf_pub
#1 11.08  * [new branch]          feature/update_tfhrc_full_map_tf -> origin/feature/update_tfhrc_full_map_tf
#1 11.08  * [new branch]          feature/voxel_grid_filter -> origin/feature/voxel_grid_filter
#1 11.08  * [new branch]          fix/cleaner_speed_limit_constraint -> origin/fix/cleaner_speed_limit_constraint
#1 11.09  * [new branch]          fix/jsk_common_msgs     -> origin/fix/jsk_common_msgs
#1 11.09  * [new branch]          fix/jsk_common_msgs_actually_working -> origin/fix/jsk_common_msgs_actually_working
#1 11.09  * [new branch]          fix/lanelet2_traffic_rules_install -> origin/fix/lanelet2_traffic_rules_install
#1 11.09  * [new branch]          fix/lanelet_or_area     -> origin/fix/lanelet_or_area
#1 11.09  * [new branch]          fix/message_install     -> origin/fix/message_install
#1 11.09  * [new branch]          fix/mrt_cmake_modules_install -> origin/fix/mrt_cmake_modules_install
#1 11.09  * [new branch]          fix/only_update_map_when_vehicle_changes_pos -> origin/fix/only_update_map_when_vehicle_changes_pos
#1 11.09  * [new branch]          fix/purepursuit_stopnwait -> origin/fix/purepursuit_stopnwait
#1 11.09  * [new branch]          fix/revert_ndt_matching -> origin/fix/revert_ndt_matching
#1 11.09  * [new branch]          fix/ros2_localization   -> origin/fix/ros2_localization
#1 11.09  * [new branch]          fix/rout_following      -> origin/fix/rout_following
#1 11.09  * [new branch]          fix/speed_limit_overwrite -> origin/fix/speed_limit_overwrite
#1 11.09  * [new branch]          fix/speed_limits        -> origin/fix/speed_limits
#1 11.09  * [new branch]          fix/vector_map_alignment -> origin/fix/vector_map_alignment
#1 11.09  * [new branch]          gha                     -> origin/gha
#1 11.09  * [new branch]          hotfix/higher_point_limit -> origin/hotfix/higher_point_limit
#1 11.09  * [new branch]          integration/autoware-1.12-upgrade -> origin/integration/autoware-1.12-upgrade
#1 11.09  * [new branch]          integration/autoware-1.13-alpha-upgrade -> origin/integration/autoware-1.13-alpha-upgrade
#1 11.09  * [new branch]          integration/autoware-1.13-prerelease -> origin/integration/autoware-1.13-prerelease
#1 11.09  * [new branch]          integration/ros_noetic  -> origin/integration/ros_noetic
#1 11.09  * [new branch]          noetic/develop          -> origin/noetic/develop
#1 11.09  * [new branch]          noetic/release          -> origin/noetic/release
#1 11.09  * [new branch]          refactor_lanelet2_extension -> origin/refactor_lanelet2_extension
#1 11.09  * [new branch]          release/a1              -> origin/release/a1
#1 11.09  * [new branch]          release/autobuild_test  -> origin/release/autobuild_test
#1 11.09  * [new branch]          release/cabin           -> origin/release/cabin
#1 11.09  * [new branch]          release/demo            -> origin/release/demo
#1 11.09  * [new branch]          release/fiesta          -> origin/release/fiesta
#1 11.09  * [new branch]          release/grayson_test    -> origin/release/grayson_test
#1 11.09  * [new branch]          release/isetta          -> origin/release/isetta
#1 11.09  * [new branch]          release/k900            -> origin/release/k900
#1 11.09  * [new branch]          release/lavida          -> origin/release/lavida
#1 11.09  * [new branch]          remove-build-wrapper    -> origin/remove-build-wrapper
#1 11.09  * [new branch]          resolve_conflicts       -> origin/resolve_conflicts
#1 11.09  * [new branch]          reusable-workflows      -> origin/reusable-workflows
#1 11.09  * [new branch]          revert-28-release/skyline -> origin/revert-28-release/skyline
#1 11.09  * [new branch]          revert-31-feature/update-autoware-version -> origin/revert-31-feature/update-autoware-version
#1 11.09  * [new branch]          sync-master-to-develop  -> origin/sync-master-to-develop
#1 11.09  * [new branch]          sync_develop_with_3_7   -> origin/sync_develop_with_3_7
#1 11.09  * [new branch]          sync_develop_with_elise -> origin/sync_develop_with_elise
#1 11.09  * [new branch]          sync_elise_with_master  -> origin/sync_elise_with_master
#1 11.09  * [new branch]          test/ekf_filter         -> origin/test/ekf_filter
#1 11.09  * [new branch]          test/localization_stack -> origin/test/localization_stack
#1 11.09  * [new branch]          test/master_voices      -> origin/test/master_voices
#1 11.09  * [new branch]          test/voices-pursuit-fix -> origin/test/voices-pursuit-fix
#1 11.09  * [new branch]          update-version-4.5.0    -> origin/update-version-4.5.0
#1 11.09  * [new tag]             carma-system-4.5.0      -> carma-system-4.5.0
#1 11.09  * [new tag]             sit1_rfr                -> sit1_rfr
#1 11.15  * [new tag]             1.0.0                   -> 1.0.0
#1 11.15  * [new tag]             1.0.1                   -> 1.0.1
#1 11.15  * [new tag]             1.1.0                   -> 1.1.0
#1 11.15  * [new tag]             1.1.1                   -> 1.1.1
#1 11.15  * [new tag]             1.1.2                   -> 1.1.2
#1 11.15  * [new tag]             1.10.0                  -> 1.10.0
#1 11.15  * [new tag]             1.11.0                  -> 1.11.0
#1 11.15  * [new tag]             1.2.0                   -> 1.2.0
#1 11.15  * [new tag]             1.3.0                   -> 1.3.0
#1 11.16  * [new tag]             1.3.1                   -> 1.3.1
#1 11.16  * [new tag]             1.4.0                   -> 1.4.0
#1 11.16  * [new tag]             1.5.0                   -> 1.5.0
#1 11.16  * [new tag]             1.5.1                   -> 1.5.1
#1 11.16  * [new tag]             1.6.0                   -> 1.6.0
#1 11.16  * [new tag]             1.6.1                   -> 1.6.1
#1 11.16  * [new tag]             1.6.2                   -> 1.6.2
#1 11.16  * [new tag]             1.6.3                   -> 1.6.3
#1 11.16  * [new tag]             1.7.0                   -> 1.7.0
#1 11.16  * [new tag]             1.8.0                   -> 1.8.0
#1 11.16  * [new tag]             1.9.0                   -> 1.9.0
#1 11.16  * [new tag]             1.9.1                   -> 1.9.1
#1 11.16  * [new tag]             CARMASystem_3.1.0       -> CARMASystem_3.1.0
#1 11.16  * [new tag]             CARMASystem_3.2.0       -> CARMASystem_3.2.0
#1 11.16  * [new tag]             Version_3.0.0           -> Version_3.0.0
#1 11.16  * [new tag]             autoware.ai-3.8.2       -> autoware.ai-3.8.2
#1 11.16  * [new tag]             autoware.ai-3.9.0       -> autoware.ai-3.9.0
#1 11.16  * [new tag]             autoware.ai_3.0.0       -> autoware.ai_3.0.0
#1 11.16  * [new tag]             autoware.ai_3.1.0       -> autoware.ai_3.1.0
#1 11.16  * [new tag]             autoware.ai_3.2.0       -> autoware.ai_3.2.0
#1 11.16  * [new tag]             autoware.ai_3.3.0       -> autoware.ai_3.3.0
#1 11.16  * [new tag]             autoware.ai_3.4.0       -> autoware.ai_3.4.0
#1 11.16  * [new tag]             autoware.ai_3.5.0       -> autoware.ai_3.5.0
#1 11.16  * [new tag]             autoware.ai_3.6.0       -> autoware.ai_3.6.0
#1 11.16  * [new tag]             autoware.ai_3.7.0       -> autoware.ai_3.7.0
#1 11.16  * [new tag]             autoware.ai_3.8.0       -> autoware.ai_3.8.0
#1 11.16  * [new tag]             autoware.ai_3.8.1       -> autoware.ai_3.8.1
#1 11.16  * [new tag]             carma-system-3.10.0     -> carma-system-3.10.0
#1 11.16  * [new tag]             carma-system-3.11.0     -> carma-system-3.11.0
#1 11.16  * [new tag]             carma-system-3.4.0      -> carma-system-3.4.0
#1 11.16  * [new tag]             carma-system-3.4.1      -> carma-system-3.4.1
#1 11.16  * [new tag]             carma-system-3.4.2      -> carma-system-3.4.2
#1 11.16  * [new tag]             carma-system-3.4.3      -> carma-system-3.4.3
#1 11.16  * [new tag]             carma-system-3.5.0      -> carma-system-3.5.0
#1 11.16  * [new tag]             carma-system-3.5.3      -> carma-system-3.5.3
#1 11.16  * [new tag]             carma-system-3.6.0      -> carma-system-3.6.0
#1 11.16  * [new tag]             carma-system-3.7.0      -> carma-system-3.7.0
#1 11.16  * [new tag]             carma-system-3.8.0      -> carma-system-3.8.0
#1 11.16  * [new tag]             carma-system-3.9.0      -> carma-system-3.9.0
#1 11.16  * [new tag]             carma-system-4.0.0      -> carma-system-4.0.0
#1 11.16  * [new tag]             carma-system-4.0.3      -> carma-system-4.0.3
#1 11.16  * [new tag]             carma-system-4.1.0      -> carma-system-4.1.0
#1 11.16  * [new tag]             carma-system-4.2.0      -> carma-system-4.2.0
#1 11.16  * [new tag]             carma-system-4.3.0      -> carma-system-4.3.0
#1 11.16  * [new tag]             carma-system-4.4.0      -> carma-system-4.4.0
#1 13.82 fatal: No url found for submodule path 'jsk_common_msgs/.travis' in .gitmodules
#1 ERROR: failed to update submodules for https://github.com/usdot-fhwa-stol/autoware.ai.git: git error: exit status 128
stderr:
fatal: No url found for submodule path 'jsk_common_msgs/.travis' in .gitmodules

------
 > [internal] load git source https://github.com/usdot-fhwa-stol/autoware.ai.git#eeaa1296f41c24378bb6a9de4971c4022435a0fd:
11.16  * [new tag]             carma-system-3.7.0      -> carma-system-3.7.0
11.16  * [new tag]             carma-system-3.8.0      -> carma-system-3.8.0
11.16  * [new tag]             carma-system-3.9.0      -> carma-system-3.9.0
11.16  * [new tag]             carma-system-4.0.0      -> carma-system-4.0.0
11.16  * [new tag]             carma-system-4.0.3      -> carma-system-4.0.3
11.16  * [new tag]             carma-system-4.1.0      -> carma-system-4.1.0
11.16  * [new tag]             carma-system-4.2.0      -> carma-system-4.2.0
11.16  * [new tag]             carma-system-4.3.0      -> carma-system-4.3.0
11.16  * [new tag]             carma-system-4.4.0      -> carma-system-4.4.0
13.82 fatal: No url found for submodule path 'jsk_common_msgs/.travis' in .gitmodules
------
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 [128](https://github.com/usdot-fhwa-stol/autoware.ai/actions/runs/8624683047/job/23640077614#step:7:133)
stderr:
fatal: No url found for submodule path 'jsk_common_msgs/.travis' in .gitmodules

Related GitHub Issue

Related Jira Key

Motivation and Context

How Has This Been Tested?

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@MishkaMN MishkaMN self-assigned this Apr 10, 2024
@MishkaMN MishkaMN added the bug Something isn't working label Apr 10, 2024
@MishkaMN MishkaMN marked this pull request as draft April 10, 2024 12:27
@MishkaMN MishkaMN changed the title try fixing gitmodule errro [DO NOT MERGE] Investigation into why github action is failing Apr 10, 2024
@MishkaMN
Copy link
Author

#270
Actions now work with updates on this PR. It was indeed that the submodules were not used before

@MishkaMN MishkaMN closed this Apr 23, 2024
@MishkaMN MishkaMN deleted the feature/gitmodule branch April 23, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant