Giter Site home page Giter Site logo

Comments (5)

DmitriyLewen avatar DmitriyLewen commented on August 15, 2024 2

I investigated more.
Size of GitHub action ubuntu image has been reduce:
before:

Filesystem Size Used Avail Use% Mounted on 
/dev/root 84G 53G 31G 64% /

now:

Filesystem Size Used Avail Use% Mounted on 
/dev/root 73G 53G 21G 73% /

Also i played with root-reserve-mb. Size equal 32GB doesn't return error - aquasecurity/trivy#6064

from maximize-build-space.

DmitriyLewen avatar DmitriyLewen commented on August 15, 2024 1

Hello there!
We received the same error.
Our GitHub action broken run
Our configuration

My guess is Github changing its ubuntu-latest version from 20.04 to 22.04 may have something to do with it.

We have seen it work correctly on Ubuntu 22.04.
But i checked successful and broken runs:
image version changed:
successful run:

Runner Image
  Image: ubuntu-22.04
  Version: 20240126.1.0

broken run:

Runner Image
  Image: ubuntu-22.04
  Version: 20240201.1.0

from maximize-build-space.

mohsenari avatar mohsenari commented on August 15, 2024

I'm not super familiar with this github action but it seems like the issue is here

sudo touch "${{ inputs.pv-loop-path }}" && sudo fallocate -z -l "${ROOT_LVM_SIZE_BYTES}" "${{ inputs.pv-loop-path }}"

And the value for ${ROOT_LVM_SIZE_BYTES} seems to be incorrect.

from maximize-build-space.

mohsenari avatar mohsenari commented on August 15, 2024

And lastly, this is our configuration for using this github action:

- name: Maximize build disk space
  uses: easimon/maximize-build-space@v8
  if: matrix.os == 'ubuntu-latest'
  with:
    root-reserve-mb: 40000
    temp-reserve-mb: 10000
    remove-dotnet: true
    remove-android: true
    remove-haskell: true
    remove-codeql: true

from maximize-build-space.

mohsenari avatar mohsenari commented on August 15, 2024

Can confirm reducing root-reserve-mb fixes my issue.
Will close this issue for now.

from maximize-build-space.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.