2025-11-12 15:28:37,236 - INFO - Domain Default found not creating 2025-11-12 15:28:37,393 - INFO - Project ctest-TestPorts-44687202 not found, creating it 2025-11-12 15:28:37,873 - INFO - Created Project:ctest-TestPorts-44687202, ID : 68f8f94a-5a4c-41c5-93bb-097251d36a74 2025-11-12 15:28:39,552 - INFO - ================================================================================ 2025-11-12 15:28:39,553 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 15:28:39,553 - 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-11-12 15:28:39,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 15:28:39,821 - INFO - Initial checks done. Running the testcase now 2025-11-12 15:28:39,821 - INFO - 2025-11-12 15:28:40,443 - DEBUG - Response for create_network : {'network': {'id': '13cd82bf-eb68-4f81-847d-1590e6292563', 'name': 'ctest-vn-34463046', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'project_id': '68f8f94a5a4c41c593bb097251d36a74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44687202', 'ctest-vn-34463046'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:28:40,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ecdfb6f-c6b4-44c8-935b-5987032e175d', 'name': '', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '13cd82bf-eb68-4f81-847d-1590e6292563', 'ip_version': 4, 'cidr': '59.3.85.192/26', 'allocation_pools': [{'start': '59.3.85.194', 'end': '59.3.85.254'}], 'gateway_ip': '59.3.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.3.85.194', 'tags': [], 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:40,617 - INFO - Created VN ctest-vn-34463046 2025-11-12 15:28:40,669 - DEBUG - VN ctest-vn-34463046 UUID is 13cd82bf-eb68-4f81-847d-1590e6292563 2025-11-12 15:28:40,769 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44687202', 'ctest-vmi-98051926']} 2025-11-12 15:28:41,056 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98051926', 'id': 'd3fe9077-3c9b-42f9-b5b0-24a502fc6e6b', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '13cd82bf-eb68-4f81-847d-1590e6292563', 'mac_address': '02:d3:fe:90:77:3c', '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': '59.3.85.195', 'subnet_id': '0ecdfb6f-c6b4-44c8-935b-5987032e175d'}], 'security_groups': ['5d4084a8-01a8-4925-b897-903de070cba6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:41,056 - DEBUG - Created port d3fe9077-3c9b-42f9-b5b0-24a502fc6e6b 2025-11-12 15:28:41,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3fe9077-3c9b-42f9-b5b0-24a502fc6e6b 2025-11-12 15:28:41,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3fe9077-3c9b-42f9-b5b0-24a502fc6e6b 2025-11-12 15:28:41,569 - INFO - VMI d3fe9077-3c9b-42f9-b5b0-24a502fc6e6b verification in API Server passed 2025-11-12 15:28:41,671 - DEBUG - Response for delete_port : () 2025-11-12 15:28:41,671 - INFO - Deleted port d3fe9077-3c9b-42f9-b5b0-24a502fc6e6b 2025-11-12 15:28:41,671 - INFO - Deleting VN ctest-vn-34463046 2025-11-12 15:28:41,767 - DEBUG - Response for deleting network () 2025-11-12 15:28:42,034 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 15:28:42,034 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-12 15:28:42,034 - INFO - -------------------------------------------------------------------------------- 2025-11-12 15:28:42,037 - INFO - ================================================================================ 2025-11-12 15:28:42,038 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 15:28:42,038 - 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-11-12 15:28:42,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 15:28:42,326 - INFO - Initial checks done. Running the testcase now 2025-11-12 15:28:42,326 - INFO - 2025-11-12 15:28:42,491 - DEBUG - Response for create_network : {'network': {'id': '6211b47c-c809-4c8b-8698-7ad3af0e22ee', 'name': 'ctest-vn1-77083131', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'project_id': '68f8f94a5a4c41c593bb097251d36a74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44687202', 'ctest-vn1-77083131'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:28:42,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '6541d35a-f7ac-46b0-8ffe-4cffc1999fab', 'name': '', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '6211b47c-c809-4c8b-8698-7ad3af0e22ee', 'ip_version': 4, 'cidr': '115.253.128.64/26', 'allocation_pools': [{'start': '115.253.128.66', 'end': '115.253.128.126'}], 'gateway_ip': '115.253.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.253.128.66', 'tags': [], 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:42,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '2834f3ae-9acb-4095-82ab-4c673d8d02a3', 'name': '', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '6211b47c-c809-4c8b-8698-7ad3af0e22ee', 'ip_version': 4, 'cidr': '104.237.238.192/26', 'allocation_pools': [{'start': '104.237.238.194', 'end': '104.237.238.254'}], 'gateway_ip': '104.237.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.237.238.194', 'tags': [], 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:42,898 - INFO - Created VN ctest-vn1-77083131 2025-11-12 15:28:42,953 - DEBUG - VN ctest-vn1-77083131 UUID is 6211b47c-c809-4c8b-8698-7ad3af0e22ee 2025-11-12 15:28:43,262 - DEBUG - Response for create_port : {'port': {'name': 'bab0a1d7-a7e6-42a7-b2f9-eddb61eb4d56', 'id': 'bab0a1d7-a7e6-42a7-b2f9-eddb61eb4d56', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '6211b47c-c809-4c8b-8698-7ad3af0e22ee', 'mac_address': '02:ba:b0:a1:d7:a7', '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': '115.253.128.69', 'subnet_id': '6541d35a-f7ac-46b0-8ffe-4cffc1999fab'}], 'security_groups': ['5d4084a8-01a8-4925-b897-903de070cba6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:43,435 - DEBUG - Response for create_port : {'port': {'name': 'bf8a7c25-9e5c-44b4-88f2-d0bb592dd5eb', 'id': 'bf8a7c25-9e5c-44b4-88f2-d0bb592dd5eb', 'tenant_id': '68f8f94a5a4c41c593bb097251d36a74', 'network_id': '6211b47c-c809-4c8b-8698-7ad3af0e22ee', 'mac_address': '02:bf:8a:7c:25:9e', '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': '104.237.238.197', 'subnet_id': '2834f3ae-9acb-4095-82ab-4c673d8d02a3'}], 'security_groups': ['5d4084a8-01a8-4925-b897-903de070cba6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68f8f94a5a4c41c593bb097251d36a74'}} 2025-11-12 15:28:43,498 - DEBUG - Services list from nova: [, , ] 2025-11-12 15:28:43,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:28:44,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:28:44,204 - INFO - Waiting for VM ctest-vn1-vm1-96259174 to be up.. 2025-11-12 15:28:44,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 15:28:49,317 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:28:49,317 - INFO - VM name : ctest-vn1-vm1-96259174 2025-11-12 15:28:49,382 - DEBUG - VM ctest-vn1-vm1-96259174 ID is 40157b24-e797-4f09-99ad-b37fe2d94f7d 2025-11-12 15:28:49,399 - DEBUG - VM ctest-vn1-vm1-96259174 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:28:49,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40157b24-e797-4f09-99ad-b37fe2d94f7d 2025-11-12 15:28:49,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bab0a1d7-a7e6-42a7-b2f9-eddb61eb4d56 2025-11-12 15:28:52,728 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-11-12 15:28:52,728 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-96259174 failed! 2025-11-12 15:28:52,781 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44687202:ctest-vn1-77083131 is 115.253.128.65 and allocation pool is NOT set 2025-11-12 15:28:52,781 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44687202:ctest-vn1-77083131 is 104.237.238.193 and allocation pool is NOT set 2025-11-12 15:28:54,847 - 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=6.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.85 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 = 2.851/4.571/6.292/1.720 ms') 2025-11-12 15:28:54,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-96259174 passed 2025-11-12 15:28:54,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:28:54,997 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96259174, IP 115.253.128.69, Port 22 2025-11-12 15:28:55,053 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-12 15:28:55,123 - DEBUG - VM ctest-vn1-vm1-96259174 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 15:29:00,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:29:00,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96259174, IP 115.253.128.69, Port 22 2025-11-12 15:29:00,280 - DEBUG - VM ctest-vn1-vm1-96259174 is ready for SSH connections 2025-11-12 15:29:00,280 - INFO - Waiting for VM ctest-vn1-vm2-20420934 to be up.. 2025-11-12 15:29:00,352 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:29:00,352 - INFO - VM name : ctest-vn1-vm2-20420934 2025-11-12 15:29:00,421 - DEBUG - VM ctest-vn1-vm2-20420934 ID is ce11e9a9-813a-429a-a1ed-3ce84ad99286 2025-11-12 15:29:00,421 - DEBUG - VM ctest-vn1-vm2-20420934 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:29:00,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce11e9a9-813a-429a-a1ed-3ce84ad99286 2025-11-12 15:29:00,497 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bf8a7c25-9e5c-44b4-88f2-d0bb592dd5eb 2025-11-12 15:29:01,745 - 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=1 ttl=63 time=3.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.400/1.875/3.350/1.475 ms') 2025-11-12 15:29:01,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-20420934 passed 2025-11-12 15:29:01,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:29:01,898 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20420934, IP 104.237.238.197, Port 22 2025-11-12 15:29:02,053 - DEBUG - VM ctest-vn1-vm2-20420934 is ready for SSH connections 2025-11-12 15:29:02,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:29:02,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:29:02,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:29:02,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.253.128.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 15:29:02,053 - DEBUG - ping -s 56 -c 3 -W 1 115.253.128.69 2025-11-12 15:29:05,707 - DEBUG - PING 115.253.128.69 (115.253.128.69): 56 data bytes 64 bytes from 115.253.128.69: seq=0 ttl=63 time=3.604 ms 64 bytes from 115.253.128.69: seq=1 ttl=63 time=0.867 ms 64 bytes from 115.253.128.69: seq=2 ttl=63 time=0.958 ms --- 115.253.128.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.809/3.604 ms 2025-11-12 15:29:05,707 - INFO - Ping to IP 115.253.128.69 from VM ctest-vn1-vm2-20420934 passed 2025-11-12 15:29:05,708 - INFO - Detaching port bf8a7c25-9e5c-44b4-88f2-d0bb592dd5eb from VM ctest-vn1-vm2-20420934 2025-11-12 15:29:05,756 - INFO - Deleting VM ctest-vn1-vm2-20420934 2025-11-12 15:29:05,820 - INFO - Detaching port bab0a1d7-a7e6-42a7-b2f9-eddb61eb4d56 from VM ctest-vn1-vm1-96259174 2025-11-12 15:29:05,857 - INFO - Deleting VM ctest-vn1-vm1-96259174 2025-11-12 15:29:06,075 - DEBUG - Response for delete_port : () 2025-11-12 15:29:06,259 - DEBUG - Response for delete_port : () 2025-11-12 15:29:06,259 - INFO - Deleting VN ctest-vn1-77083131 2025-11-12 15:29:06,398 - DEBUG - Response for deleting network () 2025-11-12 15:29:06,654 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 15:29:06,654 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-12 15:29:06,654 - INFO - -------------------------------------------------------------------------------- 2025-11-12 15:29:07,407 - INFO - Deleted project: ctest-TestPorts-44687202, ID : 68f8f94a-5a4c-41c5-93bb-097251d36a74