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

CI/CD Pipeline Lab (8) in OCP4 101 workshop fails #406

Open
imak opened this issue Nov 15, 2022 · 0 comments
Open

CI/CD Pipeline Lab (8) in OCP4 101 workshop fails #406

imak opened this issue Nov 15, 2022 · 0 comments

Comments

@imak
Copy link

imak commented Nov 15, 2022

The sample application built by the pipeline appears to fail startup with CrashLoopBackoff in lab 8 - CI/CD Pipeline.

The pipeline is configured with this script:
https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/nodejs-sample-pipeline.yaml

The pipeline build in Jenkins completes with success but the pod startup fails for nodejs-postgresql-example-1-hzwbk.

The error appears to be:
Environment:
DEV_MODE=false
NODE_ENV=production
DEBUG_PORT=5858
Launching via npm...
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]prestart: [email protected]
npm info lifecycle [email protected]
start: [email protected]

[email protected] start /opt/app-root/src
node .

/opt/app-root/src/node_modules/on-exit-leak-free/index.js:11
const registry = new FinalizationRegistry(clear)
^

ReferenceError: FinalizationRegistry is not defined
at Object. (/opt/app-root/src/node_modules/on-exit-leak-free/index.js:11:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/opt/app-root/src/node_modules/pino/lib/tools.js:8:16)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 170ms

npm ERR! A complete log of this run can be found in:
npm ERR! /opt/app-root/src/.npm/_logs/2022-11-15T20_28_33_473Z-debug.log

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

No branches or pull requests

1 participant