Started by GitLab push by Miguel Angel Reina Ortega Obtained generate-config.jenkinsfile from git git@forge.etsi.org:forge-tools/3gpp-scripts.git Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on build.forge.etsi.org in /home/jenkins/workspace/3GPP/5G_APIs_versions_processing [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:forge-tools/3gpp-scripts.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:forge-tools/3gpp-scripts.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:forge-tools/3gpp-scripts.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/master, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 5465b4772cdefd2e29e9697b1e5830c1796797af (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5465b4772cdefd2e29e9697b1e5830c1796797af Commit message: "Fix generate-config.jenkinsfile and generate-config.sh" > git rev-list --no-walk 602dba17223f9989025b5e9b30f21a5bcf4b0790 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] gitlabBuilds [Pipeline] { [Pipeline] stage [Pipeline] { (Resolve) [Pipeline] sh + echo Resolve stage Resolve stage [Pipeline] updateGitlabCommitStatus [Pipeline] dir Running in /home/jenkins/workspace/3GPP/5G_APIs_versions_processing/apis [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:reinaortega/5g_apis_test.git > git init /home/jenkins/workspace/3GPP/5G_APIs_versions_processing/apis # timeout=10 Fetching upstream changes from git@forge.etsi.org:reinaortega/5g_apis_test.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:reinaortega/5g_apis_test.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:reinaortega/5g_apis_test.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:reinaortega/5g_apis_test.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:reinaortega/5g_apis_test.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:reinaortega/5g_apis_test.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 827a4000f6ac5fa396a2198367d9229d740ce0f9 # timeout=10 Checking out Revision 827a4000f6ac5fa396a2198367d9229d740ce0f9 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 827a4000f6ac5fa396a2198367d9229d740ce0f9 Commit message: "Nothing to change" > git rev-list --no-walk 885da9600499fdd2075c03b87a6c27ea8131036f # timeout=10 [Pipeline] sh + git log --oneline -n 5 827a400 Nothing to change 885da96 Moving generate-config.sh to 3GPP-scripts project aeeba2a fix Jenkinsfile 7b66acf fix Jenkinsfile d68f1d2 Fix Jenkinsfile [Pipeline] sh + git status -sb ## HEAD (no branch) [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git > git init /home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/master, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 5465b4772cdefd2e29e9697b1e5830c1796797af (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5465b4772cdefd2e29e9697b1e5830c1796797af Commit message: "Fix generate-config.jenkinsfile and generate-config.sh" [Pipeline] } [Pipeline] // dir [Pipeline] updateGitlabCommitStatus [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) [Pipeline] updateGitlabCommitStatus [Pipeline] sh + echo Deploy stage Deploy stage [Pipeline] sh + pwd /home/jenkins/workspace/3GPP/5G_APIs_versions_processing [Pipeline] sh + bash ./scripts/generate-config.sh ------ Content of the folder ------ apis apis@tmp generate-config.jenkinsfile generate-config.sh Jenkinsfile Jenkinsfile-LI lint-data-models.sh README.md sa5-data-models-validation.jenkinsfile scripts scripts@tmp test validate-all.sh validate-data-models.sh ------ Installing necessary node modules ----- npm WARN saveError ENOENT: no such file or directory, open '/home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts/package.json' npm WARN scripts No description npm WARN scripts No repository field. npm WARN scripts No README data npm WARN scripts No license field. + js-yaml@4.1.0 added 2 packages from 4 contributors and audited 2 packages in 0.509s found 0 vulnerabilities npm WARN saveError ENOENT: no such file or directory, open '/home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/jenkins/workspace/3GPP/5G_APIs_versions_processing/scripts/package.json' npm WARN scripts No description npm WARN scripts No repository field. npm WARN scripts No README data npm WARN scripts No license field. + json@11.0.0 added 1 package from 1 contributor and audited 3 packages in 0.609s found 0 vulnerabilities /home/jenkins/workspace/3GPP/5G_APIs_versions_processing ------ Removing old CONFIG file ------ ------ Generating CONFIG file from all YAML files ------ ------ Switching to folder -------- /home/jenkins [*.yaml] internal/modules/cjs/loader.js:651 throw err; ^ Error: Cannot find module '/home/jenkins/scripts/node_modules/js-yaml/bin/js-yaml' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15) at Function.Module._load (internal/modules/cjs/loader.js:575:25) at Function.Module.runMain (internal/modules/cjs/loader.js:862:12) at internal/main/run_main_module.js:21:11 internal/modules/cjs/loader.js:651 throw err; ^ Error: Cannot find module '/home/jenkins/scripts/node_modules/json/lib/json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15) at Function.Module._load (internal/modules/cjs/loader.js:575:25) at Function.Module.runMain (internal/modules/cjs/loader.js:862:12) at internal/main/run_main_module.js:21:11 internal/modules/cjs/loader.js:651 throw err; ^ Error: Cannot find module '/home/jenkins/scripts/node_modules/json/lib/json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15) at Function.Module._load (internal/modules/cjs/loader.js:575:25) at Function.Module.runMain (internal/modules/cjs/loader.js:862:12) at internal/main/run_main_module.js:21:11 internal/modules/cjs/loader.js:651 throw err; ^ Error: Cannot find module '/home/jenkins/scripts/node_modules/json/lib/json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15) at Function.Module._load (internal/modules/cjs/loader.js:575:25) at Function.Module.runMain (internal/modules/cjs/loader.js:862:12) at internal/main/run_main_module.js:21:11 -- Final validator returns 1. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] archiveArtifacts Skipped archiving because build is not successful [Pipeline] script [Pipeline] { [Pipeline] updateGitlabCommitStatus [Pipeline] } [Pipeline] // script [Pipeline] updateGitlabCommitStatus [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // gitlabBuilds [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE