ptoma98 / skytap-cloud-plugin

Repository for Release 2 of the Skytap Plugin
0 stars 0 forks source link

Create Published Service action causes Java stack dump #10

Closed tjmilligan closed 10 years ago

tjmilligan commented 10 years ago

Use of Create Published Service action causes Java stack dump and build failure. Build step defined like this:

create-pub-svc-javaerr

Build Log:


Create Published Service

Building request url ... HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms HTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms HTTP/1.1

HTTP/1.1 200 OK Iterating through vm array to match name: Jazz Team Server 4.0.5 Trial {"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":"https://cloud.skytap.com/configurations/1477684"} Found VM with name: Jazz Team Server 4.0.5 Trial Name matched. Retrieving vm id. Building request url ... Request URL: https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP/1.1

HTTP/1.1 200 OK FATAL: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":"https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC 4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":"https://cloud.skytap.com/configurations/1477684"}] java.lang.IllegalStateException: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":"https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC 4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":"https://cloud.skytap.com/configurations/1477684"}] at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.getInterfaceId(CreatePublishedServiceStep.java:257) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.executeStep(CreatePublishedServiceStep.java:148) at org.jenkinsci.plugins.skytap.SkytapBuilder.perform(SkytapBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

ptoma98 commented 10 years ago

Do you have the latest code? Thought I fixed this one last night because I noticed it also.

On Wed, Jan 29, 2014 at 2:44 PM, tmilligan-skytap notifications@github.comwrote:

Use of Create Published Service action causes Java stack dump and build failure. Build step defined like this:

[image: create-pub-svc-javaerr]https://f.cloud.github.com/assets/5240644/2034094/1befbe42-8926-11e3-981b-199a2b5b626a.jpg

Build Log:

Create Published Service

Building request url ... HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1

HTTP/1.1 200 OK Iterating through vm array to match name: Jazz Team Server 4.0.5 Trial {"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable ":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"} Found VM with name: Jazz Team Server 4.0.5 Trial Name matched. Retrieving vm id. Building request url ... Request URL: https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1

HTTP/1.1 200 OK FATAL: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"18 57250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","networ k_type":"automatic","network_name":"Default Network","network_subnet":" 10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] java.lang.IllegalStateException: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_a dmin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","net work_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.getInterfaceId(CreatePublishedServiceStep.java:257) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.executeStep(CreatePublishedServiceStep.java:148) at org.jenkinsci.plugins.skytap.SkytapBuilder.perform(SkytapBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10 .

tjmilligan commented 10 years ago

I don't see a fix for issue 9. Have you pushed it to the repo?

The last change I see is the one with the comment

"refactor - moved getvmidfromname method into skytap utile. changed create and list pub service to use them"

-- Tom Milligan Sr. Cloud Integration Architect Skytap, Inc. | The Intuitive Enterprise Cloud O: 615-861-6779 | M: 805-403-2166

From: Patrick Toma notifications@github.com<mailto:notifications@github.com> Reply-To: ptoma98/skytap-cloud-plugin reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, January 29, 2014 3:34 PM To: ptoma98/skytap-cloud-plugin skytap-cloud-plugin@noreply.github.com<mailto:skytap-cloud-plugin@noreply.github.com> Cc: Tom Milligan tmilligan@skytap.com<mailto:tmilligan@skytap.com> Subject: Re: [skytap-cloud-plugin] Create Published Service action causes Java stack dump (#10)

Do you have the latest code? Thought I fixed this one last night because I noticed it also.

On Wed, Jan 29, 2014 at 2:44 PM, tmilligan-skytap notifications@github.com<mailto:notifications@github.com>wrote:

Use of Create Published Service action causes Java stack dump and build failure. Build step defined like this:

[image: create-pub-svc-javaerr]https://f.cloud.github.com/assets/5240644/2034094/1befbe42-8926-11e3-981b-199a2b5b626a.jpg

Build Log:

Create Published Service

Building request url ... HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1

HTTP/1.1 200 OK Iterating through vm array to match name: Jazz Team Server 4.0.5 Trial {"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable ":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"} Found VM with name: Jazz Team Server 4.0.5 Trial Name matched. Retrieving vm id. Building request url ... Request URL: https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1

HTTP/1.1 200 OK FATAL: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"18 57250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","networ k_type":"automatic","network_name":"Default Network","network_subnet":" 10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] java.lang.IllegalStateException: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_a dmin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","net work_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.getInterfaceId(CreatePublishedServiceStep.java:257) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.executeStep(CreatePublishedServiceStep.java:148) at org.jenkinsci.plugins.skytap.SkytapBuilder.perform(SkytapBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10 .

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10#issuecomment-33633514.

ptoma98 commented 10 years ago

Yes that should have fixed it. Do you have that change? I'll take another look

Sent from my iPad

On Jan 29, 2014, at 4:26 PM, tmilligan-skytap notifications@github.com wrote:

I don't see a fix for issue 9. Have you pushed it to the repo?

The last change I see is the one with the comment

"refactor - moved getvmidfromname method into skytap utile. changed create and list pub service to use them"

-- Tom Milligan Sr. Cloud Integration Architect Skytap, Inc. | The Intuitive Enterprise Cloud O: 615-861-6779 | M: 805-403-2166

From: Patrick Toma notifications@github.com<mailto:notifications@github.com> Reply-To: ptoma98/skytap-cloud-plugin reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, January 29, 2014 3:34 PM To: ptoma98/skytap-cloud-plugin skytap-cloud-plugin@noreply.github.com<mailto:skytap-cloud-plugin@noreply.github.com> Cc: Tom Milligan tmilligan@skytap.com<mailto:tmilligan@skytap.com> Subject: Re: [skytap-cloud-plugin] Create Published Service action causes Java stack dump (#10)

Do you have the latest code? Thought I fixed this one last night because I noticed it also.

On Wed, Jan 29, 2014 at 2:44 PM, tmilligan-skytap notifications@github.com<mailto:notifications@github.com>wrote:

Use of Create Published Service action causes Java stack dump and build failure. Build step defined like this:

[image: create-pub-svc-javaerr]https://f.cloud.github.com/assets/5240644/2034094/1befbe42-8926-11e3-981b-199a2b5b626a.jpg

Build Log:

Create Published Service

Building request url ... HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1

HTTP/1.1 200 OK Iterating through vm array to match name: Jazz Team Server 4.0.5 Trial {"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable ":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"} Found VM with name: Jazz Team Server 4.0.5 Trial Name matched. Retrieving vm id. Building request url ... Request URL: https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1

HTTP/1.1 200 OK FATAL: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"18 57250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","networ k_type":"automatic","network_name":"Default Network","network_subnet":" 10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] java.lang.IllegalStateException: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_a dmin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","net work_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.getInterfaceId(CreatePublishedServiceStep.java:257) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.executeStep(CreatePublishedServiceStep.java:148) at org.jenkinsci.plugins.skytap.SkytapBuilder.perform(SkytapBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10 .

  • Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10#issuecomment-33633514. — Reply to this email directly or view it on GitHub.

tjmilligan commented 10 years ago

I've pulled the most recent changes and that is what I'm testing

Tom Milligan

On Jan 29, 2014, at 9:03 PM, "Patrick Toma" notifications@github.com<mailto:notifications@github.com> wrote:

Yes that should have fixed it. Do you have that change? I'll take another look

Sent from my iPad

On Jan 29, 2014, at 4:26 PM, tmilligan-skytap notifications@github.com<mailto:notifications@github.com> wrote:

I don't see a fix for issue 9. Have you pushed it to the repo?

The last change I see is the one with the comment

"refactor - moved getvmidfromname method into skytap utile. changed create and list pub service to use them"

-- Tom Milligan Sr. Cloud Integration Architect Skytap, Inc. | The Intuitive Enterprise Cloud O: 615-861-6779 | M: 805-403-2166

From: Patrick Toma notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> Reply-To: ptoma98/skytap-cloud-plugin reply@reply.github.com<mailto:reply@reply.github.commailto:reply@reply.github.com> Date: Wednesday, January 29, 2014 3:34 PM To: ptoma98/skytap-cloud-plugin skytap-cloud-plugin@noreply.github.com<mailto:skytap-cloud-plugin@noreply.github.commailto:skytap-cloud-plugin@noreply.github.com> Cc: Tom Milligan tmilligan@skytap.com<mailto:tmilligan@skytap.commailto:tmilligan@skytap.com> Subject: Re: [skytap-cloud-plugin] Create Published Service action causes Java stack dump (#10)

Do you have the latest code? Thought I fixed this one last night because I noticed it also.

On Wed, Jan 29, 2014 at 2:44 PM, tmilligan-skytap notifications@github.com<mailto:notifications@github.commailto:notifications@github.com>wrote:

Use of Create Published Service action causes Java stack dump and build failure. Build step defined like this:

[image: create-pub-svc-javaerr]https://f.cloud.github.com/assets/5240644/2034094/1befbe42-8926-11e3-981b-199a2b5b626a.jpg

Build Log:

Create Published Service

Building request url ... HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vmsHTTP/1.1

HTTP/1.1 200 OK Iterating through vm array to match name: Jazz Team Server 4.0.5 Trial {"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857250"}],"desktop_resizable ":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"} Found VM with name: Jazz Team Server 4.0.5 Trial Name matched. Retrieving vm id. Building request url ... Request URL: https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+Trial HTTP GET Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1 2014-01-29:12-39-17 Executing Request: GET https://cloud.skytap.com/configurations/1477684/vms?vm_name=Jazz+Team+Server+4.0.5+TrialHTTP/1.1

HTTP/1.1 200 OK FATAL: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"18 57250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","network_id":"1022404","networ k_type":"automatic","network_name":"Default Network","network_subnet":" 10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] java.lang.IllegalStateException: Not a JSON Object: [{"id":"2592464","name":"Jazz Team Server 4.0.5 Trial","runstate":"stopped","hardware":{"cpus":2,"ram":3072,"svms":3,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472374-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472374-0","ip":"10.0.0.1","hostname":"host1","mac":"00:50:56:0D:FE:90","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592464","vm_name":"Jazz Team Server 4.0.5 Trial","network_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857246"},{"text":"root / ChangeMe!","id":"1857248"},{"text":"Jazz Admin: rtc_a dmin / ChangeMe!","id":"1857250"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"},{"id":"2592466","name":"RTC4.0.5 Client","runstate":"stopped","hardware":{"cpus":1,"ram":1024,"svms":1,"guestOS":"centos-64","max_cpus":8,"min_ram":256,"max_ram":32768,"vnc_keymap":null,"uuid":null,"disks":[{"id":"disk-1018686-2472376-scsi-0-0","size":20480,"type":"SCSI","controller":"0","lun":"0"}],"storage":20480,"upgradable":false,"instance_type":null},"error":false,"asset_id":null,"interfaces":[{"id":"nic-1018686-2472376-0","ip":"10.0.0.2","hostname":"host2","mac":"00:50:56:2C:C1:27","services_count":0,"services":[],"public_ips_count":0,"public_ips":[],"status":"Powered off","vm_id":"2592466","vm_name":"RTC 4.0.5 Client","net work_id":"1022404","network_type":"automatic","network_name":"Default Network","network_subnet":"10.0.0.0/24","nic_type":"e1000"}],"notes":[],"labels":[],"credentials":[{"text":"skytap / ChangeMe!","id":"1857252"},{"text":"root / ChangeMe!","id":"1857254"},{"text":"Jazz Admin: rtc_admin / ChangeMe!","id":"1857256"}],"desktop_resizable":true,"local_mouse_cursor":true,"maintenance_lock_engaged":false,"region_backend":"skytap","can_change_object_state":true,"configuration_url":" https://cloud.skytap.com/configurations/1477684"}] at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.getInterfaceId(CreatePublishedServiceStep.java:257) at org.jenkinsci.plugins.skytap.CreatePublishedServiceStep.executeStep(CreatePublishedServiceStep.java:148) at org.jenkinsci.plugins.skytap.SkytapBuilder.perform(SkytapBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10 .

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10#issuecomment-33633514.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com/ptoma98/skytap-cloud-plugin/issues/10#issuecomment-33656474.