2025-10-23 23:42:52,994 - INFO - Domain Default found not creating 2025-10-23 23:42:53,391 - INFO - Project ctest-TestPorts-69214149 not found, creating it 2025-10-23 23:42:54,027 - INFO - Created Project:ctest-TestPorts-69214149, ID : 6ba4ead4-78ff-4c0e-bcd4-c0a05bc6f979 2025-10-23 23:42:56,189 - INFO - ================================================================================ 2025-10-23 23:42:56,189 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 23:42:56,189 - 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-23 23:42:56,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 23:42:56,509 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:42:56,509 - INFO - 2025-10-23 23:42:57,357 - DEBUG - Response for create_network : {'network': {'id': '7446764d-320a-4666-ab5d-f75eb51a83db', 'name': 'ctest-vn-07694591', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69214149', 'ctest-vn-07694591'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:42:57,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f536e1c-f95d-443f-87e6-c96cb9132ea7', 'name': '', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': '7446764d-320a-4666-ab5d-f75eb51a83db', 'ip_version': 4, 'cidr': '26.172.130.0/26', 'allocation_pools': [{'start': '26.172.130.2', 'end': '26.172.130.62'}], 'gateway_ip': '26.172.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.172.130.2', 'tags': [], 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:42:57,650 - INFO - Created VN ctest-vn-07694591 2025-10-23 23:42:57,708 - DEBUG - VN ctest-vn-07694591 UUID is 7446764d-320a-4666-ab5d-f75eb51a83db 2025-10-23 23:42:57,834 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69214149', 'ctest-vmi-35013966']} 2025-10-23 23:42:58,214 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35013966', 'id': '4e79a348-4cc7-4883-87be-268e3c7bee65', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': '7446764d-320a-4666-ab5d-f75eb51a83db', 'mac_address': '02:4e:79:a3:48:4c', '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': '26.172.130.3', 'subnet_id': '3f536e1c-f95d-443f-87e6-c96cb9132ea7'}], 'security_groups': ['67e44194-e0a9-452a-996e-3bd7781d5bae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:42:58,215 - DEBUG - Created port 4e79a348-4cc7-4883-87be-268e3c7bee65 2025-10-23 23:42:58,336 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e79a348-4cc7-4883-87be-268e3c7bee65 2025-10-23 23:42:58,671 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e79a348-4cc7-4883-87be-268e3c7bee65 2025-10-23 23:42:58,720 - INFO - VMI 4e79a348-4cc7-4883-87be-268e3c7bee65 verification in API Server passed 2025-10-23 23:42:58,894 - DEBUG - Response for delete_port : () 2025-10-23 23:42:58,894 - INFO - Deleted port 4e79a348-4cc7-4883-87be-268e3c7bee65 2025-10-23 23:42:58,895 - INFO - Deleting VN ctest-vn-07694591 2025-10-23 23:42:59,046 - DEBUG - Response for deleting network () 2025-10-23 23:42:59,348 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 23:42:59,348 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-23 23:42:59,349 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:42:59,357 - INFO - ================================================================================ 2025-10-23 23:42:59,358 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 23:42:59,358 - 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-23 23:42:59,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 23:42:59,684 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:42:59,684 - INFO - 2025-10-23 23:43:00,131 - DEBUG - Response for create_network : {'network': {'id': 'e22a09a2-bb50-4a89-8b74-9fd1d4d8369a', 'name': 'ctest-vn1-18328635', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69214149', 'ctest-vn1-18328635'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:43:00,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '9de0ab24-a2d3-4c15-8b3e-137586c2de80', 'name': '', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': 'e22a09a2-bb50-4a89-8b74-9fd1d4d8369a', 'ip_version': 4, 'cidr': '193.43.55.0/26', 'allocation_pools': [{'start': '193.43.55.2', 'end': '193.43.55.62'}], 'gateway_ip': '193.43.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.43.55.2', 'tags': [], 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:43:00,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '329fcb18-3f64-4e66-94b1-1b07143a7c39', 'name': '', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': 'e22a09a2-bb50-4a89-8b74-9fd1d4d8369a', 'ip_version': 4, 'cidr': '16.173.101.0/26', 'allocation_pools': [{'start': '16.173.101.2', 'end': '16.173.101.62'}], 'gateway_ip': '16.173.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.173.101.2', 'tags': [], 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:43:00,655 - INFO - Created VN ctest-vn1-18328635 2025-10-23 23:43:00,708 - DEBUG - VN ctest-vn1-18328635 UUID is e22a09a2-bb50-4a89-8b74-9fd1d4d8369a 2025-10-23 23:43:01,262 - DEBUG - Response for create_port : {'port': {'name': 'de1fa5d8-5779-46e1-9721-1f39e4d3f623', 'id': 'de1fa5d8-5779-46e1-9721-1f39e4d3f623', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': 'e22a09a2-bb50-4a89-8b74-9fd1d4d8369a', 'mac_address': '02:de:1f:a5:d8:57', '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': '193.43.55.5', 'subnet_id': '9de0ab24-a2d3-4c15-8b3e-137586c2de80'}], 'security_groups': ['67e44194-e0a9-452a-996e-3bd7781d5bae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:43:01,539 - DEBUG - Response for create_port : {'port': {'name': 'cc8c15af-8642-44dc-b91f-1081e4e22aa9', 'id': 'cc8c15af-8642-44dc-b91f-1081e4e22aa9', 'tenant_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979', 'network_id': 'e22a09a2-bb50-4a89-8b74-9fd1d4d8369a', 'mac_address': '02:cc:8c:15:af:86', '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': '16.173.101.5', 'subnet_id': '329fcb18-3f64-4e66-94b1-1b07143a7c39'}], 'security_groups': ['67e44194-e0a9-452a-996e-3bd7781d5bae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ba4ead478ff4c0ebcd4c0a05bc6f979'}} 2025-10-23 23:43:01,646 - DEBUG - Services list from nova: [, , ] 2025-10-23 23:43:02,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:43:03,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:43:03,102 - INFO - Waiting for VM ctest-vn1-vm1-93908454 to be up.. 2025-10-23 23:43:03,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 23:43:08,363 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:43:08,363 - INFO - VM name : ctest-vn1-vm1-93908454 2025-10-23 23:43:08,484 - DEBUG - VM ctest-vn1-vm1-93908454 ID is 6f565a54-6ad1-489b-86c3-c0eb5e7c5ea6 2025-10-23 23:43:08,515 - DEBUG - VM ctest-vn1-vm1-93908454 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:43:08,653 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f565a54-6ad1-489b-86c3-c0eb5e7c5ea6 2025-10-23 23:43:08,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de1fa5d8-5779-46e1-9721-1f39e4d3f623 2025-10-23 23:43:11,980 - 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 1027ms') 2025-10-23 23:43:11,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93908454 failed! 2025-10-23 23:43:12,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69214149:ctest-vn1-18328635 is 193.43.55.1 and allocation pool is NOT set 2025-10-23 23:43:12,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69214149:ctest-vn1-18328635 is 16.173.101.1 and allocation pool is NOT set 2025-10-23 23:43:16,142 - 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 1019ms') 2025-10-23 23:43:16,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93908454 failed! 2025-10-23 23:43:16,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69214149:ctest-vn1-18328635 is 193.43.55.1 and allocation pool is NOT set 2025-10-23 23:43:16,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69214149:ctest-vn1-18328635 is 16.173.101.1 and allocation pool is NOT set 2025-10-23 23:43:18,289 - 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=7.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.221/4.595/7.970/3.374 ms') 2025-10-23 23:43:18,290 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93908454 passed 2025-10-23 23:43:18,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:18,463 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93908454, IP 193.43.55.5, Port 22 2025-10-23 23:43:18,671 - DEBUG - VM ctest-vn1-vm1-93908454 is ready for SSH connections 2025-10-23 23:43:18,671 - INFO - Waiting for VM ctest-vn1-vm2-40419584 to be up.. 2025-10-23 23:43:18,874 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:43:18,874 - INFO - VM name : ctest-vn1-vm2-40419584 2025-10-23 23:43:19,061 - DEBUG - VM ctest-vn1-vm2-40419584 ID is 65ac63e0-58d2-4276-9c68-cad01b1dfa0b 2025-10-23 23:43:19,061 - DEBUG - VM ctest-vn1-vm2-40419584 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:43:19,262 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/65ac63e0-58d2-4276-9c68-cad01b1dfa0b 2025-10-23 23:43:19,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc8c15af-8642-44dc-b91f-1081e4e22aa9 2025-10-23 23:43:20,620 - 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=9.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.785 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.785/5.170/9.556/4.385 ms') 2025-10-23 23:43:20,621 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40419584 passed 2025-10-23 23:43:20,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:20,801 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40419584, IP 16.173.101.5, Port 22 2025-10-23 23:43:21,006 - DEBUG - VM ctest-vn1-vm2-40419584 is ready for SSH connections 2025-10-23 23:43:21,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:21,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:21,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:21,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.43.55.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:43:21,007 - DEBUG - ping -s 56 -c 3 -W 1 193.43.55.5 2025-10-23 23:43:24,229 - DEBUG - PING 193.43.55.5 (193.43.55.5): 56 data bytes 64 bytes from 193.43.55.5: seq=0 ttl=63 time=3.784 ms 64 bytes from 193.43.55.5: seq=1 ttl=63 time=2.767 ms 64 bytes from 193.43.55.5: seq=2 ttl=63 time=2.016 ms --- 193.43.55.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.016/2.855/3.784 ms 2025-10-23 23:43:24,229 - INFO - Ping to IP 193.43.55.5 from VM ctest-vn1-vm2-40419584 passed 2025-10-23 23:43:24,230 - INFO - Detaching port cc8c15af-8642-44dc-b91f-1081e4e22aa9 from VM ctest-vn1-vm2-40419584 2025-10-23 23:43:24,313 - INFO - Deleting VM ctest-vn1-vm2-40419584 2025-10-23 23:43:24,440 - INFO - Detaching port de1fa5d8-5779-46e1-9721-1f39e4d3f623 from VM ctest-vn1-vm1-93908454 2025-10-23 23:43:24,510 - INFO - Deleting VM ctest-vn1-vm1-93908454 2025-10-23 23:43:24,864 - DEBUG - Response for delete_port : () 2025-10-23 23:43:25,096 - DEBUG - Response for delete_port : () 2025-10-23 23:43:25,096 - INFO - Deleting VN ctest-vn1-18328635 2025-10-23 23:43:25,244 - DEBUG - Response for deleting network () 2025-10-23 23:43:25,538 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 23:43:25,539 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-23 23:43:25,539 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:43:26,302 - INFO - Deleted project: ctest-TestPorts-69214149, ID : 6ba4ead4-78ff-4c0e-bcd4-c0a05bc6f979