bitrise-steplib / steps-npm

Bitrise step for running npm commands
MIT License
0 stars 10 forks source link

v1.1.6: Failed to install Step dependency due to Kubernetes apt repo error #57

Closed yev-kanivets closed 3 weeks ago

yev-kanivets commented 3 weeks ago

Troubleshooting

Useful information

Issue description

NPM bootstrap step on the Linux machine started to fail this week. It worked OK the last week, and it still works OK on MacOS machine.

Bitrise info

```
+------------------------------------------------------------------------------+

| (5) Bootstrap                                                                |
+------------------------------------------------------------------------------+
| id: npm                                                                      |
| version: 1.1.6                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2024-11-04T10:16:47Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Start installing (nodejs) with apt-get
This step requires "nodejs" to be available, but it is not installed.
Updating package information: sudo "apt-get" "update"...
Failed to install (nodejs) with apt-get
Installing Step dependency failed, retrying ...
Start installing (nodejs) with apt-get
This step requires "nodejs" to be available, but it is not installed.
Updating package information: sudo "apt-get" "update"...
Failed to install (nodejs) with apt-get
Installing Step dependency failed, retrying ...
Start installing (nodejs) with apt-get
This step requires "nodejs" to be available, but it is not installed.
Updating package information: sudo "apt-get" "update"...
Failed to install (nodejs) with apt-get
Failed to install Step dependency, error: command failed with exit status 100 (sudo "apt-get" "update"): Hit:1 http://us-east1.gce.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us-east1.gce.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us-east1.gce.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://us-east1.gce.archive.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 https://download.docker.com/linux/ubuntu jammy InRelease
Get:5 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.29/deb  InRelease [1,189 B]
Err:5 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.29/deb  InRelease
  The following signatures were invalid: EXPKEYSIG 234654DA9A296436 isv:kubernetes OBS Project 
Hit:7 https://packagecloud.io/github/git-lfs/ubuntu jammy InRelease
Hit:8 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease
Reading package lists...
W: GPG error: https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.29/deb  InRelease: The following signatures were invalid: EXPKEYSIG 234654DA9A296436 isv:kubernetes OBS Project 
E: The repository 'https://pkgs.k8s.io/core:/stable:/v1.29/deb  InRelease' is not signed.
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | Bootstrap (Failed)                                            | 5.85 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-steplib/steps-npm/issues           |
| Source: https://github.com/bitrise-steplib/steps-npm                         |
+---+---------------------------------------------------------------+----------+
```
  

Steps to reproduce

  1. On linux-docker-android-22.04, elite-xl machine
  2. Add npm@1 step
  3. Launch it on Bitrise
yev-kanivets commented 3 weeks ago

Fixed by Bitrise team.