-
Bug
-
Resolution: Unresolved
-
Major
-
jenkins : 2.277.4.3-rolling
vsphere plugin : 2.25
Pipeline: Basic Steps 2,23
Folders 6,15
Command Agent Launcher 1,5
Credentials 2,3,15,1
Node Iterator API 1,5,0
SSH Build Agents ≥1,31,5
Hello,
We are facing a blocking issue :
the core problem is described in this pipeline :
pipeline {
agent any
stages {
stage('Hello') {
steps
}
}
}
the revert often fails with this message :
10:29:32 Running on srdspiccloudxx in C:\CI\workspace\ic\poc\sylv1\reverttest
{{ 10:29:32 [Pipeline] {}}
{{ 10:29:32 [Pipeline] stage}}
{{ 10:29:32 [Pipeline] { (Hello)}}
{{ 10:29:32 [Pipeline] retry}}
{{ 10:29:32 [Pipeline] {}}
{{ 10:29:32 [Pipeline] timeout}}
{{ 10:29:32 Timeout set to expire in 5 min 0 sec}}
{{ 10:29:32 [Pipeline]}}{{
}}10:29:33 [Pipeline] // timeout
{{ 10:29:33 [Pipeline] echo}}
{{ 10:29:33 com.vmware.vim25.InvalidLogin: Cannot complete login due to an incorrect user name or password.}}
{{ 10:29:33 [Pipeline] error}}
{{ 10:29:33 [Pipeline] }}}
{{ 10:29:33 ERROR: Timeout}}
a more complete stack can be obtained using URL <jenkins server>/configureClouds/ and pressing button "Test Connection" multiple times :
com.vmware.vim25.InvalidLogin: Cannot complete login due to an incorrect user name or password.
at sun.reflect.GeneratedConstructorAccessor2783.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253)
at com.vmware.vim25.ws.XmlGenDom.parseSoapFault(XmlGenDom.java:151)
at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:109)
at com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96)
We are seeing the same issue. It happens for a different vSphere step (destroy VM) and it happens intermittently but it is definitely a blocker for us. 1.24 version did not have this problem but we can't revert to that as it has a UI issue meaning we can't edit jobs.
We're also seeing the same issue creating and destroying vSphere template clones (also intermittently). The following exception appears in the logs:
2021-06-11 06:36:14.973+0000 [id=24] WARNING hudson.slaves.NodeProvisioner#lambda$update$6: Unexpected exception encountered while provisioning agent v5_lite_atf9i9cb4wcrh11vyjfj4w4j41yb
com.vmware.vim25.InvalidLogin: Cannot complete login due to an incorrect user name or password.
at sun.reflect.GeneratedConstructorAccessor1186.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253)
at com.vmware.vim25.ws.XmlGenDom.parseSoapFault(XmlGenDom.java:151)
at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:109)
at com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96)
at com.vmware.vim25.ws.VimStub.login(VimStub.java:1732)
at com.vmware.vim25.mo.SessionManager.login(SessionManager.java:153)
at com.vmware.vim25.mo.ServiceInstance.login(ServiceInstance.java:238)
at com.vmware.vim25.mo.ServiceInstance.constructServiceInstance(ServiceInstance.java:131)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:79)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69)
at org.jenkinsci.plugins.vsphere.tools.VSphere.<init>(VSphere.java:75)
Caused: org.jenkinsci.plugins.vsphere.tools.VSphereException
at org.jenkinsci.plugins.vsphere.tools.VSphere.<init>(VSphere.java:79)
at org.jenkinsci.plugins.vsphere.tools.VSphere.connect(VSphere.java:98)
at org.jenkinsci.plugins.vSphereCloud.vSphereInstance(vSphereCloud.java:302)
at org.jenkinsci.plugins.vSphereCloudSlaveTemplate.provision(vSphereCloudSlaveTemplate.java:400)
at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode.provisionNewNode(vSphereCloud.java:534)
at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode.access$100(vSphereCloud.java:496)
at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode$1.call(vSphereCloud.java:510)
at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode$1.call(vSphereCloud.java:506)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
We're running Jenkins 2.277.4 - stable release and vSphere plugin 2.25.