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

chore(ci): introduce declarative pod specs #4139

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

mboskamp
Copy link
Member

@mboskamp mboskamp self-assigned this Feb 28, 2024
@mboskamp mboskamp added the ci:jdk Runs the builds for all supported Java versions. label Mar 22, 2024
@mboskamp mboskamp added ci:all-as Runs the builds for all application servers. ci:all-db Runs the builds for all databases. ci:default-build Runs the builds that have no explicit trigger (e.g. different history levels). ci:migration Runs the process instance migration builds. ci:rest-api Runs extra builds for the REST API (currently only WLS compatibility builds). ci:rolling-update Runs the rolling update builds. labels May 23, 2024
@mboskamp
Copy link
Member Author

CI stage failure analysis

I ran the CI with the following labels to understand the impact of the CI changes. Find the analysis of the failures below.
CI labels:

  • ci:all-as
  • ci:all-db
  • ci:default-build
  • ci:jdk
  • ci:migration
  • ci:rest-api
  • ci:rolling-update

ASSEMBLY

Camunda Platform - Webapp - Root

Type: build error
Name: EACCES
Rootcause: unknown

Log

[2024-05-28T10:47:34.945Z] [INFO] npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
[2024-05-28T10:47:35.747Z] [INFO] npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! code EACCES
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! syscall open
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! path /.npmrc
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! errno -13
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! Error: EACCES: permission denied, open '/.npmrc'
[2024-05-28T10:47:35.747Z] [INFO] npm ERR!  [Error: EACCES: permission denied, open '/.npmrc'] {
[2024-05-28T10:47:35.747Z] [INFO] npm ERR!   errno: -13,
[2024-05-28T10:47:35.747Z] [INFO] npm ERR!   code: 'EACCES',
[2024-05-28T10:47:35.747Z] [INFO] npm ERR!   syscall: 'open',
[2024-05-28T10:47:35.747Z] [INFO] npm ERR!   path: '/.npmrc'
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! }
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! 
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! The operation was rejected by your operating system.
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! It is likely you do not have the permissions to access this file as the current user
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! 
[2024-05-28T10:47:35.747Z] [INFO] npm ERR! If you believe this might be a permissions issue, please double-check the
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! permissions of the file and its containing directories, or try running
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! the command again as root/Administrator.
[2024-05-28T10:47:35.748Z] [INFO] 
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! A complete log of this run can be found in:
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!     /home/jenkins/agent/workspace/22_cambpm-ce_cambpm-main_PR-4139/.npm/_logs/2024-05-28T10_47_35_621Z-debug-0.log
[2024-05-28T10:47:35.748Z] [INFO] node:child_process:902
[2024-05-28T10:47:35.748Z] [INFO]     throw err;
[2024-05-28T10:47:35.748Z] [INFO]     ^
[2024-05-28T10:47:35.748Z] [INFO] 
[2024-05-28T10:47:35.748Z] [INFO] Error: Command failed: npm set @xlts.dev:registry https://****/
[2024-05-28T10:47:35.748Z] [INFO] npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! code EACCES
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! syscall open
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! path /.npmrc
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! errno -13
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! Error: EACCES: permission denied, open '/.npmrc'
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!  [Error: EACCES: permission denied, open '/.npmrc'] {
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!   errno: -13,
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!   code: 'EACCES',
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!   syscall: 'open',
[2024-05-28T10:47:35.748Z] [INFO] npm ERR!   path: '/.npmrc'
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! }
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! 
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! The operation was rejected by your operating system.
[2024-05-28T10:47:35.748Z] [INFO] npm ERR! It is likely you do not have the permissions to access this file as the current user
[2024-05-28T10:47:35.749Z] [INFO] npm ERR! 
[2024-05-28T10:47:35.749Z] [INFO] npm ERR! If you believe this might be a permissions issue, please double-check the
[2024-05-28T10:47:35.749Z] [INFO] npm ERR! permissions of the file and its containing directories, or try running
[2024-05-28T10:47:35.749Z] [INFO] npm ERR! the command again as root/Administrator.
[2024-05-28T10:47:35.749Z] [INFO] 
[2024-05-28T10:47:35.749Z] [INFO] npm ERR! A complete log of this run can be found in:
[2024-05-28T10:47:35.749Z] [INFO] npm ERR!     /home/jenkins/agent/workspace/22_cambpm-ce_cambpm-main_PR-4139/.npm/_logs/2024-05-28T10_47_35_621Z-debug-0.log
[2024-05-28T10:47:35.749Z] [INFO] 
[2024-05-28T10:47:35.749Z] [INFO]     at checkExecSyncError (node:child_process:828:11)
[2024-05-28T10:47:35.749Z] [INFO]     at execSync (node:child_process:899:15)
[2024-05-28T10:47:35.749Z] [INFO]     at exec (/home/jenkins/agent/workspace/22_cambpm-ce_cambpm-main_PR-4139/webapps/frontend/scripts/xlts.js:23:10)
[2024-05-28T10:47:35.749Z] [INFO]     at Object.<anonymous> (/home/jenkins/agent/workspace/22_cambpm-ce_cambpm-main_PR-4139/webapps/frontend/scripts/xlts.js:41:3)
[2024-05-28T10:47:35.749Z] [INFO]     at Module._compile (node:internal/modules/cjs/loader:1099:14)
[2024-05-28T10:47:35.749Z] [INFO]     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
[2024-05-28T10:47:35.749Z] [INFO]     at Module.load (node:internal/modules/cjs/loader:975:32)
[2024-05-28T10:47:35.749Z] [INFO]     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[2024-05-28T10:47:35.749Z] [INFO]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
[2024-05-28T10:47:35.750Z] [INFO]   status: 243,
[2024-05-28T10:47:35.750Z] [INFO]   signal: null,
[2024-05-28T10:47:35.750Z] [INFO]   output: [
[2024-05-28T10:47:35.750Z] [INFO]     null,
[2024-05-28T10:47:35.750Z] [INFO]     Buffer(0) [Uint8Array] [],
[2024-05-28T10:47:35.750Z] [INFO]     Buffer(982) [Uint8Array] [
[2024-05-28T10:47:35.750Z] [INFO]       110, 112, 109,  32,  87,  65,  82,  78,  32,  99, 111, 110,
[2024-05-28T10:47:35.750Z] [INFO]       102, 105, 103,  32, 103, 108, 111,  98,  97, 108,  32,  96,
[2024-05-28T10:47:35.750Z] [INFO]        45,  45, 103, 108, 111,  98,  97, 108,  96,  44,  32,  96,
[2024-05-28T10:47:35.750Z] [INFO]        45,  45, 108, 111,  99,  97, 108,  96,  32,  97, 114, 101,
[2024-05-28T10:47:35.750Z] [INFO]        32, 100, 101, 112, 114, 101,  99,  97, 116, 101, 100,  46,
[2024-05-28T10:47:35.750Z] [INFO]        32,  85, 115, 101,  32,  96,  45,  45, 108, 111,  99,  97,
[2024-05-28T10:47:35.750Z] [INFO]       116, 105, 111, 110,  61, 103, 108, 111,  98,  97, 108,  96,
[2024-05-28T10:47:35.750Z] [INFO]        32, 105, 110, 115, 116, 101,  97, 100,  46,  10, 110, 112,
[2024-05-28T10:47:35.750Z] [INFO]       109,  32,  69,  82,
[2024-05-28T10:47:35.750Z] [INFO]       ... 882 more items
[2024-05-28T10:47:35.750Z] [INFO]     ]
[2024-05-28T10:47:35.750Z] [INFO]   ],
[2024-05-28T10:47:35.750Z] [INFO]   pid: 4668,
[2024-05-28T10:47:35.750Z] [INFO]   stdout: Buffer(0) [Uint8Array] [],
[2024-05-28T10:47:35.750Z] [INFO]   stderr: Buffer(982) [Uint8Array] [
[2024-05-28T10:47:35.750Z] [INFO]     110, 112, 109,  32,  87,  65,  82,  78,  32,  99, 111, 110,
[2024-05-28T10:47:35.750Z] [INFO]     102, 105, 103,  32, 103, 108, 111,  98,  97, 108,  32,  96,
[2024-05-28T10:47:35.750Z] [INFO]      45,  45, 103, 108, 111,  98,  97, 108,  96,  44,  32,  96,
[2024-05-28T10:47:35.750Z] [INFO]      45,  45, 108, 111,  99,  97, 108,  96,  32,  97, 114, 101,
[2024-05-28T10:47:35.751Z] [INFO]      32, 100, 101, 112, 114, 101,  99,  97, 116, 101, 100,  46,
[2024-05-28T10:47:35.751Z] [INFO]      32,  85, 115, 101,  32,  96,  45,  45, 108, 111,  99,  97,
[2024-05-28T10:47:35.751Z] [INFO]     116, 105, 111, 110,  61, 103, 108, 111,  98,  97, 108,  96,
[2024-05-28T10:47:35.751Z] [INFO]      32, 105, 110, 115, 116, 101,  97, 100,  46,  10, 110, 112,
[2024-05-28T10:47:35.751Z] [INFO]     109,  32,  69,  82,
[2024-05-28T10:47:35.751Z] [INFO]     ... 882 more items
[2024-05-28T10:47:35.751Z] [INFO]   ]
[2024-05-28T10:47:35.751Z] [INFO] }
[2024-05-28T10:47:35.751Z] [INFO] 
[2024-05-28T10:47:35.751Z] [INFO] Node.js v17.9.1

Camunda Platform - webapp - webjar

Type: build error, phantom error
Name: -
Rootcause: unknown, possibly caused by EACCES
notes: no error in the log, failure indicated in the Maven reactor summary.

Distro EE

Camunda Platform EE - Webapp - Plugins - Root

Type: build error
Name: EUSAGE
Rootcause: unknown, possibly out-of-sync package.json and package-lock.json

Details

[2024-05-28T11:16:55.935Z] [INFO] npm ERR! code EUSAGE
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular@1.8.2 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-animate@1.8.2 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-cookies@1.8.2 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-loader@1.8.3 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-mocks@1.8.3 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-resource@1.8.2 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-route@1.8.2 from lock file
[2024-05-28T11:16:55.935Z] [INFO] npm ERR! Missing: angular-sanitize@1.8.2 from lock file
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! Missing: angular-touch@1.8.2 from lock file
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! Clean install a project
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! Usage:
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! npm ci
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! Options:
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! [--no-audit] [--foreground-scripts] [--ignore-scripts]
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! [--script-shell <script-shell>]
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! Run "npm help ci" for more info
[2024-05-28T11:16:55.936Z] [INFO] 
[2024-05-28T11:16:55.936Z] [INFO] npm ERR! A complete log of this run can be found in:
[2024-05-28T11:16:55.936Z] [INFO] npm ERR!     /home/camunda/.npm/_logs/2024-05-28T11_16_52_623Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:all-as Runs the builds for all application servers. ci:all-db Runs the builds for all databases. ci:default-build Runs the builds that have no explicit trigger (e.g. different history levels). ci:jdk Runs the builds for all supported Java versions. ci:migration Runs the process instance migration builds. ci:rest-api Runs extra builds for the REST API (currently only WLS compatibility builds). ci:rolling-update Runs the rolling update builds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant