[Pkg-ayatana-devel] Bug#1015055: ayatana-indicator-power: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2

Lucas Nussbaum lucas at debian.org
Sat Jul 16 14:41:06 BST 2022


Source: ayatana-indicator-power
Version: 22.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> Running tests...
> /usr/bin/ctest --force-new-ctest-process --verbose -j8
> UpdateCTestConfiguration  from :/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DartConfiguration.tcl
> UpdateCTestConfiguration  from :/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DartConfiguration.tcl
> Test project /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Constructing a list of tests
> Done constructing a list of tests
> Updating test list for fixtures
> Added 0 tests to meet fixture requirements
> Checking test dependency graph...
> Checking test dependency graph end
> test 1
>     Start 1: test-notify
> 
> 1: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-notify
> 1: Test timeout computed to be: 10000000
> test 2
>     Start 2: dear-reader-the-next-test-takes-80-seconds
> 
> 2: Test command: /bin/true
> 2: Test timeout computed to be: 10000000
> test 3
>     Start 3: test-device
> 
> 3: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-device
> 3: Test timeout computed to be: 10000000
> 1: Running main() from gmock_main.cc
> 1: [==========] Running 4 tests from 1 test suite.
> 1: [----------] Global test environment set-up.
> 1: [----------] 4 tests from NotifyFixture
> 1: [ RUN      ] NotifyFixture.HelloWorld
> 1: DBus daemon: unix:abstract=/tmp/dbus-oKhHvWeLED,guid=b0f46843047fef16a54131de62d24f3d
> 1/3 Test #2: dear-reader-the-next-test-takes-80-seconds ...   Passed    0.01 sec
> 1: DBusMock: Started with PID: 4156436
> 3: Running main() from gmock_main.cc
> 3: [==========] Running 9 tests from 1 test suite.
> 3: [----------] Global test environment set-up.
> 3: [----------] 9 tests from DeviceTest
> 3: [ RUN      ] DeviceTest.GObjectNew
> 3: [       OK ] DeviceTest.GObjectNew (0 ms)
> 3: [ RUN      ] DeviceTest.Properties
> 3: [       OK ] DeviceTest.Properties (0 ms)
> 3: [ RUN      ] DeviceTest.New
> 3: [       OK ] DeviceTest.New (0 ms)
> 3: [ RUN      ] DeviceTest.NewFromVariant
> 3: [       OK ] DeviceTest.NewFromVariant (0 ms)
> 3: [ RUN      ] DeviceTest.BadAccessors
> 3: [       OK ] DeviceTest.BadAccessors (0 ms)
> 3: [ RUN      ] DeviceTest.IconNames
> 3: [       OK ] DeviceTest.IconNames (0 ms)
> 3: [ RUN      ] DeviceTest.Labels
> 3: 
> 3: (process:4156429): GLib-GObject-WARNING **: 05:40:13.605: invalid cast from 'GCancellable' to 'IndicatorPowerDevice'
> 3: [       OK ] DeviceTest.Labels (4 ms)
> 3: [ RUN      ] DeviceTest.Inestimable___this_takes_80_seconds
> 1: DBusMock: Shutting down
> 1: DBus daemon: Shutdown
> 1: [       OK ] NotifyFixture.HelloWorld (5091 ms)
> 1: [ RUN      ] NotifyFixture.PercentageToLevel
> 1: DBus daemon: unix:abstract=/tmp/dbus-HFROzDifJr,guid=46ce16859acc90bafffbef4d62d24f42
> 1: DBusMock-1: Started with PID: 4156445
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:18.669: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:18.669: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:18.669: Unable to build proxy to DBusMock: The connection is closed
> 1: DBusMock-1: Shutting down
> 1: DBus daemon: Shutdown
> 1: [       OK ] NotifyFixture.PercentageToLevel (5014 ms)
> 1: [ RUN      ] NotifyFixture.LevelsDuringBatteryDrain
> 1: DBus daemon: unix:abstract=/tmp/dbus-QXXGMf2bJc,guid=3fc18470e277a409cf05c80162d24f47
> 1: DBusMock-2: Started with PID: 4156454
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.685: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.685: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:23.685: Unable to build proxy to DBusMock: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.736: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): libnotify-WARNING **: 05:40:28.254: Failed to connect to proxy
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.254: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.255: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.255: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:357: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL
> 1:     Which is: 1
> 1:   (changed_params.fields & FIELD_POWER_LEVEL)
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:358: Failure
> 1: Expected equality of these values:
> 1:   new_level
> 1:     Which is: "low"
> 1:   changed_params.power_level
> 1:     Which is: "ok"
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.506: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:357: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL
> 1:     Which is: 1
> 1:   (changed_params.fields & FIELD_POWER_LEVEL)
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:358: Failure
> 1: Expected equality of these values:
> 1:   new_level
> 1:     Which is: "very_low"
> 1:   changed_params.power_level
> 1:     Which is: "ok"
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.657: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.657: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.658: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.658: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.658: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:357: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL
> 1:     Which is: 1
> 1:   (changed_params.fields & FIELD_POWER_LEVEL)
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:358: Failure
> 1: Expected equality of these values:
> 1:   new_level
> 1:     Which is: "critical"
> 1:   changed_params.power_level
> 1:     Which is: "ok"
> 1: DBusMock-2: Shutting down
> 1: DBus daemon: Shutdown
> 1: [  FAILED  ] NotifyFixture.LevelsDuringBatteryDrain (10138 ms)
> 1: [ RUN      ] NotifyFixture.EventsThatChangeNotifications
> 1: DBus daemon: unix:abstract=/tmp/dbus-YLThhjP6EF,guid=d7a47d581834ce0de09edaad62d24f51
> 1: DBusMock-3: Started with PID: 4156464
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.825: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.825: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.826: Unable to build proxy to DBusMock: The connection is closed
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.826: dbus_test_dbus_mock_object_add_method: assertion 'proxy != NULL' failed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.826: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): libnotify-WARNING **: 05:40:33.876: Failed to connect to proxy
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.876: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.877: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.877: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:426: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL|FIELD_IS_WARNING
> 1:     Which is: 3
> 1:   changed_params.fields
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:427: Failure
> 1: Expected equality of these values:
> 1:   indicator_power_notifier_get_power_level(battery)
> 1:     Which is: "low"
> 1:   changed_params.power_level
> 1:     Which is: "ok"
> 1: ./tests/test-notify.cc:428: Failure
> 1: Value of: changed_params.is_warning
> 1:   Actual: false
> 1: Expected: true
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:429: Failure
> 1: Expected equality of these values:
> 1:   1
> 1:   get_notify_call_count()
> 1:     Which is: 0
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.927: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> 1: ./tests/test-notify.cc:430: Failure
> 1: Expected equality of these values:
> 1:   low_power_uri
> 1:     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
> 1:   get_notify_call_sound_file(0)
> 1:     Which is: ""
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:201: Failure
> 1: Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
> 1:   Actual: false
> 1: Expected: true
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.927: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:437: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL
> 1:     Which is: 1
> 1:   changed_params.fields
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:438: Failure
> 1: Expected equality of these values:
> 1:   "very_low"
> 1:   changed_params.power_level.c_str()
> 1:     Which is: "ok"
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.977: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:439: Failure
> 1: Expected equality of these values:
> 1:   1
> 1:   get_notify_call_count()
> 1:     Which is: 0
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.978: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.978: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> 1: ./tests/test-notify.cc:440: Failure
> 1: Expected equality of these values:
> 1:   low_power_uri
> 1:     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
> 1:   get_notify_call_sound_file(0)
> 1:     Which is: ""
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:33.978: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:201: Failure
> 1: Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
> 1:   Actual: false
> 1: Expected: true
> 1: ./tests/test-notify.cc:447: Failure
> 1: Expected equality of these values:
> 1:   FIELD_IS_WARNING
> 1:     Which is: 2
> 1:   changed_params.fields
> 1:     Which is: 0
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:34.028: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:34.028: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 1: 
> 1: (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.029: Error while sending AddMatch() message: The connection is closed
> 1: ./tests/test-notify.cc:455: Failure
> 1: Expected equality of these values:
> 1:   FIELD_IS_WARNING
> 1:     Which is: 2
> 1:   changed_params.fields
> 1:     Which is: 0
> 1: ./tests/test-notify.cc:456: Failure
> 1: Value of: changed_params.is_warning
> 1:   Actual: false
> 1: Expected: true
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:457: Failure
> 1: Expected equality of these values:
> 1:   1
> 1:   get_notify_call_count()
> 1:     Which is: 0
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: 
> 1: (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:34.079: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> 1: ./tests/test-notify.cc:458: Failure
> 1: Expected equality of these values:
> 1:   low_power_uri
> 1:     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
> 1:   get_notify_call_sound_file(0)
> 1:     Which is: ""
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> 1: ./tests/test-notify.cc:201: Failure
> 1: Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
> 1:   Actual: false
> 1: Expected: true
> 1: ./tests/test-notify.cc:465: Failure
> 1: Expected equality of these values:
> 1:   FIELD_POWER_LEVEL|FIELD_IS_WARNING
> 1:     Which is: 3
> 1:   changed_params.fields
> 1:     Which is: 0
> 1: 
> 1: (process:4156427): libdbustest-CRITICAL **: 05:40:34.130: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 1: DBusMock-3: Shutting down
> 1: DBus daemon: Shutdown
> 1: [  FAILED  ] NotifyFixture.EventsThatChangeNotifications (5321 ms)
> 1: [----------] 4 tests from NotifyFixture (25566 ms total)
> 1: 
> 1: [----------] Global test environment tear-down
> 1: [==========] 4 tests from 1 test suite ran. (25566 ms total)
> 1: [  PASSED  ] 2 tests.
> 1: [  FAILED  ] 2 tests, listed below:
> 1: [  FAILED  ] NotifyFixture.LevelsDuringBatteryDrain
> 1: [  FAILED  ] NotifyFixture.EventsThatChangeNotifications
> 1: 
> 1:  2 FAILED TESTS
> 2/3 Test #1: test-notify ..................................***Failed   25.57 sec
> Running main() from gmock_main.cc
> [==========] Running 4 tests from 1 test suite.
> [----------] Global test environment set-up.
> [----------] 4 tests from NotifyFixture
> [ RUN      ] NotifyFixture.HelloWorld
> DBus daemon: unix:abstract=/tmp/dbus-oKhHvWeLED,guid=b0f46843047fef16a54131de62d24f3d
> DBusMock: Started with PID: 4156436
> DBusMock: Shutting down
> DBus daemon: Shutdown
> [       OK ] NotifyFixture.HelloWorld (5091 ms)
> [ RUN      ] NotifyFixture.PercentageToLevel
> DBus daemon: unix:abstract=/tmp/dbus-HFROzDifJr,guid=46ce16859acc90bafffbef4d62d24f42
> DBusMock-1: Started with PID: 4156445
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:18.669: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:18.669: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:18.669: Unable to build proxy to DBusMock: The connection is closed
> DBusMock-1: Shutting down
> DBus daemon: Shutdown
> [       OK ] NotifyFixture.PercentageToLevel (5014 ms)
> [ RUN      ] NotifyFixture.LevelsDuringBatteryDrain
> DBus daemon: unix:abstract=/tmp/dbus-QXXGMf2bJc,guid=3fc18470e277a409cf05c80162d24f47
> DBusMock-2: Started with PID: 4156454
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.685: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.685: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:23.685: Unable to build proxy to DBusMock: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:23.736: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): libnotify-WARNING **: 05:40:28.254: Failed to connect to proxy
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.254: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.254: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.255: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.255: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:357: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL
>     Which is: 1
>   (changed_params.fields & FIELD_POWER_LEVEL)
>     Which is: 0
> ./tests/test-notify.cc:358: Failure
> Expected equality of these values:
>   new_level
>     Which is: "low"
>   changed_params.power_level
>     Which is: "ok"
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.506: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.506: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:357: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL
>     Which is: 1
>   (changed_params.fields & FIELD_POWER_LEVEL)
>     Which is: 0
> ./tests/test-notify.cc:358: Failure
> Expected equality of these values:
>   new_level
>     Which is: "very_low"
>   changed_params.power_level
>     Which is: "ok"
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.657: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.657: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:28.658: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.658: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:28.658: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:357: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL
>     Which is: 1
>   (changed_params.fields & FIELD_POWER_LEVEL)
>     Which is: 0
> ./tests/test-notify.cc:358: Failure
> Expected equality of these values:
>   new_level
>     Which is: "critical"
>   changed_params.power_level
>     Which is: "ok"
> DBusMock-2: Shutting down
> DBus daemon: Shutdown
> [  FAILED  ] NotifyFixture.LevelsDuringBatteryDrain (10138 ms)
> [ RUN      ] NotifyFixture.EventsThatChangeNotifications
> DBus daemon: unix:abstract=/tmp/dbus-YLThhjP6EF,guid=d7a47d581834ce0de09edaad62d24f51
> DBusMock-3: Started with PID: 4156464
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.825: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.825: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.826: Unable to build proxy to DBusMock: The connection is closed
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.826: dbus_test_dbus_mock_object_add_method: assertion 'proxy != NULL' failed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.826: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): libnotify-WARNING **: 05:40:33.876: Failed to connect to proxy
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.876: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.876: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.877: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.877: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:426: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL|FIELD_IS_WARNING
>     Which is: 3
>   changed_params.fields
>     Which is: 0
> ./tests/test-notify.cc:427: Failure
> Expected equality of these values:
>   indicator_power_notifier_get_power_level(battery)
>     Which is: "low"
>   changed_params.power_level
>     Which is: "ok"
> ./tests/test-notify.cc:428: Failure
> Value of: changed_params.is_warning
>   Actual: false
> Expected: true
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:429: Failure
> Expected equality of these values:
>   1
>   get_notify_call_count()
>     Which is: 0
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.927: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> ./tests/test-notify.cc:430: Failure
> Expected equality of these values:
>   low_power_uri
>     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
>   get_notify_call_sound_file(0)
>     Which is: ""
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.927: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:201: Failure
> Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
>   Actual: false
> Expected: true
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.927: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:33.927: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:437: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL
>     Which is: 1
>   changed_params.fields
>     Which is: 0
> ./tests/test-notify.cc:438: Failure
> Expected equality of these values:
>   "very_low"
>   changed_params.power_level.c_str()
>     Which is: "ok"
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.977: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:439: Failure
> Expected equality of these values:
>   1
>   get_notify_call_count()
>     Which is: 0
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.978: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:33.978: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> ./tests/test-notify.cc:440: Failure
> Expected equality of these values:
>   low_power_uri
>     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
>   get_notify_call_sound_file(0)
>     Which is: ""
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:33.978: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:201: Failure
> Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
>   Actual: false
> Expected: true
> ./tests/test-notify.cc:447: Failure
> Expected equality of these values:
>   FIELD_IS_WARNING
>     Which is: 2
>   changed_params.fields
>     Which is: 0
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:34.028: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:34.028: Unable to show snap decision for '': Error calling StartServiceByName for org.freedesktop.Notifications: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.028: Error while sending AddMatch() message: The connection is closed
> 
> (process:4156427): GLib-GIO-CRITICAL **: 05:40:34.029: Error while sending AddMatch() message: The connection is closed
> ./tests/test-notify.cc:455: Failure
> Expected equality of these values:
>   FIELD_IS_WARNING
>     Which is: 2
>   changed_params.fields
>     Which is: 0
> ./tests/test-notify.cc:456: Failure
> Value of: changed_params.is_warning
>   Actual: false
> Expected: true
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:457: Failure
> Expected equality of these values:
>   1
>   get_notify_call_count()
>     Which is: 0
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> 
> (process:4156427): ayatana-indicator-power-CRITICAL **: 05:40:34.079: std::string NotifyFixture::get_notify_call_sound_file(int): assertion 'int(len) > call_number' failed
> ./tests/test-notify.cc:458: Failure
> Expected equality of these values:
>   low_power_uri
>     Which is: "file:///usr/share/sounds/lomiri/notifications/LowBattery.ogg"
>   get_notify_call_sound_file(0)
>     Which is: ""
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:34.079: dbus_test_dbus_mock_object_clear_method_calls: assertion 'proxy != NULL' failed
> ./tests/test-notify.cc:201: Failure
> Value of: dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)
>   Actual: false
> Expected: true
> ./tests/test-notify.cc:465: Failure
> Expected equality of these values:
>   FIELD_POWER_LEVEL|FIELD_IS_WARNING
>     Which is: 3
>   changed_params.fields
>     Which is: 0
> 
> (process:4156427): libdbustest-CRITICAL **: 05:40:34.130: dbus_test_dbus_mock_object_get_method_calls: assertion 'proxy != NULL' failed
> DBusMock-3: Shutting down
> DBus daemon: Shutdown
> [  FAILED  ] NotifyFixture.EventsThatChangeNotifications (5321 ms)
> [----------] 4 tests from NotifyFixture (25566 ms total)
> 
> [----------] Global test environment tear-down
> [==========] 4 tests from 1 test suite ran. (25566 ms total)
> [  PASSED  ] 2 tests.
> [  FAILED  ] 2 tests, listed below:
> [  FAILED  ] NotifyFixture.LevelsDuringBatteryDrain
> [  FAILED  ] NotifyFixture.EventsThatChangeNotifications
> 
>  2 FAILED TESTS
> 
> 3: [       OK ] DeviceTest.Inestimable___this_takes_80_seconds (80145 ms)
> 3: [ RUN      ] DeviceTest.ChoosePrimary
> 3: [       OK ] DeviceTest.ChoosePrimary (0 ms)
> 3: [----------] 9 tests from DeviceTest (80156 ms total)
> 3: 
> 3: [----------] Global test environment tear-down
> 3: [==========] 9 tests from 1 test suite ran. (80156 ms total)
> 3: [  PASSED  ] 9 tests.
> 3/3 Test #3: test-device ..................................   Passed   80.18 sec
> 
> 67% tests passed, 1 tests failed out of 3
> 
> Total Test time (real) =  80.19 sec
> 
> The following tests FAILED:
> 	  1 - test-notify (Failed)
> Errors while running CTest
> make[1]: *** [Makefile:74: test] Error 8
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/ayatana-indicator-power_22.2.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ayatana-devel mailing list