2025-10-23 21:37:57,448 - INFO - Domain Default found not creating 2025-10-23 21:37:57,600 - INFO - Project ctest-TestPorts-05914063 not found, creating it 2025-10-23 21:37:58,434 - INFO - Created Project:ctest-TestPorts-05914063, ID : 26a2dcd7-7e9d-4aa6-b4ce-46acc689fb5b 2025-10-23 21:38:00,043 - INFO - ================================================================================ 2025-10-23 21:38:00,043 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 21:38:00,043 - 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 21:38:00,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-23 21:38:00,318 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:38:00,318 - INFO - 2025-10-23 21:38:00,994 - DEBUG - Response for create_network : {'network': {'id': '38f7c7f0-eff7-4113-9c7b-4535f4d803bf', 'name': 'ctest-vn-73199521', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05914063', 'ctest-vn-73199521'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:38:01,184 - DEBUG - Response for create_subnet : {'subnet': {'id': '132771d8-38af-499b-9808-80c11317d741', 'name': '', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '38f7c7f0-eff7-4113-9c7b-4535f4d803bf', 'ip_version': 4, 'cidr': '51.106.186.192/26', 'allocation_pools': [{'start': '51.106.186.194', 'end': '51.106.186.254'}], 'gateway_ip': '51.106.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.106.186.194', 'tags': [], 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:01,207 - INFO - Created VN ctest-vn-73199521 2025-10-23 21:38:01,260 - DEBUG - VN ctest-vn-73199521 UUID is 38f7c7f0-eff7-4113-9c7b-4535f4d803bf 2025-10-23 21:38:01,380 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05914063', 'ctest-vmi-66199942']} 2025-10-23 21:38:01,662 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66199942', 'id': '195a7745-0065-4c82-8003-bd71222bec4a', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '38f7c7f0-eff7-4113-9c7b-4535f4d803bf', 'mac_address': '02:19:5a:77:45:00', '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': '51.106.186.195', 'subnet_id': '132771d8-38af-499b-9808-80c11317d741'}], 'security_groups': ['189ad992-3f79-404c-a126-241ca7736e8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:01,662 - DEBUG - Created port 195a7745-0065-4c82-8003-bd71222bec4a 2025-10-23 21:38:01,772 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/195a7745-0065-4c82-8003-bd71222bec4a 2025-10-23 21:38:02,114 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/195a7745-0065-4c82-8003-bd71222bec4a 2025-10-23 21:38:02,149 - INFO - VMI 195a7745-0065-4c82-8003-bd71222bec4a verification in API Server passed 2025-10-23 21:38:02,241 - DEBUG - Response for delete_port : () 2025-10-23 21:38:02,241 - INFO - Deleted port 195a7745-0065-4c82-8003-bd71222bec4a 2025-10-23 21:38:02,241 - INFO - Deleting VN ctest-vn-73199521 2025-10-23 21:38:02,371 - DEBUG - Response for deleting network () 2025-10-23 21:38:02,633 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:38:02,633 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 21:38:02,633 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:38:02,636 - INFO - ================================================================================ 2025-10-23 21:38:02,636 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 21:38:02,636 - 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 21:38:02,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-23 21:38:02,926 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:38:02,927 - INFO - 2025-10-23 21:38:03,126 - DEBUG - Response for create_network : {'network': {'id': '40608124-f4c6-4602-9651-b52c45629cca', 'name': 'ctest-vn1-31635421', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05914063', 'ctest-vn1-31635421'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:38:03,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '075a00cc-d81c-48ec-9fea-92653305ac48', 'name': '', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '40608124-f4c6-4602-9651-b52c45629cca', 'ip_version': 4, 'cidr': '197.199.20.64/26', 'allocation_pools': [{'start': '197.199.20.66', 'end': '197.199.20.126'}], 'gateway_ip': '197.199.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.199.20.66', 'tags': [], 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:03,518 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9d9530c-e40b-4175-b8a7-2c21cfd739f3', 'name': '', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '40608124-f4c6-4602-9651-b52c45629cca', 'ip_version': 4, 'cidr': '50.3.162.128/26', 'allocation_pools': [{'start': '50.3.162.130', 'end': '50.3.162.190'}], 'gateway_ip': '50.3.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.3.162.130', 'tags': [], 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:03,537 - INFO - Created VN ctest-vn1-31635421 2025-10-23 21:38:03,592 - DEBUG - VN ctest-vn1-31635421 UUID is 40608124-f4c6-4602-9651-b52c45629cca 2025-10-23 21:38:03,923 - DEBUG - Response for create_port : {'port': {'name': 'b7afbd3f-4aca-46b3-a614-1220f35c4a81', 'id': 'b7afbd3f-4aca-46b3-a614-1220f35c4a81', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '40608124-f4c6-4602-9651-b52c45629cca', 'mac_address': '02:b7:af:bd:3f:4a', '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': '197.199.20.69', 'subnet_id': '075a00cc-d81c-48ec-9fea-92653305ac48'}], 'security_groups': ['189ad992-3f79-404c-a126-241ca7736e8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:04,120 - DEBUG - Response for create_port : {'port': {'name': '3bf2fe7c-6627-4e8e-9535-381b81c2c3b5', 'id': '3bf2fe7c-6627-4e8e-9535-381b81c2c3b5', 'tenant_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b', 'network_id': '40608124-f4c6-4602-9651-b52c45629cca', 'mac_address': '02:3b:f2:fe:7c:66', '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': '50.3.162.133', 'subnet_id': 'b9d9530c-e40b-4175-b8a7-2c21cfd739f3'}], 'security_groups': ['189ad992-3f79-404c-a126-241ca7736e8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26a2dcd77e9d4aa6b4ce46acc689fb5b'}} 2025-10-23 21:38:04,182 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:38:04,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:38:05,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:38:05,034 - INFO - Waiting for VM ctest-vn1-vm1-64154509 to be up.. 2025-10-23 21:38:05,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:38:10,165 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:38:10,165 - INFO - VM name : ctest-vn1-vm1-64154509 2025-10-23 21:38:10,245 - DEBUG - VM ctest-vn1-vm1-64154509 ID is a0e2d999-765e-4722-80cd-864d70bf466b 2025-10-23 21:38:10,265 - DEBUG - VM ctest-vn1-vm1-64154509 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:38:10,343 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a0e2d999-765e-4722-80cd-864d70bf466b 2025-10-23 21:38:10,354 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b7afbd3f-4aca-46b3-a614-1220f35c4a81 2025-10-23 21:38:13,628 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-10-23 21:38:13,628 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-64154509 failed! 2025-10-23 21:38:13,684 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05914063:ctest-vn1-31635421 is 197.199.20.65 and allocation pool is NOT set 2025-10-23 21:38:13,684 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05914063:ctest-vn1-31635421 is 50.3.162.129 and allocation pool is NOT set 2025-10-23 21:38:17,760 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-23 21:38:17,760 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-64154509 failed! 2025-10-23 21:38:17,824 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05914063:ctest-vn1-31635421 is 197.199.20.65 and allocation pool is NOT set 2025-10-23 21:38:17,824 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05914063:ctest-vn1-31635421 is 50.3.162.129 and allocation pool is NOT set 2025-10-23 21:38:19,887 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.608 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.608/1.850/3.093/1.242 ms') 2025-10-23 21:38:19,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-64154509 passed 2025-10-23 21:38:20,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:38:20,044 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64154509, IP 197.199.20.69, Port 22 2025-10-23 21:38:20,210 - DEBUG - VM ctest-vn1-vm1-64154509 is ready for SSH connections 2025-10-23 21:38:20,210 - INFO - Waiting for VM ctest-vn1-vm2-93508149 to be up.. 2025-10-23 21:38:20,294 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:38:20,294 - INFO - VM name : ctest-vn1-vm2-93508149 2025-10-23 21:38:20,377 - DEBUG - VM ctest-vn1-vm2-93508149 ID is 3f77d460-5367-449c-b5fe-3b712815b6ea 2025-10-23 21:38:20,377 - DEBUG - VM ctest-vn1-vm2-93508149 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:38:20,461 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3f77d460-5367-449c-b5fe-3b712815b6ea 2025-10-23 21:38:20,471 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3bf2fe7c-6627-4e8e-9535-381b81c2c3b5 2025-10-23 21:38:21,718 - 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=3.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/1.891/3.280/1.388 ms') 2025-10-23 21:38:21,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-93508149 passed 2025-10-23 21:38:21,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:38:21,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93508149, IP 50.3.162.133, Port 22 2025-10-23 21:38:22,027 - DEBUG - VM ctest-vn1-vm2-93508149 is ready for SSH connections 2025-10-23 21:38:22,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:38:22,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:38:22,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:38:22,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.199.20.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 21:38:22,028 - DEBUG - ping -s 56 -c 3 -W 1 197.199.20.69 2025-10-23 21:38:25,787 - DEBUG - PING 197.199.20.69 (197.199.20.69): 56 data bytes 64 bytes from 197.199.20.69: seq=0 ttl=63 time=3.793 ms 64 bytes from 197.199.20.69: seq=1 ttl=63 time=0.942 ms 64 bytes from 197.199.20.69: seq=2 ttl=63 time=1.059 ms --- 197.199.20.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.931/3.793 ms 2025-10-23 21:38:25,788 - INFO - Ping to IP 197.199.20.69 from VM ctest-vn1-vm2-93508149 passed 2025-10-23 21:38:25,788 - INFO - Detaching port 3bf2fe7c-6627-4e8e-9535-381b81c2c3b5 from VM ctest-vn1-vm2-93508149 2025-10-23 21:38:25,844 - INFO - Deleting VM ctest-vn1-vm2-93508149 2025-10-23 21:38:25,917 - INFO - Detaching port b7afbd3f-4aca-46b3-a614-1220f35c4a81 from VM ctest-vn1-vm1-64154509 2025-10-23 21:38:25,955 - INFO - Deleting VM ctest-vn1-vm1-64154509 2025-10-23 21:38:26,193 - DEBUG - Response for delete_port : () 2025-10-23 21:38:26,386 - DEBUG - Response for delete_port : () 2025-10-23 21:38:26,386 - INFO - Deleting VN ctest-vn1-31635421 2025-10-23 21:38:26,514 - DEBUG - Response for deleting network () 2025-10-23 21:38:26,777 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:38:26,778 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-23 21:38:26,778 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:38:27,547 - INFO - Deleted project: ctest-TestPorts-05914063, ID : 26a2dcd7-7e9d-4aa6-b4ce-46acc689fb5b