2025-10-22 16:35:05,451 - INFO - Domain Default found not creating 2025-10-22 16:35:05,637 - INFO - Project ctest-TestPorts-81365861 not found, creating it 2025-10-22 16:35:06,147 - INFO - Created Project:ctest-TestPorts-81365861, ID : bb373e03-6502-49ac-a948-b52d9312a773 2025-10-22 16:35:07,727 - INFO - ================================================================================ 2025-10-22 16:35:07,727 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 16:35:07,727 - 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-22 16:35:07,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 16:35:07,988 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:35:07,988 - INFO - 2025-10-22 16:35:08,583 - DEBUG - Response for create_network : {'network': {'id': '6a32d725-5caf-4c49-967d-c90cf88b3988', 'name': 'ctest-vn-92503070', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'project_id': 'bb373e03650249aca948b52d9312a773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81365861', 'ctest-vn-92503070'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:35:08,809 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6780c1d-c75f-45da-8456-cbf35b8fae04', 'name': '', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '6a32d725-5caf-4c49-967d-c90cf88b3988', 'ip_version': 4, 'cidr': '80.86.211.64/26', 'allocation_pools': [{'start': '80.86.211.66', 'end': '80.86.211.126'}], 'gateway_ip': '80.86.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.86.211.66', 'tags': [], 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:08,843 - INFO - Created VN ctest-vn-92503070 2025-10-22 16:35:08,897 - DEBUG - VN ctest-vn-92503070 UUID is 6a32d725-5caf-4c49-967d-c90cf88b3988 2025-10-22 16:35:09,029 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81365861', 'ctest-vmi-12665730']} 2025-10-22 16:35:09,336 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12665730', 'id': '6e7307fc-3300-4ec1-b47a-ee79ced2ef0f', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '6a32d725-5caf-4c49-967d-c90cf88b3988', 'mac_address': '02:6e:73:07:fc:33', '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': '80.86.211.67', 'subnet_id': 'a6780c1d-c75f-45da-8456-cbf35b8fae04'}], 'security_groups': ['946d46e7-81ea-4b5b-b6a3-85b235cea151'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:09,336 - DEBUG - Created port 6e7307fc-3300-4ec1-b47a-ee79ced2ef0f 2025-10-22 16:35:09,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e7307fc-3300-4ec1-b47a-ee79ced2ef0f 2025-10-22 16:35:09,746 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e7307fc-3300-4ec1-b47a-ee79ced2ef0f 2025-10-22 16:35:09,783 - INFO - VMI 6e7307fc-3300-4ec1-b47a-ee79ced2ef0f verification in API Server passed 2025-10-22 16:35:09,910 - DEBUG - Response for delete_port : () 2025-10-22 16:35:09,910 - INFO - Deleted port 6e7307fc-3300-4ec1-b47a-ee79ced2ef0f 2025-10-22 16:35:09,911 - INFO - Deleting VN ctest-vn-92503070 2025-10-22 16:35:10,054 - DEBUG - Response for deleting network () 2025-10-22 16:35:10,315 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 16:35:10,315 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-22 16:35:10,315 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:35:10,317 - INFO - ================================================================================ 2025-10-22 16:35:10,318 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 16:35:10,318 - 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-22 16:35:10,606 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 16:35:10,606 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:35:10,606 - INFO - 2025-10-22 16:35:10,798 - DEBUG - Response for create_network : {'network': {'id': '301c1ab9-0155-4117-b42f-af98fc5eed22', 'name': 'ctest-vn1-21283953', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'project_id': 'bb373e03650249aca948b52d9312a773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81365861', 'ctest-vn1-21283953'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:35:11,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '08d62dca-3ef3-4321-a830-13498fc2bf21', 'name': '', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '301c1ab9-0155-4117-b42f-af98fc5eed22', 'ip_version': 4, 'cidr': '17.52.241.0/26', 'allocation_pools': [{'start': '17.52.241.2', 'end': '17.52.241.62'}], 'gateway_ip': '17.52.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.52.241.2', 'tags': [], 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:11,175 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c85b5e02-a978-4e28-b685-9fb58d95a604', 'name': '', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '301c1ab9-0155-4117-b42f-af98fc5eed22', 'ip_version': 4, 'cidr': '14.82.13.64/26', 'allocation_pools': [{'start': '14.82.13.66', 'end': '14.82.13.126'}], 'gateway_ip': '14.82.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.82.13.66', 'tags': [], 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:11,201 - INFO - Created VN ctest-vn1-21283953 2025-10-22 16:35:11,257 - DEBUG - VN ctest-vn1-21283953 UUID is 301c1ab9-0155-4117-b42f-af98fc5eed22 2025-10-22 16:35:11,601 - DEBUG - Response for create_port : {'port': {'name': 'abce96c8-81f7-4e99-8cfe-0e665710db70', 'id': 'abce96c8-81f7-4e99-8cfe-0e665710db70', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '301c1ab9-0155-4117-b42f-af98fc5eed22', 'mac_address': '02:ab:ce:96:c8:81', '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': '17.52.241.5', 'subnet_id': '08d62dca-3ef3-4321-a830-13498fc2bf21'}], 'security_groups': ['946d46e7-81ea-4b5b-b6a3-85b235cea151'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:11,792 - DEBUG - Response for create_port : {'port': {'name': '4e8a1a4d-2934-4b91-9543-15dd994065da', 'id': '4e8a1a4d-2934-4b91-9543-15dd994065da', 'tenant_id': 'bb373e03650249aca948b52d9312a773', 'network_id': '301c1ab9-0155-4117-b42f-af98fc5eed22', 'mac_address': '02:4e:8a:1a:4d:29', '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': '14.82.13.69', 'subnet_id': 'c85b5e02-a978-4e28-b685-9fb58d95a604'}], 'security_groups': ['946d46e7-81ea-4b5b-b6a3-85b235cea151'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bb373e03650249aca948b52d9312a773'}} 2025-10-22 16:35:11,877 - DEBUG - Services list from nova: [, , ] 2025-10-22 16:35:12,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4435-1) 2025-10-22 16:35:12,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4435-1) 2025-10-22 16:35:12,740 - INFO - Waiting for VM ctest-vn1-vm1-08284624 to be up.. 2025-10-22 16:35:12,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 16:35:17,873 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:35:17,874 - INFO - VM name : ctest-vn1-vm1-08284624 2025-10-22 16:35:17,965 - DEBUG - VM ctest-vn1-vm1-08284624 ID is 84965f48-a541-4b50-9afa-b1492d61b8c7 2025-10-22 16:35:17,987 - DEBUG - VM ctest-vn1-vm1-08284624 launched on Node cn-jenkins-deploy-platform-ansible-os-4435-1 2025-10-22 16:35:18,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/84965f48-a541-4b50-9afa-b1492d61b8c7 2025-10-22 16:35:18,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/abce96c8-81f7-4e99-8cfe-0e665710db70 2025-10-22 16:35:21,367 - 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 1026ms') 2025-10-22 16:35:21,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08284624 failed! 2025-10-22 16:35:21,425 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81365861:ctest-vn1-21283953 is 17.52.241.1 and allocation pool is NOT set 2025-10-22 16:35:21,425 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81365861:ctest-vn1-21283953 is 14.82.13.65 and allocation pool is NOT set 2025-10-22 16:35:25,486 - 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=17.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 17.749/17.749/17.749/0.000 ms') 2025-10-22 16:35:25,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08284624 passed 2025-10-22 16:35:25,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:35:25,645 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08284624, IP 17.52.241.5, Port 22 2025-10-22 16:35:25,800 - DEBUG - VM ctest-vn1-vm1-08284624 is ready for SSH connections 2025-10-22 16:35:25,800 - INFO - Waiting for VM ctest-vn1-vm2-41342572 to be up.. 2025-10-22 16:35:25,892 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:35:25,892 - INFO - VM name : ctest-vn1-vm2-41342572 2025-10-22 16:35:25,993 - DEBUG - VM ctest-vn1-vm2-41342572 ID is f6966ac0-9fe9-4ad4-904d-ed21a79c218e 2025-10-22 16:35:25,993 - DEBUG - VM ctest-vn1-vm2-41342572 launched on Node cn-jenkins-deploy-platform-ansible-os-4435-1 2025-10-22 16:35:26,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f6966ac0-9fe9-4ad4-904d-ed21a79c218e 2025-10-22 16:35:26,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e8a1a4d-2934-4b91-9543-15dd994065da 2025-10-22 16:35:27,354 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/1.901/3.160/1.259 ms') 2025-10-22 16:35:27,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41342572 passed 2025-10-22 16:35:27,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:35:27,505 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41342572, IP 14.82.13.69, Port 22 2025-10-22 16:35:27,661 - DEBUG - VM ctest-vn1-vm2-41342572 is ready for SSH connections 2025-10-22 16:35:27,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:35:27,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:35:27,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:35:27,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.52.241.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 16:35:27,661 - DEBUG - ping -s 56 -c 3 -W 1 17.52.241.5 2025-10-22 16:35:30,334 - DEBUG - PING 17.52.241.5 (17.52.241.5): 56 data bytes 64 bytes from 17.52.241.5: seq=0 ttl=63 time=4.559 ms 64 bytes from 17.52.241.5: seq=1 ttl=63 time=1.030 ms 64 bytes from 17.52.241.5: seq=2 ttl=63 time=0.995 ms --- 17.52.241.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.194/4.559 ms 2025-10-22 16:35:30,334 - INFO - Ping to IP 17.52.241.5 from VM ctest-vn1-vm2-41342572 passed 2025-10-22 16:35:30,335 - INFO - Detaching port 4e8a1a4d-2934-4b91-9543-15dd994065da from VM ctest-vn1-vm2-41342572 2025-10-22 16:35:30,394 - INFO - Deleting VM ctest-vn1-vm2-41342572 2025-10-22 16:35:30,486 - INFO - Detaching port abce96c8-81f7-4e99-8cfe-0e665710db70 from VM ctest-vn1-vm1-08284624 2025-10-22 16:35:30,526 - INFO - Deleting VM ctest-vn1-vm1-08284624 2025-10-22 16:35:30,819 - DEBUG - Response for delete_port : () 2025-10-22 16:35:31,015 - DEBUG - Response for delete_port : () 2025-10-22 16:35:31,015 - INFO - Deleting VN ctest-vn1-21283953 2025-10-22 16:35:31,168 - DEBUG - Response for deleting network () 2025-10-22 16:35:31,441 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 16:35:31,441 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-22 16:35:31,441 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:35:32,170 - INFO - Deleted project: ctest-TestPorts-81365861, ID : bb373e03-6502-49ac-a948-b52d9312a773