sudo bash .jenkins.sh
rm: cannot remove ‘build/*-API.yaml’: No such file or directory
rm: cannot remove ‘build/*-API.json’: No such file or directory
rm: cannot remove ‘build/*-API.pdf’: No such file or directory
./build-container.sh: line 7: proxy: command not found
http_proxy is not set
Proxy set to 
Sending build context to Docker daemon 13.31 kB
Step 1 : FROM alpine:3.6
 ---> ba3d8da3f251
Step 2 : RUN env
 ---> Using cache
 ---> 157c49413e9e
Step 3 : RUN apk update
 ---> Using cache
 ---> 7f06e169be5c
Step 4 : RUN apk add bash
 ---> Using cache
 ---> 0a5bfc41002a
Step 5 : RUN apk add nodejs
 ---> Using cache
 ---> 6aa41eb1dd37
Step 6 : RUN apk add nodejs-npm
 ---> Using cache
 ---> 41d2763eed6b
Step 7 : RUN apk add asciidoctor
 ---> Using cache
 ---> 97e600e1c83e
Step 8 : RUN apk add openjdk8
 ---> Using cache
 ---> 3126006e9086
Step 9 : RUN apk add ca-certificates wget && update-ca-certificates
 ---> Using cache
 ---> 4da797c093ad
Step 10 : RUN apk add openssl
 ---> Using cache
 ---> be49d3045cc0
Step 11 : RUN gem install rdoc --pre || gem install rdoc --pre
 ---> Using cache
 ---> af04ae8062ce
Step 12 : RUN gem install asciidoctor-pdf-cjk
 ---> Using cache
 ---> 2cb64d4e0742
Step 13 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
 ---> Using cache
 ---> b875397b980c
Step 14 : RUN npm config set proxy $http_proxy
 ---> Using cache
 ---> ba3af28a9a08
Step 15 : RUN npm install -g swagger-tools@0.10.3
 ---> Using cache
 ---> ee527227520d
Step 16 : RUN npm install -g json-refs@3.0.4
 ---> Using cache
 ---> 9c611e5f0d80
Step 17 : RUN npm install -g yamljs@0.3.0
 ---> Using cache
 ---> 6b16a7cbe90b
Step 18 : ADD validate-in-docker.sh /validate-in-docker.sh
 ---> Using cache
 ---> fc4dc2920e7e
Step 19 : RUN chmod +x /validate-in-docker.sh
 ---> Using cache
 ---> 73e9c8afc24d
Step 20 : ADD swg2mrkup /bin/swg2mrkup
 ---> Using cache
 ---> 913fb3cbd86c
Step 21 : RUN chmod +x /bin/swg2mrkup
 ---> Using cache
 ---> 306d49364b6c
Step 22 : ADD oas2pdf /bin/oas2pdf
 ---> Using cache
 ---> e68d82855996
Step 23 : RUN chmod +x /bin/oas2pdf
 ---> Using cache
 ---> f1737e976486
Step 24 : ENTRYPOINT /validate-in-docker.sh
 ---> Using cache
 ---> 4c91dc520a12
Successfully built 4c91dc520a12
Mounting dir /home/sbusa/dev/SOL002-SOL003-v2.5.1 as /work
Using filter ''

Entering dir /work/src
-- Will validate: ./SOL002/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-APIVersion-API.yaml
--- Validation done (0).
-- Will validate: ./SOL002/VNFConfiguration/VNFConfiguration.yaml (api: VNFConfiguration) (deliverable:SOL002)
--- Merging file.

  error: Document has invalid references:

  #/paths/~1configuration/patch/parameters/0/schema: JSON Pointer points to missing location: definitions/SOL002VnfConfiguration_def.yaml#/definitions/VnfConfigModifications
  #/paths/~1configuration/patch/responses/200/schema: JSON Pointer points to missing location: definitions/SOL002VnfConfiguration_def.yaml#/definitions/VnfConfigModifications

--- Create PDF...
mv: can't rename 'SOL002-VNFConfiguration-API.pdf': No such file or directory
--- Validating ../build/SOL002-VNFConfiguration-API.yaml

  error: Unsupported Swagger version: undefined

--- Validation done (1).
-- Will validate: ./SOL002/VNFFaultManagement/VNFFaultManagement.yaml (api: VNFFaultManagement) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFFaultManagement-API.yaml

API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref
  #/paths/~1alarms~1{alarmId}/patch/responses/409: Not a valid response definition
    #/paths/~1alarms~1{alarmId}/patch/responses/409: Missing required property: description
    #/paths/~1alarms~1{alarmId}/patch/responses/409: Missing required property: $ref

2 errors and 0 warnings

--- Validation done (1).
-- Will validate: ./SOL002/VNFFaultManagementNotification/VNFFaultManagementNotification.yaml (api: VNFFaultManagementNotification) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFFaultManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL002/VNFIndicator/VNFIndicator.yaml (api: VNFIndicator) (deliverable:SOL002)
--- Merging file.

  error: Document has invalid references:

  #/paths/~1indicators/get/responses/200/schema/items: JSON Pointer points to missing location: ../../definitions/SOL002SOl003VNFIndicator_def.yaml#/definitions/VnfIndicator
  #/paths/~1indicators~1{indicatorId}/get/responses/200/schema: JSON Pointer points to missing location: ../../definitions/SOL002SOl003VNFIndicator_def.yaml#/definitions/VnfIndicator
  #/paths/~1indicators~1{vnfInstanceId}/get/responses/200/schema/items: JSON Pointer points to missing location: ../../definitions/SOL002SOl003VNFIndicator_def.yaml#/definitions/VnfIndicator
  #/paths/~1indicators~1{vnfInstanceId}~1{indicatorId}/get/responses/200/schema: JSON Pointer points to missing location: ../../definitions/SOL002SOl003VNFIndicator_def.yaml#/definitions/VnfIndicator
  #/paths/~1subscriptions/post/parameters/0/schema/properties/callbackUri: Extra JSON Reference properties will be ignored: description

--- Create PDF...
mv: can't rename 'SOL002-VNFIndicator-API.pdf': No such file or directory
--- Validating ../build/SOL002-VNFIndicator-API.yaml

  error: Unsupported Swagger version: undefined

--- Validation done (1).
-- Will validate: ./SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml (api: VNFIndicatorNotification) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFIndicatorNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml (api: VNFLifecycleManagement) (deliverable:SOL002)
--- Merging file.

  error: Document has invalid references:

  #/paths/~1vnf_instances~1{vnfInstanceId}~1change_flavour/post/parameters/0/schema: JSON Pointer points to missing location: definitions/SOl002VNFLifecycleManagement_def.yaml#/definitions/ChangeVnfFlavourRequest
  #/paths/~1vnf_instances~1{vnfInstanceId}~1heal/post/parameters/0/schema: JSON Pointer points to missing location: definitions/SOl002VNFLifecycleManagement_def.yaml#/definitions/HealVnfRequest
  #/paths/~1vnf_lcm_op_occs~1{vnfLcmOpOccId}~1fail/post/responses/200/schema: JSON Pointer points to missing location: ../../definitions/SOL002SOl003VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOpOcc

--- Create PDF...
mv: can't rename 'SOL002-VNFLifecycleManagement-API.pdf': No such file or directory
--- Validating ../build/SOL002-VNFLifecycleManagement-API.yaml

  error: Unsupported Swagger version: undefined

--- Validation done (1).
-- Will validate: ./SOL002/VNFLifecycleManagementNotification/VNFLifecycleManagementNotification.yaml (api: VNFLifecycleManagementNotification) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFLifecycleManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml (api: VNFPerformanceManagement) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFPerformanceManagement-API.yaml

API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref

1 error and 0 warnings

--- Validation done (1).
-- Will validate: ./SOL002/VNFPerformanceManagementNotification/VNFPerformanceManagementNotification.yaml (api: VNFPerformanceManagementNotification) (deliverable:SOL002)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL002-VNFPerformanceManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-APIVersion-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFFaultManagement/VNFFaultManagement.yaml (api: VNFFaultManagement) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFFaultManagement-API.yaml

--- Validation done (1).
API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref

1 error and 0 warnings

-- Will validate: ./SOL003/VNFFaultManagementNotification/VNFFaultManagementNotification.yaml (api: VNFFaultManagementNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFFaultManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFIndicator/VNFIndicator.yaml (api: VNFIndicator) (deliverable:SOL003)
--- Merging file.

  error: Document has invalid references:

  #/paths/~1subscriptions/post/parameters/0/schema/properties/callbackUri: Extra JSON Reference properties will be ignored: description

--- Create PDF...
mv: can't rename 'SOL003-VNFIndicator-API.pdf': No such file or directory
--- Validating ../build/SOL003-VNFIndicator-API.yaml

--- Validation done (1).
  error: Unsupported Swagger version: undefined

-- Will validate: ./SOL003/VNFIndicatorNotification/VNFIndicatorNotification.yaml (api: VNFIndicatorNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFIndicatorNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFLifecycleManagement/VNFLifecycleManagement.yaml (api: VNFLifecycleManagement) (deliverable:SOL003)
--- Merging file.

  error: Document has invalid references:

  #/paths/~1vnf_instances~1{vnfInstanceId}~1change_ext_conn/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1change_flavour/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1heal/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1operate/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1scale/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1scale_to_level/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location
  #/paths/~1vnf_instances~1{vnfInstanceId}~1terminate/post/responses/202: JSON Pointer points to missing location: ../../responses/SOL002SOL003_resp.yaml#/responses/202-with-Location

--- Create PDF...
mv: can't rename 'SOL003-VNFLifecycleManagement-API.pdf': No such file or directory
--- Validating ../build/SOL003-VNFLifecycleManagement-API.yaml

  error: Unsupported Swagger version: undefined

--- Validation done (1).
-- Will validate: ./SOL003/VNFLifecycleManagementNotification/VNFLifecycleManagementNotification.yaml (api: VNFLifecycleManagementNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFLifecycleManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFLifecycleOperationGranting/VNFLifecycleOperationGranting.yaml (api: VNFLifecycleOperationGranting) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFLifecycleOperationGranting-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFPackageManagement-API.yaml

--- Validation done (1).
API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref

1 error and 0 warnings

-- Will validate: ./SOL003/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFPackageManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VNFPerformanceManagement/VNFPerformanceManagement.yaml (api: VNFPerformanceManagement) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFPerformanceManagement-API.yaml

API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref

1 error and 0 warnings

--- Validation done (1).
-- Will validate: ./SOL003/VNFPerformanceManagementNotification/VNFPerformanceManagementNotification.yaml (api: VNFPerformanceManagementNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VNFPerformanceManagementNotification-API.yaml
--- Validation done (0).
-- Will validate: ./SOL003/VirtualisedResourcesQuotaAvailableNotification/VirtualisedResourcesQuotaAvailableNotification.yaml (api: VirtualisedResourcesQuotaAvailableNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VirtualisedResourcesQuotaAvailableNotification-API.yaml

API Errors:

  #/paths/~1subscriptions/post/responses/303: Not a valid response definition
    #/paths/~1subscriptions/post/responses/303: Missing required property: description
    #/paths/~1subscriptions/post/responses/303: Missing required property: $ref

1 error and 0 warnings

--- Validation done (1).
-- Will validate: ./SOL003/VirtualisedResourcesQuotaAvailableNotificationNotification/VirtualisedResourcesQuotaAvailableNotificationNotification.yaml (api: VirtualisedResourcesQuotaAvailableNotificationNotification) (deliverable:SOL003)
--- Merging file.
--- Create PDF...
--- Validating ../build/SOL003-VirtualisedResourcesQuotaAvailableNotificationNotification-API.yaml
--- Validation done (0).
-- Final validator returns 1.
No Gerrit change information found. Exiting