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

troubleshoot Github Actions to get runs to work on ubuntu-latest #341

Closed
NickleDave opened this issue Apr 3, 2021 · 1 comment
Closed
Assignees
Labels
CI: continuous integration continuous integration: github actions, etc
Projects

Comments

@NickleDave
Copy link
Collaborator

After the refactor of unit tests in #339 to fix #330, not all runs are passing on GitHub Actions (but some are, yay!)

I believe this is do to an issue with running out of disk space, because it only happens to the ubuntu-latest runs.
See https://github.community/t/action-fails-after-20-minutes-without-log/18432/2 and
actions/runner-images#709 (comment)

I tried one of the workarounds (using apt-get clean) but that did not completely fix it.
Basically I cut and pasted this code from
GraysonWu/antrea@6f8614f

    - name: Free disk space
      # https://github.com/actions/virtual-environments/issues/709
      run: |
        sudo apt-get clean
        df -h

adding an

        if: matrix.os == 'ubuntu-latest'

Not clear to me if we run out of space because we download the test data once for each run?
Is space limited across all runs?
Or is there a clean up before/after each run?

It's super tedious but one way to troubleshoot would be to make a quick PR that scales down the runs matrix and add back items one-by-one until it crashes, to try to get at what's causing us to fail

@NickleDave NickleDave added the CI: continuous integration continuous integration: github actions, etc label Apr 3, 2021
@NickleDave NickleDave self-assigned this Apr 3, 2021
@NickleDave NickleDave changed the title troublehsoot Github Actions to get runs to work on troublehsoot Github Actions to get runs to work on ubuntu-latest Apr 3, 2021
@NickleDave NickleDave changed the title troublehsoot Github Actions to get runs to work on ubuntu-latest troubleshoot Github Actions to get runs to work on ubuntu-latest Apr 3, 2021
@NickleDave NickleDave added this to To Do in BUG/MAINT Apr 11, 2021
@NickleDave NickleDave moved this from To Do to In Progress in BUG/MAINT May 15, 2021
NickleDave added a commit that referenced this issue May 15, 2021
@NickleDave
Copy link
Collaborator Author

this was fixed by #360

@NickleDave NickleDave moved this from In Progress to Done in BUG/MAINT May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: continuous integration continuous integration: github actions, etc
Projects
Development

No branches or pull requests

1 participant