microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.5k stars 2.61k forks source link

Azure App Service Deploy: Internal server errror 500 #7161

Closed AlexanderParadeis closed 6 years ago

AlexanderParadeis commented 6 years ago

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Environment

Issue Description

Everytime i run the task "App Service Deploy" - i got this error. The task doesnt fail if i use a hosted windows agent, but on Linux it fails.

Error logs

poll/myagent/_work/r4/a

[debug]AppSettings=null

[debug]AppSettings=null

[debug]ImageSource=Registry

[debug]DockerNamespace=null

[debug]StartupCommand=null

[debug]WebAppUri=null

[debug]ConfigurationSettings=null

[debug]ResourceGroupName=pinpollwebapp

[debug]SlotName=staging

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 data subscriptionid = afe92372-902f-43d5-9c9a-ac09a7192a26

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 data subscriptionname = Microsoft Azure Sponsorship

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 auth param serviceprincipalid = ****

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 auth param serviceprincipalkey = ****

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 data environmentAuthorityUrl = https://login.windows.net/

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 auth param tenantid = ****

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356=https://management.azure.com/

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 data environment = AzureCloud

[debug]23e6bad9-b655-4f0d-9ef2-757bc0ea3356 data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/

Got connection details for Azure App Service:'pinpolltest'

[debug]Resource Group: pinpollwebapp

[debug][POST]https://login.windows.net/********/oauth2/token/

[debug][POST]https://management.azure.com/subscriptions/afe92372-902f-43d5-9c9a-ac09a7192a26/resourceGroups/pinpollwebapp/providers/Microsoft.Web/sites/pinpolltest/slots/staging/publishxml?api-version=2016-08-01

[debug][GET]http://pinpolltest-staging.azurewebsites.net

[debug]App Service status Code: '301'. Status Message: 'Moved Permanently'

[debug][POST]https://management.azure.com/subscriptions/afe92372-902f-43d5-9c9a-ac09a7192a26/resourceGroups/pinpollwebapp/providers/Microsoft.Web/sites/pinpolltest/slots/staging/config/publishingcredentials/list?api-version=2016-08-01

[debug]set AZURE_APP_SERVICE_KUDU_staging_PASSWORD=****

[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_staging_PASSWORD;issecret=true;]****

[debug]Finding files matching input: /home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/*.zip

[debug]Matching glob pattern: /home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/*.zip

[debug]Index of first wildcard: 78

[debug]find root dir: /home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/

[debug]findPath: '/home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/'

[debug]findOptions.followSpecifiedSymbolicLink: 'true'

[debug]findOptions.followSymbolicLinks: 'true'

[debug]/home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/ (directory)

[debug]/home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/1852.zip (file)

[debug]2 results

[debug]patternRoot: ''

[debug]matchOptions.debug: 'undefined'

[debug]matchOptions.nobrace: 'undefined'

[debug]matchOptions.noglobstar: 'undefined'

[debug]matchOptions.dot: 'undefined'

[debug]matchOptions.noext: 'undefined'

[debug]matchOptions.nocase: 'false'

[debug]matchOptions.nonull: 'undefined'

[debug]matchOptions.matchBase: 'true'

[debug]matchOptions.nocomment: 'undefined'

[debug]matchOptions.nonegate: 'undefined'

[debug]matchOptions.flipNegate: 'undefined'

[debug]pattern: '/home/pinpoll/myagent/_work/r4/a/Pinpollcom Test Branch Build/pinpollcomfiles/*.zip'

[debug]expanding braces

[debug]applying include pattern against original list

[debug]1 matches

[debug]1 final results

[debug][GET]https://management.azure.com/subscriptions/afe92372-902f-43d5-9c9a-ac09a7192a26/resourceGroups/pinpollwebapp/providers/Microsoft.Web/sites/pinpolltest/slots/staging/config/web?api-version=2016-08-01

[debug]Virtual Application Map: Physical path: 'site\wwwroot'. Virtual path: '/deploymentpath'.

[debug][GET]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/

[debug]listFiles. Data: {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"12068","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"8e68906c-fb9e-4aa8-9dd7-07297917b8b2","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=b42003c253a6ee92c124bdfad0b2db83fb2ef9906588018364ce2390be8fbedb;Path=/;HttpOnly;Domain=pinpolltest-staging.scm.azurewebsites.net"],"date":"Tue, 08 May 2018 13:16:03 GMT","connection":"close"},"body":[{"name":".babelrc","size":247,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-03-16T09:46:06.5532197+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.babelrc","path":"D:\\home\\site\\wwwroot\\.babelrc"},{"name":".deployment","size":30,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-03-28T13:39:57.4053193+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.deployment","path":"D:\\home\\site\\wwwroot\\.deployment"},{"name":".env","size":2631,"mtime":"2018-05-08T05:15:42.7698378+00:00","crtime":"2018-05-08T05:15:35.7355688+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.env","path":"D:\\home\\site\\wwwroot\\.env"},{"name":".env.example","size":2214,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:37.6680739+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.env.example","path":"D:\\home\\site\\wwwroot\\.env.example"},{"name":".eslintignore","size":294,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-03-16T09:46:06.5688565+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.eslintignore","path":"D:\\home\\site\\wwwroot\\.eslintignore"},{"name":".eslintrc.json","size":860,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-12-20T10:13:17.6756488+00:00","mime":"application/json","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.eslintrc.json","path":"D:\\home\\site\\wwwroot\\.eslintrc.json"},{"name":".gitattributes","size":61,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:37.6680739+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.gitattributes","path":"D:\\home\\site\\wwwroot\\.gitattributes"},{"name":".gitignore","size":862,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:37.6837209+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.gitignore","path":"D:\\home\\site\\wwwroot\\.gitignore"},{"name":".jshintignore","size":13,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-03-28T13:39:57.6084567+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.jshintignore","path":"D:\\home\\site\\wwwroot\\.jshintignore"},{"name":".jshintrc","size":228,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:37.6837209+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.jshintrc","path":"D:\\home\\site\\wwwroot\\.jshintrc"},{"name":".jslintignore","size":310,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-12-20T10:13:17.6912724+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.jslintignore","path":"D:\\home\\site\\wwwroot\\.jslintignore"},{"name":".npmignore","size":0,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:37.6993424+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.npmignore","path":"D:\\home\\site\\wwwroot\\.npmignore"},{"name":".stylelintignore","size":178,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-12-20T10:13:17.7069216+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.stylelintignore","path":"D:\\home\\site\\wwwroot\\.stylelintignore"},{"name":".stylelintrc","size":601,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-12-20T10:13:17.7225234+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.stylelintrc","path":"D:\\home\\site\\wwwroot\\.stylelintrc"},{"name":".tempexecution.sh","size":26,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-03-28T13:39:57.9365609+00:00","mime":"application/x-sh","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/.tempexecution.sh","path":"D:\\home\\site\\wwwroot\\.tempexecution.sh"},{"name":"app","size":0,"mtime":"2018-01-02T13:10:17.1819464+00:00","crtime":"2017-08-10T10:56:37.9040686+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/app/","path":"D:\\home\\site\\wwwroot\\app"},{"name":"App_Data","size":0,"mtime":"2017-08-10T10:56:41.0261779+00:00","crtime":"2017-08-10T10:56:41.0261779+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/App_Data/","path":"D:\\home\\site\\wwwroot\\App_Data"},{"name":"app_offline.htm","size":32,"mtime":"2018-05-08T13:09:19.8651003+00:00","crtime":"2018-05-08T13:05:50.856532+00:00","mime":"text/html","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/app_offline.htm","path":"D:\\home\\site\\wwwroot\\app_offline.htm"},{"name":"artisan","size":1646,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:44.3937203+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/artisan","path":"D:\\home\\site\\wwwroot\\artisan"},{"name":"AzCopy","size":0,"mtime":"2017-08-10T10:56:46.1960381+00:00","crtime":"2017-08-10T10:56:44.3937203+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/AzCopy/","path":"D:\\home\\site\\wwwroot\\AzCopy"},{"name":"bin","size":0,"mtime":"2018-05-08T06:01:41.4554779+00:00","crtime":"2017-08-10T10:56:46.2116566+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/bin/","path":"D:\\home\\site\\wwwroot\\bin"},{"name":"bootstrap","size":0,"mtime":"2017-08-10T10:56:46.493217+00:00","crtime":"2017-08-10T10:56:46.4775922+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/bootstrap/","path":"D:\\home\\site\\wwwroot\\bootstrap"},{"name":"composer.json","size":3244,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:46.5568785+00:00","mime":"application/json","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/composer.json","path":"D:\\home\\site\\wwwroot\\composer.json"},{"name":"composer.lock","size":299927,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:46.5568785+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/composer.lock","path":"D:\\home\\site\\wwwroot\\composer.lock"},{"name":"config","size":0,"mtime":"2017-12-20T10:13:19.1205121+00:00","crtime":"2017-08-10T10:56:46.6818365+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/config/","path":"D:\\home\\site\\wwwroot\\config"},{"name":"database","size":0,"mtime":"2018-03-15T16:38:26.5363668+00:00","crtime":"2017-08-10T10:56:46.932579+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/database/","path":"D:\\home\\site\\wwwroot\\database"},{"name":"deploy.cmd","size":4738,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2018-05-02T10:34:17.645262+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/deploy.cmd","path":"D:\\home\\site\\wwwroot\\deploy.cmd"},{"name":"gulpfile.js","size":19412,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:52.2000726+00:00","mime":"application/javascript","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/gulpfile.js","path":"D:\\home\\site\\wwwroot\\gulpfile.js"},{"name":"jwt","size":0,"mtime":"2017-08-10T10:56:52.2163978+00:00","crtime":"2017-08-10T10:56:52.2163978+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/jwt/","path":"D:\\home\\site\\wwwroot\\jwt"},{"name":"package-lock.json","size":988497,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-09-01T10:44:52.026129+00:00","mime":"application/json","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/package-lock.json","path":"D:\\home\\site\\wwwroot\\package-lock.json"},{"name":"package.json","size":2306,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:52.2320245+00:00","mime":"application/json","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/package.json","path":"D:\\home\\site\\wwwroot\\package.json"},{"name":"phpcs.xml","size":776,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:52.2320245+00:00","mime":"text/xml","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/phpcs.xml","path":"D:\\home\\site\\wwwroot\\phpcs.xml"},{"name":"phpspec.yml","size":87,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:52.2476643+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/phpspec.yml","path":"D:\\home\\site\\wwwroot\\phpspec.yml"},{"name":"phpunit.xml","size":2467,"mtime":"2018-05-08T12:29:16+00:00","crtime":"2017-08-10T10:56:52.2632868+00:00","mime":"text/xml","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/phpunit.xml","path":"D:\\home\\site\\wwwroot\\phpunit.xml"},{"name":"public","size":0,"mtime":"2018-05-02T10:30:38.6628443+00:00","crtime":"2017-08-10T10:56:52.2632868+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/public/","path":"D:\\home\\site\\wwwroot\\public"},{"name":"readme.md","size":297,"mtime":"2018-05-08T12:29:18+00:00","crtime":"2017-10-16T08:23:27.4069771+00:00","mime":"text/plain","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/readme.md","path":"D:\\home\\site\\wwwroot\\readme.md"},{"name":"resources","size":0,"mtime":"2017-08-10T10:57:12.799229+00:00","crtime":"2017-08-10T10:57:06.0517014+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/resources/","path":"D:\\home\\site\\wwwroot\\resources"},{"name":"server.php","size":567,"mtime":"2018-05-08T12:29:18+00:00","crtime":"2017-08-10T10:57:14.4317805+00:00","mime":"application/octet-stream","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/server.php","path":"D:\\home\\site\\wwwroot\\server.php"},{"name":"storage","size":0,"mtime":"2018-05-02T10:32:10.1304846+00:00","crtime":"2017-08-10T10:57:14.4473996+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/storage/","path":"D:\\home\\site\\wwwroot\\storage"},{"name":"tmp","size":0,"mtime":"2018-03-28T13:40:47.2862095+00:00","crtime":"2018-03-28T13:40:47.2862095+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/tmp/","path":"D:\\home\\site\\wwwroot\\tmp"},{"name":"uploads","size":0,"mtime":"2018-05-02T10:32:18.2816243+00:00","crtime":"2017-08-10T10:57:48.9373563+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/uploads/","path":"D:\\home\\site\\wwwroot\\uploads"},{"name":"vendor","size":0,"mtime":"2018-04-24T11:38:36.14+00:00","crtime":"2017-08-10T10:57:48.9685862+00:00","mime":"inode/directory","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/vendor/","path":"D:\\home\\site\\wwwroot\\vendor"},{"name":"webpack.mix.js","size":659,"mtime":"2018-05-08T12:29:34+00:00","crtime":"2018-03-16T09:46:06.8501194+00:00","mime":"application/javascript","href":"https://pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/webpack.mix.js","path":"D:\\home\\site\\wwwroot\\webpack.mix.js"}]}

[debug]File Tranformation not enabled

[debug]Initiated deployment via kudu service for webapp package :

[debug]Trying to enable app offline mode.

[debug]AGENT.TEMPDIRECTORY=/home/pinpoll/myagent/_work/_temp

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/vfs/site/wwwroot/app_offline.htm

[debug]uploadFile. Data: {"statusCode":204,"statusMessage":"No Content","headers":{"cache-control":"no-cache","pragma":"no-cache","expires":"-1","last-modified":"Tue, 08 May 2018 13:16:03 GMT","etag":"\"56feb8d9e5b4d508\"","server":"Microsoft-IIS/10.0","x-ms-request-id":"14439477-3019-465e-8ae9-b1a028f77dce","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=b42003c253a6ee92c124bdfad0b2db83fb2ef9906588018364ce2390be8fbedb;Path=/;HttpOnly;Domain=pinpolltest-staging.scm.azurewebsites.net"],"date":"Tue, 08 May 2018 13:16:03 GMT","connection":"close"}}

[debug]App Offline mode enabled.

[debug]Wait for 10 seconds for app_offline to take effect

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'.

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/zip/site/wwwroot/

[debug]extractZIP. Data: {"statusCode":500,"statusMessage":"Internal Server Error","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"4712","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"218604a8-01f3-4f8d-9049-f007b2bea824","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=b42003c253a6ee92c124bdfad0b2db83fb2ef9906588018364ce2390be8fbedb;Path=/;HttpOnly;Domain=pinpolltest-staging.scm.azurewebsites.net"],"date":"Tue, 08 May 2018 13:18:39 GMT","connection":"close"},"body":{"Message":"An error has occurred.","ExceptionMessage":"Specified argument was out of the range of valid values.\r\nParameter name: offset","ExceptionType":"System.ArgumentOutOfRangeException","StackTrace":" at System.Web.HttpInputStream.Seek(Int64 offset, SeekOrigin origin)\r\n at System.Web.Http.WebHost.SeekableBufferedRequestStream.Seek(Int64 offset, SeekOrigin origin)\r\n at System.Net.Http.DelegatingStream.Seek(Int64 offset, SeekOrigin origin)\r\n at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()\r\n at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)\r\n at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding)\r\n at Kudu.Services.Zip.ZipController.d3.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Services\Zip\ZipController.cs:line 66\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Threading.Tasks.TaskHelpersExtensions.d3`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Controllers.ExceptionFilterResult.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"}}

[error]Failed to deploy web package to App Service.

[debug]Processed: ##vso[task.issue type=error;]Failed to deploy web package to App Service.

[debug]task result: Failed

[error]Error: Error: Failed to deploy App Service package using kudu service : Internal Server Error (CODE: 500)

[debug]Processed: ##vso[task.issue type=error;]Error: Error: Failed to deploy App Service package using kudu service : Internal Server Error (CODE: 500)

[debug]Processed: ##vso[task.complete result=Failed;]Error: Error: Failed to deploy App Service package using kudu service : Internal Server Error (CODE: 500)

[debug]Application Insights is not configured for the App Service. Skipping adding release annotation.

[debug]build.sourceVersionAuthor=undefined

[debug]build.requestedfor=Alexander Paradeis

[debug]build.buildUri=vstfs:///Build/Build/1852

[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/327

[debug]build.buildId=1852

[debug]release.releaseId=327

[debug]build.buildNumber=20180508.1

[debug]release.releaseName=Release-58

[debug]system.TeamFoundationCollectionUri=https://pinpoll.visualstudio.com/

[debug]system.teamProjectId=9fbb2653-491c-42b0-b507-d4b69fce6fe3

[debug]build.sourceVersion=f33a139014664d42e09a64fb74a0ccd7a9f4a2f4

[debug]build.repository.name=pinpollcom

[debug]build.repository.provider=TfsGit

[debug]build.buildUri=vstfs:///Build/Build/1852

[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/327

[debug]build.buildId=1852

[debug]release.releaseId=327

[debug]build.buildNumber=20180508.1

[debug]release.releaseName=Release-58

[debug]system.TeamFoundationCollectionUri=https://pinpoll.visualstudio.com/

[debug]system.teamProjectId=9fbb2653-491c-42b0-b507-d4b69fce6fe3

[debug]build.sourceVersion=f33a139014664d42e09a64fb74a0ccd7a9f4a2f4

[debug]build.repository.name=pinpollcom

[debug]build.repository.provider=TfsGit

[debug][PUT]https://$pinpolltest__staging:********@pinpolltest-staging.scm.azurewebsites.net/api/deployments/3271525785519939

[debug]updateDeployment. Data: {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"962","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"98296275-850e-48a5-b89b-ba814ddbcb0e","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=b42003c253a6ee92c124bdfad0b2db83fb2ef9906588018364ce2390be8fbedb;Path=/;HttpOnly;Domain=pinpolltest-staging.scm.azurewebsites.net"],"date":"Tue, 08 May 2018 13:18:41 GMT","connection":"close"},"body":{"id":"3271525785519939","status":3,"status_text":null,"author_email":null,"author":"Alexander Paradeis","deployer":"VSTS","message":"{\"type\":\"Deployment\",\"commitId\":\"f33a139014664d42e09a64fb74a0ccd7a9f4a2f4\",\"buildId\":\"1852\",\"releaseId\":\"327\",\"buildNumber\":\"20180508.1\",\"releaseName\":\"Release-58\",\"repoProvider\":\"TfsGit\",\"repoName\":\"pinpollcom\",\"collectionUrl\":\"https://pinpoll.visualstudio.com/\",\"teamProject\":\"9fbb2653-491c-42b0-b507-d4b69fce6fe3\",\"slotName\":\"staging\"}","progress":null,"received_time":"0001-01-01T00:00:00","start_time":"2018-05-08T13:18:41.7404916Z","end_time":"2018-05-08T13:18:41.7404916Z","last_success_end_time":null,"complete":false,"active":false,"is_temp":false,"is_readonly":false,"url":"https://pinpolltest-staging.scm.azurewebsites.net/api/deployments/3271525785519939","log_url":"https://pinpolltest-staging.scm.azurewebsites.net/api/deployments/3271525785519939/log","site_name":null}}

vincent1173 commented 6 years ago

@AlexanderParadeis , thanks for reporting the issue. Currently, we are in process of replacing the kudu ZIP VFS API to ZIP Deploy or Run-From-Zip feature. Since, the deployment is green with Windows Hosted agent, Please do use the same as workaround as of now. Will update the thread once the alternatives are available.

vincent1173 commented 6 years ago

@AlexanderParadeis , the issue is fixed and the fix will be available in upcoming deployment.

AlexanderParadeis commented 6 years ago

Thank you very much @vincentdass , great to hear that. Do you know when the next deployment is scheduled?

vincent1173 commented 6 years ago

@AlexanderParadeis , the deployment should commence in ~4-5 weeks.

mb345345 commented 6 years ago

Hi, have just seen this same issue today on a West Europe app service. Do you know if this will be fixed soon?

mb345345 commented 6 years ago

Fixed this - we upgraded the build template from 3.0 to 4.0 (Preview) and enter all the field details. When we ran it next, it worked fine :)

AjeetChouksey-zz commented 6 years ago

Today, I am facing same issue in West Europe region

Ajay-MS commented 6 years ago

@AjeetChouksey

Can you please share debug logs. Debug logs can be enabled adding release definition variable system.debug with value true.

EsaHeikkiPoutanen commented 5 years ago

I'm facing this same issue at the moment, what do do ? Here's the log: 019-08-12T11:44:57.2392445Z ##[debug]Evaluating condition for step: 'Azure App Service Deploy: Azure-Dev-Function-app' 2019-08-12T11:44:57.2393353Z ##[debug]Evaluating: succeeded() 2019-08-12T11:44:57.2393499Z ##[debug]Evaluating succeeded: 2019-08-12T11:44:57.2393871Z ##[debug]=> True 2019-08-12T11:44:57.2394120Z ##[debug]Result: True 2019-08-12T11:44:57.2394351Z ##[section]Starting: Azure App Service Deploy: Azure-Dev-Function-app 2019-08-12T11:44:57.2501337Z ============================================================================== 2019-08-12T11:44:57.2501450Z Task : Azure App Service deploy 2019-08-12T11:44:57.2501532Z Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby 2019-08-12T11:44:57.2501595Z Version : 4.156.3 2019-08-12T11:44:57.2501656Z Author : Microsoft Corporation 2019-08-12T11:44:57.2501719Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment 2019-08-12T11:44:57.2501819Z ============================================================================== 2019-08-12T11:44:57.4802111Z ##[debug]agent.TempDirectory=D:\a_temp 2019-08-12T11:44:57.4831899Z ##[debug]loading inputs and endpoints 2019-08-12T11:44:57.4839339Z ##[debug]loading ENDPOINT_AUTH_0b5724f0-c0d2-421d-83ef-5a8855cc4016 2019-08-12T11:44:57.4852507Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_0b5724f0-c0d2-421d-83ef-5a8855cc4016_AUTHENTICATIONTYPE 2019-08-12T11:44:57.4857099Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_0b5724f0-c0d2-421d-83ef-5a8855cc4016_SERVICEPRINCIPALID 2019-08-12T11:44:57.4859313Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_0b5724f0-c0d2-421d-83ef-5a8855cc4016_SERVICEPRINCIPALKEY 2019-08-12T11:44:57.4861267Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_0b5724f0-c0d2-421d-83ef-5a8855cc4016_TENANTID 2019-08-12T11:44:57.4863141Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2019-08-12T11:44:57.4865244Z ##[debug]loading ENDPOINT_AUTH_SCHEME_0b5724f0-c0d2-421d-83ef-5a8855cc4016 2019-08-12T11:44:57.4867475Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2019-08-12T11:44:57.4869332Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2019-08-12T11:44:57.4873885Z ##[debug]loading INPUT_ADDITIONALARGUMENTS 2019-08-12T11:44:57.4876190Z ##[debug]loading INPUT_CONNECTEDSERVICENAME 2019-08-12T11:44:57.4878232Z ##[debug]loading INPUT_CONNECTIONTYPE 2019-08-12T11:44:57.4880059Z ##[debug]loading INPUT_DEPLOYMENTTYPE 2019-08-12T11:44:57.4882291Z ##[debug]loading INPUT_DEPLOYTOSLOTORASEFLAG 2019-08-12T11:44:57.4884429Z ##[debug]loading INPUT_EXCLUDEFILESFROMAPPDATAFLAG 2019-08-12T11:44:57.4886229Z ##[debug]loading INPUT_INLINESCRIPT 2019-08-12T11:44:57.4888718Z ##[debug]loading INPUT_PACKAGE 2019-08-12T11:44:57.4890663Z ##[debug]loading INPUT_PUBLISHPROFILEPATH 2019-08-12T11:44:57.4892432Z ##[debug]loading INPUT_REMOVEADDITIONALFILESFLAG 2019-08-12T11:44:57.4894414Z ##[debug]loading INPUT_RENAMEFILESFLAG 2019-08-12T11:44:57.4897037Z ##[debug]loading INPUT_SCRIPTPATH 2019-08-12T11:44:57.4899093Z ##[debug]loading INPUT_SETPARAMETERSFILE 2019-08-12T11:44:57.4901007Z ##[debug]loading INPUT_SLOTNAME 2019-08-12T11:44:57.4902871Z ##[debug]loading INPUT_TAKEAPPOFFLINEFLAG 2019-08-12T11:44:57.4904737Z ##[debug]loading INPUT_USEWEBDEPLOY 2019-08-12T11:44:57.4906617Z ##[debug]loading INPUT_WEBAPPKIND 2019-08-12T11:44:57.4909931Z ##[debug]loading INPUT_WEBAPPNAME 2019-08-12T11:44:57.4912171Z ##[debug]loading INPUT_XMLTRANSFORMATION 2019-08-12T11:44:57.4914961Z ##[debug]loading INPUT_XMLVARIABLESUBSTITUTION 2019-08-12T11:44:57.4930519Z ##[debug]loaded 29 2019-08-12T11:44:57.5014620Z ##[debug]Agent.ProxyUrl=undefined 2019-08-12T11:44:57.5016515Z ##[debug]Agent.CAInfo=undefined 2019-08-12T11:44:57.5016897Z ##[debug]Agent.ClientCert=undefined 2019-08-12T11:44:57.5017102Z ##[debug]Agent.SkipCertValidation=undefined 2019-08-12T11:44:57.7751378Z ##[debug]agent.proxyurl=undefined 2019-08-12T11:44:57.7752205Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined 2019-08-12T11:44:57.7754168Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_53d91676-25a7-4ca4-a890-3f9c6f22aad1_Release__30_30_2 2019-08-12T11:44:57.8741750Z ##[debug]Agent.TempDirectory=D:\a_temp 2019-08-12T11:44:57.8966977Z ##[debug]check path : D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\task.json 2019-08-12T11:44:57.8969107Z ##[debug]adding resource file: D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\task.json 2019-08-12T11:44:57.8969377Z ##[debug]system.culture=en-US 2019-08-12T11:44:57.9098599Z ##[debug]check path : D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\node_modules\azure-arm-rest-v2\module.json 2019-08-12T11:44:57.9099574Z ##[debug]adding resource file: D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\node_modules\azure-arm-rest-v2\module.json 2019-08-12T11:44:57.9099768Z ##[debug]system.culture=en-US 2019-08-12T11:44:57.9122455Z ##[debug]check path : D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\node_modules\webdeployment-common-v2\module.json 2019-08-12T11:44:57.9123483Z ##[debug]adding resource file: D:\a_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.156.3\node_modules\webdeployment-common-v2\module.json 2019-08-12T11:44:57.9123701Z ##[debug]system.culture=en-US 2019-08-12T11:44:57.9145095Z ##[debug]ConnectionType=AzureRM 2019-08-12T11:44:57.9148986Z ##[debug]WebAppKind=functionApp 2019-08-12T11:44:57.9152064Z ##[debug]DeployToSlotOrASEFlag=false 2019-08-12T11:44:57.9152904Z ##[debug]GenerateWebConfig=null 2019-08-12T11:44:57.9153177Z ##[debug]WebConfigParameters=null 2019-08-12T11:44:57.9155032Z ##[debug]XmlTransformation=false 2019-08-12T11:44:57.9156428Z ##[debug]JSONFiles=null 2019-08-12T11:44:57.9158688Z ##[debug]XmlVariableSubstitution=false 2019-08-12T11:44:57.9160178Z ##[debug]TakeAppOfflineFlag=true 2019-08-12T11:44:57.9161674Z ##[debug]RenameFilesFlag=true 2019-08-12T11:44:57.9163203Z ##[debug]AdditionalArguments=-retryAttempts:6 -retryInterval:10000 2019-08-12T11:44:57.9163375Z ##[debug]ScriptType=null 2019-08-12T11:44:57.9165144Z ##[debug]InlineScript=:: You can provide your deployment commands here. One command per line. 2019-08-12T11:44:57.9167584Z ##[debug]ScriptPath=D:\a\r1\a 2019-08-12T11:44:57.9167736Z ##[debug]DockerNamespace=null 2019-08-12T11:44:57.9168266Z ##[debug]AppSettings=null 2019-08-12T11:44:57.9168719Z ##[debug]StartupCommand=null 2019-08-12T11:44:57.9169446Z ##[debug]ConfigurationSettings=null 2019-08-12T11:44:57.9181680Z ##[debug]ConnectedServiceName=0b5724f0-c0d2-421d-83ef-5a8855cc4016 2019-08-12T11:44:57.9182276Z ##[debug]WebAppName=Azure-Dev-Function-app 2019-08-12T11:44:57.9282012Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureRmWebAppDeployment]{"endpointId":"0b5724f0-c0d2-421d-83ef-5a8855cc4016"} 2019-08-12T11:44:57.9282277Z ##[debug]Package=D:\a\r1\a_AzureFunctions-C# Function-CI\AzureFunctions\$AzureFunctions.zip 2019-08-12T11:44:57.9282427Z ##[debug]Finding files matching input: D:\a\r1\a_AzureFunctions-C# Function-CI\AzureFunctions\$AzureFunctions.zip 2019-08-12T11:44:57.9282564Z ##[debug]intially web config parameters :null 2019-08-12T11:44:57.9282675Z ##[debug]This is zip package 2019-08-12T11:44:57.9282772Z ##[debug]UseWebDeploy=false 2019-08-12T11:44:57.9282881Z ##[debug]Depolyment started for windows app service 2019-08-12T11:44:57.9282991Z ##[debug]Package type of deployment is: 1 2019-08-12T11:44:58.0280813Z ##[debug]Is the package an msdeploy package : false 2019-08-12T11:44:58.0283720Z ##[debug]release.releaseId=30 2019-08-12T11:44:58.0284082Z ##[debug]system.defaultworkingdirectory=D:\a\r1\a 2019-08-12T11:44:58.0287038Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.definitionId=2 2019-08-12T11:44:58.0287403Z ##[debug]Artifact alias of package is: _AzureFunctions-C# Function-CI 2019-08-12T11:44:58.0289346Z ##[debug]set Azure_App_Service_Deploy_PackageArtifactAlias=_AzureFunctions-C# Function-CI 2019-08-12T11:44:58.0291866Z ##[debug]Processed: ##vso[task.setvariable variable=Azure_App_Service_Deploy_PackageArtifactAlias;issecret=false;]_AzureFunctions-C# Function-CI 2019-08-12T11:44:58.0292980Z ##[debug]Predeployment Step Started 2019-08-12T11:44:58.0305341Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data subscriptionid = 28709fe6-5258-49fa-8fad-a306d4ea29fb 2019-08-12T11:44:58.0305706Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data subscriptionname = Pay-As-You-Go 2019-08-12T11:44:58.0309584Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 auth param serviceprincipalid = 2019-08-12T11:44:58.0309914Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data environmentAuthorityUrl = https://login.windows.net/ 2019-08-12T11:44:58.0311374Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 auth param tenantid = 2019-08-12T11:44:58.0312568Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016=https://management.azure.com/ 2019-08-12T11:44:58.0312880Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data environment = AzureCloud 2019-08-12T11:44:58.0315639Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 auth scheme = ServicePrincipal 2019-08-12T11:44:58.0316860Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data msiclientId = undefined 2019-08-12T11:44:58.0317296Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/ 2019-08-12T11:44:58.0317696Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net 2019-08-12T11:44:58.0318030Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data AzureKeyVaultDnsSuffix = vault.azure.net 2019-08-12T11:44:58.0318263Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data ScopeLevel = Subscription 2019-08-12T11:44:58.0320338Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 auth param authenticationType = 2019-08-12T11:44:58.0320481Z ##[debug]credentials spn endpoint 2019-08-12T11:44:58.0322124Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 auth param serviceprincipalkey = 2019-08-12T11:44:58.0322301Z ##[debug]0b5724f0-c0d2-421d-83ef-5a8855cc4016 data EnableAdfsAuthentication = false 2019-08-12T11:44:58.0328137Z ##[debug]{"subscriptionID":"28709fe6-5258-49fa-8fad-a306d4ea29fb","subscriptionName":"Pay-As-You-Go","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.windows.net/","tenantID":"","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription","authenticationType":"***","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"***","domain":"***","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.windows.net/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"***","secret":***,"isADFSEnabled":false}} 2019-08-12T11:44:58.0344232Z Got service connection details for Azure App Service:'Azure-Dev-Function-app' 2019-08-12T11:44:58.0384032Z ##[debug][POST]https://login.windows.net/***/oauth2/token/ 2019-08-12T11:44:58.1582874Z ##[debug][GET]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resources?$filter=resourceType EQ 'Microsoft.Web%2FSites' AND name EQ 'Azure-Dev-Function-app'&api-version=2016-07-01 2019-08-12T11:44:58.3587674Z ##[debug][GET]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resources?%24filter=resourceType+EQ+%27Microsoft.Web%2fSites%27+AND+name+EQ+%27Azure-Dev-Function-app%27&api-version=2016-07-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IU16bEdRak0tIiwibmV4dFJvd0tleSI6IjEhMjAwIU1qZzNNRGxHUlRZMU1qVTRORGxHUVRoR1FVUkJNekEyUkRSRlFUSTVSa0pmUjFKTUxWQlpVazlNVERveVJGSkZVMDlWVWtORlIxSlBWVkF0VFVsRFVrOVRUMFpVT2pKRlEwOU5VRlZVUlRveVJsWkpVbFJWUVV4TlFVTklTVTVGVXpveVJsQlpVazlNVERveVJFcENUMWd3TVRveVJrVllWRVZPVTBsUFRsTTZNa1pDUjBsT1JrOHRWMFZUVkVWVlVrOVFSUS0tIn0%3d 2019-08-12T11:44:58.6033828Z ##[debug][POST]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resourceGroups/Architecture-Dev-Resourcegroup/providers/Microsoft.Web/sites/Azure-Dev-Function-app/config/publishingcredentials/list?api-version=2016-08-01 2019-08-12T11:44:58.9307245Z ##[debug]set AZURE_APP_SERVICE_KUDU_production_PASSWORD=**** 2019-08-12T11:44:58.9311124Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_production_PASSWORD;issecret=true;] 2019-08-12T11:44:58.9313346Z ##[debug]Resource Group: Architecture-Dev-Resourcegroup 2019-08-12T11:44:58.9313553Z ##[debug]Deployment Step Started 2019-08-12T11:44:58.9452155Z ##[debug]Processed: ##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureWebAppDeployment]{"deploymentMethod":"Run from Package"} 2019-08-12T11:44:58.9455822Z ##[debug]WebConfigParameters is null 2019-08-12T11:44:58.9455989Z ##[debug]File Tranformation not enabled 2019-08-12T11:44:58.9456119Z ##[debug]Initiated deployment via kudu service for webapp package : 2019-08-12T11:44:58.9456213Z Updating App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"} 2019-08-12T11:44:58.9456359Z ##[debug][POST]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resourceGroups/Architecture-Dev-Resourcegroup/providers/Microsoft.Web/sites/Azure-Dev-Function-app/config/appsettings/list?api-version=2016-08-01 2019-08-12T11:44:59.1667816Z Updated App Service Application settings and Kudu Application settings. 2019-08-12T11:44:59.1673102Z ##[debug]warming up Kudu Service 2019-08-12T11:44:59.1682143Z ##[debug][GET]https://$Azure-Dev-Function-app:@azure-dev-function-app.scm.azurewebsites.net/api/settings 2019-08-12T11:44:59.7682736Z ##[debug]loaded affinity cookie ["ARRAffinity=9b67aa912ca77d7cfb1d3704bc2b3b3fd84e715e51cb14cc425fc6a3870d96b5;Path=/;HttpOnly;Domain=azure-dev-function-app.scm.azurewebsites.net"] 2019-08-12T11:44:59.7684094Z ##[debug]getAppSettings. Data: {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"2503","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"28dbccb9-2043-499a-bfec-f4f2c70ec2a6","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","set-cookie":["ARRAffinity=9b67aa912ca77d7cfb1d3704bc2b3b3fd84e715e51cb14cc425fc6a3870d96b5;Path=/;HttpOnly;Domain=azure-dev-function-app.scm.azurewebsites.net"],"date":"Mon, 12 Aug 2019 11:44:58 GMT","connection":"close"},"body":{"deployment_branch":"master","SCM_TRACE_LEVEL":"1","SCM_COMMAND_IDLE_TIMEOUT":"60","SCM_LOGSTREAM_TIMEOUT":"7200","SCM_BUILD_ARGS":"","aspnet:PortableCompilationOutput":"true","aspnet:PortableCompilationOutputSnapshotType":"Microsoft.Web.Compilation.Snapshots.SnapshotHelper, Microsoft.Web.Compilation.Snapshots, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","aspnet:DisableFcnDaclRead":"true","SCM_GIT_USERNAME":"windowsazure","SCM_GIT_EMAIL":"windowsazure","webpages:Version":"3.0.0.0","webpages:Enabled":"true","webactivator:assembliesToScan":"Kudu.Services.Web","CustomerDataDev":"Server=tcp:dev-architecture-most.database.windows.net,1433;Initial Catalog=customer;Persist Security Info=False;User ID=U10I7xIy7TSoX7uLaqgZ;Password=k63523mcO8@wDn2C:d]^!t}dZ1%?FC?cDsGj}]vmgLiThMis~Syl:0X#*3Tu1,jl;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;","WEBSITE_AUTH_TOKEN_STORE":"True","WEBSITE_SLOT_NAME":"Production","FUNCTIONS_EXTENSION_VERSION":"~2","ScmType":"VSO","WEBSITE_AUTH_ENABLED":"True","WEBSITE_RUN_FROM_PACKAGE":"1","REMOTEDEBUGGINGVERSION":"16.0.28729.10","FUNCTION_APP_EDIT_MODE":"readonly","APPINSIGHTS_INSTRUMENTATIONKEY":"c8fffa7b-47c0-4006-9dbf-080c52c5b0de","WEBSITE_AUTH_UNAUTHENTICATED_ACTION":"AllowAnonymous","CustomerData":"Server=tcp:most-test-customer-sql.database.windows.net,1433;Initial Catalog=Customer-Test-Database;Persist Security Info=False;User ID=PkhMPbNSv1IJj4y7UeG;Password=M7hZho0nYrpSbO2anPkCzgqFxznGR0SDQIA7m6MIP2iYzM73f2OzDfo3uiCOzOcR;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;","WEBSITE_AUTH_RUNTIME_VERSION":"1.0.0","WEBSITE_CONTENTAZUREFILECONNECTIONSTRING":"DefaultEndpointsProtocol=https;AccountName=architecturedevstorage;AccountKey=7NiLDO63U6PRscxFho+91syDd4OL2DTAQZe0zv5EBUubVwmT8T/7i4waN/4zp2IcsUv/g2ie/rq1RaowDcyWXQ==","WEBSITE_CONTENTSHARE":"azure-dev-function-app89bb","WEBSITE_AUTH_AUTO_AAD":"False","AzureWebJobsStorage":"DefaultEndpointsProtocol=https;AccountName=architecturedevstorage;AccountKey=7NiLDO63U6PRscxFho+91syDd4OL2DTAQZe0zv5EBUubVwmT8T/7i4waN/4zp2IcsUv/g2ie/rq1RaowDcyWXQ==","FUNCTIONS_WORKER_RUNTIME":"dotnet","WEBSITE_NODE_DEFAULT_VERSION":"8.11.1","WEBSITE_AUTH_LOGOUT_PATH":"/.auth/logout","WEBSITE_SITE_NAME":"Azure-Dev-Function-app","WEBSITE_AUTH_DEFAULT_PROVIDER":"AzureActiveDirectory","RepoUrl":"https://MOSTDigital@dev.azure.com/MOSTDigital/AzureFunctions/_git/AzureFunctions","branch":"Development"}} 2019-08-12T11:44:59.7686324Z ##[debug]warmed up Kudu Service 2019-08-12T11:44:59.7690708Z Package deployment using ZIP Deploy initiated. 2019-08-12T11:44:59.7699142Z ##[debug]Azure_App_Service_Deploy_PackageArtifactAlias=_AzureFunctions-C# Function-CI 2019-08-12T11:44:59.7712010Z ##[debug]release.releaseId=30 2019-08-12T11:44:59.7712150Z ##[debug]release.releaseName=Release-20 2019-08-12T11:44:59.7712278Z ##[debug]system.TeamFoundationCollectionUri=https://mostdigital.visualstudio.com/ 2019-08-12T11:44:59.7712421Z ##[debug]system.teamProjectId=2b76ce71-5098-40a4-9c50-b4d900e79c59 2019-08-12T11:44:59.7712525Z ##[debug]release.requestedfor=Esa Poutanen 2019-08-12T11:44:59.7712646Z ##[debug]Artifact Source Alias is: _AzureFunctions-C# Function-CI 2019-08-12T11:44:59.7712780Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.sourceVersion=02fbb9ce4ed251a0ea412bddb72007e46822b95b 2019-08-12T11:44:59.7712918Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.repository.provider=TfsGit 2019-08-12T11:44:59.7713048Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.repository.name=AzureFunctions 2019-08-12T11:44:59.7713179Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.sourcebranchname=Development 2019-08-12T11:44:59.7713305Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.type=Build 2019-08-12T11:44:59.7769155Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.buildId=61 2019-08-12T11:44:59.7770613Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.buildNumber=20190812.1 2019-08-12T11:44:59.7770776Z ##[debug]release.artifacts._AzureFunctions-C# Function-CI.projectId=2b76ce71-5098-40a4-9c50-b4d900e79c59 2019-08-12T11:44:59.7770908Z ##[debug]build.buildUri=vstfs:///Build/Build/61 2019-08-12T11:44:59.7771020Z ##[debug]release.releaseUri=vstfs:///ReleaseManagement/Release/30 2019-08-12T11:44:59.7771137Z ##[debug]build.buildId=61 2019-08-12T11:44:59.7771245Z ##[debug]release.releaseId=30 2019-08-12T11:44:59.7771357Z ##[debug]build.buildNumber=20190812.1 2019-08-12T11:44:59.7771471Z ##[debug]release.releaseName=Release-20 2019-08-12T11:44:59.7771594Z ##[debug]system.TeamFoundationCollectionUri=https://mostdigital.visualstudio.com/ 2019-08-12T11:44:59.7771708Z ##[debug]system.teamProjectId=2b76ce71-5098-40a4-9c50-b4d900e79c59 2019-08-12T11:44:59.7771834Z ##[debug]build.sourceVersion=02fbb9ce4ed251a0ea412bddb72007e46822b95b 2019-08-12T11:44:59.7771951Z ##[debug]build.repository.name=AzureFunctions 2019-08-12T11:44:59.7772058Z ##[debug]build.repository.provider=TfsGit 2019-08-12T11:44:59.7772171Z ##[debug]system.teamproject=AzureFunctions 2019-08-12T11:44:59.7780623Z ##[debug]setting affinity cookie ["ARRAffinity=9b67aa912ca77d7cfb1d3704bc2b3b3fd84e715e51cb14cc425fc6a3870d96b5;Path=/;HttpOnly;Domain=azure-dev-function-app.scm.azurewebsites.net"] 2019-08-12T11:44:59.7781124Z ##[debug][POST]https://$Azure-Dev-Function-app:***@azure-dev-function-app.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2202fbb9ce4ed251a0ea412bddb72007e46822b95b%22%2C%22buildId%22%3A%2261%22%2C%22releaseId%22%3A%2230%22%2C%22buildNumber%22%3A%2220190812.1%22%2C%22releaseName%22%3A%22Release-20%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22AzureFunctions%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F%22%2C%22teamProject%22%3A%222b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F2b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22Development%22%2C%22teamProjectName%22%3A%22AzureFunctions%22%2C%22slotName%22%3A%22production%22%7D 2019-08-12T11:45:03.5279654Z ##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'. 2019-08-12T11:45:05.5422755Z ##[debug][POST]https://$Azure-Dev-Function-app:***@azure-dev-function-app.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2202fbb9ce4ed251a0ea412bddb72007e46822b95b%22%2C%22buildId%22%3A%2261%22%2C%22releaseId%22%3A%2230%22%2C%22buildNumber%22%3A%2220190812.1%22%2C%22releaseName%22%3A%22Release-20%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22AzureFunctions%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F%22%2C%22teamProject%22%3A%222b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F2b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22Development%22%2C%22teamProjectName%22%3A%22AzureFunctions%22%2C%22slotName%22%3A%22production%22%7D 2019-08-12T11:45:10.4522629Z ##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'. 2019-08-12T11:45:16.4537131Z ##[debug][POST]https://$Azure-Dev-Function-app:***@azure-dev-function-app.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2202fbb9ce4ed251a0ea412bddb72007e46822b95b%22%2C%22buildId%22%3A%2261%22%2C%22releaseId%22%3A%2230%22%2C%22buildNumber%22%3A%2220190812.1%22%2C%22releaseName%22%3A%22Release-20%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22AzureFunctions%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F%22%2C%22teamProject%22%3A%222b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F2b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22Development%22%2C%22teamProjectName%22%3A%22AzureFunctions%22%2C%22slotName%22%3A%22production%22%7D 2019-08-12T11:45:22.6926280Z ##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'. 2019-08-12T11:45:36.7009511Z ##[debug][POST]https://$Azure-Dev-Function-app:***@azure-dev-function-app.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2202fbb9ce4ed251a0ea412bddb72007e46822b95b%22%2C%22buildId%22%3A%2261%22%2C%22releaseId%22%3A%2230%22%2C%22buildNumber%22%3A%2220190812.1%22%2C%22releaseName%22%3A%22Release-20%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22AzureFunctions%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F%22%2C%22teamProject%22%3A%222b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F2b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22Development%22%2C%22teamProjectName%22%3A%22AzureFunctions%22%2C%22slotName%22%3A%22production%22%7D 2019-08-12T11:45:40.9291886Z ##[debug]Encountered a retriable status code: 500. Message: 'Internal Server Error'. 2019-08-12T11:46:10.9417986Z ##[debug][POST]https://$Azure-Dev-Function-app:***@azure-dev-function-app.scm.azurewebsites.net/api/zipdeploy?deployer=VSTS&message=%7B%22type%22%3A%22deployment%22%2C%22commitId%22%3A%2202fbb9ce4ed251a0ea412bddb72007e46822b95b%22%2C%22buildId%22%3A%2261%22%2C%22releaseId%22%3A%2230%22%2C%22buildNumber%22%3A%2220190812.1%22%2C%22releaseName%22%3A%22Release-20%22%2C%22repoProvider%22%3A%22TfsGit%22%2C%22repoName%22%3A%22AzureFunctions%22%2C%22collectionUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F%22%2C%22teamProject%22%3A%222b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22buildProjectUrl%22%3A%22https%3A%2F%2Fmostdigital.visualstudio.com%2F2b76ce71-5098-40a4-9c50-b4d900e79c59%22%2C%22repositoryUrl%22%3A%22%22%2C%22branch%22%3A%22Development%22%2C%22teamProjectName%22%3A%22AzureFunctions%22%2C%22slotName%22%3A%22production%22%7D 2019-08-12T11:46:14.3125397Z ##[debug]ZIP Deploy response: {"statusCode":500,"statusMessage":"Internal Server Error","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"6724","content-type":"application/json; charset=utf-8","expires":"-1","server":"Microsoft-IIS/10.0","x-ms-request-id":"d6869313-88e3-49ce-8343-367e9a7ba66e","x-aspnet-version":"4.0.30319","x-powered-by":"ASP.NET","date":"Mon, 12 Aug 2019 11:46:13 GMT","connection":"close"},"body":{"Message":"An error has occurred.","ExceptionMessage":"ChangeSetId(Development) does not match 0cd897734e784db190010d023cfcbe04, 'master' or 'HEAD'","ExceptionType":"System.InvalidOperationException","StackTrace":" at Kudu.Core.SourceControl.NullRepository.GetChangeSet(String id) in C:\Kudu Files\Private\src\master\Kudu.Core\SourceControl\NullRepository.cs:line 73\r\n at Kudu.Core.Deployment.FetchDeploymentManager.d9.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 235\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Kudu.Core.Deployment.FetchDeploymentManager.<>cDisplayClass8_0.<b0>d.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 115\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Kudu.Contracts.Infrastructure.LockExtensions.d51.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Contracts\\Infrastructure\\LockExtensions.cs:line 100\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Kudu.Core.Deployment.FetchDeploymentManager.<FetchDeploy>d__8.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Deployment\\FetchDeploymentManager.cs:line 108\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n at Kudu.Services.Deployment.PushDeploymentController.<PushDeployAsync>d__12.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Services\\Deployment\\PushDeploymentController.cs:line 215\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Kudu.Services.Deployment.PushDeploymentController.<ZipPushDeploy>d__8.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Services\\Deployment\\PushDeploymentController.cs:line 89\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Controllers.ExceptionFilterResult.d0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"}} 2019-08-12T11:46:14.3196651Z ##[error]Failed to deploy web package to App Service. 2019-08-12T11:46:14.3204886Z ##[debug]Processed: ##vso[task.issue type=error;]Failed to deploy web package to App Service. 2019-08-12T11:46:14.3205228Z ##[debug]Deployment Failed with Error: Error: Error: Failed to deploy web package to App Service. Internal Server Error (CODE: 500) 2019-08-12T11:46:14.3205589Z ##[debug]task result: Failed 2019-08-12T11:46:14.3205887Z ##[error]Error: Error: Failed to deploy web package to App Service. Internal Server Error (CODE: 500) 2019-08-12T11:46:14.3206118Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Error: Failed to deploy web package to App Service. Internal Server Error (CODE: 500) 2019-08-12T11:46:14.3206792Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Error: Failed to deploy web package to App Service. Internal Server Error (CODE: 500) 2019-08-12T11:46:14.3206999Z ##[debug][GET]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/providers/microsoft.insights/components?$filter=InstrumentationKey eq 'c8fffa7b-47c0-4006-9dbf-080c52c5b0de'&api-version=2015-05-01 2019-08-12T11:46:14.7037902Z ##[debug]Release.ReleaseUri=vstfs:///ReleaseManagement/Release/30 2019-08-12T11:46:14.7038101Z ##[debug]Build.BuildUri=vstfs:///Build/Build/61 2019-08-12T11:46:14.7038232Z ##[debug]Release.DefinitionName=Esa's release pipeline (1) 2019-08-12T11:46:14.7038550Z ##[debug]Release.ReleaseName=Release-20 2019-08-12T11:46:14.7039644Z ##[debug]Build.BuildUri=vstfs:///Build/Build/61 2019-08-12T11:46:14.7040068Z ##[debug]Release.ReleaseWebUrl=https://mostdigital.visualstudio.com/2b76ce71-5098-40a4-9c50-b4d900e79c59/_release?releaseId=30&_a=release-summary 2019-08-12T11:46:14.7040351Z ##[debug]System.TeamFoundationCollectionUri=https://mostdigital.visualstudio.com/ 2019-08-12T11:46:14.7040655Z ##[debug]System.TeamProjectId=2b76ce71-5098-40a4-9c50-b4d900e79c59 2019-08-12T11:46:14.7040872Z ##[debug]build.buildId=61 2019-08-12T11:46:14.7049932Z ##[debug][PUT]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resourceGroups/Architecture-Dev-Resourcegroup/providers/microsoft.insights/components/Azure-Dev-Function-app/Annotations?api-version=2015-05-01 2019-08-12T11:46:16.9512392Z ##[debug]addReleaseAnnotation. Data : {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"368","content-type":"application/json; charset=utf-8","expires":"-1","x-ms-request-id":"4354e863-9b92-4a49-848f-8914baafa25e","x-content-type-options":"nosniff","request-context":"appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525","access-control-expose-headers":"Request-Context","strict-transport-security":"max-age=31536000; includeSubDomains","x-ms-ratelimit-remaining-subscription-writes":"1199","server":"Microsoft-IIS/10.0","x-powered-by":"ASP.NET","x-ms-correlation-request-id":"e44b4fc3-e31a-44e4-bd7d-74245fe47ffe","x-ms-routing-request-id":"NORTHEUROPE:20190812T114616Z:e44b4fc3-e31a-44e4-bd7d-74245fe47ffe","date":"Mon, 12 Aug 2019 11:46:16 GMT","connection":"close"},"body":[{"AnnotationName":"Esa's release pipeline (1) - Release-20","Id":"f31d365d-e37e-4893-a483-9caf9e275ae2","Category":"Text","Properties":"{\"Label\":\"Error\",\"Deployment Uri\":\"https://mostdigital.visualstudio.com/2b76ce71-5098-40a4-9c50-b4d900e79c59/_release?releaseId=30&_a=release-summary\"}","EventTime":"2019-08-12T11:46:14.697+00:00","RelatedAnnotation":null}]} 2019-08-12T11:46:16.9513929Z Successfully added release annotation to the Application Insight : Azure-Dev-Function-app 2019-08-12T11:46:16.9550491Z ##[debug][POST]https://management.azure.com/subscriptions/28709fe6-5258-49fa-8fad-a306d4ea29fb/resourceGroups/Architecture-Dev-Resourcegroup/providers/Microsoft.Web/sites/Azure-Dev-Function-app/publishxml?api-version=2016-08-01 2019-08-12T11:46:17.3541896Z ##[debug]Could not parse response: {} 2019-08-12T11:46:17.3542634Z ##[debug]Response: undefined 2019-08-12T11:46:17.3693257Z App Service Application URL: http://azure-dev-function-app.azurewebsites.net 2019-08-12T11:46:17.3693898Z ##[debug]set AppServiceApplicationUrl=http://azure-dev-function-app.azurewebsites.net 2019-08-12T11:46:17.3694682Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;issecret=false;]http://azure-dev-function-app.azurewebsites.net 2019-08-12T11:46:17.3694968Z ##[debug]Deployment failed 2019-08-12T11:46:17.3887682Z ##[section]Finishing: Azure App Service Deploy: Azure-Dev-Function-app