2025-12-30 16:16:44,173 - INFO - Domain Default found not creating 2025-12-30 16:16:44,369 - INFO - Project ctest-TestPorts-68530953 not found, creating it 2025-12-30 16:16:44,882 - INFO - Created Project:ctest-TestPorts-68530953, ID : b3f5765d-3204-46a7-9bfa-823af1de9d04 2025-12-30 16:16:46,437 - INFO - ================================================================================ 2025-12-30 16:16:46,437 - INFO - STARTING TEST : test_ports_bindings 2025-12-30 16:16:46,437 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-12-30 16:16:46,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-30 16:16:46,698 - INFO - Initial checks done. Running the testcase now 2025-12-30 16:16:46,698 - INFO - 2025-12-30 16:16:47,272 - DEBUG - Response for create_network : {'network': {'id': '4268692a-db50-4f1d-b4ca-7ba7f9130d5e', 'name': 'ctest-vn-10972747', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'project_id': 'b3f5765d320446a79bfa823af1de9d04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68530953', 'ctest-vn-10972747'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:16:47,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddcbb312-e54a-4f36-b068-b0cfc35bf21d', 'name': '', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': '4268692a-db50-4f1d-b4ca-7ba7f9130d5e', 'ip_version': 4, 'cidr': '122.9.11.128/26', 'allocation_pools': [{'start': '122.9.11.130', 'end': '122.9.11.190'}], 'gateway_ip': '122.9.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.9.11.130', 'tags': [], 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:47,512 - INFO - Created VN ctest-vn-10972747 2025-12-30 16:16:47,568 - DEBUG - VN ctest-vn-10972747 UUID is 4268692a-db50-4f1d-b4ca-7ba7f9130d5e 2025-12-30 16:16:47,684 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68530953', 'ctest-vmi-62435103']} 2025-12-30 16:16:47,955 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62435103', 'id': '9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': '4268692a-db50-4f1d-b4ca-7ba7f9130d5e', 'mac_address': '02:9e:4a:58:a3:a5', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '122.9.11.131', 'subnet_id': 'ddcbb312-e54a-4f36-b068-b0cfc35bf21d'}], 'security_groups': ['dbd85601-82fb-499e-97b9-630beff27cf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:47,955 - DEBUG - Created port 9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d 2025-12-30 16:16:48,059 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d 2025-12-30 16:16:48,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d 2025-12-30 16:16:48,403 - INFO - VMI 9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d verification in API Server passed 2025-12-30 16:16:48,498 - DEBUG - Response for delete_port : () 2025-12-30 16:16:48,498 - INFO - Deleted port 9e4a58a3-a5cf-46c9-a6e1-72895a8dc13d 2025-12-30 16:16:48,498 - INFO - Deleting VN ctest-vn-10972747 2025-12-30 16:16:48,605 - DEBUG - Response for deleting network () 2025-12-30 16:16:48,861 - DEBUG - No XMPP flaps were noticed during the test 2025-12-30 16:16:48,861 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-12-30 16:16:48,861 - INFO - -------------------------------------------------------------------------------- 2025-12-30 16:16:48,863 - INFO - ================================================================================ 2025-12-30 16:16:48,864 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-30 16:16:48,864 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-12-30 16:16:49,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-30 16:16:49,154 - INFO - Initial checks done. Running the testcase now 2025-12-30 16:16:49,154 - INFO - 2025-12-30 16:16:49,360 - DEBUG - Response for create_network : {'network': {'id': 'cc2d3b45-c241-462f-874d-224ea4b0b69a', 'name': 'ctest-vn1-37648010', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'project_id': 'b3f5765d320446a79bfa823af1de9d04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68530953', 'ctest-vn1-37648010'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:16:49,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '411624ee-34aa-49e7-9b87-37f91b2c38c9', 'name': '', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': 'cc2d3b45-c241-462f-874d-224ea4b0b69a', 'ip_version': 4, 'cidr': '117.111.119.128/26', 'allocation_pools': [{'start': '117.111.119.130', 'end': '117.111.119.190'}], 'gateway_ip': '117.111.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.111.119.130', 'tags': [], 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:49,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '9673c830-d15c-44d2-9204-a4da9ebd14a3', 'name': '', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': 'cc2d3b45-c241-462f-874d-224ea4b0b69a', 'ip_version': 4, 'cidr': '130.134.243.128/26', 'allocation_pools': [{'start': '130.134.243.130', 'end': '130.134.243.190'}], 'gateway_ip': '130.134.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.134.243.130', 'tags': [], 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:49,778 - INFO - Created VN ctest-vn1-37648010 2025-12-30 16:16:49,831 - DEBUG - VN ctest-vn1-37648010 UUID is cc2d3b45-c241-462f-874d-224ea4b0b69a 2025-12-30 16:16:50,164 - DEBUG - Response for create_port : {'port': {'name': 'df6c6bc0-e87f-4543-a679-7e8cf41589da', 'id': 'df6c6bc0-e87f-4543-a679-7e8cf41589da', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': 'cc2d3b45-c241-462f-874d-224ea4b0b69a', 'mac_address': '02:df:6c:6b:c0:e8', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '117.111.119.133', 'subnet_id': '411624ee-34aa-49e7-9b87-37f91b2c38c9'}], 'security_groups': ['dbd85601-82fb-499e-97b9-630beff27cf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:50,346 - DEBUG - Response for create_port : {'port': {'name': '52f6e87d-5628-4c09-add2-75a2d85f2878', 'id': '52f6e87d-5628-4c09-add2-75a2d85f2878', 'tenant_id': 'b3f5765d320446a79bfa823af1de9d04', 'network_id': 'cc2d3b45-c241-462f-874d-224ea4b0b69a', 'mac_address': '02:52:f6:e8:7d:56', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '130.134.243.133', 'subnet_id': '9673c830-d15c-44d2-9204-a4da9ebd14a3'}], 'security_groups': ['dbd85601-82fb-499e-97b9-630beff27cf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b3f5765d320446a79bfa823af1de9d04'}} 2025-12-30 16:16:50,417 - DEBUG - Services list from nova: [, , ] 2025-12-30 16:16:50,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:16:51,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:16:51,243 - INFO - Waiting for VM ctest-vn1-vm1-75386225 to be up.. 2025-12-30 16:16:51,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-30 16:16:56,376 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:16:56,376 - INFO - VM name : ctest-vn1-vm1-75386225 2025-12-30 16:16:56,472 - DEBUG - VM ctest-vn1-vm1-75386225 ID is 99a7debd-45d2-4f3e-900b-3ea20cf45503 2025-12-30 16:16:56,499 - DEBUG - VM ctest-vn1-vm1-75386225 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:16:56,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/99a7debd-45d2-4f3e-900b-3ea20cf45503 2025-12-30 16:16:56,595 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/df6c6bc0-e87f-4543-a679-7e8cf41589da 2025-12-30 16:16:59,856 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-30 16:16:59,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75386225 failed! 2025-12-30 16:16:59,916 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68530953:ctest-vn1-37648010 is 117.111.119.129 and allocation pool is NOT set 2025-12-30 16:16:59,916 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68530953:ctest-vn1-37648010 is 130.134.243.129 and allocation pool is NOT set 2025-12-30 16:17:03,983 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=10.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.614/10.614/10.614/0.000 ms') 2025-12-30 16:17:03,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75386225 passed 2025-12-30 16:17:04,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:17:04,143 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75386225, IP 117.111.119.133, Port 22 2025-12-30 16:17:04,322 - DEBUG - VM ctest-vn1-vm1-75386225 is ready for SSH connections 2025-12-30 16:17:04,322 - INFO - Waiting for VM ctest-vn1-vm2-48528305 to be up.. 2025-12-30 16:17:04,411 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:17:04,411 - INFO - VM name : ctest-vn1-vm2-48528305 2025-12-30 16:17:04,500 - DEBUG - VM ctest-vn1-vm2-48528305 ID is 42a6e940-f1d7-4f8c-b30b-00eba1680344 2025-12-30 16:17:04,500 - DEBUG - VM ctest-vn1-vm2-48528305 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:17:04,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/42a6e940-f1d7-4f8c-b30b-00eba1680344 2025-12-30 16:17:04,595 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/52f6e87d-5628-4c09-add2-75a2d85f2878 2025-12-30 16:17:05,859 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.578 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.578/1.813/3.048/1.235 ms') 2025-12-30 16:17:05,859 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48528305 passed 2025-12-30 16:17:06,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:17:06,016 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48528305, IP 130.134.243.133, Port 22 2025-12-30 16:17:06,182 - DEBUG - VM ctest-vn1-vm2-48528305 is ready for SSH connections 2025-12-30 16:17:06,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:17:06,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:17:06,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:17:06,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.111.119.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-30 16:17:06,182 - DEBUG - ping -s 56 -c 3 -W 1 117.111.119.133 2025-12-30 16:17:08,866 - DEBUG - PING 117.111.119.133 (117.111.119.133): 56 data bytes 64 bytes from 117.111.119.133: seq=0 ttl=63 time=3.540 ms 64 bytes from 117.111.119.133: seq=1 ttl=63 time=1.171 ms 64 bytes from 117.111.119.133: seq=2 ttl=63 time=1.051 ms --- 117.111.119.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.051/1.920/3.540 ms 2025-12-30 16:17:08,866 - INFO - Ping to IP 117.111.119.133 from VM ctest-vn1-vm2-48528305 passed 2025-12-30 16:17:08,866 - INFO - Detaching port 52f6e87d-5628-4c09-add2-75a2d85f2878 from VM ctest-vn1-vm2-48528305 2025-12-30 16:17:08,928 - INFO - Deleting VM ctest-vn1-vm2-48528305 2025-12-30 16:17:09,007 - INFO - Detaching port df6c6bc0-e87f-4543-a679-7e8cf41589da from VM ctest-vn1-vm1-75386225 2025-12-30 16:17:09,053 - INFO - Deleting VM ctest-vn1-vm1-75386225 2025-12-30 16:17:09,347 - DEBUG - Response for delete_port : () 2025-12-30 16:17:09,575 - DEBUG - Response for delete_port : () 2025-12-30 16:17:09,575 - INFO - Deleting VN ctest-vn1-37648010 2025-12-30 16:17:09,754 - DEBUG - Response for deleting network () 2025-12-30 16:17:10,020 - DEBUG - No XMPP flaps were noticed during the test 2025-12-30 16:17:10,020 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-12-30 16:17:10,020 - INFO - -------------------------------------------------------------------------------- 2025-12-30 16:17:10,753 - INFO - Deleted project: ctest-TestPorts-68530953, ID : b3f5765d-3204-46a7-9bfa-823af1de9d04