Lab 6.1 I'm stuck at step 6 approve pull request.
The pr shows pipeline failed on the GitHub pull request page. The error seems to be:
Error: looks like "https://storage.googleapis.com/jenkinsxio/charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/jenkinsxio/charts/index.yaml : 404 Not Found
The following is the JenkinsX dashboard log for the pr:
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mprepare[0m
2024/12/23 19:31:04 Entrypoint initialization
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mplace-scripts[0m
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-0-dzfb6
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-1-lg9js
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-2-cw9v9
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-3-bt4mv
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-4-tnf8z
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-6-pqnlw
2024/12/23 19:31:05 Decoded script /tekton/scripts/script-7-5fnjn
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mworking-dir-initializer[0m
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-git-clone[0m
git cloning url: https://github.com/LFS268-z4kz/node-lab.git version refs/pull/1/head:PR-1@d17c120da6dc8b4ee1d651deb7cac983cc54694c to dir: source
Cloning into 'source'...
From https://github.com/LFS268-z4kz/node-lab
* [new ref] refs/pull/1/head -> PR-1
Switched to branch 'PR-1'
HEAD is now at d17c120 modify welcome message
checked out revision: refs/pull/1/head:PR-1@d17c120da6dc8b4ee1d651deb7cac983cc54694c to dir: source
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-git-merge[0m
setup git user email jenkins-x@googlegroups.com
Using SHAs from PULL_REFS=main:f9959142accf38c504b90dabcfeb8711cb30ef64,1:d17c120da6dc8b4ee1d651deb7cac983cc54694c:refs/pull/1/head
using base branch main and base sha f9959142accf38c504b90dabcfeb8711cb30ef64
merging sha: d17c120da6dc8b4ee1d651deb7cac983cc54694c
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-jx-variables[0m
WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set
about to run: git clone https://github.com/LFS268-z4kz/jx3-gke-gsm.git /tmp/jx-git-2800303168 in dir /tmp
Cloning into '/tmp/jx-git-2800303168'...
export APP_NAME='node-lab'
export BRANCH_NAME='PR-1'
export BUILD_NUMBER='1'
export DOCKERFILE_PATH='Dockerfile'
export DOCKER_REGISTRY='gcr.io'
export DOCKER_REGISTRY_ORG='jenkinsx-444410'
export DOMAIN='34.45.221.236.nip.io'
about to run: git rev-parse --abbrev-ref HEAD in dir .
main
export GIT_BRANCH='main'
export JENKINS_X_URL='http://dashboard-jx.34.45.221.236.nip.io/LFS268-z4kz/node-lab/PR-1/1'
export JX_CHART_REPOSITORY='http://jenkins-x-chartmuseum.jx.svc.cluster.local:8080'
export KANIKO_FLAGS='--skip-unused-stages --snapshot-mode=redo'
export MINK_AS='tekton-bot'
version file VERSION does not exist
export MINK_IMAGE='gcr.io/jenkinsx-444410/node-lab:0.0.0-PR-1-1-SNAPSHOT'
export NAMESPACE_SUB_DOMAIN='-jx.'
export PIPELINE_KIND='pullrequest'
export PUSH_CONTAINER_REGISTRY='gcr.io'
export REPO_NAME='node-lab'
export REPO_OWNER='LFS268-z4kz'
version file VERSION does not exist
export VERSION='0.0.0-PR-1-1-SNAPSHOT'
added variables to file: .jx/variables.sh
about to run: git config --get user.name in dir .
root
about to run: git config --get user.email in dir .
jenkins-x@googlegroups.com
about to run: git config --global --add user.name root in dir .
about to run: git add * in dir .
about to run: git status -s in dir .
A .jx/variables.sh
about to run: git commit -m chore: add variables in dir .
[main 4f024be] chore: add variables
1 file changed, 21 insertions(+)
create mode 100644 .jx/variables.sh
added variables to file: .jx/variables.sh
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-build-npm-install[0m
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN REPLACE_ME@1.0.0 No repository field.
npm WARN REPLACE_ME@1.0.0 No license field.
up to date in 0.537s
found 0 vulnerabilities
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-build-npm-test[0m
REPLACE_ME@1.0.0 test /workspace/source
echo "no test specified" && exit 0
no test specified
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-check-registry[0m
sourcing .jx/variables.sh
verifying the container registry is setup
WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set
about to run: git clone https://github.com/LFS268-z4kz/jx3-gke-gsm.git /tmp/jx-git-3233595631 in dir /tmp
Cloning into '/tmp/jx-git-3233595631'...
no ECR code necessary as using provider gke
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-build-container-build[0m
[36mINFO[0m[0000] Retrieving image manifest node:12-slim
[36mINFO[0m[0000] Retrieving image node:12-slim from registry index.docker.io
[36mINFO[0m[0000] Built cross stage deps: map[]
[36mINFO[0m[0000] Retrieving image manifest node:12-slim
[36mINFO[0m[0000] Returning cached image manifest
[36mINFO[0m[0000] Executing 0 build triggers
[36mINFO[0m[0000] Building stage 'node:12-slim' [idx: '0', base-idx: '-1']
[36mINFO[0m[0000] Unpacking rootfs as cmd COPY . . requires it.
[36mINFO[0m[0010] ENV PORT 8080
[36mINFO[0m[0010] EXPOSE 8080
[36mINFO[0m[0010] Cmd: EXPOSE
[36mINFO[0m[0010] Adding exposed port: 8080/tcp
[36mINFO[0m[0010] WORKDIR /usr/src/app
[36mINFO[0m[0010] Cmd: workdir
[36mINFO[0m[0010] Changed working directory to /usr/src/app
[36mINFO[0m[0010] Creating directory /usr/src/app
[36mINFO[0m[0010] Taking snapshot of files...
[36mINFO[0m[0010] COPY . .
[36mINFO[0m[0010] Taking snapshot of files...
[36mINFO[0m[0010] CMD ["npm", "start"]
[36mINFO[0m[0010] Pushing image to gcr.io/jenkinsx-444410/node-lab:0.0.0-PR-1-1-SNAPSHOT
[36mINFO[0m[0011] Pushed gcr.io/jenkinsx-444410/node-lab@sha256:fb38a0594730ca724a60b01a96d5001c6961269c2b507534b08e4fb65fdb2533
Showing logs for build [32mlfs268-z4kz/node-lab/pr-1 #1[0m stage [32mfrom-build-pack[0m and container [32mstep-promote-jx-preview[0m
found PullRequest https://github.com/LFS268-z4kz/node-lab/pull/1
using ingress sub domain -jx-lfs268-z4kz-node-lab-pr-1.
upserted preview jx-lfs268-z4kz-node-lab-pr-1
passing env vars into helmfile: map[string]string{"APP_NAME":"node-lab", "DOCKER_REGISTRY":"gcr.io", "DOCKER_REGISTRY_ORG":"jenkinsx-444410", "PREVIEW_NAMESPACE":"jx-lfs268-z4kz-node-lab-pr-1", "VERSION":"0.0.0-PR-1-1-SNAPSHOT"}
error: failed to helmfile sync: failed to run helmfile repos: failed to run 'helmfile --file preview/helmfile.yaml repos' command in directory '', output: 'Adding repo jx3 https://storage.googleapis.com/jenkinsxio/charts
in preview/helmfile.yaml: command "/usr/bin/helm" exited with non-zero status:
PATH:
/usr/bin/helm
ARGS:
0: helm (4 bytes)
1: repo (4 bytes)
2: add (3 bytes)
3: jx3 (3 bytes)
4: https://storage.googleapis.com/jenkinsxio/charts (48 bytes)
5: --force-update (14 bytes)
ERROR:
exit status 1
EXIT STATUS
1
STDERR:
Error: looks like "https://storage.googleapis.com/jenkinsxio/charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/jenkinsxio/charts/index.yaml : 404 Not Found
COMBINED OUTPUT:
Error: looks like "https://storage.googleapis.com/jenkinsxio/charts" is not a valid chart repository or cannot be reached: failed to fetch https://storage.googleapis.com/jenkinsxio/charts/index.yaml : 404 Not Found'
[31m
Pipeline failed on stage 'from-build-pack' : container 'step-promote-jx-preview'. The execution of the pipeline has stopped.[0m
Categories
- All Categories
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 801 Linux Foundation IT Professional Programs
- 357 Cloud Engineer IT Professional Program
- 181 Advanced Cloud Engineer IT Professional Program
- 83 DevOps Engineer IT Professional Program
- 149 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 138 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 14 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 154 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 34 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 42 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 155 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 121 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 25 LFS268 Class Forum
- 29 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 9 LFW111 Class Forum
- 261 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 758 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 806 Programming and Development
- 304 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)