bluetooth-pbap and bluetooth-map services failing

Description

During the last master branch testing afbd-agl-service-bluetooth-pbap and afbd-agl-service-bluetooth-pbap were observed to show errors after boot up.

Phonebook is not syncing with paired phone and messages are not sent.

The issues were observed on minnow and upsquared boards.

Attaching journalctl dmesg and both services' logs.

Errors from bt-map:

intel-corei7-64:~# journalctl -u afm-service-agl-service-bluetooth-map--1.0-447685b--main@1001.service | grep ERROR Nov 28 10:46:37 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1115]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 10:46:37 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1115]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 10:46:37 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1115]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 10:46:37 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1115]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1507]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1507]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1507]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1507]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1511]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1511]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1511]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1511]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1515]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1515]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1515]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1515]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1524]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1524]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1524]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1524]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1528]: ERROR: [API bluetooth-map] Cannot connect to D-Bus, Could not connect: No such file or directory [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:775,map_init] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1528]: ERROR: [API bluetooth-map] map_init() failed [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-map/1.0+gitAUTOINC+9eb6cd68ff-r0/git/binding/bluetooth-map-api.c:846,map_func] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1528]: ERROR: Initialisation of service API bluetooth-map failed (-22): Success [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-export.c:1793,afb_export_start] Nov 28 11:16:29 intel-corei7-64 afbd-agl-service-bluetooth-map@1.0-447685b[1528]: ERROR: The api bluetooth-map failed to start [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/af-binder/master+gitAUTOINC+355db4b7f2-r0/git/src/afb-apiset.c:799,start_api]

Errors from bt-pbap:

intel-corei7-64:~# journalctl -u afm-service-agl-service-bluetooth-pbap--1.0-6a1a315--main@1001.service | grep ERROR Nov 28 10:47:21 intel-corei7-64 afbd-agl-service-bluetooth-pbap@1.0-6a1a315[1116]: ERROR: [API bluetooth-pbap] Failed to create object manager [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-pbap/1.0+gitAUTOINC+b8a63dcd93-r0/git/binding/bluetooth-pbap-binding.c:611,init_session] Nov 28 10:47:34 intel-corei7-64 afbd-agl-service-bluetooth-pbap@1.0-6a1a315[1116]: ERROR: [API bluetooth-pbap] Failed to create object manager [/mnt/hdd/buildbot/worker/aglmaster/build/build-intel-corei7-64/tmp/work/corei7-64-agl-linux/agl-service-bluetooth-pbap/1.0+gitAUTOINC+b8a63dcd93-r0/git/binding/bluetooth-pbap-binding.c:611,init_session]

Environment

None

Attachments

6

Activity

Show:

Walt Miner 
March 6, 2020 at 11:11 PM

Close for Icefish 9.0.0 release

Matt Ranostay 
February 7, 2020 at 11:33 PM

Seems to improve the issue testing it on qemu target.

Marec Frederic 
February 7, 2020 at 9:53 AM

Hi, I think thant the issue comme from cynagora service.

 coul you try this change :

https://gerrit.automotivelinux.org/gerrit/c/src/cynagora/+/23762

To see if you still have the same issue please

 

Marec Frederic 
January 21, 2020 at 7:15 AM
(edited)

After investigation, I have found that this issue appears between november the 3rd and november the 10th.

I came back to AGL version from the 3rd and build commit afer commit following merge history on master.

The issue seems to come from the replacement from cynara to cynagora :

https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/22859

We are working on a correction with

Marec Frederic 
January 7, 2020 at 7:25 AM

Yes I tested it before holiday.

But I done so many tests that I could switch between two.

I will investigeting deeper 

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Hardware Platform(s) Affected

Intel Minnowboard
Intel Upsquare

Components

Affects versions

Priority

Created November 28, 2019 at 12:25 PM
Updated March 6, 2020 at 11:11 PM
Resolved February 10, 2020 at 7:11 AM

Flag notifications