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

Snap Install not working - hangs/no-output #11170

Open
1 of 15 tasks
nayan-shrivastava-dazn opened this issue Dec 12, 2024 · 2 comments
Open
1 of 15 tasks

Snap Install not working - hangs/no-output #11170

nayan-shrivastava-dazn opened this issue Dec 12, 2024 · 2 comments

Comments

@nayan-shrivastava-dazn
Copy link

Description

Hi, We are using snap to install node - sudo snap install node --classic --channel=${{ inputs.node_version }}
during the github workflow run, The command just stops and operation is cancelled after 15 mins of timeout. After rerun it sometime works.

Operating System
Ubuntu - 22.04.5 LTS
Runner Image
Image: ubuntu-22.04
Version: 20241201.1.0

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20241201.1.0

image

Is it regression?

no idea

Expected behavior

It should quickly install node and move on to next step

Actual behavior

stuck on this command, node install

Repro steps

sudo snap install node --classic --channel=${{ inputs.node_version }}
this command is being used in a GHA build step.

@kishorekumar-anchala
Copy link
Contributor

Hi @nayan-shrivastava-dazn , Thankyou for raising the issue with us , we will look into the issue and update you on this Asap.

@hemanthmanga
Copy link
Contributor

Hi @nayan-shrivastava-dazn, We appreciate your patience. Please attempt the workaround provided below, Hope it will resolve the issue. Thank you.

name: Install Node.js using Snap

on: [push, pull_request]

jobs:
  install-node:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Install Node.js
        run: sudo snap install node --classic --channel=${{ inputs.node_version }}
        
      - name: Verify Node.js version
        run: node -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants