2025-11-10 01:59:04,612 - INFO - Domain Default found not creating 2025-11-10 01:59:04,773 - INFO - Project ctest-TestPorts-74671702 not found, creating it 2025-11-10 01:59:05,245 - INFO - Created Project:ctest-TestPorts-74671702, ID : ffe1750c-f288-436a-bad0-9b0c7e9aa0fa 2025-11-10 01:59:06,714 - INFO - ================================================================================ 2025-11-10 01:59:06,715 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 01:59:06,715 - 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-11-10 01:59:06,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.192': '0'}} with 2025-11-10 01:59:06,975 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:59:06,975 - INFO - 2025-11-10 01:59:07,581 - DEBUG - Response for create_network : {'network': {'id': '76e1d42a-ee2b-4886-9d27-3a78375f69f4', 'name': 'ctest-vn-75003987', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74671702', 'ctest-vn-75003987'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:07,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e263dac-4e2f-4e79-bd0b-2d538a3a7994', 'name': '', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': '76e1d42a-ee2b-4886-9d27-3a78375f69f4', 'ip_version': 4, 'cidr': '62.144.103.128/26', 'allocation_pools': [{'start': '62.144.103.130', 'end': '62.144.103.190'}], 'gateway_ip': '62.144.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.144.103.130', 'tags': [], 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:07,831 - INFO - Created VN ctest-vn-75003987 2025-11-10 01:59:07,884 - DEBUG - VN ctest-vn-75003987 UUID is 76e1d42a-ee2b-4886-9d27-3a78375f69f4 2025-11-10 01:59:08,006 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74671702', 'ctest-vmi-96472326']} 2025-11-10 01:59:08,261 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96472326', 'id': '25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': '76e1d42a-ee2b-4886-9d27-3a78375f69f4', 'mac_address': '02:25:b4:9e:06:a3', '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': '62.144.103.131', 'subnet_id': '8e263dac-4e2f-4e79-bd0b-2d538a3a7994'}], 'security_groups': ['4475d8f4-64d4-461f-95c3-f13531d8fad5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:08,261 - DEBUG - Created port 25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0 2025-11-10 01:59:08,367 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0 2025-11-10 01:59:08,679 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0 2025-11-10 01:59:08,726 - INFO - VMI 25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0 verification in API Server passed 2025-11-10 01:59:08,838 - DEBUG - Response for delete_port : () 2025-11-10 01:59:08,838 - INFO - Deleted port 25b49e06-a35b-4bd3-b3d2-87c13c2b1ea0 2025-11-10 01:59:08,839 - INFO - Deleting VN ctest-vn-75003987 2025-11-10 01:59:08,968 - DEBUG - Response for deleting network () 2025-11-10 01:59:09,226 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:59:09,226 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-10 01:59:09,226 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:59:09,229 - INFO - ================================================================================ 2025-11-10 01:59:09,229 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 01:59:09,229 - 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-11-10 01:59:09,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.192': '0'}} with 2025-11-10 01:59:09,514 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:59:09,514 - INFO - 2025-11-10 01:59:09,699 - DEBUG - Response for create_network : {'network': {'id': 'b245a53f-6b3f-4a32-bb3b-9ff8b536571c', 'name': 'ctest-vn1-77066477', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74671702', 'ctest-vn1-77066477'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:09,927 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee42aa00-7840-4e74-8142-a775c42d99a8', 'name': '', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': 'b245a53f-6b3f-4a32-bb3b-9ff8b536571c', 'ip_version': 4, 'cidr': '36.174.10.0/26', 'allocation_pools': [{'start': '36.174.10.2', 'end': '36.174.10.62'}], 'gateway_ip': '36.174.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.174.10.2', 'tags': [], 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:10,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '62ed4c03-e61a-41c1-9127-00aa076fefe1', 'name': '', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': 'b245a53f-6b3f-4a32-bb3b-9ff8b536571c', 'ip_version': 4, 'cidr': '71.229.187.0/26', 'allocation_pools': [{'start': '71.229.187.2', 'end': '71.229.187.62'}], 'gateway_ip': '71.229.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.229.187.2', 'tags': [], 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:10,101 - INFO - Created VN ctest-vn1-77066477 2025-11-10 01:59:10,156 - DEBUG - VN ctest-vn1-77066477 UUID is b245a53f-6b3f-4a32-bb3b-9ff8b536571c 2025-11-10 01:59:10,536 - DEBUG - Response for create_port : {'port': {'name': 'a5ce59b2-58a7-4fa9-9ec4-5db7d2d0b8b3', 'id': 'a5ce59b2-58a7-4fa9-9ec4-5db7d2d0b8b3', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': 'b245a53f-6b3f-4a32-bb3b-9ff8b536571c', 'mac_address': '02:a5:ce:59:b2:58', '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': '36.174.10.5', 'subnet_id': 'ee42aa00-7840-4e74-8142-a775c42d99a8'}], 'security_groups': ['4475d8f4-64d4-461f-95c3-f13531d8fad5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:10,721 - DEBUG - Response for create_port : {'port': {'name': '3a7960e7-1335-4b9c-a66a-43266c815b21', 'id': '3a7960e7-1335-4b9c-a66a-43266c815b21', 'tenant_id': 'ffe1750cf288436abad09b0c7e9aa0fa', 'network_id': 'b245a53f-6b3f-4a32-bb3b-9ff8b536571c', 'mac_address': '02:3a:79:60:e7:13', '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': '71.229.187.5', 'subnet_id': '62ed4c03-e61a-41c1-9127-00aa076fefe1'}], 'security_groups': ['4475d8f4-64d4-461f-95c3-f13531d8fad5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffe1750cf288436abad09b0c7e9aa0fa'}} 2025-11-10 01:59:10,784 - DEBUG - Services list from nova: [, , ] 2025-11-10 01:59:11,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4677-1) 2025-11-10 01:59:11,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4677-1) 2025-11-10 01:59:11,598 - INFO - Waiting for VM ctest-vn1-vm1-77324954 to be up.. 2025-11-10 01:59:11,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 01:59:16,727 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:59:16,727 - INFO - VM name : ctest-vn1-vm1-77324954 2025-11-10 01:59:16,802 - DEBUG - VM ctest-vn1-vm1-77324954 ID is 637e77e8-7e76-4820-b22c-a7d1cf2ef677 2025-11-10 01:59:16,822 - DEBUG - VM ctest-vn1-vm1-77324954 launched on Node cn-jenkins-deploy-platform-ansible-os-4677-1 2025-11-10 01:59:16,897 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/637e77e8-7e76-4820-b22c-a7d1cf2ef677 2025-11-10 01:59:16,907 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a5ce59b2-58a7-4fa9-9ec4-5db7d2d0b8b3 2025-11-10 01:59:20,166 - 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 1021ms') 2025-11-10 01:59:20,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77324954 failed! 2025-11-10 01:59:20,219 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74671702:ctest-vn1-77066477 is 36.174.10.1 and allocation pool is NOT set 2025-11-10 01:59:20,220 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74671702:ctest-vn1-77066477 is 71.229.187.1 and allocation pool is NOT set 2025-11-10 01:59:24,294 - 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=7.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 7.898/7.898/7.898/0.000 ms') 2025-11-10 01:59:24,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77324954 passed 2025-11-10 01:59:24,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:24,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77324954, IP 36.174.10.5, Port 22 2025-11-10 01:59:24,609 - DEBUG - VM ctest-vn1-vm1-77324954 is ready for SSH connections 2025-11-10 01:59:24,609 - INFO - Waiting for VM ctest-vn1-vm2-13112276 to be up.. 2025-11-10 01:59:24,703 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:59:24,703 - INFO - VM name : ctest-vn1-vm2-13112276 2025-11-10 01:59:24,781 - DEBUG - VM ctest-vn1-vm2-13112276 ID is 549fdced-32d4-413b-84d9-cdca1c786423 2025-11-10 01:59:24,782 - DEBUG - VM ctest-vn1-vm2-13112276 launched on Node cn-jenkins-deploy-platform-ansible-os-4677-1 2025-11-10 01:59:24,859 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/549fdced-32d4-413b-84d9-cdca1c786423 2025-11-10 01:59:24,870 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3a7960e7-1335-4b9c-a66a-43266c815b21 2025-11-10 01:59:26,116 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.862/3.182/1.319 ms') 2025-11-10 01:59:26,116 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13112276 passed 2025-11-10 01:59:26,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:26,280 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13112276, IP 71.229.187.5, Port 22 2025-11-10 01:59:26,447 - DEBUG - VM ctest-vn1-vm2-13112276 is ready for SSH connections 2025-11-10 01:59:26,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:26,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:26,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:26,448 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.174.10.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 01:59:26,448 - DEBUG - ping -s 56 -c 3 -W 1 36.174.10.5 2025-11-10 01:59:29,117 - DEBUG - PING 36.174.10.5 (36.174.10.5): 56 data bytes 64 bytes from 36.174.10.5: seq=0 ttl=63 time=3.682 ms 64 bytes from 36.174.10.5: seq=1 ttl=63 time=0.967 ms 64 bytes from 36.174.10.5: seq=2 ttl=63 time=1.400 ms --- 36.174.10.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/2.016/3.682 ms 2025-11-10 01:59:29,117 - INFO - Ping to IP 36.174.10.5 from VM ctest-vn1-vm2-13112276 passed 2025-11-10 01:59:29,117 - INFO - Detaching port 3a7960e7-1335-4b9c-a66a-43266c815b21 from VM ctest-vn1-vm2-13112276 2025-11-10 01:59:29,176 - INFO - Deleting VM ctest-vn1-vm2-13112276 2025-11-10 01:59:29,285 - INFO - Detaching port a5ce59b2-58a7-4fa9-9ec4-5db7d2d0b8b3 from VM ctest-vn1-vm1-77324954 2025-11-10 01:59:29,326 - INFO - Deleting VM ctest-vn1-vm1-77324954 2025-11-10 01:59:29,600 - DEBUG - Response for delete_port : () 2025-11-10 01:59:29,791 - DEBUG - Response for delete_port : () 2025-11-10 01:59:29,791 - INFO - Deleting VN ctest-vn1-77066477 2025-11-10 01:59:29,951 - DEBUG - Response for deleting network () 2025-11-10 01:59:30,228 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:59:30,228 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-10 01:59:30,228 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:59:31,126 - INFO - Deleted project: ctest-TestPorts-74671702, ID : ffe1750c-f288-436a-bad0-9b0c7e9aa0fa