Closed Arjun911 closed 6 years ago
Hi I tried doing fresh installation but getting below error while release ` [WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md. INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling cp: cannot stat '/apollo/bazel-apollo/bazel-out/local-opt/bin/modules/perception/cuda_util/libintegrated_cuda_util.so': No such file or directory
`
@Arjun911 Please follow these additional steps as you are using Ubuntu 16 and let me know if you see any further errors.
@natashadsouza thanks for quick reply. I decided to reinstall everything. below is my progress
Yes i have done necessary changes as mentioned above for ubuntu 16. Build is also successful. but not able to pass all unit test cases. below is nvidia-smi result
` $ nvidia-smi
Mon Aug 27 14:18:45 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130 Driver Version: 384.130 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 TITAN Xp Off | 00000000:01:00.0 On | N/A |
| 23% 32C P8 12W / 250W | 436MiB / 12185MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1153 G /usr/lib/xorg/Xorg 232MiB | | 0 2370 G compiz 78MiB | | 0 4319 G ...-token=A5F79C92488A2C684DEF6012CF61B460 52MiB | | 0 20995 G ...-token=3BC62F48180710E9871B61A5AF66B850 69MiB | +-----------------------------------------------------------------------------+ `
below is test case run result
[7,098 / 7,241] 78 / 222 tests, 1 failed; Testing //modules/map/pnc_map:pnc_path_test; 1s local ... (5 actions running) [7,138 / 7,261] 98 / 222 tests, 1 failed; Testing //modules/localization/msf/local_map/test:localization_msf_local_map_test; 2s local ... (5 actions running) [7,342 / 7,347] 179 / 222 tests, 1 failed; Testing //modules/localization/msf/local_map/test:localization_msf_local_map_test; 4s local ... (5 actions running) [8,081 / 8,086] 213 / 222 tests, 1 failed; Testing //modules/localization/msf/local_map/test:localization_msf_local_map_test; 6s local ... (5 actions running) INFO: Elapsed time: 18.275s, Critical Path: 7.54s INFO: Build completed, 1 test FAILED, 223 total actions //modules/canbus:canbus_test PASSED in 0.2s //modules/canbus/vehicle/gem:gem_controller_test PASSED in 0.1s //modules/canbus/vehicle/gem:gem_message_manager_test PASSED in 0.1s //modules/canbus/vehicle/gem:gem_vehicle_factory_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:accel_cmd_67_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:accel_rpt_68_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:brake_motor_rpt_1_70_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:brake_motor_rpt_2_71_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:brake_motor_rpt_3_72_test PASSED in 0.0s //modules/canbus/vehicle/gem/protocol:brake_rpt_6c_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:date_time_rpt_83_test PASSED in 0.0s //modules/canbus/vehicle/gem/protocol:global_rpt_6a_test PASSED in 0.0s //modules/canbus/vehicle/gem/protocol:lat_lon_heading_rpt_82_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:steering_motor_rpt_1_73_test PASSED in 0.0s //modules/canbus/vehicle/gem/protocol:steering_motor_rpt_2_74_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:steering_motor_rpt_3_75_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:steering_rpt_1_6e_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:wheel_speed_rpt_7a_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:wiper_rpt_91_test PASSED in 0.1s //modules/canbus/vehicle/gem/protocol:yaw_rate_rpt_81_test PASSED in 0.1s //modules/canbus/vehicle/lincoln:lincoln_controller_test PASSED in 0.5s //modules/canbus/vehicle/lincoln:lincoln_message_manager_test PASSED in 0.1s //modules/canbus/vehicle/lincoln:lincoln_vehicle_factory_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:accel_6b_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:brake_60_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:brake_61_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:brakeinfo_74_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:fuellevel_72_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:gear_66_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:gear_67_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:gps_6d_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:gps_6e_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:gps_6f_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:gyro_6c_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:misc_69_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:steering_64_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:steering_65_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:surround_73_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:throttle_62_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:throttle_63_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:throttleinfo_75_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:tirepressure_71_test PASSED in 0.0s //modules/canbus/vehicle/lincoln/protocol:turnsignal_68_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:version_7f_test PASSED in 0.1s //modules/canbus/vehicle/lincoln/protocol:wheelspeed_6a_test PASSED in 0.1s //modules/canbus/vehicle:vehicle_factory_test PASSED in 0.1s //modules/common/adapters:adapter_test PASSED in 0.1s //modules/common/configs:vehicle_config_helper_test PASSED in 0.1s //modules/common/filters:digital_filter_coefficients_test PASSED in 0.0s //modules/common/filters:digital_filter_test PASSED in 0.0s //modules/common/filters:mean_filter_test PASSED in 0.0s //modules/common/kv_db:kv_db_test PASSED in 2.0s //modules/common/math:aabox2d_test PASSED in 0.0s //modules/common/math:aaboxkdtree2d_test PASSED in 0.3s //modules/common/math:angle_test PASSED in 0.0s //modules/common/math:box2d_test PASSED in 0.2s //modules/common/math:cartesian_frenet_conversion_test PASSED in 0.0s //modules/common/math:euler_angles_zxy_test PASSED in 0.0s //modules/common/math:integral_test PASSED in 0.0s //modules/common/math:kalman_filter_test PASSED in 0.0s //modules/common/math:line_segment2d_test PASSED in 0.0s //modules/common/math:linear_interpolation_test PASSED in 0.0s //modules/common/math:math_utils_test PASSED in 0.0s //modules/common/math:matrix_operations_test PASSED in 0.0s //modules/common/math:mpc_test PASSED in 0.0s //modules/common/math:polygon2d_test PASSED in 0.2s //modules/common/math/qp_solver:active_set_qp_solver_test PASSED in 0.0s //modules/common/math:quaternion_test PASSED in 0.0s //modules/common/math:search_test PASSED in 0.0s //modules/common/math:vec2d_test PASSED in 0.0s //modules/common/monitor_log:monitor_log_buffer_test PASSED in 0.1s //modules/common/monitor_log:monitor_logger_test PASSED in 0.1s //modules/common/status:status_test PASSED in 0.0s //modules/common/time:time_test PASSED in 0.0s //modules/common/time:timer_test PASSED in 0.8s //modules/common/util:disjoint_set_test PASSED in 0.0s //modules/common/util:factory_test PASSED in 0.0s //modules/common/util:file_test PASSED in 0.1s //modules/common/util:json_util_test PASSED in 0.0s //modules/common/util:lru_cache_test PASSED in 0.0s //modules/common/util:points_downsampler_test PASSED in 0.0s //modules/common/util:string_tokenizer_test PASSED in 0.1s //modules/common/util:string_util_test PASSED in 0.0s //modules/common/util:util_test PASSED in 0.1s //modules/common/vehicle_state:vehicle_state_provider_test PASSED in 0.1s //modules/control/common:hysteresis_filter_test PASSED in 0.0s //modules/control/common:interpolation_1d_test PASSED in 0.2s //modules/control/common:interpolation_2d_test PASSED in 0.1s //modules/control/common:pid_BC_controller_test PASSED in 0.2s //modules/control/common:pid_IC_controller_test PASSED in 0.1s //modules/control/common:pid_controller_test PASSED in 0.1s //modules/control/common:trajectory_analyzer_test PASSED in 0.1s //modules/control:control_test PASSED in 0.2s //modules/control/controller:lat_controller_test PASSED in 0.1s //modules/control/controller:lon_controller_test PASSED in 0.2s //modules/control/controller:mpc_controller_test PASSED in 0.1s //modules/control/integration_tests:mpc_controller_test PASSED in 0.2s //modules/control/integration_tests:relative_position_test PASSED in 0.2s //modules/control/integration_tests:simple_control_test PASSED in 0.3s //modules/dreamview/backend/handlers:websocket_handler_test PASSED in 1.6s //modules/dreamview/backend/hmi:hmi_worker_test PASSED in 0.2s //modules/dreamview/backend/hmi:vehicle_manager_test PASSED in 0.1s //modules/dreamview/backend/map:map_service_test PASSED in 0.2s //modules/dreamview/backend/sim_control:sim_control_test PASSED in 0.2s //modules/dreamview/backend/simulation_world:simulation_world_service_test PASSED in 1.2s //modules/dreamview/backend/util:trajectory_point_collector_test PASSED in 0.0s //modules/drivers/canbus/can_client:can_client_factory_test PASSED in 0.1s //modules/drivers/canbus/can_client/fake:fake_can_client_test PASSED in 0.1s //modules/drivers/canbus/can_client/hermes_can:hermes_can_client_test PASSED in 0.1s //modules/drivers/canbus/can_client/socket:socket_can_client_raw_test PASSED in 0.1s //modules/drivers/canbus/can_comm:can_receiver_test PASSED in 0.1s //modules/drivers/canbus/can_comm:can_sender_test PASSED in 0.1s //modules/drivers/canbus/can_comm:message_manager_test PASSED in 0.1s //modules/drivers/canbus/can_comm:protocol_data_test PASSED in 0.1s //modules/drivers/canbus/common:byte_test PASSED in 0.0s //modules/localization/msf/common/test:localization_msf_common_test PASSED in 0.1s //modules/localization/msf/local_map/test:localization_msf_local_map_test PASSED in 7.3s //modules/localization/msf:msf_localization_test PASSED in 0.2s //modules/localization/rtk:rtk_localization_test PASSED in 0.3s //modules/map/hdmap:hdmap_map_test PASSED in 0.7s //modules/map/hdmap:hdmap_util_test PASSED in 0.2s //modules/map/pnc_map:pnc_map_test PASSED in 0.8s //modules/map/pnc_map:pnc_path_test PASSED in 2.7s //modules/map/pnc_map:route_segments_test PASSED in 0.7s //modules/perception/common:common_test PASSED in 0.4s //modules/perception/common:convex_hullxy_test PASSED in 0.1s //modules/perception/common/sequence_type_fuser:object_sequence_test PASSED in 0.7s //modules/perception/common/sequence_type_fuser:sequence_type_fuser_test PASSED in 0.6s //modules/perception/lib/base:perception_lib_base_test PASSED in 0.0s //modules/perception/obstacle/base:base_test PASSED in 0.2s //modules/perception/obstacle/camera/converter:geometry_camera_converter_test PASSED in 0.4s //modules/perception/obstacle/camera/lane_post_process/cc_lane_post_processor:cc_lane_post_processor_test PASSED in 2.9s //modules/perception/obstacle/common:common_test PASSED in 0.4s //modules/perception/obstacle/fusion/probabilistic_fusion:pbf_motion_fusion_test PASSED in 1.0s //modules/perception/obstacle/fusion/probabilistic_fusion:pbf_sensor_manager_test PASSED in 0.7s //modules/perception/obstacle/fusion/probabilistic_fusion:pbf_track_test PASSED in 0.9s //modules/perception/obstacle/fusion/probabilistic_fusion:probabilistic_fusion_test PASSED in 0.7s //modules/perception/obstacle/lidar/object_builder/min_box:min_box_test PASSED in 0.4s //modules/perception/obstacle/lidar/object_filter/low_object_filter:low_object_filter_test PASSED in 0.5s //modules/perception/obstacle/lidar/roi_filter/hdmap_roi_filter:hdmap_roi_filter_test PASSED in 0.7s //modules/perception/obstacle/lidar/tracker/hm_tracker:hm_tracker_test PASSED in 1.4s //modules/perception/obstacle/onboard:hdmap_input_test PASSED in 4.3s //modules/perception/obstacle/onboard:lidar_process_test PASSED in 1.0s //modules/perception/obstacle/radar/modest:conti_radar_id_expansion_test PASSED in 0.9s //modules/perception/obstacle/radar/modest:conti_radar_util_test PASSED in 0.7s //modules/perception/obstacle/radar/modest:modest_radar_detector_test PASSED in 0.6s //modules/perception/onboard:subnode_test PASSED in 0.5s //modules/perception/traffic_light/base:base_test PASSED in 0.7s //modules/perception/traffic_light/preprocessor:tl_preprocessor_test PASSED in 0.6s //modules/perception/traffic_light/projection:multi_camera_projection_test PASSED in 0.8s //modules/perception/traffic_light/reviser:perception_traffic_light_reviser_test PASSED in 0.8s //modules/planning/common:frame_test PASSED in 0.4s //modules/planning/common:indexed_list_test PASSED in 0.1s //modules/planning/common:indexed_queue_test PASSED in 0.1s //modules/planning/common:obstacle_test PASSED in 0.2s //modules/planning/common/path:discretized_path_test PASSED in 0.1s //modules/planning/common/path:frenet_frame_path_test PASSED in 0.5s //modules/planning/common:path_obstacle_test PASSED in 0.2s //modules/planning/common/speed:st_boundary_test PASSED in 0.5s //modules/planning/common:speed_limit_test PASSED in 0.0s //modules/planning/common/trajectory:discretized_trajectory_test PASSED in 0.2s //modules/planning/common/trajectory:publishable_trajectory_test PASSED in 0.2s //modules/planning/integration_tests:garage_test PASSED in 0.7s //modules/planning/integration_tests:navigation_mode_test PASSED in 0.6s //modules/planning/integration_tests:sunnyvale_big_loop_test PASSED in 7.5s //modules/planning/integration_tests:sunnyvale_loop_test PASSED in 3.3s //modules/planning/math/curve1d:cubic_polynomial_curve1d_test PASSED in 0.0s //modules/planning/math/curve1d:piecewise_quintic_spiral_path_test PASSED in 0.0s //modules/planning/math/curve1d:quartic_polynomial_curve1d_test PASSED in 0.0s //modules/planning/math/curve1d:quintic_polynomial_curve1d_test PASSED in 0.0s //modules/planning/math:curve_math_test PASSED in 0.0s //modules/planning/math/smoothing_spline:piecewise_linear_constraint_test PASSED in 0.0s //modules/planning/math/smoothing_spline:piecewise_linear_kernel_test PASSED in 0.0s //modules/planning/math/smoothing_spline:spline_1d_constraint_test PASSED in 0.0s //modules/planning/math/smoothing_spline:spline_1d_generator_test PASSED in 0.1s //modules/planning/math/smoothing_spline:spline_1d_kernel_test PASSED in 0.0s //modules/planning/math/smoothing_spline:spline_2d_constraint_test PASSED in 0.0s //modules/planning/math/smoothing_spline:spline_2d_kernel_test PASSED in 0.0s //modules/planning/math/smoothing_spline:spline_2d_solver_test PASSED in 0.1s //modules/planning/navi/decider:navi_decider_test PASSED in 0.3s //modules/planning/planner/navi:navi_planner_test PASSED in 0.4s //modules/planning/planner/rtk:rtk_replay_planner_test PASSED in 0.4s //modules/planning/reference_line:cos_theta_reference_line_smoother_test PASSED in 0.3s //modules/planning/reference_line:qp_spline_reference_line_smoother_test PASSED in 0.2s //modules/planning/tasks/dp_poly_path:comparable_cost_test PASSED in 0.3s //modules/planning/tasks/dp_poly_path:trajectory_cost_test PASSED in 0.3s //modules/planning/tasks/dp_st_speed:dp_st_graph_test PASSED in 0.4s //modules/planning/tasks/st_graph:speed_limit_decider_test PASSED in 0.4s //modules/planning/tasks/st_graph:st_boundary_mapper_test PASSED in 0.4s //modules/planning/tasks/st_graph:st_graph_data_test PASSED in 0.1s //modules/prediction/common:feature_output_test PASSED in 0.1s //modules/prediction/common:prediction_map_test PASSED in 0.2s //modules/prediction/common:prediction_util_test PASSED in 0.2s //modules/prediction/common:road_graph_test PASSED in 0.3s //modules/prediction/common:validation_checker_test PASSED in 0.0s //modules/prediction/container/adc_trajectory:adc_trajectory_container_test PASSED in 0.2s //modules/prediction/container:container_manager_test PASSED in 0.2s //modules/prediction/container/obstacles:obstacle_clusters_test PASSED in 0.2s //modules/prediction/container/obstacles:obstacle_test PASSED in 0.3s //modules/prediction/container/obstacles:obstacles_container_test PASSED in 0.3s //modules/prediction/container/pose:pose_container_test PASSED in 0.0s //modules/prediction/evaluator:evaluator_manager_test PASSED in 0.3s //modules/prediction/evaluator/vehicle:cost_evaluator_test PASSED in 0.3s //modules/prediction/evaluator/vehicle:mlp_evaluator_test PASSED in 0.2s //modules/prediction/evaluator/vehicle:rnn_evaluator_test PASSED in 0.2s //modules/prediction/network:net_layer_test PASSED in 0.0s //modules/prediction/network:net_util_test PASSED in 0.1s //modules/prediction/network/rnn_model:rnn_model_test PASSED in 0.1s //modules/prediction:prediction_test PASSED in 0.3s //modules/prediction/predictor/empty:empty_predictor_test PASSED in 0.3s //modules/prediction/predictor/free_move:free_move_predictor_test PASSED in 0.3s //modules/prediction/predictor/lane_sequence:lane_sequence_predictor_test PASSED in 0.2s //modules/prediction/predictor/move_sequence:move_sequence_predictor_test PASSED in 0.3s //modules/prediction/predictor:predictor_manager_test PASSED in 0.3s //modules/prediction/predictor/regional:regional_predictor_test PASSED in 0.2s //modules/prediction/predictor/sequence:sequence_predictor_test PASSED in 0.3s //modules/prediction/predictor/single_lane:single_lane_predictor_test PASSED in 0.2s //modules/routing/graph:sub_topo_graph_test PASSED in 0.1s //modules/routing/graph:topo_graph_test PASSED in 0.1s //modules/routing/graph:topo_node_test PASSED in 0.1s //modules/routing/graph:topo_range_test PASSED in 0.1s //modules/perception/integration_tests:sunnyvale_big_loop_test FAILED in 1.6s /home/infy-av/.cache/bazel/_bazel_infy-av/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/local-dbg/testlogs/modules/perception/integration_tests/sunnyvale_big_loop_test/test.log
The terminal process terminated with exit code: 255 `
This would be helpful for you to help me. Please check. If test case will succeed the i will try release it locally.
Thanks,
Hi @natashadsouza ,
I am able to run this locally. I was facing several issue as mentioned below.
Driver problem solved.
Problem : test case failure for ubuntu 16. Solution : https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_run_apollo_2.5_with_ubuntu16.md
Problem : Important one
command in file apollo.sh cp /apollo/bazel-apollo/bazel-out/local-opt/bin/modules/perception/cuda_util/libintegrated_cuda_util.so $LIB_DIR
causing problem because local-opt
folder was not there
Solution : instead local-dbg
was used in above command because all binary files were going in this folder, I am not able figure out reason for that but replacing local-opt
with local-dbg
resolved the issue.
Thanks for your amazing support.
Hi @Arjun911, Just to confirm, you have resolved all the above mentioned errors then, correct? As for the unit tests, have all the above been resolved? if not, I will have a look at the above results.
Thanks!
@natashadsouza
Everything mentioned above are resolved. :+1:
:100:
Thanks @Arjun911 closing this issue as it is resolved.
Hi @natashadsouza ,
I am able to run this locally. I was facing several issue as mentioned below.
- Problem : driver was improperly installed. Solution : #4207 , Thanks @jinghaomiao
Driver problem solved.
- Problem : test case failure for ubuntu 16. Solution : https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_run_apollo_2.5_with_ubuntu16.md
- Problem : Important one command in file apollo.sh
cp /apollo/bazel-apollo/bazel-out/local-opt/bin/modules/perception/cuda_util/libintegrated_cuda_util.so $LIB_DIR
causing problem becauselocal-opt
folder was not there Solution : insteadlocal-dbg
was used in above command because all binary files were going in this folder, I am not able figure out reason for that but replacinglocal-opt
withlocal-dbg
resolved the issue.Thanks for your amazing support.
That link you posted, it doesnt work. Could you please explain how you resolved your issue, im facing the same problem now.
Thanks
@Arjun911 which link are you referring to?
Hi,
I trying to setup Apollo in my local machine. I have installed nvidia driver and cuda on my machine (using TITAN Xp, Ubuntu 16)
while running
bash apollo.sh release
I getting following error : INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling cp: cannot stat '/apollo/bazel-apollo/bazel-out/local-opt/bin/modules/perception/cuda_util/libintegrated_cuda_util.so': No such file or directoryI checked in directory local-opt folder is missing, but build was successfull.
Please help!