Skip to content

[Linux] deprecated up_client_get_devices in platform channels example triggering bot failure after migration to Ubuntu 20.04 LTS (Focal) #127506

@cbracken

Description

@cbracken

up_client_get_devices was deprecated in libupower 0.99.8. Migrate to up_client_get_devices2 when it's available on all the bots.

Our current Linux fleet runs on a mix of Linux releases:

  • Prod: Focal with libupower 0.99.11 which deprecates up_client_get_devices and includes up_client_get_devices2.
  • Trybots: Bionic with libupower 0.99.7 which does not deprecate up_client_get_devices and does not include up_client_get_devices2.

Until the bots are all migrated, we make the call to up_client_get_devices and ignore deprecations. Once the migration has completed, I'll update the call to the new one.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regression

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions