Started by user Jose Angel Fernandez Replayed #15 Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/Damm WebApp Pipeline [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Cloning Git) [Pipeline] git using credential github-repo > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/jangelfdez/webapp.git # timeout=10 Fetching upstream changes from https://github.com/jangelfdez/webapp.git > git --version # timeout=10 using GIT_ASKPASS to set credentials > git fetch --tags --progress -- https://github.com/jangelfdez/webapp.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision fd6908b45d903b4c8a31d7b1ae8052c22eecbb6b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f fd6908b45d903b4c8a31d7b1ae8052c22eecbb6b # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master fd6908b45d903b4c8a31d7b1ae8052c22eecbb6b # timeout=10 Commit message: "Update index.html" > git rev-list --no-walk 6b8d7f023d718ec3d0feaa965030c0badd376cc7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build the image) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker build -t xxxxwebapp.azurecr.io/xxxx-web:16 dev Sending build context to Docker daemon 3.072kB Step 1/2 : FROM nginx ---> 4392e5dad77d Step 2/2 : COPY index.html /usr/share/nginx/html ---> 0e0c687ed825 Successfully built 0e0c687ed825 Successfully tagged xxxxwebapp.azurecr.io/xxxx-web:16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Push the image) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u f0240738-f269-46e0-9da8-86b2a926790d -p ******** https://xxxxwebapp.azurecr.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Damm WebApp Pipeline@tmp/ab90a930-a626-4571-a03d-c0641d24dbf3/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker tag xxxxwebapp.azurecr.io/xxxx-web:16 xxxxwebapp.azurecr.io/xxxx-web:16 [Pipeline] isUnix [Pipeline] sh + docker push xxxxwebapp.azurecr.io/xxxx-web:16 The push refers to repository [xxxxwebapp.azurecr.io/xxxx-web] 983161de689a: Preparing 787328500ad5: Preparing 077ae58ac205: Preparing 8c7fd6263c1f: Preparing d9c0b16c8d5b: Preparing ffc9b21953f4: Preparing ffc9b21953f4: Waiting d9c0b16c8d5b: Layer already exists ffc9b21953f4: Layer already exists 8c7fd6263c1f: Layer already exists 077ae58ac205: Layer already exists 787328500ad5: Layer already exists 983161de689a: Pushed 16: digest: sha256:a550ec20a2a55dd6d6c673517cac08301a0d48cec36b0f076e29de6320b15654 size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Remove Unused docker image) [Pipeline] sh + docker rmi xxxxwebapp.azurecr.io/xxxx-web:16 Untagged: xxxxwebapp.azurecr.io/xxxx-web:16 Untagged: xxxxwebapp.azurecr.io/xxxx-web@sha256:a550ec20a2a55dd6d6c673517cac08301a0d48cec36b0f076e29de6320b15654 Deleted: sha256:0e0c687ed825c65a80a05a1eb59eca9a982a7a152c5b30ef5ba2a89febe41491 Deleted: sha256:7b035723e32d9210c5e4af62e6a76e10efe5838e62e464cb9ccfce1b51c67e5e [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy docker image in Web App for Containers on Azure) [Pipeline] step Starting Azure Web App Deployment Updating configuration of Azure app service `xxxx-webapp`, with new docker image xxxxwebapp.azurecr.io/xxxx-web:16. ERROR: Fails in updating Azure app serviceipSecurityRestrictions.ipAddress is required and cannot be null. java.lang.IllegalArgumentException: ipSecurityRestrictions.ipAddress is required and cannot be null. at com.microsoft.rest.Validator.validateClass(Validator.java:120) at com.microsoft.rest.Validator.validate(Validator.java:64) at com.microsoft.azure.management.appservice.implementation.WebAppsInner.createOrUpdateConfigurationWithServiceResponseAsync(WebAppsInner.java:5737) at com.microsoft.azure.management.appservice.implementation.WebAppsInner.createOrUpdateConfigurationAsync(WebAppsInner.java:5703) at com.microsoft.azure.management.appservice.implementation.AppServiceBaseImpl.createOrUpdateSiteConfig(AppServiceBaseImpl.java:76) at com.microsoft.azure.management.appservice.implementation.WebAppBaseImpl.submitSiteConfig(WebAppBaseImpl.java:918) at com.microsoft.azure.management.appservice.implementation.WebAppBaseImpl$8.call(WebAppBaseImpl.java:748) at com.microsoft.azure.management.appservice.implementation.WebAppBaseImpl$8.call(WebAppBaseImpl.java:745) at com.microsoft.azure.management.resources.fluentcore.dag.IndexableTaskItem$1.invokeTaskAsync(IndexableTaskItem.java:69) at com.microsoft.azure.management.resources.fluentcore.dag.IndexableTaskItem.invokeAsync(IndexableTaskItem.java:252) at com.microsoft.azure.management.resources.fluentcore.dag.TaskGroupEntry.invokeTaskAsync(TaskGroupEntry.java:112) at com.microsoft.azure.management.resources.fluentcore.dag.TaskGroup$2.call(TaskGroup.java:395) at com.microsoft.azure.management.resources.fluentcore.dag.TaskGroup$2.call(TaskGroup.java:381) at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46) at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:248) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:148) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.fastPath(OnSubscribeFromIterable.java:173) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:86) at rx.Subscriber.setProducer(Subscriber.java:211) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:63) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:34) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:248) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:148) at rx.internal.operators.OperatorMapNotification$MapNotificationSubscriber.tryEmit(OperatorMapNotification.java:152) at rx.internal.operators.OperatorMapNotification$MapNotificationSubscriber.onCompleted(OperatorMapNotification.java:121) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onCompleted(OnSubscribeDoOnEach.java:70) at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.onCompleted(OperatorSubscribeOn.java:89) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.producers.SingleProducer.request(SingleProducer.java:75) at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber$1.request(OperatorSubscribeOn.java:109) at rx.internal.operators.OperatorMapNotification$MapNotificationSubscriber.setProducer(OperatorMapNotification.java:136) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.Subscriber.setProducer(Subscriber.java:205) at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.setProducer(OperatorSubscribeOn.java:105) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:110) at rx.internal.operators.DeferredScalarSubscriber.complete(DeferredScalarSubscriber.java:102) at rx.internal.operators.OnSubscribeTakeLastOne$TakeLastOneSubscriber.onCompleted(OnSubscribeTakeLastOne.java:57) at rx.internal.operators.OperatorMerge$MergeSubscriber.emitLoop(OperatorMerge.java:656) at rx.internal.operators.OperatorMerge$MergeSubscriber.emit(OperatorMerge.java:568) at rx.internal.operators.OperatorMerge$MergeSubscriber.onCompleted(OperatorMerge.java:281) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at rx.internal.producers.SingleProducer.request(SingleProducer.java:75) at rx.Subscriber.setProducer(Subscriber.java:211) at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.SingleLiftObservableOperator$WrapSubscriberIntoSingle.onSuccess(SingleLiftObservableOperator.java:76) at rx.internal.operators.OnSubscribeSingle$1.onCompleted(OnSubscribeSingle.java:55) at rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97) at retrofit2.adapter.rxjava.CallArbiter.deliverResponse(CallArbiter.java:144) at retrofit2.adapter.rxjava.CallArbiter.emitResponse(CallArbiter.java:102) at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:46) at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:24) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81) at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.DeferredScalarSubscriber.subscribeTo(DeferredScalarSubscriber.java:153) at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:32) at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:22) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10327) at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100) at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230) at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: Azure Web App deployment failed. Finished: FAILURE