Frantisek Sumsal
4ddf27c57b
test: flush the socket once the triggered unit exits
...
Since the triggered unit intentionally fails without consuming any data
from the socket, we'd try to trigger it again and again, and we might
try to check the unit state in one of the "in-between" states, failing
the test:
[ 165.271698] H testsuite-07.sh[1032]: + systemctl start badbin_assert.socket
[ 165.977637] H testsuite-07.sh[1032]: + socat - ABSTRACT-CONNECT:badbin_assert.socket
[ 165.983787] H systemd[1]: Cannot find unit for notify message of PID 1039, ignoring.
[ 166.817187] H testsuite-07.sh[1032]: + timeout 10 sh -c 'while systemctl is-active badbin_assert.service; do sleep .5; done'
[ 167.049218] H testsuite-07.sh[1065]: active
[ 167.146854] H systemd[1]: Listening on badbin_assert.socket.
[ 167.163473] H systemd[1]: badbin_assert.socket: Incoming traffic
[ 167.542626] H systemd[1]: Cannot find unit for notify message of PID 1065, ignoring.
[ 167.543437] H (badbin)[1062]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error
[ 167.548346] H systemd[1]: badbin_assert.service: Main process exited, code=exited, status=203/EXEC
[ 167.549482] H systemd[1]: badbin_assert.service: Failed with result 'exit-code'.
[ 167.561537] H systemd[1]: badbin_assert.socket: Incoming traffic
[ 167.933390] H systemd[1]: Started badbin_assert.service.
[ 167.950489] H (badbin)[1070]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error
[ 167.956318] H systemd[1]: badbin_assert.service: Main process exited, code=exited, status=203/EXEC
[ 167.957173] H systemd[1]: badbin_assert.service: Failed with result 'exit-code'.
[ 167.974609] H systemd[1]: badbin_assert.socket: Incoming traffic
[ 168.042838] H testsuite-07.sh[1072]: failed
[ 168.094431] H testsuite-07.sh[1075]: ++ systemctl show -P ExecMainStatus badbin_assert.service
[ 168.704022] H systemd[1]: Started badbin_assert.service.
[ 168.778680] H (badbin)[1074]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error
[ 168.826881] H systemd[1]: badbin_assert.service: Main process exited, code=exited, status=203/EXEC
[ 168.833825] H systemd[1]: badbin_assert.service: Failed with result 'exit-code'.
[ 168.923931] H testsuite-07.sh[1032]: + [[ 0 == 203 ]]
[ 168.951492] H systemd[1]: Cannot find unit for notify message of PID 1075, ignoring.
[ 168.999862] H testsuite-07.sh[615]: + echo 'Subtest /usr/lib/systemd/tests/testdata/units/testsuite-07.issue-30412.sh failed'
[ 168.999862] H testsuite-07.sh[615]: Subtest /usr/lib/systemd/tests/testdata/units/testsuite-07.issue-30412.sh failed
Follow-up for 1eeaa93de3 and 28a2d27650 .
2023-12-24 13:00:56 +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-11-28 04:10:25 +09: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
2023-11-28 04:13:44 +09:00
2023-11-28 04:13:44 +09: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-11-28 04:13:44 +09:00
2021-10-18 09:04:45 +02:00
2023-09-06 19:54:29 +01:00
2023-12-23 15:54:51 +01: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-12-06 22:22:27 +01:00
2023-12-23 13:42:09 +01:00
2023-12-07 13:31:25 +09:00
2023-10-19 18:01:07 +01:00
2021-10-18 09:04:45 +02:00
2023-12-23 15:35:08 +01:00
2023-11-22 12:12:35 +00: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
2023-11-14 18:54:16 +01:00
2023-12-20 18:15:35 +09: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-12-24 13:00:56 +01: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-12-15 16:51:25 +01: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-12-13 17:55:45 +00: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-12-08 18:38:41 +01:00
2021-10-18 09:04:45 +02:00
2021-10-18 09:04:45 +02:00
2023-12-08 18:14:05 +01: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-16 10:16:11 +01:00
2023-06-05 11:37:26 +09:00
2023-05-16 22:43:52 +02:00
2023-11-13 19:19:55 +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-04-24 21:58:35 +02:00
2023-05-29 13:26:15 +02:00
2023-12-13 10:10:56 +01: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-12-05 22:18:32 +08: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-12-20 11:52:18 +03: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-12-13 17:55:45 +00:00
2021-10-18 09:04:45 +02:00
2023-11-10 12:58:45 +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-12-13 13:35:04 +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
2022-06-17 12:54:50 +09:00
2023-12-05 22:18:32 +08: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
2023-11-25 21:59:57 +01:00
2023-07-12 16:03:40 +02:00
2022-06-17 12:54:50 +09:00
2023-11-14 17:33:42 +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-12-06 12:18:32 +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
2022-10-20 14:01:09 +01:00
2021-10-18 09:04:45 +02:00
2023-12-21 19:19:12 +01: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-12-13 17:55:45 +00: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
2023-12-18 15:12:10 +01:00
2021-12-11 11:55:03 +09:00
2023-12-18 15:12:10 +01: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-12-13 14:28:03 +09:00
2021-10-18 09:04:45 +02:00
2023-12-20 23:56:16 +09: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-11-22 12:12:35 +00: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-13 20:37:36 +01:00
2023-10-25 14:48:30 +02:00
2023-10-25 18:18:47 +02:00
2023-11-21 23:43:23 +00: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-12-13 17:55:45 +00:00
2023-06-29 13:06:42 +01:00
2023-12-13 14:29:09 +09: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-12-08 11:22:14 +09:00
2023-12-20 12:46:46 +08:00
2023-05-16 22:43:52 +02:00
2023-06-02 10:07:57 +02:00
2023-12-23 16:37:30 +01: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
2023-11-28 04:10:25 +09:00
2023-12-20 13:42:08 +09: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-11-28 04:10:25 +09:00
2023-11-28 04:10:25 +09: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-12-08 11:16:31 +09: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-13 19:32:34 +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-12-13 17:55:45 +00:00