cache icon indicating copy to clipboard operation
cache copied to clipboard

gzip: stdin: not in gzip format. ( Cache restore not working)

Open VinothKanna007 opened this issue 8 months ago • 3 comments

Steps to reproduce error

name: Caching venv

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Cache venv
      id: cache-venv
      uses: actions/cache@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: restore Cache venv
      id: cache-venv-restore
      uses: actions/cache/restore@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv


Error:
gzip: stdin not in gzip format
Child returned status 1
Warning: failed to restore failed with exit code 2
Cache not found for input keys ***

Note: cache is created but restore fails

VinothKanna007 avatar Apr 21 '25 06:04 VinothKanna007

Steps to reproduce error

name: Caching venv

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Cache venv
      id: cache-venv
      uses: actions/cache@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: restore Cache venv
      id: cache-venv-restore
      uses: actions/cache/restore@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Error:
gzip: stdin not in gzip format
Child returned status 1
Warning: failed to restore failed with exit code 2
Cache not found for input keys ***

Note: cache is created but restore fails

osnek642 avatar Aug 02 '25 07:08 osnek642

Pasos para reproducir el error

name: Caching venv

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Cache venv
      id: cache-venv
      uses: actions/cache@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: restore Cache venv
      id: cache-venv-restore
      uses: actions/cache/restore@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Error:
gzip: stdin not in gzip format
Child returned status 1
Warning: failed to restore failed with exit code 2
Cache not found for input keys ***

Nota: se crea la caché pero falla la restauración

osnek642 avatar Aug 02 '25 07:08 osnek642

Steps to reproduce error

name: Caching venv

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Cache venv
      id: cache-venv
      uses: actions/cache@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: restore Cache venv
      id: cache-venv-restore
      uses: actions/cache/restore@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Error:
gzip: stdin not in gzip format
Child returned status 1
Warning: failed to restore failed with exit code 2
Cache not found for input keys ***

Note: cache is created but restore fails

osnek642 avatar Aug 02 '25 08:08 osnek642