3 class Arvados::V1::UsersControllerTest < ActionController::TestCase
6 @all_links_at_start = Link.all
7 @vm_uuid = virtual_machines(:testvm).uuid
10 test "activate a user after signing UA" do
11 authorize_with :inactive_but_signed_user_agreement
13 assert_response :success
14 me = JSON.parse(@response.body)
15 post :activate, uuid: me['uuid']
16 assert_response :success
17 assert_not_nil assigns(:object)
18 me = JSON.parse(@response.body)
19 assert_equal true, me['is_active']
22 test "refuse to activate a user before signing UA" do
23 authorize_with :inactive
25 assert_response :success
26 me = JSON.parse(@response.body)
27 post :activate, uuid: me['uuid']
30 assert_response :success
31 me = JSON.parse(@response.body)
32 assert_equal false, me['is_active']
35 test "activate an already-active user" do
36 authorize_with :active
38 assert_response :success
39 me = JSON.parse(@response.body)
40 post :activate, uuid: me['uuid']
41 assert_response :success
42 me = JSON.parse(@response.body)
43 assert_equal true, me['is_active']
46 test "create new user with user as input" do
49 first_name: "test_first_name",
50 last_name: "test_last_name",
51 email: "foo@example.com"
53 assert_response :success
54 created = JSON.parse(@response.body)
55 assert_equal 'test_first_name', created['first_name']
56 assert_not_nil created['uuid'], 'expected uuid for the newly created user'
57 assert_not_nil created['email'], 'expected non-nil email'
58 assert_nil created['identity_url'], 'expected no identity_url'
61 test "create user with user, vm and repo as input" do
63 repo_name = 'test_repo'
67 openid_prefix: 'https://www.google.com/accounts/o8/id',
69 uuid: "this_is_agreeable",
70 first_name: "in_create_test_first_name",
71 last_name: "test_last_name",
72 email: "foo@example.com"
75 assert_response :success
76 response_items = JSON.parse(@response.body)['items']
78 created = find_obj_in_resp response_items, 'User', nil
79 assert_equal 'in_create_test_first_name', created['first_name']
80 assert_not_nil created['uuid'], 'expected non-null uuid for the new user'
81 assert_equal 'this_is_agreeable', created['uuid']
82 assert_not_nil created['email'], 'expected non-nil email'
83 assert_nil created['identity_url'], 'expected no identity_url'
85 # arvados#user, repo link and link add user to 'All users' group
86 verify_num_links @all_links_at_start, 3
88 verify_link response_items, 'arvados#user', true, 'permission', 'can_login',
89 created['uuid'], created['email'], 'arvados#user', false, 'User'
91 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
92 repo_name, created['uuid'], 'arvados#repository', true, 'Repository'
94 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
95 'All users', created['uuid'], 'arvados#group', true, 'Group'
97 verify_link response_items, 'arvados#virtualMachine', false, 'permission', 'can_login',
98 nil, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
100 # invoke setup again with the same data
102 repo_name: repo_name,
104 openid_prefix: 'https://www.google.com/accounts/o8/id',
106 uuid: "this_is_agreeable",
107 first_name: "in_create_test_first_name",
108 last_name: "test_last_name",
109 email: "foo@example.com"
113 response_items = JSON.parse(@response.body)['items']
115 created = find_obj_in_resp response_items, 'User', nil
116 assert_equal 'in_create_test_first_name', created['first_name']
117 assert_not_nil created['uuid'], 'expected non-null uuid for the new user'
118 assert_equal 'this_is_agreeable', created['uuid']
119 assert_not_nil created['email'], 'expected non-nil email'
120 assert_nil created['identity_url'], 'expected no identity_url'
122 # arvados#user, repo link and link add user to 'All users' group
123 verify_num_links @all_links_at_start, 4
125 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
126 repo_name, created['uuid'], 'arvados#repository', true, 'Repository'
128 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
129 'All users', created['uuid'], 'arvados#group', true, 'Group'
131 verify_link response_items, 'arvados#virtualMachine', true, 'permission', 'can_login',
132 @vm_uuid, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
135 test "setup user with bogus uuid and expect error" do
136 authorize_with :admin
140 repo_name: 'test_repo',
143 response_body = JSON.parse(@response.body)
144 response_errors = response_body['errors']
145 assert_not_nil response_errors, 'Expected error in response'
146 assert (response_errors.first.include? 'Path not found'), 'Expected 404'
149 test "setup user with bogus uuid in user and expect error" do
150 authorize_with :admin
153 user: {uuid: 'bogus_uuid'},
154 repo_name: 'test_repo',
156 openid_prefix: 'https://www.google.com/accounts/o8/id'
158 response_body = JSON.parse(@response.body)
159 response_errors = response_body['errors']
160 assert_not_nil response_errors, 'Expected error in response'
161 assert (response_errors.first.include? 'ArgumentError: Require user email'),
162 'Expected RuntimeError'
165 test "setup user with no uuid and user, expect error" do
166 authorize_with :admin
169 repo_name: 'test_repo',
171 openid_prefix: 'https://www.google.com/accounts/o8/id'
173 response_body = JSON.parse(@response.body)
174 response_errors = response_body['errors']
175 assert_not_nil response_errors, 'Expected error in response'
176 assert (response_errors.first.include? 'Required uuid or user'),
177 'Expected ArgumentError'
180 test "setup user with no uuid and email, expect error" do
181 authorize_with :admin
185 repo_name: 'test_repo',
187 openid_prefix: 'https://www.google.com/accounts/o8/id'
189 response_body = JSON.parse(@response.body)
190 response_errors = response_body['errors']
191 assert_not_nil response_errors, 'Expected error in response'
192 assert (response_errors.first.include? '<ArgumentError: Require user email'),
193 'Expected ArgumentError'
196 test "invoke setup with existing uuid, vm and repo and verify links" do
197 authorize_with :inactive
199 assert_response :success
200 inactive_user = JSON.parse(@response.body)
202 authorize_with :admin
205 uuid: inactive_user['uuid'],
206 repo_name: 'test_repo',
210 assert_response :success
212 response_items = JSON.parse(@response.body)['items']
213 resp_obj = find_obj_in_resp response_items, 'User', nil
215 assert_not_nil resp_obj['uuid'], 'expected uuid for the new user'
216 assert_equal inactive_user['uuid'], resp_obj['uuid']
217 assert_equal inactive_user['email'], resp_obj['email'],
218 'expecting inactive user email'
220 # expect repo and vm links
221 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
222 'test_repo', resp_obj['uuid'], 'arvados#repository', true, 'Repository'
224 verify_link response_items, 'arvados#virtualMachine', true, 'permission', 'can_login',
225 @vm_uuid, resp_obj['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
228 test "invoke setup with existing uuid in user, verify response" do
229 authorize_with :inactive
231 assert_response :success
232 inactive_user = JSON.parse(@response.body)
234 authorize_with :admin
237 user: {uuid: inactive_user['uuid']},
238 openid_prefix: 'https://www.google.com/accounts/o8/id'
241 assert_response :success
243 response_items = JSON.parse(@response.body)['items']
244 resp_obj = find_obj_in_resp response_items, 'User', nil
246 assert_not_nil resp_obj['uuid'], 'expected uuid for the new user'
247 assert_equal inactive_user['uuid'], resp_obj['uuid']
248 assert_equal inactive_user['email'], resp_obj['email'],
249 'expecting inactive user email'
252 test "invoke setup with existing uuid but different email, expect original email" do
253 authorize_with :inactive
255 assert_response :success
256 inactive_user = JSON.parse(@response.body)
258 authorize_with :admin
261 uuid: inactive_user['uuid'],
262 user: {email: 'junk_email'}
265 assert_response :success
267 response_items = JSON.parse(@response.body)['items']
268 resp_obj = find_obj_in_resp response_items, 'User', nil
270 assert_not_nil resp_obj['uuid'], 'expected uuid for the new user'
271 assert_equal inactive_user['uuid'], resp_obj['uuid']
272 assert_equal inactive_user['email'], resp_obj['email'],
273 'expecting inactive user email'
276 test "setup user with valid email and repo as input" do
277 authorize_with :admin
280 repo_name: 'test_repo',
281 user: {email: 'foo@example.com'},
282 openid_prefix: 'https://www.google.com/accounts/o8/id'
285 assert_response :success
286 response_items = JSON.parse(@response.body)['items']
287 response_object = find_obj_in_resp response_items, 'User', nil
288 assert_not_nil response_object['uuid'], 'expected uuid for the new user'
289 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
291 # three extra links; login link, group link and repo link
292 verify_num_links @all_links_at_start, 3
295 test "setup user with fake vm and expect error" do
296 authorize_with :admin
299 repo_name: 'test_repo',
300 vm_uuid: 'no_such_vm',
301 user: {email: 'foo@example.com'},
302 openid_prefix: 'https://www.google.com/accounts/o8/id'
305 response_body = JSON.parse(@response.body)
306 response_errors = response_body['errors']
307 assert_not_nil response_errors, 'Expected error in response'
308 assert (response_errors.first.include? "No vm found for no_such_vm"),
309 'Expected RuntimeError: No vm found for no_such_vm'
312 test "setup user with valid email, repo and real vm as input" do
313 authorize_with :admin
316 repo_name: 'test_repo',
317 openid_prefix: 'https://www.google.com/accounts/o8/id',
319 user: {email: 'foo@example.com'}
322 assert_response :success
323 response_items = JSON.parse(@response.body)['items']
324 response_object = find_obj_in_resp response_items, 'User', nil
325 assert_not_nil response_object['uuid'], 'expected uuid for the new user'
326 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
328 # three extra links; login link, group link and repo link
329 verify_num_links @all_links_at_start, 4
332 test "setup user with valid email, no vm and repo as input" do
333 authorize_with :admin
336 user: {email: 'foo@example.com'},
337 openid_prefix: 'https://www.google.com/accounts/o8/id'
340 assert_response :success
341 response_items = JSON.parse(@response.body)['items']
342 response_object = find_obj_in_resp response_items, 'User', nil
343 assert_not_nil response_object['uuid'], 'expected uuid for new user'
344 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
346 # two extra links; login link and group link
347 verify_num_links @all_links_at_start, 2
350 test "setup user with email, first name, repo name and vm uuid" do
351 authorize_with :admin
354 openid_prefix: 'https://www.google.com/accounts/o8/id',
355 repo_name: 'test_repo',
358 first_name: 'test_first_name',
359 email: 'foo@example.com'
363 assert_response :success
364 response_items = JSON.parse(@response.body)['items']
365 response_object = find_obj_in_resp response_items, 'User', nil
366 assert_not_nil response_object['uuid'], 'expected uuid for new user'
367 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
368 assert_equal 'test_first_name', response_object['first_name'],
369 'expecting first name'
371 # four extra links; login link, group link, repo link and vm link
372 verify_num_links @all_links_at_start, 4
375 test "setup user twice with email and check two different objects created" do
376 authorize_with :admin
379 openid_prefix: 'https://www.google.com/accounts/o8/id',
380 repo_name: 'test_repo',
382 email: 'foo@example.com'
386 assert_response :success
387 response_items = JSON.parse(@response.body)['items']
388 response_object = find_obj_in_resp response_items, 'User', nil
389 assert_not_nil response_object['uuid'], 'expected uuid for new user'
390 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
391 verify_num_links @all_links_at_start, 3 # openid, group, and repo. no vm
395 user: {email: 'foo@example.com'},
396 openid_prefix: 'https://www.google.com/accounts/o8/id'
399 assert_response :success
400 response_items = JSON.parse(@response.body)['items']
401 response_object2 = find_obj_in_resp response_items, 'User', nil
402 assert_not_equal response_object['uuid'], response_object2['uuid'],
403 'expected same uuid as first create operation'
404 assert_equal response_object['email'], 'foo@example.com', 'expected given email'
406 # extra login link only
407 verify_num_links @all_links_at_start, 4
410 test "setup user with openid prefix" do
411 authorize_with :admin
414 repo_name: 'test_repo',
415 openid_prefix: 'http://www.example.com/account',
417 first_name: "in_create_test_first_name",
418 last_name: "test_last_name",
419 email: "foo@example.com"
423 assert_response :success
425 response_items = JSON.parse(@response.body)['items']
426 created = find_obj_in_resp response_items, 'User', nil
428 assert_equal 'in_create_test_first_name', created['first_name']
429 assert_not_nil created['uuid'], 'expected uuid for new user'
430 assert_not_nil created['email'], 'expected non-nil email'
431 assert_nil created['identity_url'], 'expected no identity_url'
434 # 3 new links: arvados#user, repo, and 'All users' group.
435 verify_num_links @all_links_at_start, 3
437 verify_link response_items, 'arvados#user', true, 'permission', 'can_login',
438 created['uuid'], created['email'], 'arvados#user', false, 'User'
440 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
441 'test_repo', created['uuid'], 'arvados#repository', true, 'Repository'
443 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
444 'All users', created['uuid'], 'arvados#group', true, 'Group'
446 verify_link response_items, 'arvados#virtualMachine', false, 'permission', 'can_login',
447 nil, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
450 test "invoke setup with no openid prefix, expect error" do
451 authorize_with :admin
454 repo_name: 'test_repo',
456 first_name: "in_create_test_first_name",
457 last_name: "test_last_name",
458 email: "foo@example.com"
462 response_body = JSON.parse(@response.body)
463 response_errors = response_body['errors']
464 assert_not_nil response_errors, 'Expected error in response'
465 assert (response_errors.first.include? 'openid_prefix parameter is missing'),
466 'Expected ArgumentError'
469 test "setup user with user, vm and repo and verify links" do
470 authorize_with :admin
474 first_name: "in_create_test_first_name",
475 last_name: "test_last_name",
476 email: "foo@example.com"
479 repo_name: 'test_repo',
480 openid_prefix: 'https://www.google.com/accounts/o8/id'
483 assert_response :success
485 response_items = JSON.parse(@response.body)['items']
486 created = find_obj_in_resp response_items, 'User', nil
488 assert_equal 'in_create_test_first_name', created['first_name']
489 assert_not_nil created['uuid'], 'expected uuid for new user'
490 assert_not_nil created['email'], 'expected non-nil email'
491 assert_nil created['identity_url'], 'expected no identity_url'
493 # expect 4 new links: arvados#user, repo, vm and 'All users' group link
494 verify_num_links @all_links_at_start, 4
496 verify_link response_items, 'arvados#user', true, 'permission', 'can_login',
497 created['uuid'], created['email'], 'arvados#user', false, 'User'
499 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
500 'test_repo', created['uuid'], 'arvados#repository', true, 'Repository'
502 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
503 'All users', created['uuid'], 'arvados#group', true, 'Group'
505 verify_link response_items, 'arvados#virtualMachine', true, 'permission', 'can_login',
506 @vm_uuid, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
509 test "create user as non admin user and expect error" do
510 authorize_with :active
513 user: {email: 'foo@example.com'}
516 response_body = JSON.parse(@response.body)
517 response_errors = response_body['errors']
518 assert_not_nil response_errors, 'Expected error in response'
519 assert (response_errors.first.include? 'PermissionDenied'),
520 'Expected PermissionDeniedError'
523 test "setup user as non admin user and expect error" do
524 authorize_with :active
527 openid_prefix: 'https://www.google.com/accounts/o8/id',
528 user: {email: 'foo@example.com'}
531 response_body = JSON.parse(@response.body)
532 response_errors = response_body['errors']
533 assert_not_nil response_errors, 'Expected error in response'
534 assert (response_errors.first.include? 'Forbidden'),
535 'Expected Forbidden error'
538 test "setup user in multiple steps and verify response" do
539 authorize_with :admin
542 openid_prefix: 'http://www.example.com/account',
544 email: "foo@example.com"
548 assert_response :success
549 response_items = JSON.parse(@response.body)['items']
550 created = find_obj_in_resp response_items, 'User', nil
552 assert_not_nil created['uuid'], 'expected uuid for new user'
553 assert_not_nil created['email'], 'expected non-nil email'
554 assert_equal created['email'], 'foo@example.com', 'expected input email'
556 # verify links; 2 new links: arvados#user, and 'All users' group.
557 verify_num_links @all_links_at_start, 2
559 verify_link response_items, 'arvados#user', true, 'permission', 'can_login',
560 created['uuid'], created['email'], 'arvados#user', false, 'User'
562 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
563 'All users', created['uuid'], 'arvados#group', true, 'Group'
565 verify_link response_items, 'arvados#repository', false, 'permission', 'can_write',
566 'test_repo', created['uuid'], 'arvados#repository', true, 'Repository'
568 verify_link response_items, 'arvados#virtualMachine', false, 'permission', 'can_login',
569 nil, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
571 # invoke setup with a repository
573 openid_prefix: 'http://www.example.com/account',
574 repo_name: 'new_repo',
575 uuid: created['uuid']
578 assert_response :success
580 response_items = JSON.parse(@response.body)['items']
581 created = find_obj_in_resp response_items, 'User', nil
583 assert_equal 'foo@example.com', created['email'], 'expected input email'
586 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
587 'All users', created['uuid'], 'arvados#group', true, 'Group'
589 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
590 'new_repo', created['uuid'], 'arvados#repository', true, 'Repository'
592 verify_link response_items, 'arvados#virtualMachine', false, 'permission', 'can_login',
593 nil, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
595 # invoke setup with a vm_uuid
598 openid_prefix: 'http://www.example.com/account',
602 uuid: created['uuid']
605 assert_response :success
607 response_items = JSON.parse(@response.body)['items']
608 created = find_obj_in_resp response_items, 'User', nil
610 assert_equal created['email'], 'foo@example.com', 'expected original email'
613 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
614 'All users', created['uuid'], 'arvados#group', true, 'Group'
616 # since no repo name in input, we won't get any; even though user has one
617 verify_link response_items, 'arvados#repository', false, 'permission', 'can_write',
618 'new_repo', created['uuid'], 'arvados#repository', true, 'Repository'
620 verify_link response_items, 'arvados#virtualMachine', true, 'permission', 'can_login',
621 @vm_uuid, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
624 test "setup and unsetup user" do
625 authorize_with :admin
628 repo_name: 'test_repo',
630 user: {email: 'foo@example.com'},
631 openid_prefix: 'https://www.google.com/accounts/o8/id'
634 assert_response :success
635 response_items = JSON.parse(@response.body)['items']
636 created = find_obj_in_resp response_items, 'User', nil
637 assert_not_nil created['uuid'], 'expected uuid for the new user'
638 assert_equal created['email'], 'foo@example.com', 'expected given email'
640 # 4 extra links: login, group, repo and vm
641 verify_num_links @all_links_at_start, 4
643 verify_link response_items, 'arvados#user', true, 'permission', 'can_login',
644 created['uuid'], created['email'], 'arvados#user', false, 'User'
646 verify_link response_items, 'arvados#group', true, 'permission', 'can_read',
647 'All users', created['uuid'], 'arvados#group', true, 'Group'
649 verify_link response_items, 'arvados#repository', true, 'permission', 'can_write',
650 'test_repo', created['uuid'], 'arvados#repository', true, 'Repository'
652 verify_link response_items, 'arvados#virtualMachine', true, 'permission', 'can_login',
653 @vm_uuid, created['uuid'], 'arvados#virtualMachine', false, 'VirtualMachine'
655 verify_link_existence created['uuid'], created['email'], true, true, true, false
657 # now unsetup this user
658 post :unsetup, uuid: created['uuid']
659 assert_response :success
661 created2 = JSON.parse(@response.body)
662 assert_not_nil created2['uuid'], 'expected uuid for the newly created user'
663 assert_equal created['uuid'], created2['uuid'], 'expected uuid not found'
665 verify_link_existence created['uuid'], created['email'], false, false, false, false
668 test "unsetup active user" do
669 authorize_with :active
671 assert_response :success
672 active_user = JSON.parse(@response.body)
673 assert_not_nil active_user['uuid'], 'expected uuid for the active user'
674 assert active_user['is_active'], 'expected is_active for active user'
676 verify_link_existence active_user['uuid'], active_user['email'],
677 false, false, false, true
679 authorize_with :admin
681 # now unsetup this user
682 post :unsetup, uuid: active_user['uuid']
683 assert_response :success
685 response_user = JSON.parse(@response.body)
686 assert_not_nil response_user['uuid'], 'expected uuid for the upsetup user'
687 assert_equal active_user['uuid'], response_user['uuid'], 'expected uuid not found'
688 assert !response_user['is_active'], 'expected user to be inactive'
690 verify_link_existence response_user['uuid'], response_user['email'],
691 false, false, false, false
694 def verify_num_links (original_links, expected_additional_links)
696 assert_equal original_links.size+expected_additional_links, Link.all.size,
697 "Expected #{expected_additional_links.inspect} more links"
700 def find_obj_in_resp (response_items, object_type, head_kind=nil)
702 response_items.each { |x|
707 if object_type == 'User'
712 else # looking for a link
713 if x['head_kind'] == head_kind
722 def verify_link(response_items, link_object_name, expect_link, link_class,
723 link_name, head_uuid, tail_uuid, head_kind, fetch_object, class_name)
725 link = find_obj_in_resp response_items, 'Link', link_object_name
728 assert_nil link, "Expected no link for #{link_object_name}"
732 assert_not_nil link, "Expected link for #{link_object_name}"
735 object = Object.const_get(class_name).where(name: head_uuid)
736 assert [] != object, "expected #{class_name} with name #{head_uuid}"
737 head_uuid = object.first[:uuid]
739 assert_equal link['link_class'], link_class,
740 "did not find expected link_class for #{link_object_name}"
742 assert_equal link['name'], link_name,
743 "did not find expected link_name for #{link_object_name}"
745 assert_equal link['tail_uuid'], tail_uuid,
746 "did not find expected tail_uuid for #{link_object_name}"
748 assert_equal link['head_kind'], head_kind,
749 "did not find expected head_kind for #{link_object_name}"
751 assert_equal link['head_uuid'], head_uuid,
752 "did not find expected head_uuid for #{link_object_name}"
755 def verify_link_existence uuid, email, expect_oid_login_perms,
756 expect_repo_perms, expect_vm_perms, expect_signatures
757 # verify that all links are deleted for the user
758 oid_login_perms = Link.where(tail_uuid: email,
759 head_kind: 'arvados#user',
760 link_class: 'permission',
762 if expect_oid_login_perms
763 assert oid_login_perms.any?, "expected oid_login_perms"
765 assert !oid_login_perms.any?, "expected all oid_login_perms deleted"
768 repo_perms = Link.where(tail_uuid: uuid,
769 head_kind: 'arvados#repository',
770 link_class: 'permission',
773 assert repo_perms.any?, "expected repo_perms"
775 assert !repo_perms.any?, "expected all repo_perms deleted"
778 vm_login_perms = Link.where(tail_uuid: uuid,
779 head_kind: 'arvados#virtualMachine',
780 link_class: 'permission',
783 assert vm_login_perms.any?, "expected vm_login_perms"
785 assert !vm_login_perms.any?, "expected all vm_login_perms deleted"
788 signed_uuids = Link.where(link_class: 'signature',
789 tail_kind: 'arvados#user',
793 assert signed_uuids.any?, "expected singnatures"
795 assert !signed_uuids.any?, "expected all singnatures deleted"