Skip to content
jenkins.ivyteam.io / Jenkins failed Dec 10, 2024 in 1m 13s

Build: error in 'junit' step

Build / Shell Script

Error in sh step, with arguments npm run ci && npm run build:storybook --workspace=@axonivy/ui-components.

script returned exit code 1
Build log
+ npm run ci

> ci
> npm install && npm run generate && npm run package && npm run type && npm run lint:ci && npm run test:ci

npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

added 1390 packages, and audited 1394 packages in 21s

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

6 vulnerabilities (2 low, 3 moderate, 1 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

> generate
> npm run generate --workspace=@axonivy/ui-icons


> @axonivy/[email protected] generate
> fantasticon && npm run build

(node:185) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Generating font kit...
✔ Using configuration file: .fantasticonrc.json
✔ 165 SVGs found in ./src/icons
✔ Generated src-gen/ivy-icons.ttf
✔ Generated src-gen/ivy-icons.ts
✔ Generated src-gen/ivy-icons.css
✔ Generated src-gen/ivy-icons.html
Done

> @axonivy/[email protected] build
> tsc --build && tscp

Non-typescript files copied
icons

> package
> lerna run package

(node:240) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
lerna notice cli v8.1.8
lerna info ci enabled

 Lerna (powered by Nx)   Running target package for 3 projects:

- @axonivy/ui-components
- @axonivy/ui-icons
- @axonivy/jsonrpc



> @axonivy/ui-icons:package


> @axonivy/jsonrpc:package

(node:240) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
@axonivy/ui-icons: > @axonivy/[email protected] package
@axonivy/ui-icons: > tsc && tscp
@axonivy/jsonrpc: > @axonivy/[email protected] package
@axonivy/jsonrpc: > npm run clean && vite build && npm run build
@axonivy/jsonrpc: > @axonivy/[email protected] clean
@axonivy/jsonrpc: > rimraf lib *.tsbuildinfo
@axonivy/jsonrpc: vite v5.4.10 building for production...
@axonivy/ui-icons: Non-typescript files copied
@axonivy/ui-icons: icons

> @axonivy/ui-components:package

@axonivy/ui-components: > @axonivy/[email protected] package
@axonivy/ui-components: > npm run clean && vite build && npm run build
@axonivy/ui-components: > @axonivy/[email protected] clean
@axonivy/ui-components: > rimraf lib *.tsbuildinfo
@axonivy/jsonrpc: transforming...
@axonivy/jsonrpc: ✓ 55 modules transformed.
@axonivy/jsonrpc: rendering chunks...
@axonivy/jsonrpc: [vite:dts] Start generate declaration files...
@axonivy/jsonrpc: computing gzip size...
@axonivy/jsonrpc: lib/jsonrpc.js  75.74 kB │ gzip: 16.46 kB │ map: 219.95 kB
@axonivy/jsonrpc: [vite:dts] Declaration files built in 1521ms.
@axonivy/jsonrpc: ✓ built in 2.08s
@axonivy/ui-components: vite v5.4.10 building for production...
@axonivy/jsonrpc: > @axonivy/[email protected] build
@axonivy/jsonrpc: > tsc --build tsconfig.production.json
@axonivy/ui-components: transforming...
@axonivy/ui-components: ✓ 496 modules transformed.
@axonivy/ui-components: rendering chunks...
@axonivy/ui-components: [vite:dts] Start generate declaration files...
@axonivy/ui-components: computing gzip size...
@axonivy/ui-components: lib/style.css       25.86 kB │ gzip:   5.44 kB
@axonivy/ui-components: lib/components.js  643.68 kB │ gzip: 157.83 kB │ map: 2,044.10 kB
@axonivy/ui-components: [vite:dts] Declaration files built in 4181ms.
@axonivy/ui-components: ✓ built in 6.03s
@axonivy/ui-components: > @axonivy/[email protected] build
@axonivy/ui-components: > tsc --build tsconfig.production.json



 Lerna (powered by Nx)   Successfully ran target package for 3 projects



> type
> lerna run type

(node:722) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
lerna notice cli v8.1.8
lerna info ci enabled

 Lerna (powered by Nx)   Running target type for 2 projects:

- @axonivy/ui-components
- @axonivy/jsonrpc



> @axonivy/ui-components:type


> @axonivy/jsonrpc:type

(node:722) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
@axonivy/ui-components: > @axonivy/[email protected] type
@axonivy/ui-components: > tsc --noEmit --emitDeclarationOnly false
@axonivy/jsonrpc: > @axonivy/[email protected] type
@axonivy/jsonrpc: > tsc --noEmit



 Lerna (powered by Nx)   Successfully ran target type for 2 projects



> lint:ci
> npm run lint -- -o eslint.xml -f checkstyle


> lint
> lerna run lint -- -o eslint.xml -f checkstyle

(node:1034) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
lerna notice cli v8.1.8
lerna info ci enabled

 Lerna (powered by Nx)   Running target lint for 2 projects:

- @axonivy/ui-components
- @axonivy/jsonrpc

With additional flags:
  --o=eslint.xml
  --f=checkstyle



> @axonivy/ui-components:lint -o eslint.xml -f checkstyle


> @axonivy/jsonrpc:lint -o eslint.xml -f checkstyle

(node:1034) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
@axonivy/ui-components: > @axonivy/[email protected] lint
@axonivy/ui-components: > eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle
@axonivy/jsonrpc: > @axonivy/[email protected] lint
@axonivy/jsonrpc: > eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle
@axonivy/ui-components: npm error Lifecycle script `lint` failed with error:
@axonivy/ui-components: npm error code 1
@axonivy/ui-components: npm error path /home/ubuntu/workspace/nts_make-table-keyboard-friendly/packages/components
@axonivy/ui-components: npm error workspace @axonivy/[email protected]
@axonivy/ui-components: npm error location /home/ubuntu/workspace/nts_make-table-keyboard-friendly/packages/components
@axonivy/ui-components: npm error command failed
@axonivy/ui-components: npm error command sh -c eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle



 Lerna (powered by Nx)   Running target lint for 2 projects failed

Failed tasks:

- @axonivy/ui-components:lint


Build / Record compiler warnings and static analysis results

Warning in recordIssues step, with arguments {qualityGates=[{threshold=1, type=TOTAL, unstable=true}], enabledForFailure=true, aggregatingResults=true, tools=[@esLint(pattern=packages/**/eslint.xml,integration/**/eslint.xml,skipSymbolicLinks=true)], publishAllIssues=true}.

-> Some quality gates have been missed: overall result is UNSTABLE

Build / Archive JUnit-formatted test results

Error in junit step.

No test report files were found. Configuration error?
Build log
Recording test results
No test report files were found. Configuration error?

Details

  • Declarative: Checkout SCM (5.1 sec)
    • Build (1 min 4 sec)
      Error: script returned exit code 1
      Unstable: -> Some quality gates have been missed: overall result is UNSTABLE
      Error: No test report files were found. Configuration error?
    • Publish next (1.2 sec)
    • Maven deploy (1.1 sec)