2025-09-11 08:33:16,453 - INFO - Domain Default found not creating 2025-09-11 08:33:16,586 - INFO - Project ctest-TestPorts-10660054 not found, creating it 2025-09-11 08:33:17,119 - INFO - Created Project:ctest-TestPorts-10660054, ID : 5a6bb24b-de76-41d8-a92f-093cf5f60996 2025-09-11 08:33:18,441 - INFO - ================================================================================ 2025-09-11 08:33:18,441 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 08:33:18,441 - 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-11 08:33:18,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0'}} with 2025-09-11 08:33:18,702 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:33:18,702 - INFO - 2025-09-11 08:33:19,215 - DEBUG - Response for create_network : {'network': {'id': 'f47e1ebd-185d-46dd-a251-4f82297a9b8a', 'name': 'ctest-vn-66007676', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'project_id': '5a6bb24bde7641d8a92f093cf5f60996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10660054', 'ctest-vn-66007676'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:33:19,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dde413a-605c-46d0-a640-43c01049f1d4', 'name': '', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': 'f47e1ebd-185d-46dd-a251-4f82297a9b8a', 'ip_version': 4, 'cidr': '196.132.203.0/26', 'allocation_pools': [{'start': '196.132.203.2', 'end': '196.132.203.62'}], 'gateway_ip': '196.132.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.132.203.2', 'tags': [], 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:19,421 - INFO - Created VN ctest-vn-66007676 2025-09-11 08:33:19,473 - DEBUG - VN ctest-vn-66007676 UUID is f47e1ebd-185d-46dd-a251-4f82297a9b8a 2025-09-11 08:33:19,571 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10660054', 'ctest-vmi-82083244']} 2025-09-11 08:33:19,869 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82083244', 'id': 'ccfdfe1f-85f2-4643-8242-c8e2d6b600e4', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': 'f47e1ebd-185d-46dd-a251-4f82297a9b8a', 'mac_address': '02:cc:fd:fe:1f:85', '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': '196.132.203.3', 'subnet_id': '4dde413a-605c-46d0-a640-43c01049f1d4'}], 'security_groups': ['c6823c1c-dbb0-4041-88b5-46bcd266fc0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:19,869 - DEBUG - Created port ccfdfe1f-85f2-4643-8242-c8e2d6b600e4 2025-09-11 08:33:19,977 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ccfdfe1f-85f2-4643-8242-c8e2d6b600e4 2025-09-11 08:33:20,267 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ccfdfe1f-85f2-4643-8242-c8e2d6b600e4 2025-09-11 08:33:20,294 - INFO - VMI ccfdfe1f-85f2-4643-8242-c8e2d6b600e4 verification in API Server passed 2025-09-11 08:33:20,365 - DEBUG - Response for delete_port : () 2025-09-11 08:33:20,365 - INFO - Deleted port ccfdfe1f-85f2-4643-8242-c8e2d6b600e4 2025-09-11 08:33:20,365 - INFO - Deleting VN ctest-vn-66007676 2025-09-11 08:33:20,450 - DEBUG - Response for deleting network () 2025-09-11 08:33:20,698 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:33:20,698 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 08:33:20,698 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:33:20,700 - INFO - ================================================================================ 2025-09-11 08:33:20,700 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 08:33:20,700 - 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-11 08:33:20,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0'}} with 2025-09-11 08:33:20,985 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:33:20,985 - INFO - 2025-09-11 08:33:21,151 - DEBUG - Response for create_network : {'network': {'id': '4ef6f3f1-b275-4dd2-b03c-1adacf4146ed', 'name': 'ctest-vn1-16141431', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'project_id': '5a6bb24bde7641d8a92f093cf5f60996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10660054', 'ctest-vn1-16141431'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:33:21,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e2d9ba5-c027-4017-b410-8bd79bdd8d4e', 'name': '', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': '4ef6f3f1-b275-4dd2-b03c-1adacf4146ed', 'ip_version': 4, 'cidr': '164.228.126.128/26', 'allocation_pools': [{'start': '164.228.126.130', 'end': '164.228.126.190'}], 'gateway_ip': '164.228.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.228.126.130', 'tags': [], 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:21,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fa7c731-1d6e-489b-94cf-922d2cbe52ec', 'name': '', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': '4ef6f3f1-b275-4dd2-b03c-1adacf4146ed', 'ip_version': 4, 'cidr': '91.174.143.192/26', 'allocation_pools': [{'start': '91.174.143.194', 'end': '91.174.143.254'}], 'gateway_ip': '91.174.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.174.143.194', 'tags': [], 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:21,497 - INFO - Created VN ctest-vn1-16141431 2025-09-11 08:33:21,553 - DEBUG - VN ctest-vn1-16141431 UUID is 4ef6f3f1-b275-4dd2-b03c-1adacf4146ed 2025-09-11 08:33:21,820 - DEBUG - Response for create_port : {'port': {'name': '26b3ad46-5e13-4e50-bce7-989a1345ec52', 'id': '26b3ad46-5e13-4e50-bce7-989a1345ec52', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': '4ef6f3f1-b275-4dd2-b03c-1adacf4146ed', 'mac_address': '02:26:b3:ad:46:5e', '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': '164.228.126.133', 'subnet_id': '7e2d9ba5-c027-4017-b410-8bd79bdd8d4e'}], 'security_groups': ['c6823c1c-dbb0-4041-88b5-46bcd266fc0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:21,967 - DEBUG - Response for create_port : {'port': {'name': 'c94eb202-d3b5-470b-a244-db0464fbef27', 'id': 'c94eb202-d3b5-470b-a244-db0464fbef27', 'tenant_id': '5a6bb24bde7641d8a92f093cf5f60996', 'network_id': '4ef6f3f1-b275-4dd2-b03c-1adacf4146ed', 'mac_address': '02:c9:4e:b2:02:d3', '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': '91.174.143.197', 'subnet_id': '9fa7c731-1d6e-489b-94cf-922d2cbe52ec'}], 'security_groups': ['c6823c1c-dbb0-4041-88b5-46bcd266fc0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a6bb24bde7641d8a92f093cf5f60996'}} 2025-09-11 08:33:22,016 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:33:22,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4085-1) 2025-09-11 08:33:22,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4085-1) 2025-09-11 08:33:22,676 - INFO - Waiting for VM ctest-vn1-vm1-97356945 to be up.. 2025-09-11 08:33:22,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:33:27,778 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:33:27,778 - INFO - VM name : ctest-vn1-vm1-97356945 2025-09-11 08:33:27,843 - DEBUG - VM ctest-vn1-vm1-97356945 ID is 1d5995a5-622f-414f-a0f1-e4ba75e21a39 2025-09-11 08:33:27,859 - DEBUG - VM ctest-vn1-vm1-97356945 launched on Node cn-jenkins-deploy-platform-ansible-os-4085-1 2025-09-11 08:33:27,922 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1d5995a5-622f-414f-a0f1-e4ba75e21a39 2025-09-11 08:33:27,929 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/26b3ad46-5e13-4e50-bce7-989a1345ec52 2025-09-11 08:33:31,160 - 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 1007ms') 2025-09-11 08:33:31,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97356945 failed! 2025-09-11 08:33:31,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10660054:ctest-vn1-16141431 is 164.228.126.129 and allocation pool is NOT set 2025-09-11 08:33:31,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10660054:ctest-vn1-16141431 is 91.174.143.193 and allocation pool is NOT set 2025-09-11 08:33:33,277 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.733 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.733/2.321/3.909/1.588 ms') 2025-09-11 08:33:33,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97356945 passed 2025-09-11 08:33:33,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:33:33,429 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97356945, IP 164.228.126.133, Port 22 2025-09-11 08:33:33,584 - DEBUG - VM ctest-vn1-vm1-97356945 is ready for SSH connections 2025-09-11 08:33:33,585 - INFO - Waiting for VM ctest-vn1-vm2-18915081 to be up.. 2025-09-11 08:33:33,649 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:33:33,649 - INFO - VM name : ctest-vn1-vm2-18915081 2025-09-11 08:33:33,709 - DEBUG - VM ctest-vn1-vm2-18915081 ID is b418958c-8851-4360-92ba-1b16c5c0a7ae 2025-09-11 08:33:33,709 - DEBUG - VM ctest-vn1-vm2-18915081 launched on Node cn-jenkins-deploy-platform-ansible-os-4085-1 2025-09-11 08:33:33,770 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b418958c-8851-4360-92ba-1b16c5c0a7ae 2025-09-11 08:33:33,777 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/c94eb202-d3b5-470b-a244-db0464fbef27 2025-09-11 08:33:35,009 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.541/2.661/1.119 ms') 2025-09-11 08:33:35,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18915081 passed 2025-09-11 08:33:35,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:33:35,158 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18915081, IP 91.174.143.197, Port 22 2025-09-11 08:33:35,309 - DEBUG - VM ctest-vn1-vm2-18915081 is ready for SSH connections 2025-09-11 08:33:35,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:33:35,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:33:35,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:33:35,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.228.126.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-09-11 08:33:35,310 - DEBUG - ping -s 56 -c 3 -W 1 164.228.126.133 2025-09-11 08:33:37,975 - DEBUG - PING 164.228.126.133 (164.228.126.133): 56 data bytes 64 bytes from 164.228.126.133: seq=0 ttl=63 time=3.301 ms 64 bytes from 164.228.126.133: seq=1 ttl=63 time=0.713 ms 64 bytes from 164.228.126.133: seq=2 ttl=63 time=0.870 ms --- 164.228.126.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.628/3.301 ms 2025-09-11 08:33:37,975 - INFO - Ping to IP 164.228.126.133 from VM ctest-vn1-vm2-18915081 passed 2025-09-11 08:33:37,975 - INFO - Detaching port c94eb202-d3b5-470b-a244-db0464fbef27 from VM ctest-vn1-vm2-18915081 2025-09-11 08:33:38,023 - INFO - Deleting VM ctest-vn1-vm2-18915081 2025-09-11 08:33:38,080 - INFO - Detaching port 26b3ad46-5e13-4e50-bce7-989a1345ec52 from VM ctest-vn1-vm1-97356945 2025-09-11 08:33:38,110 - INFO - Deleting VM ctest-vn1-vm1-97356945 2025-09-11 08:33:38,351 - DEBUG - Response for delete_port : () 2025-09-11 08:33:38,528 - DEBUG - Response for delete_port : () 2025-09-11 08:33:38,528 - INFO - Deleting VN ctest-vn1-16141431 2025-09-11 08:33:38,668 - DEBUG - Response for deleting network () 2025-09-11 08:33:38,924 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:33:38,924 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-11 08:33:38,924 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:33:39,598 - INFO - Deleted project: ctest-TestPorts-10660054, ID : 5a6bb24b-de76-41d8-a92f-093cf5f60996