2025-12-08 02:35:50,207 - INFO - Domain Default found not creating 2025-12-08 02:35:50,548 - INFO - Project ctest-TestPorts-92593720 not found, creating it 2025-12-08 02:35:51,054 - INFO - Created Project:ctest-TestPorts-92593720, ID : 74267cd8-59e9-4e86-9d8e-91655a16c584 2025-12-08 02:35:52,829 - INFO - ================================================================================ 2025-12-08 02:35:52,830 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 02:35:52,830 - 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-12-08 02:35:53,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with 2025-12-08 02:35:53,105 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:35:53,105 - INFO - 2025-12-08 02:35:54,455 - DEBUG - Response for create_network : {'network': {'id': '2b0d800c-37e1-4d26-8a90-f8409380e8f3', 'name': 'ctest-vn-35899469', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'project_id': '74267cd859e94e869d8e91655a16c584', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92593720', 'ctest-vn-35899469'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:35:54,697 - DEBUG - Response for create_subnet : {'subnet': {'id': '12c311c6-ef11-499a-bfac-31fde94465ee', 'name': '', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '2b0d800c-37e1-4d26-8a90-f8409380e8f3', 'ip_version': 4, 'cidr': '195.213.145.64/26', 'allocation_pools': [{'start': '195.213.145.66', 'end': '195.213.145.126'}], 'gateway_ip': '195.213.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.213.145.66', 'tags': [], 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:54,719 - INFO - Created VN ctest-vn-35899469 2025-12-08 02:35:54,775 - DEBUG - VN ctest-vn-35899469 UUID is 2b0d800c-37e1-4d26-8a90-f8409380e8f3 2025-12-08 02:35:54,897 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92593720', 'ctest-vmi-31853103']} 2025-12-08 02:35:55,166 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31853103', 'id': 'b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '2b0d800c-37e1-4d26-8a90-f8409380e8f3', 'mac_address': '02:b6:fc:1d:bf:5b', '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': '195.213.145.67', 'subnet_id': '12c311c6-ef11-499a-bfac-31fde94465ee'}], 'security_groups': ['a729384f-d5b8-49ea-b18a-f0a2c382ae2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:55,167 - DEBUG - Created port b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907 2025-12-08 02:35:55,279 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907 2025-12-08 02:35:55,621 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907 2025-12-08 02:35:55,668 - INFO - VMI b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907 verification in API Server passed 2025-12-08 02:35:55,786 - DEBUG - Response for delete_port : () 2025-12-08 02:35:55,786 - INFO - Deleted port b6fc1dbf-5ba4-47c2-a7f6-a5e07c0ca907 2025-12-08 02:35:55,786 - INFO - Deleting VN ctest-vn-35899469 2025-12-08 02:35:55,914 - DEBUG - Response for deleting network () 2025-12-08 02:35:56,174 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:35:56,174 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-12-08 02:35:56,175 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:35:56,177 - INFO - ================================================================================ 2025-12-08 02:35:56,178 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 02:35:56,178 - 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-12-08 02:35:56,466 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with 2025-12-08 02:35:56,466 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:35:56,466 - INFO - 2025-12-08 02:35:56,662 - DEBUG - Response for create_network : {'network': {'id': '0cd5ddee-8406-4122-9604-1e4df469f86e', 'name': 'ctest-vn1-13900441', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'project_id': '74267cd859e94e869d8e91655a16c584', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92593720', 'ctest-vn1-13900441'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:35:56,869 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94912db-84af-4515-9968-4b92fa0ec0a5', 'name': '', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '0cd5ddee-8406-4122-9604-1e4df469f86e', 'ip_version': 4, 'cidr': '60.217.39.0/26', 'allocation_pools': [{'start': '60.217.39.2', 'end': '60.217.39.62'}], 'gateway_ip': '60.217.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.217.39.2', 'tags': [], 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:57,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '71c35390-81e0-4272-a099-0917a9e8766a', 'name': '', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '0cd5ddee-8406-4122-9604-1e4df469f86e', 'ip_version': 4, 'cidr': '128.242.16.64/26', 'allocation_pools': [{'start': '128.242.16.66', 'end': '128.242.16.126'}], 'gateway_ip': '128.242.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.242.16.66', 'tags': [], 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:57,082 - INFO - Created VN ctest-vn1-13900441 2025-12-08 02:35:57,135 - DEBUG - VN ctest-vn1-13900441 UUID is 0cd5ddee-8406-4122-9604-1e4df469f86e 2025-12-08 02:35:57,522 - DEBUG - Response for create_port : {'port': {'name': '2eecf20f-8f66-4874-a651-28b587c4e57f', 'id': '2eecf20f-8f66-4874-a651-28b587c4e57f', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '0cd5ddee-8406-4122-9604-1e4df469f86e', 'mac_address': '02:2e:ec:f2:0f:8f', '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': '60.217.39.5', 'subnet_id': 'b94912db-84af-4515-9968-4b92fa0ec0a5'}], 'security_groups': ['a729384f-d5b8-49ea-b18a-f0a2c382ae2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:57,727 - DEBUG - Response for create_port : {'port': {'name': 'f79a93b3-e7d9-41b5-9bbd-516665d14573', 'id': 'f79a93b3-e7d9-41b5-9bbd-516665d14573', 'tenant_id': '74267cd859e94e869d8e91655a16c584', 'network_id': '0cd5ddee-8406-4122-9604-1e4df469f86e', 'mac_address': '02:f7:9a:93:b3:e7', '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': '128.242.16.69', 'subnet_id': '71c35390-81e0-4272-a099-0917a9e8766a'}], 'security_groups': ['a729384f-d5b8-49ea-b18a-f0a2c382ae2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74267cd859e94e869d8e91655a16c584'}} 2025-12-08 02:35:57,796 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:35:58,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:35:58,744 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:35:58,745 - INFO - Waiting for VM ctest-vn1-vm1-93204838 to be up.. 2025-12-08 02:35:58,804 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:36:03,924 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:36:03,924 - INFO - VM name : ctest-vn1-vm1-93204838 2025-12-08 02:36:04,035 - DEBUG - VM ctest-vn1-vm1-93204838 ID is e6e2bac8-8ab7-4e01-bc43-347ef418e6cb 2025-12-08 02:36:04,060 - DEBUG - VM ctest-vn1-vm1-93204838 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:36:04,160 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e6e2bac8-8ab7-4e01-bc43-347ef418e6cb 2025-12-08 02:36:04,172 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/2eecf20f-8f66-4874-a651-28b587c4e57f 2025-12-08 02:36:07,419 - 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 1001ms') 2025-12-08 02:36:07,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93204838 failed! 2025-12-08 02:36:07,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92593720:ctest-vn1-13900441 is 60.217.39.1 and allocation pool is NOT set 2025-12-08 02:36:07,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92593720:ctest-vn1-13900441 is 128.242.16.65 and allocation pool is NOT set 2025-12-08 02:36:11,547 - 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 1009ms') 2025-12-08 02:36:11,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93204838 failed! 2025-12-08 02:36:11,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92593720:ctest-vn1-13900441 is 60.217.39.1 and allocation pool is NOT set 2025-12-08 02:36:11,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92593720:ctest-vn1-13900441 is 128.242.16.65 and allocation pool is NOT set 2025-12-08 02:36:13,671 - 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=5.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.664 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.664/2.859/5.055/2.195 ms') 2025-12-08 02:36:13,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93204838 passed 2025-12-08 02:36:13,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:13,787 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93204838, IP 60.217.39.5, Port 22 2025-12-08 02:36:13,962 - DEBUG - VM ctest-vn1-vm1-93204838 is ready for SSH connections 2025-12-08 02:36:13,962 - INFO - Waiting for VM ctest-vn1-vm2-37336805 to be up.. 2025-12-08 02:36:14,072 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:36:14,072 - INFO - VM name : ctest-vn1-vm2-37336805 2025-12-08 02:36:14,161 - DEBUG - VM ctest-vn1-vm2-37336805 ID is efee1d7c-d4ec-4590-bedd-e3f4925c0b8c 2025-12-08 02:36:14,161 - DEBUG - VM ctest-vn1-vm2-37336805 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:36:14,254 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/efee1d7c-d4ec-4590-bedd-e3f4925c0b8c 2025-12-08 02:36:14,266 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f79a93b3-e7d9-41b5-9bbd-516665d14573 2025-12-08 02:36:15,517 - 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=4.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/2.620/4.791/2.171 ms') 2025-12-08 02:36:15,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37336805 passed 2025-12-08 02:36:15,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:15,675 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37336805, IP 128.242.16.69, Port 22 2025-12-08 02:36:15,849 - DEBUG - VM ctest-vn1-vm2-37336805 is ready for SSH connections 2025-12-08 02:36:15,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:15,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:15,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:15,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.217.39.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:36:15,850 - DEBUG - ping -s 56 -c 3 -W 1 60.217.39.5 2025-12-08 02:36:18,616 - DEBUG - PING 60.217.39.5 (60.217.39.5): 56 data bytes 64 bytes from 60.217.39.5: seq=0 ttl=63 time=3.951 ms 64 bytes from 60.217.39.5: seq=1 ttl=63 time=1.093 ms 64 bytes from 60.217.39.5: seq=2 ttl=63 time=1.179 ms --- 60.217.39.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/2.074/3.951 ms 2025-12-08 02:36:18,616 - INFO - Ping to IP 60.217.39.5 from VM ctest-vn1-vm2-37336805 passed 2025-12-08 02:36:18,616 - INFO - Detaching port f79a93b3-e7d9-41b5-9bbd-516665d14573 from VM ctest-vn1-vm2-37336805 2025-12-08 02:36:18,678 - INFO - Deleting VM ctest-vn1-vm2-37336805 2025-12-08 02:36:18,774 - INFO - Detaching port 2eecf20f-8f66-4874-a651-28b587c4e57f from VM ctest-vn1-vm1-93204838 2025-12-08 02:36:18,822 - INFO - Deleting VM ctest-vn1-vm1-93204838 2025-12-08 02:36:19,197 - DEBUG - Response for delete_port : () 2025-12-08 02:36:19,417 - DEBUG - Response for delete_port : () 2025-12-08 02:36:19,417 - INFO - Deleting VN ctest-vn1-13900441 2025-12-08 02:36:19,594 - DEBUG - Response for deleting network () 2025-12-08 02:36:19,876 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:36:19,876 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-12-08 02:36:19,876 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:36:20,679 - INFO - Deleted project: ctest-TestPorts-92593720, ID : 74267cd8-59e9-4e86-9d8e-91655a16c584