Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Strange freeze when installing sccache #3

Open
Veetaha opened this issue Apr 22, 2020 · 1 comment
Open

Strange freeze when installing sccache #3

Veetaha opened this issue Apr 22, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Veetaha
Copy link

Veetaha commented Apr 22, 2020

Description

The bug I am seeing is that once I push commits to a PR, the install action freezes for indefinite amount of time (IIRC it will bail after 5+ hours of freeze but I cant find this run anymore...)

Here is a recent run, sorry the project is private, I can't give a link to the workflow.
After 25 minutes of idling I canceled the workflow and here are the logs:

image

Workflow code

    - name: Cache sccache cache
      uses: actions/cache@v1
      with:
        path: ${{ env.SCCACHE_DIR }}
        key: sccache-cache-${{ hashFiles('**/Cargo.toml') }}
    - name: Install sccache
        uses: actions-rs/[email protected] 
        with:
          crate: sccache
          use-tool-cache: true
          version: latest
Textual logs
Run actions-rs/[email protected]
Tool cache is explicitly enabled via the Action input
Downloading from the tool cache
  Newest sccache version available at crates.io: 0.2.13
  Downloading sccache signature into /tmp/sccache.zip.sig
  Downloading sccache == 0.2.13 into /tmp/sccache.zip
  Starting signature verification process
  /usr/bin/openssl dgst -sha256 -verify /home/runner/work/_actions/actions-rs/install/v0.1/public.pem -signature /tmp/sccache.zip.sig /tmp/sccache.zip
  Verified OK
  Extracting files into /home/runner/.cargo/bin
  /usr/bin/unzip /tmp/sccache.zip
  Archive:  /tmp/sccache.zip
  replace sccache? [y]es, [n]o, [A]ll, [N]one, [r]ename: 
  ##[error]The operation was canceled.

What is interesting is that after canceling workflow and hitting the rerun button everything works fine.
I suppose the problem is that there is a call to unzip utility that is run in interactive mode...

@Veetaha Veetaha added the bug Something isn't working label Apr 22, 2020
@Veetaha Veetaha changed the title Strange spurios freeze when installing sccache Strange spontaneous freeze when installing sccache Apr 22, 2020
@Veetaha Veetaha changed the title Strange spontaneous freeze when installing sccache Strange freeze when installing sccache Apr 22, 2020
@svartalf
Copy link
Member

It is a duplicate of actions-rs/tool-cache#5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants