2025-10-21 19:07:11,160 - INFO - Domain Default found not creating 2025-10-21 19:07:11,323 - INFO - Project ctest-TestPorts-52467874 not found, creating it 2025-10-21 19:07:11,779 - INFO - Created Project:ctest-TestPorts-52467874, ID : 623c3a16-102b-4383-a7ad-9fd5c9e0fa4f 2025-10-21 19:07:13,227 - INFO - ================================================================================ 2025-10-21 19:07:13,228 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 19:07:13,228 - 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-21 19:07:13,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.254': '0'}} with 2025-10-21 19:07:13,483 - INFO - Initial checks done. Running the testcase now 2025-10-21 19:07:13,483 - INFO - 2025-10-21 19:07:14,061 - DEBUG - Response for create_network : {'network': {'id': '54157cc5-dcde-48af-bcc7-ec7fb42cf970', 'name': 'ctest-vn-62897955', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52467874', 'ctest-vn-62897955'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 19:07:14,213 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6b04cb7-4b19-4a6c-8ee0-c436f5a7c70d', 'name': '', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': '54157cc5-dcde-48af-bcc7-ec7fb42cf970', 'ip_version': 4, 'cidr': '205.185.169.192/26', 'allocation_pools': [{'start': '205.185.169.194', 'end': '205.185.169.254'}], 'gateway_ip': '205.185.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.185.169.194', 'tags': [], 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:14,233 - INFO - Created VN ctest-vn-62897955 2025-10-21 19:07:14,288 - DEBUG - VN ctest-vn-62897955 UUID is 54157cc5-dcde-48af-bcc7-ec7fb42cf970 2025-10-21 19:07:14,403 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52467874', 'ctest-vmi-34786625']} 2025-10-21 19:07:14,662 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34786625', 'id': 'f8632310-eda0-4640-a619-0c9d38a4f264', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': '54157cc5-dcde-48af-bcc7-ec7fb42cf970', 'mac_address': '02:f8:63:23:10:ed', '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': '205.185.169.195', 'subnet_id': 'e6b04cb7-4b19-4a6c-8ee0-c436f5a7c70d'}], 'security_groups': ['c29c8f2c-cc2c-49a1-8a85-fb3c924d2c2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:14,662 - DEBUG - Created port f8632310-eda0-4640-a619-0c9d38a4f264 2025-10-21 19:07:14,772 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/f8632310-eda0-4640-a619-0c9d38a4f264 2025-10-21 19:07:15,063 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/f8632310-eda0-4640-a619-0c9d38a4f264 2025-10-21 19:07:15,096 - INFO - VMI f8632310-eda0-4640-a619-0c9d38a4f264 verification in API Server passed 2025-10-21 19:07:15,201 - DEBUG - Response for delete_port : () 2025-10-21 19:07:15,202 - INFO - Deleted port f8632310-eda0-4640-a619-0c9d38a4f264 2025-10-21 19:07:15,202 - INFO - Deleting VN ctest-vn-62897955 2025-10-21 19:07:15,309 - DEBUG - Response for deleting network () 2025-10-21 19:07:15,569 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 19:07:15,569 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 19:07:15,569 - INFO - -------------------------------------------------------------------------------- 2025-10-21 19:07:15,571 - INFO - ================================================================================ 2025-10-21 19:07:15,572 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 19:07:15,572 - 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-21 19:07:15,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.254': '0'}} with 2025-10-21 19:07:15,858 - INFO - Initial checks done. Running the testcase now 2025-10-21 19:07:15,858 - INFO - 2025-10-21 19:07:16,041 - DEBUG - Response for create_network : {'network': {'id': 'cda6f616-415d-48f8-881d-291d80226727', 'name': 'ctest-vn1-43316701', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52467874', 'ctest-vn1-43316701'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 19:07:16,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24197e3-59ee-4a2a-88db-f60a0ecd237f', 'name': '', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': 'cda6f616-415d-48f8-881d-291d80226727', 'ip_version': 4, 'cidr': '75.22.24.64/26', 'allocation_pools': [{'start': '75.22.24.66', 'end': '75.22.24.126'}], 'gateway_ip': '75.22.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.22.24.66', 'tags': [], 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:16,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '326e2b1d-d7d2-4421-bffb-9f21aae49874', 'name': '', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': 'cda6f616-415d-48f8-881d-291d80226727', 'ip_version': 4, 'cidr': '198.220.195.128/26', 'allocation_pools': [{'start': '198.220.195.130', 'end': '198.220.195.190'}], 'gateway_ip': '198.220.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.220.195.130', 'tags': [], 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:16,397 - INFO - Created VN ctest-vn1-43316701 2025-10-21 19:07:16,448 - DEBUG - VN ctest-vn1-43316701 UUID is cda6f616-415d-48f8-881d-291d80226727 2025-10-21 19:07:16,746 - DEBUG - Response for create_port : {'port': {'name': '09647cd9-23fc-44bf-87aa-6ab5fb185c06', 'id': '09647cd9-23fc-44bf-87aa-6ab5fb185c06', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': 'cda6f616-415d-48f8-881d-291d80226727', 'mac_address': '02:09:64:7c:d9:23', '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': '75.22.24.69', 'subnet_id': 'c24197e3-59ee-4a2a-88db-f60a0ecd237f'}], 'security_groups': ['c29c8f2c-cc2c-49a1-8a85-fb3c924d2c2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:16,921 - DEBUG - Response for create_port : {'port': {'name': 'accdc835-4a24-423b-a352-49533379c87e', 'id': 'accdc835-4a24-423b-a352-49533379c87e', 'tenant_id': '623c3a16102b4383a7ad9fd5c9e0fa4f', 'network_id': 'cda6f616-415d-48f8-881d-291d80226727', 'mac_address': '02:ac:cd:c8:35: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': '198.220.195.133', 'subnet_id': '326e2b1d-d7d2-4421-bffb-9f21aae49874'}], 'security_groups': ['c29c8f2c-cc2c-49a1-8a85-fb3c924d2c2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '623c3a16102b4383a7ad9fd5c9e0fa4f'}} 2025-10-21 19:07:16,977 - DEBUG - Services list from nova: [, , ] 2025-10-21 19:07:17,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4404-1) 2025-10-21 19:07:17,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4404-1) 2025-10-21 19:07:17,738 - INFO - Waiting for VM ctest-vn1-vm1-45024545 to be up.. 2025-10-21 19:07:17,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 19:07:22,859 - DEBUG - VM is in ACTIVE state now 2025-10-21 19:07:22,859 - INFO - VM name : ctest-vn1-vm1-45024545 2025-10-21 19:07:22,937 - DEBUG - VM ctest-vn1-vm1-45024545 ID is 4975eec4-afb1-4d26-8650-0ac01978ef35 2025-10-21 19:07:22,956 - DEBUG - VM ctest-vn1-vm1-45024545 launched on Node cn-jenkins-deploy-platform-ansible-os-4404-1 2025-10-21 19:07:23,033 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/4975eec4-afb1-4d26-8650-0ac01978ef35 2025-10-21 19:07:23,042 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/09647cd9-23fc-44bf-87aa-6ab5fb185c06 2025-10-21 19:07:26,291 - 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 1018ms') 2025-10-21 19:07:26,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45024545 failed! 2025-10-21 19:07:26,345 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52467874:ctest-vn1-43316701 is 75.22.24.65 and allocation pool is NOT set 2025-10-21 19:07:26,345 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52467874:ctest-vn1-43316701 is 198.220.195.129 and allocation pool is NOT set 2025-10-21 19:07:28,408 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.689/7.275/12.861/5.586 ms') 2025-10-21 19:07:28,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45024545 passed 2025-10-21 19:07:28,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:28,564 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45024545, IP 75.22.24.69, Port 22 2025-10-21 19:07:28,730 - DEBUG - VM ctest-vn1-vm1-45024545 is ready for SSH connections 2025-10-21 19:07:28,730 - INFO - Waiting for VM ctest-vn1-vm2-57873893 to be up.. 2025-10-21 19:07:28,812 - DEBUG - VM is in ACTIVE state now 2025-10-21 19:07:28,812 - INFO - VM name : ctest-vn1-vm2-57873893 2025-10-21 19:07:28,913 - DEBUG - VM ctest-vn1-vm2-57873893 ID is 7eca4d46-dbac-4878-b8c3-3df46613bcff 2025-10-21 19:07:28,913 - DEBUG - VM ctest-vn1-vm2-57873893 launched on Node cn-jenkins-deploy-platform-ansible-os-4404-1 2025-10-21 19:07:29,008 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/7eca4d46-dbac-4878-b8c3-3df46613bcff 2025-10-21 19:07:29,020 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/accdc835-4a24-423b-a352-49533379c87e 2025-10-21 19:07:30,266 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.914/3.364/1.449 ms') 2025-10-21 19:07:30,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57873893 passed 2025-10-21 19:07:30,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:30,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57873893, IP 198.220.195.133, Port 22 2025-10-21 19:07:30,580 - DEBUG - VM ctest-vn1-vm2-57873893 is ready for SSH connections 2025-10-21 19:07:30,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:30,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:30,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:30,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.22.24.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:07:30,581 - DEBUG - ping -s 56 -c 3 -W 1 75.22.24.69 2025-10-21 19:07:33,233 - DEBUG - PING 75.22.24.69 (75.22.24.69): 56 data bytes 64 bytes from 75.22.24.69: seq=0 ttl=63 time=5.809 ms 64 bytes from 75.22.24.69: seq=1 ttl=63 time=0.919 ms 64 bytes from 75.22.24.69: seq=2 ttl=63 time=0.812 ms --- 75.22.24.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/2.513/5.809 ms 2025-10-21 19:07:33,233 - INFO - Ping to IP 75.22.24.69 from VM ctest-vn1-vm2-57873893 passed 2025-10-21 19:07:33,234 - INFO - Detaching port accdc835-4a24-423b-a352-49533379c87e from VM ctest-vn1-vm2-57873893 2025-10-21 19:07:33,284 - INFO - Deleting VM ctest-vn1-vm2-57873893 2025-10-21 19:07:33,358 - INFO - Detaching port 09647cd9-23fc-44bf-87aa-6ab5fb185c06 from VM ctest-vn1-vm1-45024545 2025-10-21 19:07:33,399 - INFO - Deleting VM ctest-vn1-vm1-45024545 2025-10-21 19:07:33,958 - DEBUG - Response for delete_port : () 2025-10-21 19:07:34,119 - DEBUG - Response for delete_port : () 2025-10-21 19:07:34,119 - INFO - Deleting VN ctest-vn1-43316701 2025-10-21 19:07:34,251 - DEBUG - Response for deleting network () 2025-10-21 19:07:34,507 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 19:07:34,507 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-21 19:07:34,507 - INFO - -------------------------------------------------------------------------------- 2025-10-21 19:07:35,201 - INFO - Deleted project: ctest-TestPorts-52467874, ID : 623c3a16-102b-4383-a7ad-9fd5c9e0fa4f