Skip to content

Commit 6db5d0f

Browse files
xmfcxlewisjsmith
authored andcommitted
ci(build-and-test): fix ci issues (autowarefoundation#283)
Signed-off-by: M. Fatih Cırıt <mfc@autoware.org> Signed-off-by: Lewis Smith <lewisjohnsmith2@gmail.com>
1 parent 27ded63 commit 6db5d0f

5 files changed

Lines changed: 13 additions & 21 deletions

File tree

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,14 @@ jobs:
2121
- -cuda
2222
include:
2323
- rosdistro: humble
24-
container: ghcr.io/autowarefoundation/autoware:latest-prebuilt
24+
container: ghcr.io/autowarefoundation/autoware:universe-devel
2525
build-depends-repos: build_depends.repos
2626
steps:
2727
- name: Check out repository
2828
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 1
3131

32-
- name: Free disk space (Ubuntu)
33-
uses: jlumbroso/free-disk-space@v1.2.0
34-
with:
35-
tool-cache: false
36-
dotnet: false
37-
swap-storage: false
38-
large-packages: false
39-
4032
- name: Remove exec_depend
4133
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
4234

build_depends.repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repositories:
2929
core/autoware_lanelet2_extension:
3030
type: git
3131
url: https://github.com/autowarefoundation/autoware_lanelet2_extension.git
32-
version: 0.7.0
32+
version: 0.8.0
3333
# universe
3434
universe/autoware.universe:
3535
type: git

planning/autoware_static_centerline_generator/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,38 +54,38 @@ if(BUILD_TESTING)
5454
# default settings (centerline_source=optimization_trajectory_base, mode=AUTO)
5555
add_launch_test(
5656
test/test_static_centerline_generator_launch.test.py
57-
TIMEOUT "30"
57+
TIMEOUT 30
5858
)
5959
# 2. mode=AUTO
6060
# 2.1. goal_method=path_generator, centerline_source=optimization_trajectory_base
6161
# various cases with start/end pose
6262
add_launch_test(
6363
test/test_static_centerline_generator_path_generator_case1_launch.test.py
64-
TIMEOUT "30"
64+
TIMEOUT 90
6565
)
6666
add_launch_test(
6767
test/test_static_centerline_generator_path_generator_case2_launch.test.py
68-
TIMEOUT "30"
68+
TIMEOUT 90
6969
)
7070
add_launch_test(
7171
test/test_static_centerline_generator_path_generator_case3_launch.test.py
72-
TIMEOUT "30"
72+
TIMEOUT 90
7373
)
7474
add_launch_test(
7575
test/test_static_centerline_generator_path_generator_case4_launch.test.py
76-
TIMEOUT "30"
76+
TIMEOUT 90
7777
)
7878
# # 2.2. goal_method=behavior_path_planner, centerline_source=optimization_trajectory_base
7979
# # NOTE: Commented out since goal_method=behavior_path_planner is not supported.
8080
# add_launch_test(
8181
# test/test_static_centerline_generator_behavior_path_planner_launch.test.py
82-
# TIMEOUT "30"
82+
# TIMEOUT 60
8383
# )
8484
# 3. mode=GUI
8585
# centerline_source=bag_ego_trajectory_base
8686
add_launch_test(
8787
test/test_static_centerline_generator_gui_launch.test.py
88-
TIMEOUT "30"
88+
TIMEOUT 120
8989
)
9090
install(DIRECTORY
9191
test/data/

planning/autoware_static_centerline_generator/test/test_static_centerline_generator_gui_launch.test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test(self):
6666
)
6767
self.pub_traj_end_idx.publish(create_Int32(150))
6868

69-
rclpy.spin_once(self.traj_sub_node, timeout_sec=10.0)
69+
rclpy.spin_once(self.traj_sub_node, timeout_sec=30.0)
7070

7171
# validate
7272
self.pub_validate = self.traj_sub_node.create_publisher(
@@ -82,7 +82,7 @@ def test(self):
8282
self.pub_save_map.publish(Empty())
8383

8484
# subscribe the map_saved
85-
rclpy.spin_once(self.map_saved_sub_node, timeout_sec=10.0)
85+
rclpy.spin_once(self.map_saved_sub_node, timeout_sec=30.0)
8686

8787
# check if the subscription is successful
8888
self.assertIsNotNone(self.centerline)

planning/autoware_static_centerline_generator/test/utils/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def setUp(self):
8686
qos_profile,
8787
)
8888
print("spin_once for self.traj_sub_node")
89-
rclpy.spin_once(self.traj_sub_node, timeout_sec=20.0)
89+
rclpy.spin_once(self.traj_sub_node, timeout_sec=60.0)
9090

9191
# subscribe the map_saved flag
9292
self.map_saved_sub_node.create_subscription(
@@ -96,7 +96,7 @@ def setUp(self):
9696
qos_profile,
9797
)
9898
print("spin_once for self.map_saved_sub_node")
99-
rclpy.spin_once(self.map_saved_sub_node, timeout_sec=10.0)
99+
rclpy.spin_once(self.map_saved_sub_node, timeout_sec=60.0)
100100

101101
print("end setUp")
102102

0 commit comments

Comments
 (0)