2025-12-08 19:40:25,131 - INFO - Domain Default found not creating 2025-12-08 19:40:25,310 - INFO - Project ctest-TestPorts-03842822 not found, creating it 2025-12-08 19:40:25,794 - INFO - Created Project:ctest-TestPorts-03842822, ID : 6231a116-55c8-4014-b613-1dddc7a6dbf8 2025-12-08 19:40:27,535 - INFO - ================================================================================ 2025-12-08 19:40:27,536 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 19:40:27,536 - 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-08 19:40:27,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-12-08 19:40:27,809 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:40:27,810 - INFO - 2025-12-08 19:40:28,435 - DEBUG - Response for create_network : {'network': {'id': '2f8ff019-5ae3-4788-a4d3-9105de0f5a1f', 'name': 'ctest-vn-17696370', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'project_id': '6231a11655c84014b6131dddc7a6dbf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03842822', 'ctest-vn-17696370'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:40:28,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '7314f697-f966-490e-a676-de235e0fc0a4', 'name': '', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': '2f8ff019-5ae3-4788-a4d3-9105de0f5a1f', 'ip_version': 4, 'cidr': '191.65.23.192/26', 'allocation_pools': [{'start': '191.65.23.194', 'end': '191.65.23.254'}], 'gateway_ip': '191.65.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.65.23.194', 'tags': [], 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:28,723 - INFO - Created VN ctest-vn-17696370 2025-12-08 19:40:28,781 - DEBUG - VN ctest-vn-17696370 UUID is 2f8ff019-5ae3-4788-a4d3-9105de0f5a1f 2025-12-08 19:40:28,888 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03842822', 'ctest-vmi-47020257']} 2025-12-08 19:40:29,130 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47020257', 'id': '1d700ac6-c315-4e47-b194-3eb428660c00', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': '2f8ff019-5ae3-4788-a4d3-9105de0f5a1f', 'mac_address': '02:1d:70:0a:c6:c3', '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': '191.65.23.195', 'subnet_id': '7314f697-f966-490e-a676-de235e0fc0a4'}], 'security_groups': ['8d624b5c-8e5b-489c-a572-5b201d251ded'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:29,130 - DEBUG - Created port 1d700ac6-c315-4e47-b194-3eb428660c00 2025-12-08 19:40:29,237 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1d700ac6-c315-4e47-b194-3eb428660c00 2025-12-08 19:40:29,549 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1d700ac6-c315-4e47-b194-3eb428660c00 2025-12-08 19:40:29,594 - INFO - VMI 1d700ac6-c315-4e47-b194-3eb428660c00 verification in API Server passed 2025-12-08 19:40:29,696 - DEBUG - Response for delete_port : () 2025-12-08 19:40:29,696 - INFO - Deleted port 1d700ac6-c315-4e47-b194-3eb428660c00 2025-12-08 19:40:29,696 - INFO - Deleting VN ctest-vn-17696370 2025-12-08 19:40:29,809 - DEBUG - Response for deleting network () 2025-12-08 19:40:30,062 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 19:40:30,062 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-08 19:40:30,062 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:40:30,065 - INFO - ================================================================================ 2025-12-08 19:40:30,065 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 19:40:30,065 - 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-08 19:40:30,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-12-08 19:40:30,351 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:40:30,351 - INFO - 2025-12-08 19:40:30,585 - DEBUG - Response for create_network : {'network': {'id': 'c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78', 'name': 'ctest-vn1-67264625', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'project_id': '6231a11655c84014b6131dddc7a6dbf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03842822', 'ctest-vn1-67264625'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:40:30,741 - DEBUG - Response for create_subnet : {'subnet': {'id': '88f5ea03-b0a2-4ad0-97b7-6690116549ad', 'name': '', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': 'c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78', 'ip_version': 4, 'cidr': '109.192.127.128/26', 'allocation_pools': [{'start': '109.192.127.130', 'end': '109.192.127.190'}], 'gateway_ip': '109.192.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.192.127.130', 'tags': [], 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:30,933 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1ec6df8-cbf4-4ae7-ba45-3f849bc2289b', 'name': '', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': 'c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78', 'ip_version': 4, 'cidr': '211.59.126.0/26', 'allocation_pools': [{'start': '211.59.126.2', 'end': '211.59.126.62'}], 'gateway_ip': '211.59.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.59.126.2', 'tags': [], 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:30,953 - INFO - Created VN ctest-vn1-67264625 2025-12-08 19:40:31,005 - DEBUG - VN ctest-vn1-67264625 UUID is c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78 2025-12-08 19:40:31,325 - DEBUG - Response for create_port : {'port': {'name': '4f9fb192-406d-47c9-adda-78de373adf73', 'id': '4f9fb192-406d-47c9-adda-78de373adf73', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': 'c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78', 'mac_address': '02:4f:9f:b1:92:40', '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': '109.192.127.133', 'subnet_id': '88f5ea03-b0a2-4ad0-97b7-6690116549ad'}], 'security_groups': ['8d624b5c-8e5b-489c-a572-5b201d251ded'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:31,493 - DEBUG - Response for create_port : {'port': {'name': 'cd93fef8-c4d2-46bb-994f-010c201aae6d', 'id': 'cd93fef8-c4d2-46bb-994f-010c201aae6d', 'tenant_id': '6231a11655c84014b6131dddc7a6dbf8', 'network_id': 'c5dcfbb1-f6e1-496b-bf02-8ef3774cdb78', 'mac_address': '02:cd:93:fe:f8:c4', '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': '211.59.126.5', 'subnet_id': 'a1ec6df8-cbf4-4ae7-ba45-3f849bc2289b'}], 'security_groups': ['8d624b5c-8e5b-489c-a572-5b201d251ded'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6231a11655c84014b6131dddc7a6dbf8'}} 2025-12-08 19:40:31,564 - DEBUG - Services list from nova: [, , ] 2025-12-08 19:40:31,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4859-1) 2025-12-08 19:40:32,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4859-1) 2025-12-08 19:40:32,389 - INFO - Waiting for VM ctest-vn1-vm1-34202789 to be up.. 2025-12-08 19:40:32,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 19:40:37,517 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:40:37,518 - INFO - VM name : ctest-vn1-vm1-34202789 2025-12-08 19:40:37,611 - DEBUG - VM ctest-vn1-vm1-34202789 ID is 834dbde1-8462-44ff-be56-0865604b0e9b 2025-12-08 19:40:37,632 - DEBUG - VM ctest-vn1-vm1-34202789 launched on Node cn-jenkins-deploy-platform-ansible-os-4859-1 2025-12-08 19:40:37,726 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/834dbde1-8462-44ff-be56-0865604b0e9b 2025-12-08 19:40:37,735 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4f9fb192-406d-47c9-adda-78de373adf73 2025-12-08 19:40:40,983 - 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 1006ms') 2025-12-08 19:40:40,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34202789 failed! 2025-12-08 19:40:41,041 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03842822:ctest-vn1-67264625 is 109.192.127.129 and allocation pool is NOT set 2025-12-08 19:40:41,041 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03842822:ctest-vn1-67264625 is 211.59.126.1 and allocation pool is NOT set 2025-12-08 19:40:45,114 - 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=8.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 8.250/8.250/8.250/0.000 ms') 2025-12-08 19:40:45,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34202789 passed 2025-12-08 19:40:45,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:40:45,265 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34202789, IP 109.192.127.133, Port 22 2025-12-08 19:40:45,440 - DEBUG - VM ctest-vn1-vm1-34202789 is ready for SSH connections 2025-12-08 19:40:45,440 - INFO - Waiting for VM ctest-vn1-vm2-68668075 to be up.. 2025-12-08 19:40:45,532 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:40:45,532 - INFO - VM name : ctest-vn1-vm2-68668075 2025-12-08 19:40:45,610 - DEBUG - VM ctest-vn1-vm2-68668075 ID is 794245e4-8eeb-41d8-8723-33b6a5d2aabb 2025-12-08 19:40:45,610 - DEBUG - VM ctest-vn1-vm2-68668075 launched on Node cn-jenkins-deploy-platform-ansible-os-4859-1 2025-12-08 19:40:45,690 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/794245e4-8eeb-41d8-8723-33b6a5d2aabb 2025-12-08 19:40:45,700 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cd93fef8-c4d2-46bb-994f-010c201aae6d 2025-12-08 19:40:46,944 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.433/1.923/3.414/1.490 ms') 2025-12-08 19:40:46,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68668075 passed 2025-12-08 19:40:47,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:40:47,097 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68668075, IP 211.59.126.5, Port 22 2025-12-08 19:40:47,263 - DEBUG - VM ctest-vn1-vm2-68668075 is ready for SSH connections 2025-12-08 19:40:47,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:40:47,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:40:47,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:40:47,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.192.127.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-08 19:40:47,263 - DEBUG - ping -s 56 -c 3 -W 1 109.192.127.133 2025-12-08 19:40:49,937 - DEBUG - PING 109.192.127.133 (109.192.127.133): 56 data bytes 64 bytes from 109.192.127.133: seq=0 ttl=63 time=4.610 ms 64 bytes from 109.192.127.133: seq=1 ttl=63 time=1.259 ms 64 bytes from 109.192.127.133: seq=2 ttl=63 time=0.932 ms --- 109.192.127.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.267/4.610 ms 2025-12-08 19:40:49,937 - INFO - Ping to IP 109.192.127.133 from VM ctest-vn1-vm2-68668075 passed 2025-12-08 19:40:49,937 - INFO - Detaching port cd93fef8-c4d2-46bb-994f-010c201aae6d from VM ctest-vn1-vm2-68668075 2025-12-08 19:40:49,997 - INFO - Deleting VM ctest-vn1-vm2-68668075 2025-12-08 19:40:50,075 - INFO - Detaching port 4f9fb192-406d-47c9-adda-78de373adf73 from VM ctest-vn1-vm1-34202789 2025-12-08 19:40:50,119 - INFO - Deleting VM ctest-vn1-vm1-34202789 2025-12-08 19:40:50,403 - DEBUG - Response for delete_port : () 2025-12-08 19:40:50,577 - DEBUG - Response for delete_port : () 2025-12-08 19:40:50,577 - INFO - Deleting VN ctest-vn1-67264625 2025-12-08 19:40:50,730 - DEBUG - Response for deleting network () 2025-12-08 19:40:51,001 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 19:40:51,001 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-08 19:40:51,001 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:40:51,821 - INFO - Deleted project: ctest-TestPorts-03842822, ID : 6231a116-55c8-4014-b613-1dddc7a6dbf8