2025-08-13 20:07:22,960 - INFO - Domain Default found not creating 2025-08-13 20:07:23,084 - INFO - Project ctest-TestPorts-60927848 not found, creating it 2025-08-13 20:07:23,506 - INFO - Created Project:ctest-TestPorts-60927848, ID : 3022ccb4-536b-423b-a626-1790b6b5b4e8 2025-08-13 20:07:24,811 - INFO - ================================================================================ 2025-08-13 20:07:24,812 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 20:07:24,812 - 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-13 20:07:25,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 20:07:25,070 - INFO - Initial checks done. Running the testcase now 2025-08-13 20:07:25,070 - INFO - 2025-08-13 20:07:25,666 - DEBUG - Response for create_network : {'network': {'id': '9752e8bf-89cd-4f67-99b0-e1ec68aa73e8', 'name': 'ctest-vn-75713363', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'project_id': '3022ccb4536b423ba6261790b6b5b4e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60927848', 'ctest-vn-75713363'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:07:25,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cb16766-0e79-4c40-86a5-c50f74aae60d', 'name': '', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '9752e8bf-89cd-4f67-99b0-e1ec68aa73e8', 'ip_version': 4, 'cidr': '120.137.172.192/26', 'allocation_pools': [{'start': '120.137.172.194', 'end': '120.137.172.254'}], 'gateway_ip': '120.137.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.137.172.194', 'tags': [], 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:25,844 - INFO - Created VN ctest-vn-75713363 2025-08-13 20:07:25,899 - DEBUG - VN ctest-vn-75713363 UUID is 9752e8bf-89cd-4f67-99b0-e1ec68aa73e8 2025-08-13 20:07:26,012 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60927848', 'ctest-vmi-24115244']} 2025-08-13 20:07:26,240 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24115244', 'id': '289546e8-1ea5-429d-bd5e-4d1065385ccc', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '9752e8bf-89cd-4f67-99b0-e1ec68aa73e8', 'mac_address': '02:28:95:46:e8:1e', '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': '120.137.172.195', 'subnet_id': '2cb16766-0e79-4c40-86a5-c50f74aae60d'}], 'security_groups': ['fb31a3e5-664a-4f16-b44e-86167459511a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:26,240 - DEBUG - Created port 289546e8-1ea5-429d-bd5e-4d1065385ccc 2025-08-13 20:07:26,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/289546e8-1ea5-429d-bd5e-4d1065385ccc 2025-08-13 20:07:26,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/289546e8-1ea5-429d-bd5e-4d1065385ccc 2025-08-13 20:07:26,665 - INFO - VMI 289546e8-1ea5-429d-bd5e-4d1065385ccc verification in API Server passed 2025-08-13 20:07:26,763 - DEBUG - Response for delete_port : () 2025-08-13 20:07:26,764 - INFO - Deleted port 289546e8-1ea5-429d-bd5e-4d1065385ccc 2025-08-13 20:07:26,764 - INFO - Deleting VN ctest-vn-75713363 2025-08-13 20:07:26,860 - DEBUG - Response for deleting network () 2025-08-13 20:07:27,125 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 20:07:27,125 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-13 20:07:27,125 - INFO - -------------------------------------------------------------------------------- 2025-08-13 20:07:27,128 - INFO - ================================================================================ 2025-08-13 20:07:27,128 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 20:07:27,128 - 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-13 20:07:27,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 20:07:27,427 - INFO - Initial checks done. Running the testcase now 2025-08-13 20:07:27,427 - INFO - 2025-08-13 20:07:27,595 - DEBUG - Response for create_network : {'network': {'id': '3da59e86-0df6-44db-b0e6-c424f422557e', 'name': 'ctest-vn1-23396165', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'project_id': '3022ccb4536b423ba6261790b6b5b4e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60927848', 'ctest-vn1-23396165'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:07:27,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea8a7330-61c2-4335-9a5f-98085a3cd20a', 'name': '', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '3da59e86-0df6-44db-b0e6-c424f422557e', 'ip_version': 4, 'cidr': '186.3.208.64/26', 'allocation_pools': [{'start': '186.3.208.66', 'end': '186.3.208.126'}], 'gateway_ip': '186.3.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.3.208.66', 'tags': [], 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:27,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2fd7f49-3038-4628-9ce8-1f9c86e14b71', 'name': '', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '3da59e86-0df6-44db-b0e6-c424f422557e', 'ip_version': 4, 'cidr': '134.212.103.192/26', 'allocation_pools': [{'start': '134.212.103.194', 'end': '134.212.103.254'}], 'gateway_ip': '134.212.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.212.103.194', 'tags': [], 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:27,958 - INFO - Created VN ctest-vn1-23396165 2025-08-13 20:07:28,008 - DEBUG - VN ctest-vn1-23396165 UUID is 3da59e86-0df6-44db-b0e6-c424f422557e 2025-08-13 20:07:28,309 - DEBUG - Response for create_port : {'port': {'name': 'b9c25672-c00c-4d8a-8b87-cd5aa753c84d', 'id': 'b9c25672-c00c-4d8a-8b87-cd5aa753c84d', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '3da59e86-0df6-44db-b0e6-c424f422557e', 'mac_address': '02:b9:c2:56:72:c0', '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': '186.3.208.69', 'subnet_id': 'ea8a7330-61c2-4335-9a5f-98085a3cd20a'}], 'security_groups': ['fb31a3e5-664a-4f16-b44e-86167459511a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:28,479 - DEBUG - Response for create_port : {'port': {'name': '6eee0fa1-5dec-4545-8a43-5acda01bd3ad', 'id': '6eee0fa1-5dec-4545-8a43-5acda01bd3ad', 'tenant_id': '3022ccb4536b423ba6261790b6b5b4e8', 'network_id': '3da59e86-0df6-44db-b0e6-c424f422557e', 'mac_address': '02:6e:ee:0f:a1:5d', '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': '134.212.103.197', 'subnet_id': 'd2fd7f49-3038-4628-9ce8-1f9c86e14b71'}], 'security_groups': ['fb31a3e5-664a-4f16-b44e-86167459511a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3022ccb4536b423ba6261790b6b5b4e8'}} 2025-08-13 20:07:28,530 - DEBUG - Services list from nova: [, , ] 2025-08-13 20:07:28,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:07:29,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:07:29,229 - INFO - Waiting for VM ctest-vn1-vm1-47472879 to be up.. 2025-08-13 20:07:29,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 20:07:34,330 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:07:34,331 - INFO - VM name : ctest-vn1-vm1-47472879 2025-08-13 20:07:34,393 - DEBUG - VM ctest-vn1-vm1-47472879 ID is 7a5ee8e2-365f-44dd-9026-26fab56b3c1e 2025-08-13 20:07:34,411 - DEBUG - VM ctest-vn1-vm1-47472879 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:07:34,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7a5ee8e2-365f-44dd-9026-26fab56b3c1e 2025-08-13 20:07:34,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b9c25672-c00c-4d8a-8b87-cd5aa753c84d 2025-08-13 20:07:37,732 - 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 1015ms') 2025-08-13 20:07:37,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47472879 failed! 2025-08-13 20:07:37,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60927848:ctest-vn1-23396165 is 186.3.208.65 and allocation pool is NOT set 2025-08-13 20:07:37,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60927848:ctest-vn1-23396165 is 134.212.103.193 and allocation pool is NOT set 2025-08-13 20:07:39,848 - 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=4.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.845 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.845/2.596/4.347/1.751 ms') 2025-08-13 20:07:39,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47472879 passed 2025-08-13 20:07:39,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:07:39,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47472879, IP 186.3.208.69, Port 22 2025-08-13 20:07:40,150 - DEBUG - VM ctest-vn1-vm1-47472879 is ready for SSH connections 2025-08-13 20:07:40,151 - INFO - Waiting for VM ctest-vn1-vm2-23082071 to be up.. 2025-08-13 20:07:40,220 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:07:40,220 - INFO - VM name : ctest-vn1-vm2-23082071 2025-08-13 20:07:40,282 - DEBUG - VM ctest-vn1-vm2-23082071 ID is ba4ec5e4-28fa-49fa-b42a-7e8bf6eef786 2025-08-13 20:07:40,282 - DEBUG - VM ctest-vn1-vm2-23082071 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:07:40,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba4ec5e4-28fa-49fa-b42a-7e8bf6eef786 2025-08-13 20:07:40,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6eee0fa1-5dec-4545-8a43-5acda01bd3ad 2025-08-13 20:07:41,582 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.654/2.918/1.264 ms') 2025-08-13 20:07:41,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23082071 passed 2025-08-13 20:07:41,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:07:41,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23082071, IP 134.212.103.197, Port 22 2025-08-13 20:07:41,890 - DEBUG - VM ctest-vn1-vm2-23082071 is ready for SSH connections 2025-08-13 20:07:41,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:07:41,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:07:41,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:07:41,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.3.208.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:07:41,891 - DEBUG - ping -s 56 -c 3 -W 1 186.3.208.69 2025-08-13 20:07:44,476 - DEBUG - PING 186.3.208.69 (186.3.208.69): 56 data bytes 64 bytes from 186.3.208.69: seq=0 ttl=63 time=3.577 ms 64 bytes from 186.3.208.69: seq=1 ttl=63 time=0.685 ms 64 bytes from 186.3.208.69: seq=2 ttl=63 time=0.680 ms --- 186.3.208.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.680/1.647/3.577 ms 2025-08-13 20:07:44,476 - INFO - Ping to IP 186.3.208.69 from VM ctest-vn1-vm2-23082071 passed 2025-08-13 20:07:44,476 - INFO - Detaching port 6eee0fa1-5dec-4545-8a43-5acda01bd3ad from VM ctest-vn1-vm2-23082071 2025-08-13 20:07:44,523 - INFO - Deleting VM ctest-vn1-vm2-23082071 2025-08-13 20:07:44,588 - INFO - Detaching port b9c25672-c00c-4d8a-8b87-cd5aa753c84d from VM ctest-vn1-vm1-47472879 2025-08-13 20:07:44,623 - INFO - Deleting VM ctest-vn1-vm1-47472879 2025-08-13 20:07:44,827 - DEBUG - Response for delete_port : () 2025-08-13 20:07:44,983 - DEBUG - Response for delete_port : () 2025-08-13 20:07:44,983 - INFO - Deleting VN ctest-vn1-23396165 2025-08-13 20:07:45,110 - DEBUG - Response for deleting network () 2025-08-13 20:07:45,381 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 20:07:45,381 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-13 20:07:45,381 - INFO - -------------------------------------------------------------------------------- 2025-08-13 20:07:46,038 - INFO - Deleted project: ctest-TestPorts-60927848, ID : 3022ccb4-536b-423b-a626-1790b6b5b4e8