2025-09-16 21:43:06,798 - INFO - Domain Default found not creating 2025-09-16 21:43:06,961 - INFO - Project ctest-TestPorts-52408829 not found, creating it 2025-09-16 21:43:07,416 - INFO - Created Project:ctest-TestPorts-52408829, ID : 6b583da5-9652-4fee-866f-7dd528fdfa3a 2025-09-16 21:43:08,776 - INFO - ================================================================================ 2025-09-16 21:43:08,776 - INFO - STARTING TEST : test_ports_bindings 2025-09-16 21:43:08,776 - 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-09-16 21:43:09,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-16 21:43:09,039 - INFO - Initial checks done. Running the testcase now 2025-09-16 21:43:09,039 - INFO - 2025-09-16 21:43:09,781 - DEBUG - Response for create_network : {'network': {'id': '50178b91-7b74-4936-ae55-d5cb5f5ae392', 'name': 'ctest-vn-74515151', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'project_id': '6b583da596524fee866f7dd528fdfa3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52408829', 'ctest-vn-74515151'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:43:10,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '7095a3c9-44e7-420c-805b-7ffd8feef75c', 'name': '', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': '50178b91-7b74-4936-ae55-d5cb5f5ae392', 'ip_version': 4, 'cidr': '15.172.100.64/26', 'allocation_pools': [{'start': '15.172.100.66', 'end': '15.172.100.126'}], 'gateway_ip': '15.172.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.172.100.66', 'tags': [], 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:10,079 - INFO - Created VN ctest-vn-74515151 2025-09-16 21:43:10,134 - DEBUG - VN ctest-vn-74515151 UUID is 50178b91-7b74-4936-ae55-d5cb5f5ae392 2025-09-16 21:43:10,232 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52408829', 'ctest-vmi-30170824']} 2025-09-16 21:43:10,496 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30170824', 'id': '63d2f632-3c53-45df-9a12-e6b5f01daaeb', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': '50178b91-7b74-4936-ae55-d5cb5f5ae392', 'mac_address': '02:63:d2:f6:32: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': '15.172.100.67', 'subnet_id': '7095a3c9-44e7-420c-805b-7ffd8feef75c'}], 'security_groups': ['320917d8-8019-4129-8c2b-9bbdeb25e760'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:10,496 - DEBUG - Created port 63d2f632-3c53-45df-9a12-e6b5f01daaeb 2025-09-16 21:43:10,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/63d2f632-3c53-45df-9a12-e6b5f01daaeb 2025-09-16 21:43:10,891 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/63d2f632-3c53-45df-9a12-e6b5f01daaeb 2025-09-16 21:43:10,921 - INFO - VMI 63d2f632-3c53-45df-9a12-e6b5f01daaeb verification in API Server passed 2025-09-16 21:43:11,006 - DEBUG - Response for delete_port : () 2025-09-16 21:43:11,006 - INFO - Deleted port 63d2f632-3c53-45df-9a12-e6b5f01daaeb 2025-09-16 21:43:11,006 - INFO - Deleting VN ctest-vn-74515151 2025-09-16 21:43:11,099 - DEBUG - Response for deleting network () 2025-09-16 21:43:11,354 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 21:43:11,354 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-16 21:43:11,354 - INFO - -------------------------------------------------------------------------------- 2025-09-16 21:43:11,356 - INFO - ================================================================================ 2025-09-16 21:43:11,356 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-16 21:43:11,356 - 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-09-16 21:43:11,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-16 21:43:11,642 - INFO - Initial checks done. Running the testcase now 2025-09-16 21:43:11,643 - INFO - 2025-09-16 21:43:11,804 - DEBUG - Response for create_network : {'network': {'id': 'b9345691-3565-44f4-9a84-b69fd9b703e8', 'name': 'ctest-vn1-95733831', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'project_id': '6b583da596524fee866f7dd528fdfa3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52408829', 'ctest-vn1-95733831'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:43:11,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '5112061b-c908-42df-8448-4207bb7af7ff', 'name': '', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': 'b9345691-3565-44f4-9a84-b69fd9b703e8', 'ip_version': 4, 'cidr': '169.220.218.128/26', 'allocation_pools': [{'start': '169.220.218.130', 'end': '169.220.218.190'}], 'gateway_ip': '169.220.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.220.218.130', 'tags': [], 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:12,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e08137e-a935-4048-8a61-25df05efe332', 'name': '', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': 'b9345691-3565-44f4-9a84-b69fd9b703e8', 'ip_version': 4, 'cidr': '175.111.90.0/26', 'allocation_pools': [{'start': '175.111.90.2', 'end': '175.111.90.62'}], 'gateway_ip': '175.111.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.111.90.2', 'tags': [], 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:12,148 - INFO - Created VN ctest-vn1-95733831 2025-09-16 21:43:12,198 - DEBUG - VN ctest-vn1-95733831 UUID is b9345691-3565-44f4-9a84-b69fd9b703e8 2025-09-16 21:43:12,478 - DEBUG - Response for create_port : {'port': {'name': 'b721ce0c-c218-4781-ad1d-28c5c6b930eb', 'id': 'b721ce0c-c218-4781-ad1d-28c5c6b930eb', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': 'b9345691-3565-44f4-9a84-b69fd9b703e8', 'mac_address': '02:b7:21:ce:0c:c2', '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': '169.220.218.133', 'subnet_id': '5112061b-c908-42df-8448-4207bb7af7ff'}], 'security_groups': ['320917d8-8019-4129-8c2b-9bbdeb25e760'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:12,640 - DEBUG - Response for create_port : {'port': {'name': '3bdbb180-afd2-46b6-952a-b720df16fb5a', 'id': '3bdbb180-afd2-46b6-952a-b720df16fb5a', 'tenant_id': '6b583da596524fee866f7dd528fdfa3a', 'network_id': 'b9345691-3565-44f4-9a84-b69fd9b703e8', 'mac_address': '02:3b:db:b1:80:af', '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': '175.111.90.5', 'subnet_id': '3e08137e-a935-4048-8a61-25df05efe332'}], 'security_groups': ['320917d8-8019-4129-8c2b-9bbdeb25e760'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b583da596524fee866f7dd528fdfa3a'}} 2025-09-16 21:43:12,687 - DEBUG - Services list from nova: [, , ] 2025-09-16 21:43:12,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:43:13,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:43:13,364 - INFO - Waiting for VM ctest-vn1-vm1-62098021 to be up.. 2025-09-16 21:43:13,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 21:43:18,492 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:43:18,492 - INFO - VM name : ctest-vn1-vm1-62098021 2025-09-16 21:43:18,562 - DEBUG - VM ctest-vn1-vm1-62098021 ID is 56ae1bcb-4193-4b3e-a3e1-f53cb54ca658 2025-09-16 21:43:18,580 - DEBUG - VM ctest-vn1-vm1-62098021 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:43:18,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/56ae1bcb-4193-4b3e-a3e1-f53cb54ca658 2025-09-16 21:43:18,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b721ce0c-c218-4781-ad1d-28c5c6b930eb 2025-09-16 21:43:22,059 - 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 1019ms') 2025-09-16 21:43:22,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62098021 failed! 2025-09-16 21:43:22,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52408829:ctest-vn1-95733831 is 169.220.218.129 and allocation pool is NOT set 2025-09-16 21:43:22,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52408829:ctest-vn1-95733831 is 175.111.90.1 and allocation pool is NOT set 2025-09-16 21:43:24,185 - 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=6.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 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 = 2.075/4.306/6.537/2.231 ms') 2025-09-16 21:43:24,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62098021 passed 2025-09-16 21:43:24,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:43:24,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62098021, IP 169.220.218.133, Port 22 2025-09-16 21:43:24,493 - DEBUG - VM ctest-vn1-vm1-62098021 is ready for SSH connections 2025-09-16 21:43:24,493 - INFO - Waiting for VM ctest-vn1-vm2-37385265 to be up.. 2025-09-16 21:43:24,569 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:43:24,569 - INFO - VM name : ctest-vn1-vm2-37385265 2025-09-16 21:43:24,638 - DEBUG - VM ctest-vn1-vm2-37385265 ID is 1886165a-ca2f-49fc-87c2-707ed6664a47 2025-09-16 21:43:24,638 - DEBUG - VM ctest-vn1-vm2-37385265 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:43:24,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1886165a-ca2f-49fc-87c2-707ed6664a47 2025-09-16 21:43:24,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3bdbb180-afd2-46b6-952a-b720df16fb5a 2025-09-16 21:43:25,959 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.600/2.731/1.130 ms') 2025-09-16 21:43:25,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37385265 passed 2025-09-16 21:43:26,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:43:26,106 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37385265, IP 175.111.90.5, Port 22 2025-09-16 21:43:26,261 - DEBUG - VM ctest-vn1-vm2-37385265 is ready for SSH connections 2025-09-16 21:43:26,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:43:26,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:43:26,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:43:26,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.220.218.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 21:43:26,261 - DEBUG - ping -s 56 -c 3 -W 1 169.220.218.133 2025-09-16 21:43:29,212 - DEBUG - PING 169.220.218.133 (169.220.218.133): 56 data bytes 64 bytes from 169.220.218.133: seq=0 ttl=63 time=3.204 ms 64 bytes from 169.220.218.133: seq=1 ttl=63 time=0.908 ms 64 bytes from 169.220.218.133: seq=2 ttl=63 time=0.820 ms --- 169.220.218.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.644/3.204 ms 2025-09-16 21:43:29,212 - INFO - Ping to IP 169.220.218.133 from VM ctest-vn1-vm2-37385265 passed 2025-09-16 21:43:29,212 - INFO - Detaching port 3bdbb180-afd2-46b6-952a-b720df16fb5a from VM ctest-vn1-vm2-37385265 2025-09-16 21:43:29,261 - INFO - Deleting VM ctest-vn1-vm2-37385265 2025-09-16 21:43:29,326 - INFO - Detaching port b721ce0c-c218-4781-ad1d-28c5c6b930eb from VM ctest-vn1-vm1-62098021 2025-09-16 21:43:29,362 - INFO - Deleting VM ctest-vn1-vm1-62098021 2025-09-16 21:43:29,579 - DEBUG - Response for delete_port : () 2025-09-16 21:43:29,741 - DEBUG - Response for delete_port : () 2025-09-16 21:43:29,741 - INFO - Deleting VN ctest-vn1-95733831 2025-09-16 21:43:29,902 - DEBUG - Response for deleting network () 2025-09-16 21:43:30,162 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 21:43:30,162 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-16 21:43:30,162 - INFO - -------------------------------------------------------------------------------- 2025-09-16 21:43:30,806 - INFO - Deleted project: ctest-TestPorts-52408829, ID : 6b583da5-9652-4fee-866f-7dd528fdfa3a