cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.17k stars 2.25k forks source link

Failing tests on Windows #1466

Open ojura opened 5 years ago

ojura commented 5 years ago

More info is in #1463, opening this to track separately.

I have observed the following tests failing:

22 - cartographer.mapping.2d.tsdf_range_data_inserter_2d_test (Failed) WARNING: Logging before InitGoogleLogging() is written to STDERR 18:28:19.103276 12652 ray_to_pixel_mask.cc:44] Check failed: scaled_begin.y() >= 0 (-165 vs. 0)

60 - cartographer.mapping.map_builder_test (Failed) [ FAILED ] MapBuilderTestByGridType/MapBuilderTestByGridType.GlobalSlam2D/1, where GetParam() = 4-byte object <01-00 00-00> [ FAILED ] MapBuilderTestByGridType/MapBuilderTestByGridType.LocalizationOnFrozenTrajectory2D/1, where GetParam() = 4-byte object <01-00 00-00>

The full logs are in the Azure pipeline.

ojura commented 5 years ago

22 is particularly interesting. This is some kind of a race condition. Sometimes it fails, sometimes it doesn't. When it does, I always get WARNING: Logging before InitGoogleLogging(). @gaschler @seanyen-msft WDYT?