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

Test VERIFY_PEER / VERIFY_NONE work against real cluster #550

Merged
merged 15 commits into from
Mar 14, 2022

Commits on Feb 22, 2022

  1. Merge pull request ManageIQ#538 from cben/update-test-certs

    [v4.y] Regenerate test TLS certs, stop skipping those tests
    cben authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    cfffad9 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. [v4.y] Ensure VCR doesn't leak into other tests

    VCR was interfering with my attempts to connect to a real cluster,
    despite `WebMock.enable_net_connect!`.
    What's worse, it depended on order that tests executed.
    
    [This won't be needed on master, we dropped the VCR test in ManageIQ#495.]
    cben committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    1b40ba9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ManageIQ#546 from cben/v4.y-vcr-turn-off

    [v4.y] Ensure VCR doesn't leak into other tests
    cben authored Feb 27, 2022
    Configuration menu
    Copy the full SHA
    db61456 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. [v4.y] Test on Ruby 3.1

    cben committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    dae9329 View commit details
    Browse the repository at this point in the history
  2. appease a few more test runs?

    Kjetil Joergensen authored and cben committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    72dc684 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ManageIQ#548 from cben/v4.y-ruby3.1

    [v4.y] Test on Ruby 3.1
    cben authored Mar 5, 2022
    Configuration menu
    Copy the full SHA
    1b9d1cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94dde98 View commit details
    Browse the repository at this point in the history
  5. 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
  6. 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
  7. 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

Commits on Mar 14, 2022

  1. Configuration menu
    Copy the full SHA
    1dfaa6e View commit details
    Browse the repository at this point in the history