Skip to content

fix(AVO-1723): remove redux packages

11abf86
Select commit
Loading
Failed to load commit list.
Open

React router v7 en Jotai state management #2176

fix(AVO-1723): remove redux packages
11abf86
Select commit
Loading
Failed to load commit list.
meemoo-jenkins / Jenkins failed Sep 22, 2025 in 7m 15s

Build code: error in 'sh' step

Build code / Shell Script

Error in sh step, with arguments #!/bin/bash set -e oc project $OC_PROJECT oc import-image $BASE_IMG --confirm oc new-build -l ref=$BRANCH_NAME --strategy=docker --name $APP_NAME --to $APP_NAME:$GIT_SHORT_COMMIT --binary --context-dir="" || echo "Probably already exists, start new build" sleep 3 oc annotate --overwrite buildconfig/$APP_NAME ref=$BRANCH_NAME shortcommit=$GIT_SHORT_COMMIT patch-bc-current-ref.sh oc start-build $APP_NAME --from-dir=. --follow=true --wait=true .

script returned exit code 1
Build log
Now using project "avo" on server "https://172.21.0.1:443".
imagestream.image.openshift.io/nginx-unprivileged imported

Name:			nginx-unprivileged
Namespace:		avo
Created:		4 years ago
Labels:			<none>
Annotations:		openshift.io/image.dockerRepositoryCheck=2025-09-22T08:34:48Z
Image Repository:	image-registry.openshift-image-registry.svc:5000/avo/nginx-unprivileged
Image Lookup:		local=false
Unique Images:		4
Tags:			1

latest
  tagged from nginxinc/nginx-unprivileged

  * nginxinc/nginx-unprivileged@sha256:120dd85c311f55281728916266067e48cc7f0c3f541d4b2e309491c8af2c82bf
      About an hour ago
    nginxinc/nginx-unprivileged@sha256:ed38e1b8e3054144e774ecf3f29ef83153ca4acafc621e9cf81898faf4d6e9fb
      6 days ago
    nginxinc/nginx-unprivileged@sha256:b5d2b7042e6ef5565321d79f2c5784d58019de7a3da1fcc8a094f7b16c1be906
      2 weeks ago
    nginxinc/nginx-unprivileged@sha256:53db5abfde3cb6f02251f00e52c306d13df486b947bc5d8208d370e8a8ecb708
      3 weeks ago

Image Name:	nginx-unprivileged:latest
Docker Image:	nginxinc/nginx-unprivileged@sha256:120dd85c311f55281728916266067e48cc7f0c3f541d4b2e309491c8af2c82bf
Name:		sha256:120dd85c311f55281728916266067e48cc7f0c3f541d4b2e309491c8af2c82bf
Created:	Less than a second ago
Annotations:	image.openshift.io/dockerLayersOrder=ascending
Image Size:	72.31MB in 8 layers
Layers:		28.23MB	sha256:d107e437f7299a0db6425d4e37f44fa779f7917ecc8daf1e87128ee91b9ed3d3
		44.07MB	sha256:2835fb973e4494b63e359a419e4e275ce6265ed875a8f8f5913b73c5d552ec05
		4.178kB	sha256:738a245df328380e91baad80602d5d821f240aaeea5d15d2b32bc884cdbbab2c
		627B	sha256:78aa371950ed3ebd4efbcd49576a01e8bd8f2055e21a340481bc2c954dcd76bd
		958B	sha256:6a5a70bed8dd53d4fea1478f8025c005272a26409e32313d66c466e2577f1e22
		406B	sha256:0883e0d0204bdae048129d4f47941e878495ae09e5c844a415e00e7e1d22327e
		1.206kB	sha256:1e1985c7c5a30eec0d832297a3119aa7efd2c4a32fa07633f7a1bcdcb5bc25ba
		1.399kB	sha256:c6547d533fa7f5fad77b451ee27ec7bd482a147ccc412a3a090765acd81317f5
Image Created:	10 hours ago
Author:		<none>
Arch:		amd64
Entrypoint:	/docker-entrypoint.sh
Command:	nginx -g daemon off;
Working Dir:	<none>
User:		101
Exposes Ports:	8080/tcp
Docker Labels:	maintainer=NGINX Docker Maintainers <[email protected]>
		org.opencontainers.image.created=2025-09-22T00:10:02.514Z
		org.opencontainers.image.description=Unprivileged NGINX Dockerfiles
		org.opencontainers.image.licenses=Apache-2.0
		org.opencontainers.image.revision=7cfcabbde5c391384332a2975f5e24ebc960c804
		org.opencontainers.image.source=https://github.com/nginx/docker-nginx-unprivileged
		org.opencontainers.image.title=docker-nginx-unprivileged
		org.opencontainers.image.url=https://github.com/nginx/docker-nginx-unprivileged
		org.opencontainers.image.version=1.29.1
Environment:	PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
		NGINX_VERSION=1.29.1
		NJS_VERSION=0.9.1
		NJS_RELEASE=1~bookworm
		PKG_RELEASE=1~bookworm
		DYNPKG_RELEASE=1~bookworm


    * A Docker build using binary input will be created
      * The resulting image will be pushed to image stream tag "client:11abf86a0"
      * A binary build was created, use 'oc start-build --from-dir' to trigger a new build

--> Creating resources with label ref=PR-2176 ...
    imagestreamtag.image.openshift.io "client:11abf86a0" created
    error: buildconfigs.build.openshift.io "client" already exists
--> Failed
Probably already exists, start new build
buildconfig.build.openshift.io/client annotated
setting ImageStreamTag client:11abf86a0 git ref
buildconfig.build.openshift.io/client patched
Uploading directory "." as binary input for the build ...
.......
Uploading finished
build.build.openshift.io/client-1488 started
Receiving source from STDIN as archive ...
time="2025-09-22T09:44:06Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
I0922 09:44:06.264909       1 defaults.go:112] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
Caching blobs under "/var/cache/blobs".

Pulling image nginxinc/nginx-unprivileged ...
Resolving "nginxinc/nginx-unprivileged" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull registry.redhat.io/nginxinc/nginx-unprivileged:latest...
Trying to pull registry.access.redhat.com/nginxinc/nginx-unprivileged:latest...
Trying to pull quay.io/nginxinc/nginx-unprivileged:latest...
Trying to pull docker.io/nginxinc/nginx-unprivileged:latest...
Getting image source signatures
Copying blob sha256:0883e0d0204bdae048129d4f47941e878495ae09e5c844a415e00e7e1d22327e
Copying blob sha256:2835fb973e4494b63e359a419e4e275ce6265ed875a8f8f5913b73c5d552ec05
Copying blob sha256:78aa371950ed3ebd4efbcd49576a01e8bd8f2055e21a340481bc2c954dcd76bd
Copying blob sha256:d107e437f7299a0db6425d4e37f44fa779f7917ecc8daf1e87128ee91b9ed3d3
Copying blob sha256:738a245df328380e91baad80602d5d821f240aaeea5d15d2b32bc884cdbbab2c
Copying blob sha256:6a5a70bed8dd53d4fea1478f8025c005272a26409e32313d66c466e2577f1e22
Copying blob sha256:1e1985c7c5a30eec0d832297a3119aa7efd2c4a32fa07633f7a1bcdcb5bc25ba
Copying blob sha256:c6547d533fa7f5fad77b451ee27ec7bd482a147ccc412a3a090765acd81317f5
Copying config sha256:dd5cd3473ff5526f6668a4a5a7cea2c4a9abfc4b818ffe661a8b9abc35644a6d
Writing manifest to image destination

Pulling image node:20.4-alpine ...
Resolving "node" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull registry.redhat.io/node:20.4-alpine...
Trying to pull registry.access.redhat.com/node:20.4-alpine...
Trying to pull quay.io/node:20.4-alpine...
Trying to pull docker.io/library/node:20.4-alpine...
Getting image source signatures
Copying blob sha256:72595614f72730a0f7f936fee42af648ec8272245ece6303550353161395ddca
Copying blob sha256:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3
Copying blob sha256:c0eace37d67117cdc18d675cc4e78e1d42c43de71d186b87190724d509575663
Copying blob sha256:c3ba46e7ba315338b4077ff41902afaed57bc7d9f46a6bc5a0066c383f6e5dfe
Copying config sha256:49ee0e37483710c3c94abfa99610b29731fbbc012dd39e0352370ff80855a3e3
Writing manifest to image destination
Adding transient rw bind mount for /run/secrets/rhsm
Adding transient rw bind mount for /run/secrets/etc-pki-entitlement
Adding transient rw bind mount for /run/secrets/redhat.repo
[1/4] STEP 1/2: FROM nginxinc/nginx-unprivileged
[1/4] STEP 2/2: USER nginx
--> aa79ce9bb223
[2/4] STEP 1/15: FROM node:20.4-alpine AS compile
[2/4] STEP 2/15: ARG NODE_ENV=ci
--> b5fa654eb382
[2/4] STEP 3/15: ARG PRODUCTION=$PRODUCTION
--> 022e076651ff
[2/4] STEP 4/15: ARG CI=true
--> 42c247f1484f
[2/4] STEP 5/15: ENV NODE_ENV $NODE_ENV
--> 85db0376d95d
[2/4] STEP 6/15: ENV CI $CI
--> 57b25bd85e0d
[2/4] STEP 7/15: ENV TZ=Europe/Brussels
--> 117f14265d1f
[2/4] STEP 8/15: WORKDIR /app
--> 878c134a6f57
[2/4] STEP 9/15: RUN mkdir ./dist/ && mkdir ./dist-embed &&chown -R node:node /app && chmod -R  g+s /app && chmod -R  g+w /app
--> 05fad3b4413d
[2/4] STEP 10/15: COPY --chown=node:node . .
--> 6545800cab07
[2/4] STEP 11/15: RUN chown -R node:node /app && chmod -R  g+sw /app
--> 794d7950d385
[2/4] STEP 12/15: RUN apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
v3.18.12-140-g3d8a58a5f14 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
v3.18.12-132-ge2ea6f61358 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
OK: 20079 distinct packages available
--> 5d3233f3aebc
[2/4] STEP 13/15: RUN apk add --no-cache --virtual python2 make g++ tzdata && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/17) Upgrading musl (1.2.4-r0 -> 1.2.4-r3)
(2/17) Installing make (4.4.1-r1)
(3/17) Installing libstdc++-dev (12.2.1_git20220924-r10)
(4/17) Installing zstd-libs (1.5.5-r4)
(5/17) Installing binutils (2.40-r8)
(6/17) Installing libgomp (12.2.1_git20220924-r10)
(7/17) Installing libatomic (12.2.1_git20220924-r10)
(8/17) Installing gmp (6.2.1-r3)
(9/17) Installing isl26 (0.26-r1)
(10/17) Installing mpfr4 (4.2.0_p12-r0)
(11/17) Installing mpc1 (1.3.1-r1)
(12/17) Installing gcc (12.2.1_git20220924-r10)
(13/17) Installing musl-dev (1.2.4-r3)
(14/17) Installing libc-dev (0.7.2-r5)
(15/17) Installing g++ (12.2.1_git20220924-r10)
(16/17) Installing tzdata (2025b-r0)
(17/17) Installing python2 (20250922.094429)
Executing busybox-1.36.1-r0.trigger
OK: 237 MiB in 33 packages
--> 2c3f98b670bd
[2/4] STEP 14/15: USER node
--> 9731b1e15032
[2/4] STEP 15/15: RUN npm ci --include=dev --legacy-peer-deps
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@vitejs/[email protected]',
npm WARN EBADENGINE   required: { node: '^20.19.0 || >=22.12.0' },
npm WARN EBADENGINE   current: { node: 'v20.4.0', npm: '9.7.2' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated [email protected]: Use your platform's native DOMException instead
npm WARN deprecated @types/[email protected]: This is a stub types definition. jest-expect-message provides its own type definitions, so you do not need this installed.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 1610 packages, and audited 1611 packages in 1m

268 packages are looking for funding
  run `npm fund` for details

19 vulnerabilities (4 low, 4 moderate, 10 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
--> 2d93cd07feb3
[3/4] STEP 1/9: FROM node:20.4-alpine AS build
[3/4] STEP 2/9: USER node
--> 6be52107d9dd
[3/4] STEP 3/9: COPY --from=compile /app /app
--> 3b166b22be8a
[3/4] STEP 4/9: ARG NODE_ENV=production
--> c9ef6682e140
[3/4] STEP 5/9: ENV NODE_ENV $NODE_ENV
--> f00ab04112e6
[3/4] STEP 6/9: ENV NODE_OPTIONS="--max_old_space_size=2048"
--> 5ea058794623
[3/4] STEP 7/9: WORKDIR /app
--> f59f1718bd5c
[3/4] STEP 8/9: RUN alias npm='node --max_old_space_size=2048 /usr/bin/npm' >> ~/.bash_aliases && . ~/.bash_aliases && npm run build

> [email protected] build
> vite build && vite build --config vite-embed.config.js && mkdir -p ./dist/embed && cp ./dist-embed/embed.html ./dist/embed/index.html && cp -rf ./dist-embed/assets/* ./dist/assets/ && cp ./embed/close-browser.html ./dist/embed/close-browser.html

failed to load config from /app/vite.config.js
error during build:
Error [ERR_REQUIRE_ESM]: require() of ES Module /app/node_modules/@vitejs/plugin-react/dist/index.js from /app/vite.config.js not supported.
Instead change the require of index.js in /app/vite.config.js to a dynamic import() which is available in all CommonJS modules.
    at _require.extensions.<computed> [as .js] (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49449:9)
    at Object.<anonymous> (/app/vite.config.js:37:35)
    at _require.extensions.<computed> [as .js] (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49447:16)
    at loadConfigFromBundledFile (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49453:17)
    at async bundleAndLoadConfigFile (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49278:22)
    at async loadConfigFromFile (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49241:44)
    at async resolveConfig (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:48737:24)
    at async createBuilder (file:///app/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:46725:18)
    at async CAC.<anonymous> (file:///app/node_modules/vite/dist/node/cli.js:862:23)
npm notice 
npm notice New major version of npm available! 9.7.2 -> 11.6.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.6.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
error: build error: building at STEP "RUN alias npm='node --max_old_space_size=2048 /usr/bin/npm' >> ~/.bash_aliases && . ~/.bash_aliases && npm run build": while running runtime: exit status 1
error: the build avo/client-1488 status is "Failed"

Details

  • Declarative: Checkout SCM (18 sec)
    • Calculate extra ENV vars (3.7 sec)
    • Test code (1 min 45 sec)
    • Build code (4 min 53 sec)
      Error: script returned exit code 1
    • Deploy INT (1.7 sec)
    • e2e-prepare (1.6 sec)
    • e2e (1.5 sec)
    • Deploy TST (2 sec)
    • Deploy QAS (1.6 sec)
    • Deploy PRD (1.9 sec)
    • Declarative: Post Actions (1.9 sec)