2025-10-27 02:24:50,128 - INFO - Domain Default found not creating 2025-10-27 02:24:50,280 - INFO - Project ctest-TestPorts-47222247 not found, creating it 2025-10-27 02:24:50,718 - INFO - Created Project:ctest-TestPorts-47222247, ID : 549570da-85b4-45c6-a86a-d2110695b1ca 2025-10-27 02:24:52,294 - INFO - ================================================================================ 2025-10-27 02:24:52,294 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 02:24:52,294 - 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-10-27 02:24:52,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-10-27 02:24:52,548 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:24:52,548 - INFO - 2025-10-27 02:24:53,156 - DEBUG - Response for create_network : {'network': {'id': '2b9ce7f7-3b81-4147-a6be-04a498ca4a74', 'name': 'ctest-vn-22994027', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'project_id': '549570da85b445c6a86ad2110695b1ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47222247', 'ctest-vn-22994027'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:24:53,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d139535-a399-4846-a5b4-f1639c48c2f5', 'name': '', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '2b9ce7f7-3b81-4147-a6be-04a498ca4a74', 'ip_version': 4, 'cidr': '15.85.165.128/26', 'allocation_pools': [{'start': '15.85.165.130', 'end': '15.85.165.190'}], 'gateway_ip': '15.85.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.85.165.130', 'tags': [], 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:53,372 - INFO - Created VN ctest-vn-22994027 2025-10-27 02:24:53,423 - DEBUG - VN ctest-vn-22994027 UUID is 2b9ce7f7-3b81-4147-a6be-04a498ca4a74 2025-10-27 02:24:53,527 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47222247', 'ctest-vmi-53273253']} 2025-10-27 02:24:53,837 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53273253', 'id': '2c17c0d8-9d05-459e-acd6-f7badfc6b653', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '2b9ce7f7-3b81-4147-a6be-04a498ca4a74', 'mac_address': '02:2c:17:c0:d8:9d', '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': '15.85.165.131', 'subnet_id': '3d139535-a399-4846-a5b4-f1639c48c2f5'}], 'security_groups': ['e8affa97-86f3-475b-9f79-5b071bfe0a70'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:53,837 - DEBUG - Created port 2c17c0d8-9d05-459e-acd6-f7badfc6b653 2025-10-27 02:24:53,943 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2c17c0d8-9d05-459e-acd6-f7badfc6b653 2025-10-27 02:24:54,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2c17c0d8-9d05-459e-acd6-f7badfc6b653 2025-10-27 02:24:54,314 - INFO - VMI 2c17c0d8-9d05-459e-acd6-f7badfc6b653 verification in API Server passed 2025-10-27 02:24:54,408 - DEBUG - Response for delete_port : () 2025-10-27 02:24:54,409 - INFO - Deleted port 2c17c0d8-9d05-459e-acd6-f7badfc6b653 2025-10-27 02:24:54,409 - INFO - Deleting VN ctest-vn-22994027 2025-10-27 02:24:54,527 - DEBUG - Response for deleting network () 2025-10-27 02:24:54,788 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 02:24:54,788 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 02:24:54,788 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:24:54,791 - INFO - ================================================================================ 2025-10-27 02:24:54,791 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 02:24:54,791 - 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-10-27 02:24:55,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-10-27 02:24:55,080 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:24:55,080 - INFO - 2025-10-27 02:24:55,263 - DEBUG - Response for create_network : {'network': {'id': '8e4e4193-e616-475f-bb29-14dd4b7dfd51', 'name': 'ctest-vn1-83424103', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'project_id': '549570da85b445c6a86ad2110695b1ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47222247', 'ctest-vn1-83424103'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:24:55,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '0988a280-46d7-4c14-a9e9-c49412e01ab3', 'name': '', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '8e4e4193-e616-475f-bb29-14dd4b7dfd51', 'ip_version': 4, 'cidr': '179.220.103.128/26', 'allocation_pools': [{'start': '179.220.103.130', 'end': '179.220.103.190'}], 'gateway_ip': '179.220.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.220.103.130', 'tags': [], 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:55,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f791279-0792-4290-9230-0428caeb37b0', 'name': '', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '8e4e4193-e616-475f-bb29-14dd4b7dfd51', 'ip_version': 4, 'cidr': '113.107.193.64/26', 'allocation_pools': [{'start': '113.107.193.66', 'end': '113.107.193.126'}], 'gateway_ip': '113.107.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.107.193.66', 'tags': [], 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:55,679 - INFO - Created VN ctest-vn1-83424103 2025-10-27 02:24:55,731 - DEBUG - VN ctest-vn1-83424103 UUID is 8e4e4193-e616-475f-bb29-14dd4b7dfd51 2025-10-27 02:24:56,037 - DEBUG - Response for create_port : {'port': {'name': '315b0f98-cdce-4c8f-8e7e-edc1ef11091b', 'id': '315b0f98-cdce-4c8f-8e7e-edc1ef11091b', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '8e4e4193-e616-475f-bb29-14dd4b7dfd51', 'mac_address': '02:31:5b:0f:98:cd', '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': '179.220.103.133', 'subnet_id': '0988a280-46d7-4c14-a9e9-c49412e01ab3'}], 'security_groups': ['e8affa97-86f3-475b-9f79-5b071bfe0a70'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:56,207 - DEBUG - Response for create_port : {'port': {'name': '126fca4e-9830-4474-9c6c-371cf082b00a', 'id': '126fca4e-9830-4474-9c6c-371cf082b00a', 'tenant_id': '549570da85b445c6a86ad2110695b1ca', 'network_id': '8e4e4193-e616-475f-bb29-14dd4b7dfd51', 'mac_address': '02:12:6f:ca:4e:98', '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': '113.107.193.69', 'subnet_id': '1f791279-0792-4290-9230-0428caeb37b0'}], 'security_groups': ['e8affa97-86f3-475b-9f79-5b071bfe0a70'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '549570da85b445c6a86ad2110695b1ca'}} 2025-10-27 02:24:56,259 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:24:56,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:24:56,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:24:56,937 - INFO - Waiting for VM ctest-vn1-vm1-05189044 to be up.. 2025-10-27 02:24:56,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:25:02,058 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:25:02,058 - INFO - VM name : ctest-vn1-vm1-05189044 2025-10-27 02:25:02,140 - DEBUG - VM ctest-vn1-vm1-05189044 ID is 174a8638-95be-45ee-9af7-2d45eb4d2459 2025-10-27 02:25:02,160 - DEBUG - VM ctest-vn1-vm1-05189044 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:25:02,229 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/174a8638-95be-45ee-9af7-2d45eb4d2459 2025-10-27 02:25:02,237 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/315b0f98-cdce-4c8f-8e7e-edc1ef11091b 2025-10-27 02:25:05,493 - 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 1031ms') 2025-10-27 02:25:05,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05189044 failed! 2025-10-27 02:25:05,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47222247:ctest-vn1-83424103 is 179.220.103.129 and allocation pool is NOT set 2025-10-27 02:25:05,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47222247:ctest-vn1-83424103 is 113.107.193.65 and allocation pool is NOT set 2025-10-27 02:25:09,628 - 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=8.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.407/8.407/8.407/0.000 ms') 2025-10-27 02:25:09,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05189044 passed 2025-10-27 02:25:09,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:25:09,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05189044, IP 179.220.103.133, Port 22 2025-10-27 02:25:09,931 - DEBUG - VM ctest-vn1-vm1-05189044 is ready for SSH connections 2025-10-27 02:25:09,931 - INFO - Waiting for VM ctest-vn1-vm2-62099012 to be up.. 2025-10-27 02:25:10,002 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:25:10,002 - INFO - VM name : ctest-vn1-vm2-62099012 2025-10-27 02:25:10,074 - DEBUG - VM ctest-vn1-vm2-62099012 ID is eb44d20d-d3c5-493d-88e6-9feea56c4c69 2025-10-27 02:25:10,074 - DEBUG - VM ctest-vn1-vm2-62099012 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:25:10,143 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eb44d20d-d3c5-493d-88e6-9feea56c4c69 2025-10-27 02:25:10,151 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/126fca4e-9830-4474-9c6c-371cf082b00a 2025-10-27 02:25:11,381 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.810/3.215/1.405 ms') 2025-10-27 02:25:11,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62099012 passed 2025-10-27 02:25:11,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:25:11,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62099012, IP 113.107.193.69, Port 22 2025-10-27 02:25:11,686 - DEBUG - VM ctest-vn1-vm2-62099012 is ready for SSH connections 2025-10-27 02:25:11,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:25:11,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:25:11,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:25:11,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.220.103.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 02:25:11,687 - DEBUG - ping -s 56 -c 3 -W 1 179.220.103.133 2025-10-27 02:25:14,400 - DEBUG - PING 179.220.103.133 (179.220.103.133): 56 data bytes 64 bytes from 179.220.103.133: seq=0 ttl=63 time=4.436 ms 64 bytes from 179.220.103.133: seq=1 ttl=63 time=0.775 ms 64 bytes from 179.220.103.133: seq=2 ttl=63 time=0.746 ms --- 179.220.103.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.746/1.985/4.436 ms 2025-10-27 02:25:14,400 - INFO - Ping to IP 179.220.103.133 from VM ctest-vn1-vm2-62099012 passed 2025-10-27 02:25:14,400 - INFO - Detaching port 126fca4e-9830-4474-9c6c-371cf082b00a from VM ctest-vn1-vm2-62099012 2025-10-27 02:25:14,448 - INFO - Deleting VM ctest-vn1-vm2-62099012 2025-10-27 02:25:14,518 - INFO - Detaching port 315b0f98-cdce-4c8f-8e7e-edc1ef11091b from VM ctest-vn1-vm1-05189044 2025-10-27 02:25:14,549 - INFO - Deleting VM ctest-vn1-vm1-05189044 2025-10-27 02:25:14,778 - DEBUG - Response for delete_port : () 2025-10-27 02:25:14,940 - DEBUG - Response for delete_port : () 2025-10-27 02:25:14,940 - INFO - Deleting VN ctest-vn1-83424103 2025-10-27 02:25:15,083 - DEBUG - Response for deleting network () 2025-10-27 02:25:15,344 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 02:25:15,344 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-27 02:25:15,344 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:25:16,168 - INFO - Deleted project: ctest-TestPorts-47222247, ID : 549570da-85b4-45c6-a86a-d2110695b1ca