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