TRITON-2329: update ufds base image to triton-origin-x86_64-21.4.0

Details

Issue Type:Task
Priority:5 - Low
Status:Resolved
Created at:2022-08-29T20:21:27.153Z
Updated at:2022-09-01T19:36:30.557Z

People

Created by:Brian Bennett
Reported by:Brian Bennett
Assigned to:Brian Bennett

Related Links

Comments

Comment by Brian Bennett
Created at 2022-08-30T17:01:01.502Z

I’m also going to take this opportunity to switch to getting haproxy from pkgsrc instead of compiling an ancient one.


Comment by Brian Bennett
Created at 2022-09-01T01:34:40.967Z

Test results:

[root@85d9ad9f-6b9b-495a-a777-04a61d82fcfc (sv16:ufds0) /opt/smartdc/ufds/test]# ./runtests 
/opt/smartdc/ufds
# Create output dir (/var/tmp/ufdstest).

TAP version 13
# setup
ok 1 null
ok 2 should be truthy
ok 3 null
ok 4 should be truthy
# add user
ok 5 null
# add sub-user
ok 6 null
ok 7 null
ok 8 should be equal
ok 9 should be equal
ok 10 should not be equal
# authenticate user (compare)
ok 11 null
ok 12 should be truthy
ok 13 null
ok 14 null
ok 15 should be truthy
ok 16 null
ok 17 should be equal
# add sub-user (duplicated login outside account)
ok 18 null
ok 19 null
ok 20 sub-user compare matches
# add sub-user (duplicated login within account)
ok 21 should be truthy
ok 22 should be equal
# add policy
ok 23 null
ok 24 null
ok 25 should be truthy
# add policy with wrong rule
ok 26 should be truthy
ok 27 should be equal
# add policy with dupe name
ok 28 should be equal
ok 29 should be truthy
# add role with policy
ok 30 null
ok 31 null
ok 32 should be truthy
ok 33 null
ok 34 should be truthy
ok 35 should be equal
# add role with dupe name
ok 36 should be truthy
ok 37 should be equal
# add resource
ok 38 null
ok 39 null
ok 40 should be truthy
# delete resource
ok 41 null
# add role w/o policy
ok 42 null
ok 43 null
ok 44 should be truthy
# Update role to duplicated name
ok 45 should be truthy
ok 46 should be equal
# add member to role
ok 47 null
ok 48 null
ok 49 should be equal
# add policy with role
ok 50 null
ok 51 null
ok 52 should be truthy
ok 53 null
ok 54 should be truthy
ok 55 should be equal
# prepare modifications
ok 56 null
ok 57 null
ok 58 should be truthy
ok 59 null
ok 60 null
ok 61 should be truthy
# mod policy (changetype add)
ok 62 null
ok 63 null
ok 64 should be truthy
ok 65 should be truthy
ok 66 null
ok 67 should be truthy
ok 68 null
ok 69 should be truthy
# mod policy (changetype replace keep one, replace other)
ok 70 null
ok 71 null
ok 72 should be truthy
ok 73 should be truthy
ok 74 should be truthy
ok 75 null
ok 76 should be truthy
ok 77 null
ok 78 should be truthy
ok 79 null
ok 80 should be truthy
# mod policy (changetype delete with values)
ok 81 null
ok 82 null
ok 83 should be truthy
ok 84 should be truthy
ok 85 null
ok 86 should be truthy
ok 87 null
ok 88 should be truthy
# mod policy (changetype delete w/o values)
ok 89 null
ok 90 null
ok 91 should be truthy
ok 92 null
ok 93 should be truthy
# mod policy (changetype delete entry has no values)
ok 94 null
ok 95 null
ok 96 should be truthy
# mod policy (changetype replace w/o values)
ok 97 null
ok 98 null
ok 99 should be truthy
ok 100 should be truthy
ok 101 null
ok 102 should be truthy
ok 103 null
ok 104 should be truthy
ok 105 null
ok 106 null
ok 107 should be truthy
ok 108 null
ok 109 should be truthy
ok 110 null
ok 111 should be truthy
# delete policy with roles
ok 112 null
ok 113 null
ok 114 should be truthy
ok 115 should be truthy
# mod policy (with fake role)
ok 116 should be truthy
ok 117 should be equal
ok 118 should be equal
# delete role with policies
ok 119 null
ok 120 null
ok 121 should be truthy
ok 122 should be truthy
# cleanup db
ok 123 null
ok 124 null
ok 125 null
ok 126 null
# teardown
ok 127 undefined
ok 128 null
ok 129 undefined
# setup
ok 130 null
ok 131 should be truthy
ok 132 null
ok 133 should be truthy
# no suffix
ok 134 should be truthy
# add suffix
# add child missing parent
ok 135 should be truthy
ok 136 should be equal
# add child
ok 137 null
# add child already exists
ok 138 should be truthy
ok 139 should be equal
# add child unique conflict
ok 140 should be truthy
ok 141 should be equal
# add child manage DSA
ok 142 null
# add blacklisted email
ok 143 should be truthy
ok 144 should be equal
ok 145 should be equal
ok 146 should be truthy
ok 147 should be equal
ok 148 should be equal
# add dclocalconfig with wrong datacenter in dn
ok 149 dn dclocalconfig mismatch err
# add dclocalconfig with wrong datacenter in entry
ok 150 entry dclocalconfig mismatch err
# add dcuserconfig child
ok 151 null
ok 152 delete dclocalconfig=sv16, uuid=410b7f06-f59a-43a7-83f4-d51ca33f6673, o=smartdc
# Add case-only different login
ok 153 should be truthy
ok 154 should be equal
# add large entry
ok 155 null
ok 156 null
# teardown
ok 157 undefined
ok 158 null
ok 159 undefined
# setup
ok 160 null
ok 161 should be truthy
ok 162 null
ok 163 should be truthy
# add fixtures
# bind invalid password
ok 164 should be truthy
ok 165 should be equal
# bind non-existent entry
ok 166 should be truthy
ok 167 should be equal
# bind success
ok 168 null
# authorize ok
ok 169 null
ok 170 should be truthy
# authorization denied
ok 171 should be truthy
ok 172 should be equal
# unbound client should not throw exceptions
ok 173 Unbound client error
ok 174 should be truthy
ok 175 should be equal
ok 176 null
ok 177 should be truthy
ok 178 should be equal
# teardown
ok 179 undefined
ok 180 null
ok 181 undefined
# setup
ok 182 null
ok 183 should be truthy
ok 184 null
ok 185 should be truthy
# add fixtures
# compare true
ok 186 null
ok 187 should be truthy
# compare false
ok 188 null
ok 189 should be equal
# compare non-existent attribute
ok 190 should be truthy
ok 191 should be equal
# compare non-existent entry
ok 192 should be truthy
ok 193 NoSuchObjectError
# teardown
ok 194 undefined
ok 195 null
ok 196 undefined
# setup
ok 197 null
ok 198 should be truthy
ok 199 null
ok 200 should be truthy
# add fixtures
# delete ok
ok 201 null
# delete non-existent entry
ok 202 should be truthy
ok 203 should be equal
# delete non-leaf entry
ok 204 should be truthy
ok 205 should be equal
# teardown
ok 206 undefined
ok 207 null
ok 208 undefined
# setup
ok 209 null
ok 210 should be truthy
ok 211 null
ok 212 should be truthy
# add fixtures
ok 213 null
# modify add ok
ok 214 null
ok 215 null
ok 216 should be truthy
ok 217 should be truthy
ok 218 should be truthy
# modify replace ok
ok 219 null
ok 220 null
ok 221 should be truthy
ok 222 should be equal
# modify delete ok
ok 223 null
ok 224 null
ok 225 should be truthy
ok 226 should be truthy
# modify non-existent entry
ok 227 should be truthy
ok 228 should be equal
# modify sdcPerson UUID
ok 229 should be truthy
ok 230 should be equal
# modify sub-user login
ok 231 Add sub-user error
ok 232 Compare sub-user error
ok 233 sub-user compare matches
ok 234 Modify sub-user error
ok 235 Compare sub-user error
ok 236 sub-user compare matches
ok 237 Delete sub-user error
# modify dclocalconfig
ok 238 add dclocalconfig object
ok 239 dclocalconfig object modification err
ok 240 dclocalconfig object comparison err
ok 241 dclocalconfig defaultNetwork matches modification
ok 242 delete dclocalconfig=sv16, cn=child, o=smartdc
# modify dclocalconfig dclocalconfig property
ok 243 add dclocalconfig err
ok 244 received err
ok 245 should be equal
ok 246 delete dclocalconfig err
# modify dclocalconfig with identical entry
ok 247 add dclocalconfig object
ok 248 dclocalconfig object modification err
ok 249 dclocalconfig object comparison err
ok 250 dclocalconfig matches modification
ok 251 delete dclocalconfig=sv16, cn=child, o=smartdc
# remove fixture
ok 252 null
# teardown
ok 253 undefined
ok 254 null
ok 255 undefined
# setup
ok 256 null
ok 257 should be truthy
ok 258 null
ok 259 should be truthy
# CAPI Imported sdcPerson entry
ok 260 Imported entry error
ok 261 null
ok 262 should be truthy
ok 263 should be truthy
# Authenticate imported sdcPerson entry
ok 264 null
ok 265 should be truthy
# UFDS new sdcPerson entry
ok 266 New sdcPerson entry error
ok 267 null
ok 268 should be truthy
ok 269 should be truthy
# Authenticate new sdcPerson entry
ok 270 null
ok 271 should be truthy
# Update CAPI imported entry
ok 272 null
ok 273 null
ok 274 should be truthy
ok 275 should be truthy
ok 276 should be truthy
ok 277 should be truthy
# Authenticate imported sdcPerson entry after update
ok 278 null
ok 279 should be truthy
# Update not imported entry
ok 280 null
ok 281 null
ok 282 should be truthy
ok 283 should be truthy
ok 284 should be truthy
ok 285 should be truthy
ok 286 should be truthy
# Authenticate not imported sdcPerson entry after update
ok 287 null
ok 288 should be truthy
# Password too short not allowed
ok 289 should be truthy
ok 290 should be equal
ok 291 should be equal
# Passwords must contain alphanumeric chars
ok 292 should be truthy
ok 293 should be equal
ok 294 should be equal
ok 295 should be truthy
ok 296 should be equal
ok 297 should be equal
# Updated passwords quality
ok 298 should be truthy
ok 299 should be equal
ok 300 should be equal
ok 301 should be truthy
ok 302 should be equal
ok 303 should be equal
ok 304 should be truthy
ok 305 should be equal
ok 306 should be equal
# Password history
ok 307 should be truthy
ok 308 should be equal
ok 309 should be equal
ok 310 should be truthy
ok 311 should be equal
ok 312 should be equal
ok 313 null
ok 314 null
ok 315 null
ok 316 should be equal
ok 317 null
ok 318 should be equal
# Expired password
ok 319 null
ok 320 should be truthy
ok 321 should be truthy
ok 322 should be equal
ok 323 should be truthy
ok 324 should be equal
ok 325 should be equal
ok 326 null
ok 327 null
ok 328 should be truthy
# Failed login attempts
ok 329 compare error
ok 330 compare ok
ok 331 compare msg
ok 332 get user err
ok 333 pwd failure time ok
ok 334 compare error
ok 335 compare ok
ok 336 compare msg
ok 337 get user err 2
ok 338 pwd failure time ok 2
ok 339 u2 length
ok 340 compare error
ok 341 compare ok
ok 342 compare msg
ok 343 compare error
ok 344 compare ok
ok 345 compare msg
ok 346 compare error
ok 347 compare ok
ok 348 compare msg
ok 349 compare error
ok 350 compare ok
ok 351 compare msg
ok 352 get user err 3
ok 353 fail time 3
ok 354 should be equal
ok 355 bind error
ok 356 err name
ok 357 compare error
ok 358 compare not ok
ok 359 compare message
ok 360 null
ok 361 null
ok 362 should be truthy
ok 363 should be truthy
# teardown
ok 364 undefined
ok 365 null
ok 366 undefined
# setup
ok 367 null
ok 368 should be truthy
ok 369 null
ok 370 should be truthy
# add fixtures
ok 371 null
# search base objectclass=*
ok 372 null
ok 373 should be equal
ok 374 should be equal
ok 375 should be equal
ok 376 should be equal
ok 377 should be equal
ok 378 should be equal
ok 379 should be equal
ok 380 should be equal
# search base eq filter ok
ok 381 null
ok 382 should be equal
ok 383 should be equal
ok 384 should be equal
ok 385 should be equal
ok 386 should be equal
ok 387 should be equal
ok 388 should be equal
ok 389 should be equal
# search base case sensitive search filter ok
ok 390 null
ok 391 should be equal
# search base caseIgnoreMatch filter ok
ok 392 null
ok 393 should be equal
ok 394 should be equal
ok 395 should be equal
ok 396 should be equal
ok 397 should be equal
ok 398 should be equal
ok 399 should be equal
ok 400 should be equal
# search base eq filter no match
ok 401 null
ok 402 should be equal
# search sub substr filter ok
ok 403 null
ok 404 should be equal
ok 405 should be equal
ok 406 should be equal
ok 407 should be equal
ok 408 should be equal
ok 409 should be equal
ok 410 should be equal
ok 411 should be equal
ok 412 should be equal
ok 413 should be equal
ok 414 should be equal
ok 415 should be equal
ok 416 should be equal
ok 417 should be equal
ok 418 should be equal
ok 419 should be equal
ok 420 should be equal
ok 421 should be equal
ok 422 should be equal
ok 423 should be equal
ok 424 should be equal
ok 425 should be equal
ok 426 should be equal
ok 427 should be equal
ok 428 should be equal
ok 429 should be equal
ok 430 should be equal
ok 431 should be equal
ok 432 should be equal
ok 433 should be equal
ok 434 should be equal
ok 435 should be equal
ok 436 should be equal
ok 437 should be equal
ok 438 should be equal
ok 439 should be equal
ok 440 should be equal
ok 441 should be equal
ok 442 should be equal
ok 443 should be equal
ok 444 should be equal
ok 445 should be equal
ok 446 should be equal
ok 447 should be equal
ok 448 should be equal
ok 449 should be equal
ok 450 should be equal
ok 451 should be equal
ok 452 should be equal
ok 453 should be equal
ok 454 should be equal
# search sub substr caseIgnoreSubstringsMatch filter ok
ok 455 null
ok 456 should be equal
ok 457 should be equal
ok 458 should be equal
ok 459 should be equal
ok 460 should be equal
ok 461 should be equal
ok 462 should be equal
ok 463 should be equal
ok 464 should be equal
ok 465 should be equal
ok 466 should be equal
ok 467 should be equal
ok 468 should be equal
ok 469 should be equal
ok 470 should be equal
ok 471 should be equal
ok 472 should be equal
ok 473 should be equal
ok 474 should be equal
ok 475 should be equal
ok 476 should be equal
ok 477 should be equal
ok 478 should be equal
ok 479 should be equal
ok 480 should be equal
ok 481 should be equal
ok 482 should be equal
ok 483 should be equal
ok 484 should be equal
ok 485 should be equal
ok 486 should be equal
ok 487 should be equal
ok 488 should be equal
ok 489 should be equal
ok 490 should be equal
ok 491 should be equal
ok 492 should be equal
ok 493 should be equal
ok 494 should be equal
ok 495 should be equal
ok 496 should be equal
ok 497 should be equal
ok 498 should be equal
ok 499 should be equal
ok 500 should be equal
ok 501 should be equal
ok 502 should be equal
ok 503 should be equal
ok 504 should be equal
ok 505 should be equal
ok 506 should be equal
# search sub substr case sensitive filter ok
ok 507 null
ok 508 should be equal
# search sub wrong base
ok 509 should be truthy
ok 510 should be equal
# search sub filter no match
ok 511 null
ok 512 should be equal
# search sub filter ge ok
ok 513 null
ok 514 should be equal
ok 515 should be equal
ok 516 should be equal
ok 517 should be equal
ok 518 should be equal
ok 519 should be equal
# search sub filter le ok
ok 520 null
ok 521 should be equal
ok 522 should be equal
ok 523 should be equal
ok 524 should be equal
ok 525 should be equal
ok 526 should be equal
ok 527 should be equal
ok 528 should be equal
ok 529 should be equal
ok 530 should be equal
ok 531 should be equal
ok 532 should be equal
ok 533 should be equal
ok 534 should be equal
ok 535 should be equal
ok 536 should be equal
ok 537 should be equal
ok 538 should be equal
ok 539 should be equal
ok 540 should be equal
ok 541 should be equal
ok 542 should be equal
ok 543 should be equal
ok 544 should be equal
ok 545 should be equal
ok 546 should be equal
ok 547 should be equal
ok 548 should be equal
ok 549 should be equal
ok 550 should be equal
ok 551 should be equal
ok 552 should be equal
ok 553 should be equal
ok 554 should be equal
ok 555 should be equal
ok 556 should be equal
ok 557 should be equal
ok 558 should be equal
ok 559 should be equal
ok 560 should be equal
ok 561 should be equal
ok 562 should be equal
ok 563 should be equal
ok 564 should be equal
ok 565 should be equal
ok 566 should be equal
# search sub filter and ok
ok 567 null
ok 568 should be equal
ok 569 should be equal
ok 570 should be equal
ok 571 should be equal
ok 572 should be equal
ok 573 should be equal
# search sub filter or ok
ok 574 null
ok 575 should be equal
ok 576 should be equal
ok 577 should be equal
ok 578 should be equal
ok 579 should be equal
ok 580 should be equal
ok 581 should be equal
ok 582 should be equal
ok 583 should be equal
ok 584 should be equal
ok 585 should be equal
# search sub filter compound ok
ok 586 null
ok 587 should be equal
# changelog search
ok 588 changelog search error
ok 589 should be truthy
ok 590 should be truthy
ok 591 should be truthy
ok 592 should be truthy
ok 593 should be truthy
ok 594 should be equal
# changelog count
ok 595 changelogcount search error
ok 596 should be truthy
ok 597 count attr present
# latestchangenumber
ok 598 latestchangenumber search error
ok 599 should be truthy
ok 600 count attr present
# search sizeLimit
ok 601 null
ok 602 should be equal
# teardown
ok 603 undefined
ok 604 null
ok 605 undefined
# setup
ok 606 should be truthy
ok 607 should be truthy
ok 608 should be truthy
# list customers
ok 609 null
ok 610 should be truthy
ok 611 should be truthy
ok 612 should be truthy
# create customer (missing login)
ok 613 should be truthy
ok 614 should be equal
ok 615 should be truthy
ok 616 obj errors ok
# create customer (missing email)
ok 617 should be truthy
ok 618 should be equal
ok 619 should be truthy
ok 620 should be truthy
# create customer (password confirmation missmatch)
ok 621 should be truthy
ok 622 should be equal
ok 623 should be truthy
ok 624 should be truthy
# create customer
ok 625 null
ok 626 should be truthy
ok 627 should be equal
ok 628 should be equal
ok 629 should be truthy
ok 630 should be truthy
ok 631 should be truthy
ok 632 should be truthy
ok 633 should be truthy
ok 634 should be truthy
# create customer (duplicated login)
ok 635 should be truthy
ok 636 should be equal
ok 637 should be truthy
ok 638 should be truthy
ok 639 should be truthy
# get customer
ok 640 null
ok 641 should be truthy
ok 642 should be equal
ok 643 should be truthy
# customer forgot_password
ok 644 forgot password error
ok 645 forgot password response
ok 646 forgot pwd login
ok 647 forgot pwd code
# get customer (404)
ok 648 should be truthy
ok 649 should be equal
# update customer
ok 650 null
ok 651 should be truthy
ok 652 should be equal
ok 653 should be equal
ok 654 should be equal
ok 655 should be equal
# get salt
ok 656 get salt error
ok 657 get salt response
ok 658 get salt salt
# login
ok 659 null
ok 660 should be truthy
ok 661 should be truthy
ok 662 should be equal
# forgot password
ok 663 null
ok 664 should be truthy
ok 665 should be truthy
ok 666 should be truthy
ok 667 should be equal
ok 668 should be truthy
# forgot password unknown email
ok 669 should be truthy
ok 670 should be equal
# update customer password too short
ok 671 should be truthy
ok 672 should be equal
ok 673 should be truthy
ok 674 should be truthy
ok 675 should be truthy
ok 676 should be equal
# update customer password insuficient quality
ok 677 should be truthy
ok 678 should be equal
ok 679 should be truthy
ok 680 should be truthy
ok 681 should be truthy
ok 682 should be equal
# update customer password do not match
ok 683 should be truthy
ok 684 should be equal
ok 685 should be truthy
ok 686 should be equal
ok 687 should be truthy
ok 688 should be equal
# update customer password
ok 689 null
ok 690 should be truthy
# login with new password
ok 691 null
ok 692 should be truthy
ok 693 should be truthy
ok 694 null
ok 695 should be truthy
ok 696 should be truthy
# search customer by login (positive match)
ok 697 null
ok 698 should be truthy
ok 699 should be truthy
ok 700 should be truthy
ok 701 should be equal
ok 702 should be equal
# search customer by login (negative match)
ok 703 null
ok 704 should be truthy
ok 705 should be truthy
ok 706 should be truthy
# add key
ok 707 null
ok 708 should be equal
ok 709 should be truthy
ok 710 should be truthy
ok 711 should be truthy
ok 712 should be equal
ok 713 should be truthy
ok 714 should be equal
# list keys
ok 715 null
ok 716 should be truthy
ok 717 should be truthy
ok 718 should be truthy
ok 719 should be truthy
ok 720 should be truthy
ok 721 should be truthy
ok 722 should be truthy
ok 723 should be truthy
# get key
ok 724 null
ok 725 should be truthy
ok 726 should be truthy
ok 727 should be truthy
ok 728 should be equal
ok 729 should be truthy
ok 730 should be truthy
# smartlogin invalid fp
ok 731 should be truthy
ok 732 should be equal
# smartlogin not found md5
ok 733 should be truthy
ok 734 should be equal
# smartlogin ok md5
ok 735 null
ok 736 should be equal
# smartlogin ok sha256
ok 737 null
ok 738 should be equal
# smartlogin wrong algorithm
ok 739 should be truthy
ok 740 should be equal
# smartlogin ok algorithm
ok 741 null
ok 742 should be equal
# update key
ok 743 null
# add limit
ok 744 null
ok 745 should be equal
# list limits
ok 746 null
ok 747 should be truthy
ok 748 should be truthy
ok 749 should be equal
ok 750 should be equal
# modify limit
ok 751 null
ok 752 should be equal
ok 753 null
ok 754 should be truthy
ok 755 should be truthy
ok 756 should be equal
# delete limit
ok 757 null
ok 758 should be equal
# limit cleanup
ok 759 null
ok 760 should be truthy
ok 761 null
ok 762 null
# add app meta key (parseable string)
ok 763 should be equal
# get app meta key (parseable string)
ok 764 null
ok 765 should be equal
ok 766 should be equal
# update app meta key (to plain string)
ok 767 should be equal
# get app meta key (string plain)
ok 768 null
ok 769 should be equal
ok 770 should be equal
# add app meta key (object)
ok 771 should be equal
# get app meta key (object)
ok 772 null
ok 773 should be equal
ok 774 should be truthy
ok 775 should be equal
ok 776 should be equal
# get app meta
ok 777 null
ok 778 should be equal
ok 779 should be truthy
ok 780 should be equal
ok 781 should be truthy
# delete app meta key
ok 782 null
ok 783 should be equal
# meta cleanup
ok 784 null
ok 785 should be truthy
ok 786 null
ok 787 null
# delete key
ok 788 null
ok 789 should be equal
# delete customer
ok 790 should be equal
# teardown
ok 791 undefined

1..791
# tests 791
# pass  791

# ok


# test output:
/var/tmp/ufdstest/ufds.tap

# test results:
# Completed in 4 seconds.
# PASS: 791 / 791

[root@85d9ad9f-6b9b-495a-a777-04a61d82fcfc (sv16:ufds0) /opt/smartdc/ufds/test]# 

All tests pass.


Comment by Jira Bot
Created at 2022-09-01T18:56:53.964Z

sdc-ufds commit b5661e9d29e6d520a7e020f3d45ed6411aa49741 (branch master, by Brian Bennett)

TRITON-2329 update ufds base image to triton-origin-x86_64-21.4.0 TRITON-2179 ufds tls cert should be persistent across reprovisions (#24)

TRITON-2329 update ufds base image to triton-origin-x86_64-21.4.0
TRITON-2179 ufds tls cert should be persistent across reprovisions
Reviewed by: Dan McDonald <danmcd@mnx.io>
Reviewed by: Travis Paul <travis.paul@mnx.io>