cuttle icon indicating copy to clipboard operation
cuttle copied to clipboard

[Bug]: Supress or otherwise disable unsupported features when running in CI

Open seriouslysean opened this issue 1 year ago • 0 comments

Bug Summary

Supress or otherwise disable unsupported features when running in CI

Detailed Description

      ✓ Plays NINE on jacks from a seven (11698ms)
[2200:0315/184219.658853:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[2200:0315/184219.659153:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[2200:0315/184219.659382:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[2200:0315/184223.255245:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[2200:0315/184223.255494:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[2200:0315/184223.255709:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

Snippet from a GitHub action, https://github.com/cuttle-cards/cuttle/actions/runs/8300861816/job/22719737870?pr=891

GPT added this:

The errors you're seeing are related to two different issues:

org.freedesktop.UPower Errors: These errors are related to the UPower service on Linux, which is used for power management. It seems like the service is not available in your GitHub Actions environment. These errors are usually harmless and can be ignored if you're not doing anything related to power management in your tests.

ALSA lib Errors: These errors are related to the Advanced Linux Sound Architecture (ALSA), which is used for sound on Linux. It seems like the default sound card is not available in your GitHub Actions environment. If your application or tests don't need to play sound, these errors can also be ignored.

If you want to suppress these errors, you can try running your tests with the CI=true environment variable. This is a common convention that some tools use to change their behavior in continuous integration environments.

Current Behavior

No response

Expected Behavior

No response

Steps to Reproduce

seriouslysean avatar Mar 15 '24 18:03 seriouslysean