New issue
Advanced search Search tips

Issue 868060 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

GeolocationChromeOsWifiDataProviderTest tests fail when running in amd64-generic cros VMs

Project Member Reported by bpastene@chromium.org, Jul 26

Issue description

See https://ci.chromium.org/p/chromium/builders/luci.chromium.try/chromeos-amd64-generic-rel/54408 where I tried running services_unittests in cros VMs.

It looks like all of the tests in GeolocationChromeOsWifiDataProviderTest fail.

For example, GeolocationChromeOsWifiDataProviderTest.NoAccessPoints:
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8939910021763950992/+/steps/services_unittests__with_patch_/0/logs/GeolocationChromeOsWifiDataProviderTest.NoAccessPoints/0

Failure:
[ RUN      ] GeolocationChromeOsWifiDataProviderTest.NoAccessPoints
../../services/device/geolocation/wifi_data_provider_chromeos_unittest.cc:73: Failure
Value of: GetAccessPointData()
  Actual: true
Expected: false
Stack trace:
#0 0x5b578136987c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop()
#1 0x5b57813691e6 testing::internal::AssertHelper::operator=()
#2 0x5b5780cd8832 device::GeolocationChromeOsWifiDataProviderTest_NoAccessPoints_Test::TestBody()
../../services/device/geolocation/wifi_data_provider_chromeos_unittest.cc:76: Failure
Value of: GetAccessPointData()
  Actual: true
Expected: false
Stack trace:
#0 0x5b578136987c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop()
#1 0x5b57813691e6 testing::internal::AssertHelper::operator=()
#2 0x5b5780cd8964 device::GeolocationChromeOsWifiDataProviderTest_NoAccessPoints_Test::TestBody()
[  FAILED  ] GeolocationChromeOsWifiDataProviderTest.NoAccessPoints (273 ms)

Looks like the other 2 tests fail in the same way. I'll disable those tests for now on that bot, but filing this since we prob want them running.

 
Components: OS>Systems>Network
Owner: mattreynolds@chromium.org
Status: Assigned (was: Untriaged)
We use a test interface to set up fake access point results. Perhaps this has been broken recently inside Shill.
Status: Started (was: Assigned)
I can repro this locally in a cros VM with the same errors for the NoAccessPoints test.

GetOneAccessPoint also fails. It crashes when adding AP data:

Received signal 11 SEGV_MAPERR 000000000000
#0 0x59823099d8ec base::debug::StackTrace::StackTrace()
#1 0x59823099d461 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x79ee260642e0 <unknown>
#3 0x59822f89a651 device::GeolocationChromeOsWifiDataProviderTest::AddAccessPoints()
#4 0x59822f899fad device::GeolocationChromeOsWifiDataProviderTest_GetOneAccessPoint_Test::TestBody()
#5 0x59822ff2f2f2 testing::Test::Run()
#6 0x59822ff30060 testing::TestInfo::Run()
#7 0x59822ff305c7 testing::TestCase::Run()
#8 0x59822ff3b657 testing::internal::UnitTestImpl::RunAllTests()
#9 0x59822ff3b16b testing::UnitTest::Run()
#10 0x5982315a433e base::TestSuite::Run()
#11 0x5982315ab370 base::(anonymous namespace)::LaunchUnitTestsInternal()
#12 0x5982315ab207 base::LaunchUnitTests()
#13 0x59823092b61f service_manager::InitializeAndLaunchUnitTests()
#14 0x59822fa5c17b main
#15 0x79ee254f8736 __libc_start_main
#16 0x59822f570ae9 _start
  r8: 00007fff5f8000c0  r9: 07ffffffffffffff r10: 03fffffffffffffe r11: 00007fff5f8002c0
 r12: 0000000000000000 r13: 00007fff5f800328 r14: 00007fff5f800308 r15: 00007fff5f8002e8
  di: 0000000000000000  si: 00000899a6ee5b40  bp: 00007fff5f8003c0  bx: 00007fff5f8002a8
  dx: 0000000000000e01  ax: 00007fff5f8002d1  cx: 00005982331803bc  sp: 00007fff5f800280
  ip: 000059822f89a651 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[952/2003] GeolocationChromeOsWifiDataProviderTest.GetOneAccessPoint (CRASHED)

Sign in to add a comment