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

[v4.y] Test VERIFY_PEER / VERIFY_NONE work against real cluster #545

Merged
merged 8 commits into from
Mar 14, 2022

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    94dde98 View commit details
    Browse the repository at this point in the history
  2. Test VERIFY_PEER / VERIFY_NONE work against real cluster

    Followup to ManageIQ#540,
    tests that it really fixes ManageIQ#525.
    
    That bug only existed on master, not v4.y branch, but testing the behavior on both is good.
    cben committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    963ffeb View commit details
    Browse the repository at this point in the history
  3. tests: Create real cluster on github CI

    Yay, `docker run --priviledged` is allowed!  k0s starts up really fast too.
    (only on linux, keeping regular `rake test` on macos because no `docker`.)
    cben committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    390ab9e View commit details
    Browse the repository at this point in the history
  4. CI: set a short timeout

    Sometimes minitest starts and then just hangs printing ...nothing?
    
        Run options: --seed 34017
    
        # Running:
    
        Error: The operation was canceled.
    
    Github's default job timeout is a generous 6 hours!
    https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits
    But waiting is not productive and wasteful (and will burn our free minutes).
    
    Setting outer job timeout longer for `bundle install`.
    Hoping an inner SIGTERM received from while job is still running may allow
    the test to print some traceback.  I have no idea where it's getting stuck.
    (macos has no `timeout` command, but most or all stuck runs were linux.)
    
    (I would suspect `exercise_watcher_with_timeout` but also saw same
    symptoms on another PR without k0s tests)
    cben committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    367d432 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. CI: debug where tests timeout

    cben committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    35160d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Update test/config/update_certs_k0s.rb

    Co-authored-by: Michael Grosser <michael@grosser.it>
    cben and grosser authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    022f4a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2152ef View commit details
    Browse the repository at this point in the history
  3. drop --trace

    shows stacktrace within Rake itself, not within test.
    cben committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    6be9b14 View commit details
    Browse the repository at this point in the history