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

WIP: system test parallelization: two-pass approach #23275

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Commits on Oct 11, 2024

  1. EXPERIMENTAL! In teardown, if we see leaks, ...

    ...try to trace them back to the culprit tests
    
    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    bb43e0f View commit details
    Browse the repository at this point in the history
  2. (debug) for 21569: log play-kube command, show at end

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8a6f0ac View commit details
    Browse the repository at this point in the history
  3. test/system: podman play --service-container slog to syslog

    In theory when syslog is set the cleanup process should log its errors
    to syslog (journald) so we can have a look at the errors in CI.
    Without it podman container cleanup errors will never be logged anywhere.
    
    In order to rey to debug  containers#21569
    
    Signed-off-by: Paul Holzinger <[email protected]>
    Luap99 authored and edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e4dbd1c View commit details
    Browse the repository at this point in the history
  4. DO NOT MERGE: skip unneeded CI tasks

    All we care about in this PR is system tests.
    
    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7f8c4ef View commit details
    Browse the repository at this point in the history
  5. FIXME: update docs, teardown, ...

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    201fae9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e9c63c1 View commit details
    Browse the repository at this point in the history
  7. FIXME-debug for k8s-file test

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b817f9f View commit details
    Browse the repository at this point in the history
  8. why is USEC test failing

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ab083db View commit details
    Browse the repository at this point in the history
  9. try parallelizing the USEC test again

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4bd5710 View commit details
    Browse the repository at this point in the history
  10. 220: add a FIXME comment about a race

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5b11c56 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    513a2ab View commit details
    Browse the repository at this point in the history
  12. fixmeup-255 debugging

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    38c6f80 View commit details
    Browse the repository at this point in the history
  13. unparallelize usec

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9ddc527 View commit details
    Browse the repository at this point in the history
  14. FIXME debugs for ns leak

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7bebb52 View commit details
    Browse the repository at this point in the history
  15. FIXME: rmi pause. Is there a better place to do this?

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3501575 View commit details
    Browse the repository at this point in the history
  16. system tests: safer install_kube_template()

    Previous version was badly broken: it relied on 'make'
    rebuilding a file under cwd, which is a no-no; and, in
    the case where we don't have a source directory, just
    blindly hoped that there'd be a system-installed .service
    file with the correct path to podman.
    
    Solution:
      . if running in source directory, run sed directly into
        destination service file in $UNIT_DIR. This is ugly
        duplication of a line in Makefile.
    
      . if NOT running in a source directory, check $PODMAN:
        . if it's /usr/bin/podman, continue
        . otherwise skip, because we don't know what we're testing
    
    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1b5ba47 View commit details
    Browse the repository at this point in the history
  17. Add lots more parallel-high-load FIXMEs

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    04131f2 View commit details
    Browse the repository at this point in the history
  18. CI: parallelize 450-interactive system tests

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    76850eb View commit details
    Browse the repository at this point in the history
  19. CI: parallelize 520-checkpoint tests

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b5b5149 View commit details
    Browse the repository at this point in the history
  20. pasta udp tests: new bytecheck helper

    ...for debugging containers#24147, because "md5sum mismatch" is not
    the best way to troubleshoot bytestream differences.
    
    Because socat is run on the container, we need to build
    a new testimage (20241009).
    
    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    10f4f39 View commit details
    Browse the repository at this point in the history
  21. found a way to tell if we're running bats in parallel

    Signed-off-by: Ed Santiago <[email protected]>
    edsantiago committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9d8e3b0 View commit details
    Browse the repository at this point in the history