FailedConsole Output

Started by GitLab push by elmdahlp
Lightweight checkout support not available, falling back to full checkout.
Checking out git git@forge.etsi.org:forge-tools/3gpp-scripts.git into /var/lib/jenkins/jobs/3GPP/jobs/sa5-data-models-any-commit/workspace@script to read sa5-data-models-validation.jenkinsfile
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/Elmdahl-RRM-Policy, since it originates from another repository
Seen branch in repository origin/master
Seen 1 remote branch
 > git show-ref --tags -d # timeout=10
Checking out Revision 66308792280f2392a94c0ef1b025cfa2e31b336b (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 66308792280f2392a94c0ef1b025cfa2e31b336b
Commit message: "Ignore linting outcome"
 > git rev-list --no-walk 66308792280f2392a94c0ef1b025cfa2e31b336b # timeout=10
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Build 3 in /home/jenkins/workspace/3GPP/sa5-data-models-any-commit
[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/Elmdahl-RRM-Policy, since it originates from another repository
Seen branch in repository origin/master
Seen 1 remote branch
 > git show-ref --tags -d # timeout=10
Checking out Revision 66308792280f2392a94c0ef1b025cfa2e31b336b (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 66308792280f2392a94c0ef1b025cfa2e31b336b
Commit message: "Ignore linting outcome"
[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/sa5-data-models-any-commit/data-models
[Pipeline] {
[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:3GPP/SA5/data-models.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:3GPP/SA5/data-models.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:3GPP/SA5/data-models.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse remotes/origin/Elmdahl-RRM-Policy^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains bc1b3aee9434a925b549801badd1b7c1302a650b # timeout=10
Checking out Revision bc1b3aee9434a925b549801badd1b7c1302a650b (origin/Elmdahl-RRM-Policy)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bc1b3aee9434a925b549801badd1b7c1302a650b
Commit message: "Fixed (?) conflict"
 > git rev-list --no-walk 0b26b9a92cd10296a166c56a17566b51553fd901 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/3GPP/sa5-data-models-any-commit/scripts
[Pipeline] {
[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:cti/forge-tools/3gpp-scripts.git # 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/*
skipping resolution of commit remotes/origin/Elmdahl-RRM-Policy, 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 66308792280f2392a94c0ef1b025cfa2e31b336b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 66308792280f2392a94c0ef1b025cfa2e31b336b
Commit message: "Ignore linting outcome"
[Pipeline] }
[Pipeline] // dir
[Pipeline] updateGitlabCommitStatus
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Validate)
[Pipeline] updateGitlabCommitStatus
[Pipeline] sh
+ echo Validate stage
Validate stage
[Pipeline] sh
+ bash ./scripts/validate-data-models.sh ./data-models
------ Switching to ./data-models folder --------
------ Content of the folder ------
json-schema
README.md
xsd
yang-models
------ Validating all YANG, JSON and XML files ------
_3gpp-5gc-nrm-neffunction.yang:11: warning: imported module "_3gpp-5g-common-yang-types" not used
_3gpp-5gc-nrm-scpfunction.yang:10: warning: imported module "_3gpp-common-yang-types" not used
_3gpp-5gc-nrm-seppfunction.yang:20: warning: the revision statements are not given in reverse chronological order
_3gpp-nr-nrm-gnbcucpfunction.yang:93: error: the list at "_3gpp-nr-nrm-gnbcucpfunction.yang:93 (at _3gpp-nr-nrm-rrmpolicy.yang:65)" needs at least one key because it is used as config
_3gpp-nr-nrm-gnbcuupfunction.yang:62: error: the list at "_3gpp-nr-nrm-gnbcuupfunction.yang:62 (at _3gpp-nr-nrm-rrmpolicy.yang:65)" needs at least one key because it is used as config
_3gpp-nr-nrm-gnbcuupfunction.yang:62: error: the list at "_3gpp-nr-nrm-gnbcuupfunction.yang:62 (at _3gpp-nr-nrm-gnbcuupfunction.yang:45)" needs at least one key because it is used as config
_3gpp-nr-nrm-gnbdufunction.yang:64: error: the list at "_3gpp-nr-nrm-gnbdufunction.yang:64 (at _3gpp-nr-nrm-rrmpolicy.yang:65)" needs at least one key because it is used as config
_3gpp-nr-nrm-nrcelldu.yang:204: error: the list at "_3gpp-nr-nrm-nrcelldu.yang:204 (at _3gpp-nr-nrm-rrmpolicy.yang:65)" needs at least one key because it is used as config
_3gpp-nr-nrm-rrmpolicy.yang:73: error: unexpected keyword "key"
_3gpp-nr-nrm-rrmpolicy.yang:152: error: the list at "_3gpp-nr-nrm-rrmpolicy.yang:152 (at _3gpp-nr-nrm-rrmpolicy.yang:65)" needs at least one key because it is used as config
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Lint)
Stage "Lint" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy to FTP)
Stage "Deploy to FTP" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // script
[Pipeline] updateGitlabCommitStatus
[Pipeline] mail
[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