Frantisek Sumsal
730ccf9681
test: use Type=notify together with busctl monitor
...
Let's use the newly gained feature of `busctl` and start is as a
Type=notify unit, which should make sure the unit is started only after
`busctl` is on the bus listening for messages.
This should help with a race spotted in CIs, where we continued too
early after starting `busctl monitor` and miss the emitted signals:
[ 10.914831] testsuite-45.sh[694]: + systemd-run --unit busctl-monitor.service --service-type=exec busctl monitor --json=short '--match=type='\''signal'\'',sender=org.freedesktop.timesync1,member='\''PropertiesChanged'\'',path=/org/free>
[ 11.064365] systemd[1]: Starting busctl-monitor.service...
[ 11.064903] systemd[1]: Started busctl-monitor.service.
[ 11.065192] testsuite-45.sh[740]: Running as unit: busctl-monitor.service; invocation ID: ee44a9d713c34b9a97e3e7f6f4fffe77
...
[ 11.069255] testsuite-45.sh[694]: + timedatectl ntp-servers ntp99 10.0.0.1
[ 11.077140] systemd-timesyncd[728]: Network configuration changed, trying to establish connection.
[ 11.077461] testsuite-45.sh[694]: + assert_networkd_ntp ntp99 10.0.0.1
...
[ 11.087418] testsuite-45.sh[694]: + assert_timesyncd_signal '2023-11-08 16:28:48.861455' LinkNTPServers 10.0.0.1
...
[ 11.095543] testsuite-45.sh[694]: + for _ in {0..9}
[ 11.095543] testsuite-45.sh[694]: + journalctl -q '--since=2023-11-08 16:28:48.861455' -p info _SYSTEMD_UNIT=busctl-monitor.service --grep .
[ 11.193258] systemd-journald[375]: Received client request to sync journal.
[ 11.112424] testsuite-45.sh[694]: + sleep .5
[ 11.160318] dbus-daemon[465]: [system] Connection :1.56 (uid=0 pid=741 comm="/usr/bin/busctl monitor --json=short --match=type=") became a monitor.
Resolves : #29923
2023-11-09 00:00:27 +01:00
..
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-06-06 18:23:43 +01:00
2021-10-18 09:04:45 +02:00
2020-11-09 13:23:58 +09:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-02-08 16:52:51 +01:00
2023-02-08 16:52:51 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-10-27 23:51:01 +08:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2022-10-20 14:29:45 +02:00
2022-10-20 14:29:45 +02:00
2021-10-18 09:04:45 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-10-18 09:04:45 +02:00
2023-07-03 17:31:25 +02:00
2023-07-03 17:31:25 +02:00
2023-07-03 17:31:25 +02:00
2020-11-09 13:23:58 +09:00
2023-07-04 21:55:53 +02:00
2023-05-24 20:06:10 +09:00
2023-08-28 17:43:57 +01:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-09-06 19:54:29 +01:00
2023-11-06 21:01:24 +00:00
2023-06-14 20:28:20 +02:00
2023-07-13 15:32:20 +02:00
2023-07-06 22:41:27 +02:00
2023-06-24 10:33:14 +02:00
2023-10-17 14:55:12 +01:00
2023-11-04 11:01:30 +09:00
2023-10-19 18:01:07 +01:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2023-09-06 19:54:29 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-06-05 22:52:38 +02:00
2021-10-18 09:04:45 +02:00
2023-11-05 00:32:04 +00:00
2023-05-10 12:38:57 +02:00
2023-09-06 19:54:29 +01:00
2023-05-10 14:29:38 +02:00
2023-05-10 21:26:26 +02:00
2023-08-14 19:31:20 +02:00
2023-05-10 21:26:26 +02:00
2023-08-14 19:35:37 +02:00
2023-08-14 19:31:20 +02:00
2023-08-24 07:54:13 +00:00
2023-09-18 18:56:59 +02:00
2023-10-26 19:09:49 +09:00
2023-06-26 15:54:01 +02:00
2023-07-12 16:03:40 +02:00
2023-08-12 10:13:56 +02:00
2023-08-12 10:13:56 +02:00
2023-09-29 23:26:15 +02:00
2023-09-27 14:50:19 +02:00
2023-09-27 14:50:19 +02:00
2023-09-06 19:54:29 +01:00
2023-05-19 20:03:34 +02:00
2023-11-03 16:05:14 +00:00
2023-09-06 19:54:29 +01:00
2023-05-14 19:32:07 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-09-05 15:55:52 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2023-08-12 07:55:20 +09:00
2021-10-18 09:04:45 +02:00
2023-09-06 19:54:29 +01:00
2023-05-16 23:07:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-04-24 21:59:28 +02:00
2023-05-16 22:43:52 +02:00
2023-05-16 22:43:52 +02:00
2023-05-16 22:43:52 +02:00
2023-11-06 20:26:53 +09:00
2023-06-05 11:37:26 +09:00
2023-05-16 22:43:52 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-04-24 21:58:35 +02:00
2023-05-29 13:26:15 +02:00
2023-06-15 20:52:45 +02:00
2023-05-16 22:43:52 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2022-06-19 16:22:35 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-05-10 18:08:07 +02:00
2023-04-24 21:58:35 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-04-24 21:58:35 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2022-04-11 11:22:39 +02:00
2022-09-23 09:31:54 +02:00
2022-01-29 20:00:00 +00:00
2023-05-16 22:43:52 +02:00
2023-05-26 00:45:54 -04:00
2022-06-17 12:54:50 +09:00
2023-07-12 16:03:40 +02:00
2023-05-10 02:39:12 +09:00
2023-05-16 23:07:45 +02:00
2023-05-10 02:39:12 +09:00
2023-05-10 02:39:12 +09:00
2023-05-10 02:39:12 +09:00
2023-05-26 11:50:05 +09:00
2023-05-10 02:39:12 +09:00
2023-05-16 22:43:52 +02:00
2023-10-16 14:33:47 +01:00
2023-05-16 23:07:45 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2023-05-16 21:49:09 +02:00
2023-05-16 23:07:45 +02:00
2023-06-28 22:09:19 +02:00
2023-07-03 17:31:25 +02:00
2023-05-10 02:39:12 +09:00
2023-09-06 19:54:29 +01:00
2023-07-04 01:05:02 +01:00
2023-06-05 16:50:13 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2022-11-01 17:53:42 +01:00
2023-10-19 00:12:28 +08:00
2021-10-18 09:04:45 +02:00
2023-11-03 16:59:58 +00:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2022-06-17 12:54:50 +09:00
2023-10-12 13:06:12 +09:00
2021-10-18 09:04:45 +02:00
2023-09-06 19:54:29 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2022-06-17 12:54:50 +09:00
2023-11-09 00:00:27 +01:00
2023-03-27 13:29:12 +02:00
2023-10-06 11:49:38 +02:00
2021-10-18 09:04:45 +02:00
2023-11-03 16:59:58 +00:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-10-18 09:04:45 +02:00
2022-10-20 14:01:09 +01:00
2021-10-18 09:04:45 +02:00
2023-10-31 14:35:33 +09:00
2023-06-24 11:48:51 +01:00
2021-12-17 16:27:58 +00:00
2023-06-24 11:48:51 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-10-19 18:01:07 +01:00
2021-10-18 09:04:45 +02:00
2023-08-23 15:12:23 +02:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2022-07-08 07:00:02 +09:00
2023-09-06 19:54:29 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2022-08-23 10:53:47 +02:00
2022-08-23 10:53:47 +02:00
2021-12-11 11:55:03 +09:00
2023-07-12 16:03:40 +02:00
2022-08-23 20:04:41 +01:00
2023-09-06 19:54:29 +01:00
2022-06-17 12:54:50 +09:00
2023-09-06 19:54:29 +01:00
2021-10-18 09:04:45 +02:00
2023-11-01 10:25:59 +00:00
2023-02-06 09:19:04 +01:00
2021-10-18 09:04:45 +02:00
2023-07-12 16:03:40 +02:00
2021-11-05 21:17:17 +00:00
2023-07-12 16:03:40 +02:00
2021-12-13 14:44:06 +00:00
2023-07-12 16:03:40 +02:00
2022-03-21 15:55:49 +01:00
2023-10-25 14:48:30 +02:00
2023-10-25 14:48:30 +02:00
2023-11-07 12:29:36 -05:00
2023-10-25 14:48:30 +02:00
2023-10-25 18:18:47 +02:00
2023-11-03 11:25:14 +01:00
2022-03-15 21:17:00 +01:00
2023-10-25 14:48:30 +02:00
2023-10-25 18:18:48 +02:00
2022-06-17 12:54:50 +09:00
2023-07-12 16:03:40 +02:00
2022-03-19 00:13:55 +01:00
2023-10-04 08:58:10 +09:00
2022-06-17 12:54:50 +09:00
2023-07-12 16:03:40 +02:00
2023-06-29 13:06:42 +01:00
2023-03-14 03:27:45 +09:00
2023-03-09 15:27:48 +01:00
2023-06-03 16:30:46 +02:00
2023-10-19 18:01:07 +01:00
2022-11-03 23:08:58 +01:00
2023-09-28 13:09:25 +02:00
2023-04-01 10:50:15 +02:00
2023-09-02 14:17:29 +03:00
2023-05-22 16:02:49 +02:00
2023-04-06 10:26:47 +02:00
2023-08-21 11:45:15 +02:00
2023-05-21 15:55:42 +08:00
2023-05-16 22:43:52 +02:00
2023-06-02 10:07:57 +02:00
2023-06-23 18:32:40 +02:00
2022-11-03 23:08:58 +01:00
2023-07-12 16:03:40 +02:00
2023-10-14 17:40:07 +02:00
2022-07-04 12:21:55 +02:00
2023-11-02 18:08:30 +01:00
2022-07-25 10:15:43 +02:00
2023-05-16 22:43:52 +02:00
2023-05-16 22:43:52 +02:00
2023-05-16 22:43:52 +02:00
2023-01-19 02:11:41 +00:00
2023-01-19 02:11:41 +00:00
2023-01-10 15:16:26 +01:00
2023-05-16 22:43:52 +02:00
2023-02-17 09:55:35 +01:00
2023-07-12 16:03:40 +02:00
2023-03-01 09:43:24 +01:00
2023-07-12 16:03:40 +02:00
2023-04-13 06:44:27 +02:00
2023-07-12 16:03:40 +02:00
2023-04-14 15:44:01 +02:00
2023-04-06 13:16:40 +02:00
2023-10-27 23:51:01 +08:00
2023-04-14 15:44:01 +02:00
2023-04-14 17:05:55 +02:00
2023-04-06 13:16:40 +02:00
2023-07-12 16:03:40 +02:00
2023-04-20 21:54:59 +02:00
2023-06-02 18:43:11 +02:00
2023-10-20 11:45:37 +01:00
2023-09-19 21:45:27 +08:00
2023-09-19 21:45:27 +08:00
2023-11-02 14:19:32 +01:00
2023-11-03 23:26:57 +00:00
2021-10-18 09:04:45 +02:00
2020-11-09 13:23:58 +09:00
2021-10-18 09:04:45 +02:00
2023-10-25 14:48:30 +02:00