2025-08-25 02:13:44,612 - INFO - Domain Default found not creating 2025-08-25 02:13:44,796 - INFO - Project ctest-TestPorts-86240824 not found, creating it 2025-08-25 02:13:45,317 - INFO - Created Project:ctest-TestPorts-86240824, ID : e93624fb-4fec-426a-bdbe-a7039d061b4e 2025-08-25 02:13:46,955 - INFO - ================================================================================ 2025-08-25 02:13:46,956 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 02:13:46,956 - 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-08-25 02:13:47,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with 2025-08-25 02:13:47,219 - INFO - Initial checks done. Running the testcase now 2025-08-25 02:13:47,219 - INFO - 2025-08-25 02:13:47,855 - DEBUG - Response for create_network : {'network': {'id': 'c8fcc76a-6909-419c-b4a9-ade42b306303', 'name': 'ctest-vn-87584083', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'project_id': 'e93624fb4fec426abdbea7039d061b4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86240824', 'ctest-vn-87584083'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:13:48,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '982ad6c4-88af-4ada-a8d1-a07d58ac2e94', 'name': '', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'c8fcc76a-6909-419c-b4a9-ade42b306303', 'ip_version': 4, 'cidr': '175.30.79.0/26', 'allocation_pools': [{'start': '175.30.79.2', 'end': '175.30.79.62'}], 'gateway_ip': '175.30.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.30.79.2', 'tags': [], 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:48,161 - INFO - Created VN ctest-vn-87584083 2025-08-25 02:13:48,220 - DEBUG - VN ctest-vn-87584083 UUID is c8fcc76a-6909-419c-b4a9-ade42b306303 2025-08-25 02:13:48,346 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86240824', 'ctest-vmi-28345957']} 2025-08-25 02:13:48,663 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28345957', 'id': '2c4a3a6e-8f49-48c5-a62a-82b4631b50f2', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'c8fcc76a-6909-419c-b4a9-ade42b306303', 'mac_address': '02:2c:4a:3a:6e:8f', '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': '175.30.79.3', 'subnet_id': '982ad6c4-88af-4ada-a8d1-a07d58ac2e94'}], 'security_groups': ['fc5e5b3f-f83e-4e59-9e60-9fc128264f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:48,663 - DEBUG - Created port 2c4a3a6e-8f49-48c5-a62a-82b4631b50f2 2025-08-25 02:13:48,775 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2c4a3a6e-8f49-48c5-a62a-82b4631b50f2 2025-08-25 02:13:49,091 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2c4a3a6e-8f49-48c5-a62a-82b4631b50f2 2025-08-25 02:13:49,129 - INFO - VMI 2c4a3a6e-8f49-48c5-a62a-82b4631b50f2 verification in API Server passed 2025-08-25 02:13:49,241 - DEBUG - Response for delete_port : () 2025-08-25 02:13:49,241 - INFO - Deleted port 2c4a3a6e-8f49-48c5-a62a-82b4631b50f2 2025-08-25 02:13:49,241 - INFO - Deleting VN ctest-vn-87584083 2025-08-25 02:13:49,386 - DEBUG - Response for deleting network () 2025-08-25 02:13:49,660 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 02:13:49,660 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-25 02:13:49,660 - INFO - -------------------------------------------------------------------------------- 2025-08-25 02:13:49,665 - INFO - ================================================================================ 2025-08-25 02:13:49,665 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 02:13:49,665 - 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-08-25 02:13:49,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with 2025-08-25 02:13:49,951 - INFO - Initial checks done. Running the testcase now 2025-08-25 02:13:49,951 - INFO - 2025-08-25 02:13:50,194 - DEBUG - Response for create_network : {'network': {'id': 'e9495370-e28d-4cb6-b57e-29da6adbb99c', 'name': 'ctest-vn1-29536091', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'project_id': 'e93624fb4fec426abdbea7039d061b4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86240824', 'ctest-vn1-29536091'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:13:50,386 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd473e4ac-4715-4610-b1dd-f425bfbeef7f', 'name': '', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'e9495370-e28d-4cb6-b57e-29da6adbb99c', 'ip_version': 4, 'cidr': '41.62.93.128/26', 'allocation_pools': [{'start': '41.62.93.130', 'end': '41.62.93.190'}], 'gateway_ip': '41.62.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.62.93.130', 'tags': [], 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:50,573 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b941576f-b8cf-4d91-9dff-1238deac42f3', 'name': '', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'e9495370-e28d-4cb6-b57e-29da6adbb99c', 'ip_version': 4, 'cidr': '46.80.58.0/26', 'allocation_pools': [{'start': '46.80.58.2', 'end': '46.80.58.62'}], 'gateway_ip': '46.80.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.80.58.2', 'tags': [], 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:50,598 - INFO - Created VN ctest-vn1-29536091 2025-08-25 02:13:50,659 - DEBUG - VN ctest-vn1-29536091 UUID is e9495370-e28d-4cb6-b57e-29da6adbb99c 2025-08-25 02:13:51,029 - DEBUG - Response for create_port : {'port': {'name': 'ebdf942a-2e0e-4e99-8b66-dda8817022f2', 'id': 'ebdf942a-2e0e-4e99-8b66-dda8817022f2', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'e9495370-e28d-4cb6-b57e-29da6adbb99c', 'mac_address': '02:eb:df:94:2a:2e', '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': '41.62.93.133', 'subnet_id': 'd473e4ac-4715-4610-b1dd-f425bfbeef7f'}], 'security_groups': ['fc5e5b3f-f83e-4e59-9e60-9fc128264f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:51,251 - DEBUG - Response for create_port : {'port': {'name': 'd48c783d-b274-46a7-92fd-16cc22488c3e', 'id': 'd48c783d-b274-46a7-92fd-16cc22488c3e', 'tenant_id': 'e93624fb4fec426abdbea7039d061b4e', 'network_id': 'e9495370-e28d-4cb6-b57e-29da6adbb99c', 'mac_address': '02:d4:8c:78:3d:b2', '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': '46.80.58.5', 'subnet_id': 'b941576f-b8cf-4d91-9dff-1238deac42f3'}], 'security_groups': ['fc5e5b3f-f83e-4e59-9e60-9fc128264f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e93624fb4fec426abdbea7039d061b4e'}} 2025-08-25 02:13:51,326 - DEBUG - Services list from nova: [, , ] 2025-08-25 02:13:51,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1) 2025-08-25 02:13:52,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1) 2025-08-25 02:13:52,383 - INFO - Waiting for VM ctest-vn1-vm1-47773897 to be up.. 2025-08-25 02:13:52,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 02:13:57,560 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:13:57,560 - INFO - VM name : ctest-vn1-vm1-47773897 2025-08-25 02:13:57,657 - DEBUG - VM ctest-vn1-vm1-47773897 ID is 96abd13e-2594-4d30-b8b6-f0a1e935daf0 2025-08-25 02:13:57,696 - DEBUG - VM ctest-vn1-vm1-47773897 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1 2025-08-25 02:13:57,814 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/96abd13e-2594-4d30-b8b6-f0a1e935daf0 2025-08-25 02:13:57,828 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ebdf942a-2e0e-4e99-8b66-dda8817022f2 2025-08-25 02:14:01,108 - 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 1016ms') 2025-08-25 02:14:01,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47773897 failed! 2025-08-25 02:14:01,168 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86240824:ctest-vn1-29536091 is 41.62.93.129 and allocation pool is NOT set 2025-08-25 02:14:01,168 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86240824:ctest-vn1-29536091 is 46.80.58.1 and allocation pool is NOT set 2025-08-25 02:14:05,273 - 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 1032ms') 2025-08-25 02:14:05,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47773897 failed! 2025-08-25 02:14:05,336 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86240824:ctest-vn1-29536091 is 41.62.93.129 and allocation pool is NOT set 2025-08-25 02:14:05,336 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86240824:ctest-vn1-29536091 is 46.80.58.1 and allocation pool is NOT set 2025-08-25 02:14:07,398 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 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.473/2.001/3.529/1.528 ms') 2025-08-25 02:14:07,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47773897 passed 2025-08-25 02:14:07,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:14:07,555 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47773897, IP 41.62.93.133, Port 22 2025-08-25 02:14:07,726 - DEBUG - VM ctest-vn1-vm1-47773897 is ready for SSH connections 2025-08-25 02:14:07,726 - INFO - Waiting for VM ctest-vn1-vm2-67806671 to be up.. 2025-08-25 02:14:07,826 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:14:07,826 - INFO - VM name : ctest-vn1-vm2-67806671 2025-08-25 02:14:07,921 - DEBUG - VM ctest-vn1-vm2-67806671 ID is 32e8d639-e24c-471e-8895-fcbeef84ae49 2025-08-25 02:14:07,922 - DEBUG - VM ctest-vn1-vm2-67806671 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1 2025-08-25 02:14:08,016 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/32e8d639-e24c-471e-8895-fcbeef84ae49 2025-08-25 02:14:08,027 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d48c783d-b274-46a7-92fd-16cc22488c3e 2025-08-25 02:14:09,274 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/2.140/3.850/1.709 ms') 2025-08-25 02:14:09,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67806671 passed 2025-08-25 02:14:09,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:14:09,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67806671, IP 46.80.58.5, Port 22 2025-08-25 02:14:09,595 - DEBUG - VM ctest-vn1-vm2-67806671 is ready for SSH connections 2025-08-25 02:14:09,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:14:09,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:14:09,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:14:09,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.62.93.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-25 02:14:09,596 - DEBUG - ping -s 56 -c 3 -W 1 41.62.93.133 2025-08-25 02:14:12,340 - DEBUG - PING 41.62.93.133 (41.62.93.133): 56 data bytes 64 bytes from 41.62.93.133: seq=0 ttl=63 time=4.177 ms 64 bytes from 41.62.93.133: seq=1 ttl=63 time=1.028 ms 64 bytes from 41.62.93.133: seq=2 ttl=63 time=0.966 ms --- 41.62.93.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.057/4.177 ms 2025-08-25 02:14:12,340 - INFO - Ping to IP 41.62.93.133 from VM ctest-vn1-vm2-67806671 passed 2025-08-25 02:14:12,341 - INFO - Detaching port d48c783d-b274-46a7-92fd-16cc22488c3e from VM ctest-vn1-vm2-67806671 2025-08-25 02:14:12,403 - INFO - Deleting VM ctest-vn1-vm2-67806671 2025-08-25 02:14:12,501 - INFO - Detaching port ebdf942a-2e0e-4e99-8b66-dda8817022f2 from VM ctest-vn1-vm1-47773897 2025-08-25 02:14:12,551 - INFO - Deleting VM ctest-vn1-vm1-47773897 2025-08-25 02:14:12,866 - DEBUG - Response for delete_port : () 2025-08-25 02:14:13,078 - DEBUG - Response for delete_port : () 2025-08-25 02:14:13,078 - INFO - Deleting VN ctest-vn1-29536091 2025-08-25 02:14:13,255 - DEBUG - Response for deleting network () 2025-08-25 02:14:13,531 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 02:14:13,531 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-25 02:14:13,531 - INFO - -------------------------------------------------------------------------------- 2025-08-25 02:14:14,418 - INFO - Deleted project: ctest-TestPorts-86240824, ID : e93624fb-4fec-426a-bdbe-a7039d061b4e