2025-10-17 21:31:24,596 - INFO - Domain Default found not creating 2025-10-17 21:31:24,774 - INFO - Project ctest-TestPorts-23437360 not found, creating it 2025-10-17 21:31:25,232 - INFO - Created Project:ctest-TestPorts-23437360, ID : a13a9df4-7df4-4609-9524-38f68469509f 2025-10-17 21:31:26,805 - INFO - ================================================================================ 2025-10-17 21:31:26,805 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 21:31:26,805 - 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-10-17 21:31:27,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-10-17 21:31:27,065 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:31:27,066 - INFO - 2025-10-17 21:31:27,686 - DEBUG - Response for create_network : {'network': {'id': '8da5787e-774c-4c28-92e7-d5f299404de3', 'name': 'ctest-vn-48743677', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'project_id': 'a13a9df47df44609952438f68469509f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23437360', 'ctest-vn-48743677'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:31:27,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '923d8f18-901f-41d9-9f86-8c39309fc7fe', 'name': '', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '8da5787e-774c-4c28-92e7-d5f299404de3', 'ip_version': 4, 'cidr': '43.225.196.64/26', 'allocation_pools': [{'start': '43.225.196.66', 'end': '43.225.196.126'}], 'gateway_ip': '43.225.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.225.196.66', 'tags': [], 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:27,947 - INFO - Created VN ctest-vn-48743677 2025-10-17 21:31:27,998 - DEBUG - VN ctest-vn-48743677 UUID is 8da5787e-774c-4c28-92e7-d5f299404de3 2025-10-17 21:31:28,116 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23437360', 'ctest-vmi-34269932']} 2025-10-17 21:31:28,365 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34269932', 'id': '534ff89a-1439-4310-a44d-63287e5c4ded', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '8da5787e-774c-4c28-92e7-d5f299404de3', 'mac_address': '02:53:4f:f8:9a:14', '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': '43.225.196.67', 'subnet_id': '923d8f18-901f-41d9-9f86-8c39309fc7fe'}], 'security_groups': ['06aad288-5c31-45ec-a6c7-5dbeb1301e38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:28,365 - DEBUG - Created port 534ff89a-1439-4310-a44d-63287e5c4ded 2025-10-17 21:31:28,470 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/534ff89a-1439-4310-a44d-63287e5c4ded 2025-10-17 21:31:28,774 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/534ff89a-1439-4310-a44d-63287e5c4ded 2025-10-17 21:31:28,811 - INFO - VMI 534ff89a-1439-4310-a44d-63287e5c4ded verification in API Server passed 2025-10-17 21:31:28,930 - DEBUG - Response for delete_port : () 2025-10-17 21:31:28,930 - INFO - Deleted port 534ff89a-1439-4310-a44d-63287e5c4ded 2025-10-17 21:31:28,931 - INFO - Deleting VN ctest-vn-48743677 2025-10-17 21:31:29,073 - DEBUG - Response for deleting network () 2025-10-17 21:31:29,328 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:31:29,328 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-17 21:31:29,328 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:31:29,331 - INFO - ================================================================================ 2025-10-17 21:31:29,331 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 21:31:29,331 - 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-10-17 21:31:29,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-10-17 21:31:29,624 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:31:29,625 - INFO - 2025-10-17 21:31:29,828 - DEBUG - Response for create_network : {'network': {'id': '05dbe322-059f-475b-bbb3-a8f3d6216f9e', 'name': 'ctest-vn1-97641214', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'project_id': 'a13a9df47df44609952438f68469509f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23437360', 'ctest-vn1-97641214'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:31:30,058 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8eeaa46-ad03-40dd-9605-0a9e06f03d63', 'name': '', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '05dbe322-059f-475b-bbb3-a8f3d6216f9e', 'ip_version': 4, 'cidr': '157.84.0.64/26', 'allocation_pools': [{'start': '157.84.0.66', 'end': '157.84.0.126'}], 'gateway_ip': '157.84.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.84.0.66', 'tags': [], 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:30,260 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5c80c60-90e9-4045-9801-715784f5375f', 'name': '', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '05dbe322-059f-475b-bbb3-a8f3d6216f9e', 'ip_version': 4, 'cidr': '49.15.70.64/26', 'allocation_pools': [{'start': '49.15.70.66', 'end': '49.15.70.126'}], 'gateway_ip': '49.15.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.15.70.66', 'tags': [], 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:30,282 - INFO - Created VN ctest-vn1-97641214 2025-10-17 21:31:30,334 - DEBUG - VN ctest-vn1-97641214 UUID is 05dbe322-059f-475b-bbb3-a8f3d6216f9e 2025-10-17 21:31:30,648 - DEBUG - Response for create_port : {'port': {'name': '77b23e0a-116d-44a8-96e0-02878bc5f754', 'id': '77b23e0a-116d-44a8-96e0-02878bc5f754', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '05dbe322-059f-475b-bbb3-a8f3d6216f9e', 'mac_address': '02:77:b2:3e:0a:11', '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': '157.84.0.69', 'subnet_id': 'a8eeaa46-ad03-40dd-9605-0a9e06f03d63'}], 'security_groups': ['06aad288-5c31-45ec-a6c7-5dbeb1301e38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:30,846 - DEBUG - Response for create_port : {'port': {'name': '43b57522-6522-4efe-bde2-b65e82b4c48a', 'id': '43b57522-6522-4efe-bde2-b65e82b4c48a', 'tenant_id': 'a13a9df47df44609952438f68469509f', 'network_id': '05dbe322-059f-475b-bbb3-a8f3d6216f9e', 'mac_address': '02:43:b5:75:22:65', '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': '49.15.70.69', 'subnet_id': 'f5c80c60-90e9-4045-9801-715784f5375f'}], 'security_groups': ['06aad288-5c31-45ec-a6c7-5dbeb1301e38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a13a9df47df44609952438f68469509f'}} 2025-10-17 21:31:30,912 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:31:31,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:31:31,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:31:31,790 - INFO - Waiting for VM ctest-vn1-vm1-87476451 to be up.. 2025-10-17 21:31:31,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:31:36,924 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:31:36,924 - INFO - VM name : ctest-vn1-vm1-87476451 2025-10-17 21:31:37,017 - DEBUG - VM ctest-vn1-vm1-87476451 ID is 86210c3f-cfb2-42df-8ffa-3798bde18759 2025-10-17 21:31:37,044 - DEBUG - VM ctest-vn1-vm1-87476451 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:31:37,133 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/86210c3f-cfb2-42df-8ffa-3798bde18759 2025-10-17 21:31:37,142 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/77b23e0a-116d-44a8-96e0-02878bc5f754 2025-10-17 21:31:40,424 - 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 1017ms') 2025-10-17 21:31:40,424 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87476451 failed! 2025-10-17 21:31:40,482 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23437360:ctest-vn1-97641214 is 157.84.0.65 and allocation pool is NOT set 2025-10-17 21:31:40,482 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23437360:ctest-vn1-97641214 is 49.15.70.65 and allocation pool is NOT set 2025-10-17 21:31:44,555 - 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=2 ttl=63 time=3.85 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 3.850/3.850/3.850/0.000 ms') 2025-10-17 21:31:44,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87476451 passed 2025-10-17 21:31:44,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:31:44,706 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87476451, IP 157.84.0.69, Port 22 2025-10-17 21:31:44,866 - DEBUG - VM ctest-vn1-vm1-87476451 is ready for SSH connections 2025-10-17 21:31:44,866 - INFO - Waiting for VM ctest-vn1-vm2-46943991 to be up.. 2025-10-17 21:31:44,950 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:31:44,951 - INFO - VM name : ctest-vn1-vm2-46943991 2025-10-17 21:31:45,038 - DEBUG - VM ctest-vn1-vm2-46943991 ID is 04ee73c7-14c1-4489-b68a-de05b7e74a11 2025-10-17 21:31:45,038 - DEBUG - VM ctest-vn1-vm2-46943991 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:31:45,122 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/04ee73c7-14c1-4489-b68a-de05b7e74a11 2025-10-17 21:31:45,133 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/43b57522-6522-4efe-bde2-b65e82b4c48a 2025-10-17 21:31:46,374 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.434/2.141/3.848/1.707 ms') 2025-10-17 21:31:46,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-46943991 passed 2025-10-17 21:31:46,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:31:46,530 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46943991, IP 49.15.70.69, Port 22 2025-10-17 21:31:46,708 - DEBUG - VM ctest-vn1-vm2-46943991 is ready for SSH connections 2025-10-17 21:31:46,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:31:46,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:31:46,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:31:46,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.84.0.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:31:46,708 - DEBUG - ping -s 56 -c 3 -W 1 157.84.0.69 2025-10-17 21:31:50,445 - DEBUG - PING 157.84.0.69 (157.84.0.69): 56 data bytes 64 bytes from 157.84.0.69: seq=0 ttl=63 time=3.613 ms 64 bytes from 157.84.0.69: seq=1 ttl=63 time=1.094 ms 64 bytes from 157.84.0.69: seq=2 ttl=63 time=1.115 ms --- 157.84.0.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/1.940/3.613 ms 2025-10-17 21:31:50,445 - INFO - Ping to IP 157.84.0.69 from VM ctest-vn1-vm2-46943991 passed 2025-10-17 21:31:50,445 - INFO - Detaching port 43b57522-6522-4efe-bde2-b65e82b4c48a from VM ctest-vn1-vm2-46943991 2025-10-17 21:31:50,518 - INFO - Deleting VM ctest-vn1-vm2-46943991 2025-10-17 21:31:50,602 - INFO - Detaching port 77b23e0a-116d-44a8-96e0-02878bc5f754 from VM ctest-vn1-vm1-87476451 2025-10-17 21:31:50,645 - INFO - Deleting VM ctest-vn1-vm1-87476451 2025-10-17 21:31:50,982 - DEBUG - Response for delete_port : () 2025-10-17 21:31:51,163 - DEBUG - Response for delete_port : () 2025-10-17 21:31:51,163 - INFO - Deleting VN ctest-vn1-97641214 2025-10-17 21:31:51,309 - DEBUG - Response for deleting network () 2025-10-17 21:31:51,572 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:31:51,573 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-10-17 21:31:51,573 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:31:52,319 - INFO - Deleted project: ctest-TestPorts-23437360, ID : a13a9df4-7df4-4609-9524-38f68469509f