-
Bug
-
Resolution: Unresolved
-
Blocker
-
System Properties
Name Value
awt.toolkit sun.awt.X11.XToolkit
executable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version 52.0
java.endorsed.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-8-openjdk-amd64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_252-8u252-b09-1~18.04-b09
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Private Build
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_252
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Private Build
java.vm.version 25.252-b09
javax.accessibility.assistive_technologies org.GNOME.Accessibility.AtkWrapper
jetty.git.hash a304fd9f351f337e7c0e2a7c28878dd536149c6c
jna.loaded true
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
jnidispatch.path /var/lib/jenkins/.cache/JNA/temp/jna226855943762878678.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 5.3.0-1022-azure
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone Etc/UTC
Environment Variables
Name Value
_ /usr/bin/daemon
HOME /var/lib/jenkins
JENKINS_HOME /var/lib/jenkins
LANG C.UTF-8
LOGNAME jenkins
MAIL /var/mail/jenkins
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD /var/lib/jenkins
SHELL /bin/bash
SHLVL 1
USER jenkins
XDG_DATA_DIRS /usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_RUNTIME_DIR /run/user/111
XDG_SESSION_ID c2
Plugins
Name Version Enabled
ace-editor 1.1 true
ant 1.11 true
antisamy-markup-formatter 2.0 true
apache-httpcomponents-client-4-api 4.5.10-2.0 true
authentication-tokens 1.3 true
azure-app-service 1.0.0 true
azure-commons 1.0.4 true
azure-credentials 4.0.2 true
bouncycastle-api 2.18 true
branch-api 2.5.6 true
build-timeout 1.20 true
cloudbees-folder 6.13 true
command-launcher 1.4 true
credentials 2.3.7 true
credentials-binding 1.23 true
display-url-api 2.3.2 true
docker-commons 1.16 true
docker-java-api 3.1.5.2 true
docker-plugin 1.2.0 true
docker-workflow 1.23 true
durable-task 1.34 true
email-ext 2.69 true
git 4.2.2 true
git-client 3.2.1 true
git-server 1.9 true
github 1.30.0 true
github-api 1.112.0 true
github-branch-source 2.8.0 true
gradle 1.36 true
handlebars 1.1.1 true
jackson2-api 2.11.0 true
jdk-tool 1.4 true
jquery-detached 1.2.1 true
jsch 0.1.55.2 true
junit 1.29 true
ldap 1.24 true
lockable-resources 2.8 true
mailer 1.32 true
mapdb-api 1.0.9.0 true
matrix-auth 2.6.1 true
matrix-project 1.14 true
momentjs 1.1.1 true
pam-auth 1.6 true
pipeline-build-step 2.12 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.10 true
pipeline-input-step 2.11 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.7.0 true
pipeline-model-definition 1.7.0 true
pipeline-model-extensions 1.7.0 true
pipeline-rest-api 2.13 true
pipeline-stage-step 2.3 true
pipeline-stage-tags-metadata 1.7.0 true
pipeline-stage-view 2.13 true
plain-credentials 1.7 true
resource-disposer 0.14 true
scm-api 2.6.3 true
script-security 1.73 true
ssh-credentials 1.18.1 true
ssh-slaves 1.31.2 true
structs 1.20 true
subversion 2.13.1 true
timestamper 1.11.3 true
token-macro 2.12 true
trilead-api 1.0.8 true
workflow-aggregator 2.6 true
workflow-api 2.40 true
workflow-basic-steps 2.20 true
workflow-cps 2.80 true
workflow-cps-global-lib 2.16 true
workflow-durable-task-step 2.35 true
workflow-job 2.39 true
workflow-multibranch 2.21 true
workflow-scm-step 2.11 true
workflow-step-api 2.22 true
workflow-support 3.4 true
ws-cleanup 0.38 trueSystem Properties Name Value awt.toolkit sun.awt.X11.XToolkit executable-war /usr/share/jenkins/jenkins.war file.encoding UTF-8 file.encoding.pkg sun.io file.separator / java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.print.PSPrinterJob java.class.path /usr/share/jenkins/jenkins.war java.class.version 52.0 java.endorsed.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-8-openjdk-amd64/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.8.0_252-8u252-b09-1~18.04-b09 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.8 java.vendor Private Build java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.8.0_252 java.vm.info mixed mode java.vm.name OpenJDK 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.8 java.vm.vendor Private Build java.vm.version 25.252-b09 javax.accessibility.assistive_technologies org.GNOME.Accessibility.AtkWrapper jetty.git.hash a304fd9f351f337e7c0e2a7c28878dd536149c6c jna.loaded true jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib jnidispatch.path /var/lib/jenkins/.cache/JNA/temp/jna226855943762878678.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Linux os.version 5.3.0-1022-azure path.separator : sun.arch.data.model 64 sun.boot.class.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes sun.boot.library.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.dir / user.home /var/lib/jenkins user.language en user.name jenkins user.timezone Etc/UTC Environment Variables Name Value _ /usr/bin/daemon HOME /var/lib/jenkins JENKINS_HOME /var/lib/jenkins LANG C.UTF-8 LOGNAME jenkins MAIL /var/mail/jenkins PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD /var/lib/jenkins SHELL /bin/bash SHLVL 1 USER jenkins XDG_DATA_DIRS /usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_RUNTIME_DIR /run/user/111 XDG_SESSION_ID c2 Plugins Name Version Enabled ace-editor 1.1 true ant 1.11 true antisamy-markup-formatter 2.0 true apache-httpcomponents-client-4-api 4.5.10-2.0 true authentication-tokens 1.3 true azure-app-service 1.0.0 true azure-commons 1.0.4 true azure-credentials 4.0.2 true bouncycastle-api 2.18 true branch-api 2.5.6 true build-timeout 1.20 true cloudbees-folder 6.13 true command-launcher 1.4 true credentials 2.3.7 true credentials-binding 1.23 true display-url-api 2.3.2 true docker-commons 1.16 true docker-java-api 3.1.5.2 true docker-plugin 1.2.0 true docker-workflow 1.23 true durable-task 1.34 true email-ext 2.69 true git 4.2.2 true git-client 3.2.1 true git-server 1.9 true github 1.30.0 true github-api 1.112.0 true github-branch-source 2.8.0 true gradle 1.36 true handlebars 1.1.1 true jackson2-api 2.11.0 true jdk-tool 1.4 true jquery-detached 1.2.1 true jsch 0.1.55.2 true junit 1.29 true ldap 1.24 true lockable-resources 2.8 true mailer 1.32 true mapdb-api 1.0.9.0 true matrix-auth 2.6.1 true matrix-project 1.14 true momentjs 1.1.1 true pam-auth 1.6 true pipeline-build-step 2.12 true pipeline-github-lib 1.0 true pipeline-graph-analysis 1.10 true pipeline-input-step 2.11 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.7.0 true pipeline-model-definition 1.7.0 true pipeline-model-extensions 1.7.0 true pipeline-rest-api 2.13 true pipeline-stage-step 2.3 true pipeline-stage-tags-metadata 1.7.0 true pipeline-stage-view 2.13 true plain-credentials 1.7 true resource-disposer 0.14 true scm-api 2.6.3 true script-security 1.73 true ssh-credentials 1.18.1 true ssh-slaves 1.31.2 true structs 1.20 true subversion 2.13.1 true timestamper 1.11.3 true token-macro 2.12 true trilead-api 1.0.8 true workflow-aggregator 2.6 true workflow-api 2.40 true workflow-basic-steps 2.20 true workflow-cps 2.80 true workflow-cps-global-lib 2.16 true workflow-durable-task-step 2.35 true workflow-job 2.39 true workflow-multibranch 2.21 true workflow-scm-step 2.11 true workflow-step-api 2.22 true workflow-support 3.4 true ws-cleanup 0.38 true
Using the App Service plugin for Jenkins to deploy a Docker container inside a Web App for Linux Azure applications fails with the following error:
Starting Azure Web App DeploymentStarting Azure Web App DeploymentUpdating configuration of Azure app service `xxx-webapp`, with new docker image xxx.azurecr.io/xxx-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) [...]
Reviewing the details of the Azure SDK for Java code, it seems that there is a mismatch between the archetype of the Java class that represents the deployment and the object passed to be validated before the call is made.
Same issues has been reported in other scenarios that uses an old version of the azure-webapp-maven-plugin in case it could be related. Versions above 1.8 fix that issue.
Attached the log of the pipeline and the output of the az webapp show and az webapp config show of the web app with and without service endpoints enabled.