github Teradata/stacki stacki-05.02.04.00
05.02.04.00

latest releases: stacki-5.6.5, stacki-5.6.4, stacki-5.6.3...
5 years ago

Feature

  • Add ability to override reported files

    Only for /etc/resolv.conf right now. Added reportFile method
    for generating tags.

    If an attribute etc_resolv.conf is defined the value will be used
    rather than the generated report.

  • Run test-framework integration tests in parallel

    The tests are distributed across 4 cpus inside of the VM. Minor special handling for database
    names needed to be added to the stack command code to point everything at a copy of the database
    the test-framework manages. Each test file is pinned on the same process and it's test function
    s ran sequentially, which seems to keep things happy.

    A new fixture named exclusive_lock has been added to allow your test to run with exclusive c
    ontrol of the VM. It does this by waiting for the other test processes to finish their tests, th
    en pause them before they can start the next one. Only a few tests and fixtures that use shared
    resources (modify the filesystem, start servers on ports, inject code, etc) have needed this ext
    reme step. Only use it if your test won't pass without it.

    A second new fixture, named debug_log, has also been added. You add it to your other fixture
    s or tests and then call as a function. You give it a string and it will write it to a debug.lo\ g file in the reports directory, along with the test making the call and the xdist worker it is
    running on. Useful for debugging pytest fixtures because pytesst swallows normal print calls. Y
    ou should remove any debug_log calls from your code before merging into develop, because wri
    ting to the shared log isn't very efficient.

    I added a new --audit flag to the run-tests.sh script for the integration test suite. This
    will log any modifications to the /etc, /export/stack/pallets, and /export/stack/carts di
    rectories, and warn you at the end of testing if any of the tests are missing the fixtures to re
    very the filesystem modifications.

Bugfix

  • WS message to /var/log/local1

Git

  • start 05.02.04.00

  • Merge branch 'release/05.02.03.00' into develop

Don't miss a new stacki release

NewReleases is sending notifications on new releases.