Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 685 log updates #1992

Merged
merged 59 commits into from
Dec 19, 2022
Merged

Feature 685 log updates #1992

merged 59 commits into from
Dec 19, 2022

Commits on Dec 14, 2022

  1. Configuration menu
    Copy the full SHA
    de77082 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a945632 View commit details
    Browse the repository at this point in the history
  3. simplified logic to getting metplus log file and output appropriate l…

    …og if logging to terminal only
    georgemccabe committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    11fa333 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8fb37f View commit details
    Browse the repository at this point in the history
  5. change logs that are output to screen before log file is initialized …

    …to print statements so it is clear that they are not included in the logs. Removed extra info about config setup that is not relevant to user
    georgemccabe committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    d6f2177 View commit details
    Browse the repository at this point in the history
  6. added function to get useful message if log file is not set and call …

    …function when logging log file so it is clear that a log file is not used
    georgemccabe committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    4fb2fa2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cd430ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    79c2f1d View commit details
    Browse the repository at this point in the history
  9. added support for setting LOG_LEVEL_TERMINAL to set log level for scr…

    …een output to a different value than the log file level
    georgemccabe committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    26d8c36 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ea40378 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9394f94 View commit details
    Browse the repository at this point in the history
  12. change log level for automated tests from DEBUG to INFO to see how mu…

    …ch faster the tests run, ci-run-all-cases
    georgemccabe committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    20e0728 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    b31f69d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ddf6ae View commit details
    Browse the repository at this point in the history
  3. changed logs that list the length of time to run to INFO level, added…

    … 'took' to command timing log because that word can be searched to find all timing log info
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    e7d5587 View commit details
    Browse the repository at this point in the history
  4. turn on use case to test

    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    b219ac5 View commit details
    Browse the repository at this point in the history
  5. separate out setup commands from use case commands, only add status v…

    …ariable checks if not running in Docker because Docker logic will be updated to run each use case in separate docker exec commands
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    83a5ddb View commit details
    Browse the repository at this point in the history
  6. create Docker container and run setup commands, then docker exec each…

    … use case command separately
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    901e332 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e287614 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    84d9d7d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e390f16 View commit details
    Browse the repository at this point in the history
  10. do not exec detached because it will always return 0 error code, remo…

    …ve container at end of tests instead of stop, ci-skip-unit-tests
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    e9b7377 View commit details
    Browse the repository at this point in the history
  11. run docker exec commands with bash login shell (-l), try adding expor…

    …t statement to bashrc so it will be read on each login shell, renamed constant variable to uppercase, ci-skip-unit-tests
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    3815b0e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9b1b4af View commit details
    Browse the repository at this point in the history
  13. added missing semicolon

    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    d72f792 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bd6cc1e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9a453b6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9817a1e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8af5c65 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    56c4999 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7674b27 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3505446 View commit details
    Browse the repository at this point in the history
  21. end group before error message so it is visible at top level, fix cat…

    … command to run inside docker, ci-skip-unit-tests
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    ca5deff View commit details
    Browse the repository at this point in the history
  22. add any env var assignment to bashrc, changed setup_env items into a …

    …list that is joined by semicolon at the end, ci-skip-unit-tests
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    7e96fb3 View commit details
    Browse the repository at this point in the history
  23. remove source of bashrc file because running with login shell, added …

    …comment to note which values were added by test script
    georgemccabe committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    3a1ab23 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. added GHA log groups for all commands run through time_command, moved…

    … TIMING info after ERROR info to match other command order
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    806f768 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34e1abd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fa6c63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39983fb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e6c4c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f774bff View commit details
    Browse the repository at this point in the history
  7. created python function to run commands with timing info, error repor…

    …ting, and GitHub Actions log grouping
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    39b8b8f View commit details
    Browse the repository at this point in the history
  8. call run_commands function to consistently run processes and group lo…

    …gs, cleaned up logic to capitalize constants and created helper functions for better readability
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    69da329 View commit details
    Browse the repository at this point in the history
  9. changed calling of diff logic to start detached interactive container…

    …, run diff logic, and remove container to better organize log output in GitHub Actions
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    1baa8c0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    741bf67 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3dd5b6a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c9a686c View commit details
    Browse the repository at this point in the history
  13. turn on use case group and add typo to conf to create example of how …

    …GHA logs look when a use case fails, ci-skip-unit-tests, ci-run-diff
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    22cb0ce View commit details
    Browse the repository at this point in the history
  14. Revert "turn on use case group and add typo to conf to create example…

    … of how GHA logs look when a use case fails, ci-skip-unit-tests, ci-run-diff"
    
    This reverts commit 22cb0ce.
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    f7bebac View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d80e8f4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e1fe6f6 View commit details
    Browse the repository at this point in the history
  17. if LOG_LEVEL_TERMINAL is set so that INFO log message are not output …

    …to the screen, then print important log info to the screen like starting and stopping info
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    84767d0 View commit details
    Browse the repository at this point in the history
  18. set file log level to DEBUG for automated tests so that the screen ou…

    …tput is clean with INFO level and the log files that can be downloaded contain additional DEBUG logs
    georgemccabe committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    3bad7ef View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    64e82ad View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. gather list of use cases that failed or could not be run to print sum…

    …mary at end of all use case runs
    georgemccabe committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    205d460 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c679f3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8722a0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c682a78 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e39cd0d View commit details
    Browse the repository at this point in the history