Started by GitLab push by Giacomo Bernini [EnvInject] - Loading node environment variables. Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol012 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:nfv/SOL012.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL012.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL012.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/3.4.1-maintenance^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 6bd4c41d17fb4a1a9d00040578cd7a3a15f926c4 # timeout=10 Checking out Revision 6bd4c41d17fb4a1a9d00040578cd7a3a15f926c4 (origin/3.4.1-maintenance) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bd4c41d17fb4a1a9d00040578cd7a3a15f926c4 Commit message: "fix update" > git rev-list --no-walk 966fa99796ad1b9232fd21e44b3964c22259eebb # timeout=10 [sol012] $ /bin/bash /tmp/jenkins5366935328845180478.sh ./build-container.sh: line 7: proxy: command not found http_proxy is not set Proxy set to Sending build context to Docker daemon 13.31kB Step 1/24 : FROM alpine:3.10.0 ---> 4d90542f0623 Step 2/24 : RUN env ---> Using cache ---> 0b577767eb4e Step 3/24 : RUN apk update ---> Using cache ---> 697471ef7f0a Step 4/24 : RUN apk add bash ---> Using cache ---> a25251d4272c Step 5/24 : RUN apk add nodejs ---> Using cache ---> ee3663c76c01 Step 6/24 : RUN apk add nodejs-npm ---> Using cache ---> 95530c68fb47 Step 7/24 : RUN apk add asciidoctor ---> Using cache ---> a321cc22063f Step 8/24 : RUN apk add openjdk8 ---> Using cache ---> 07148189c9d2 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates ---> Using cache ---> 6808b2c86594 Step 10/24 : RUN apk add openssl ---> Using cache ---> ed2950ff9192 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre ---> Running in 0eb21a16f2c6 Building native extensions. This could take a while... ERROR: Error installing rdoc: ERROR: Failed to build gem native extension. current directory: /usr/lib/ruby/gems/2.5.0/gems/psych-4.0.4/ext/psych /usr/bin/ruby -r ./siteconf20220809-7-t437u4.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h extconf failed, exit code 1 Gem files will remain installed in /usr/lib/ruby/gems/2.5.0/gems/psych-4.0.4 for inspection. Results logged to /usr/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out Building native extensions. This could take a while... ERROR: Error installing rdoc: ERROR: Failed to build gem native extension. current directory: /usr/lib/ruby/gems/2.5.0/gems/psych-4.0.4/ext/psych /usr/bin/ruby -r ./siteconf20220809-1-jez1hl.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h extconf failed, exit code 1 Gem files will remain installed in /usr/lib/ruby/gems/2.5.0/gems/psych-4.0.4 for inspection. Results logged to /usr/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out The command '/bin/sh -c gem install rdoc --pre || gem install rdoc --pre' returned a non-zero code: 1 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol012 as /work mkdir: created directory '/var/www/html/api/nfv/sol012/23' Mounting dir /var/www/html/api/nfv/sol012/23 as /storage Using filter '' Entering dir /work/src -- Will validate: ./SOL012/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL012) --- Merging file. --- Create PDF... mv: can't rename 'SOL012-APIVersion-API.pdf': No such file or directory --- Validating ../build/SOL012-APIVersion-API.yaml ../build/SOL012-APIVersion-API.yaml is valid --- Validation done (0). '../build/SOL012-APIVersion-API.yaml' -> '/storage/SOL012-APIVersion-API.yaml' '../build/SOL012-APIVersion-API.json' -> '/storage/SOL012-APIVersion-API.json' cp: can't stat '../build/SOL012-APIVersion-API.pdf': No such file or directory -- Will validate: ./SOL012/PolicyManagement/PolicyManagement.yaml (api: PolicyManagement) (deliverable:SOL012) --- Merging file. error: Document has invalid references: #/components/parameters/policyId/schema: JSON Pointer points to missing location: ../components/SOL012_schemas.yaml#/components/schemas/Identifier #/components/parameters/subscriptionId/schema: JSON Pointer points to missing location: ../components/SOL012_schemas.yaml#/components/schemas/Identifier #/paths/~1policies/get/parameters/0: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/parameters/filter.Policies #/paths/~1policies/get/parameters/1: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/parameters/nextpage_opaque_marker.Policies #/paths/~1policies/post/requestBody: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/requestBodies/CreatePolicyRequest #/paths/~1policies~1{policyId}/patch/requestBody: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/requestBodies/PolicyModifications #/paths/~1subscriptions/get/parameters/3: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/parameters/filter.Subscriptions #/paths/~1subscriptions/get/parameters/4: JSON Pointer points to missing location: definitions/PolicyManagement_def.yaml#/definitions/parameters/nextpage_opaque_marker.Subscriptions --- Create PDF... mv: can't rename 'SOL012-PolicyManagement-API.pdf': No such file or directory --- Validating ../build/SOL012-PolicyManagement-API.yaml "/work/build/SOL012-PolicyManagement-API.yaml" is not a valid JSON Schema --- Validation done (1). '../build/SOL012-PolicyManagement-API.yaml' -> '/storage/SOL012-PolicyManagement-API.yaml' '../build/SOL012-PolicyManagement-API.json' -> '/storage/SOL012-PolicyManagement-API.json' cp: can't stat '../build/SOL012-PolicyManagement-API.pdf': No such file or directory -- Will validate: ./SOL012/PolicyManagementNotification/PolicyManagementNotification.yaml (api: PolicyManagementNotification) (deliverable:SOL012) --- Merging file. --- Create PDF... --- Validating ../build/SOL012-PolicyManagementNotification-API.yaml mv: can't rename 'SOL012-PolicyManagementNotification-API.pdf': No such file or directory ../build/SOL012-PolicyManagementNotification-API.yaml is valid --- Validation done (0). '../build/SOL012-PolicyManagementNotification-API.yaml' -> '/storage/SOL012-PolicyManagementNotification-API.yaml' '../build/SOL012-PolicyManagementNotification-API.json' -> '/storage/SOL012-PolicyManagementNotification-API.json' cp: can't stat '../build/SOL012-PolicyManagementNotification-API.pdf': No such file or directory -- Final validator returns 1. Build step 'Execute shell' marked build as failure Skipped archiving because build is not successful Finished: FAILURE