2025-10-22 19:10:02,741 - INFO - Domain Default found not creating 2025-10-22 19:10:02,918 - INFO - Project ctest-TestPorts-54369736 not found, creating it 2025-10-22 19:10:03,407 - INFO - Created Project:ctest-TestPorts-54369736, ID : 56f8cbdc-2a6e-469e-a66a-c229300c8636 2025-10-22 19:10:04,966 - INFO - ================================================================================ 2025-10-22 19:10:04,966 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 19:10:04,966 - 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 19:10:05,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-22 19:10:05,222 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:10:05,222 - INFO - 2025-10-22 19:10:05,772 - DEBUG - Response for create_network : {'network': {'id': '2fb51031-cb8b-4b4a-b640-69732e0d90da', 'name': 'ctest-vn-92492285', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'project_id': '56f8cbdc2a6e469ea66ac229300c8636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54369736', 'ctest-vn-92492285'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:10:05,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '498633b7-8c1b-4dad-b30d-8f68f5a03f5d', 'name': '', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '2fb51031-cb8b-4b4a-b640-69732e0d90da', 'ip_version': 4, 'cidr': '126.216.157.0/26', 'allocation_pools': [{'start': '126.216.157.2', 'end': '126.216.157.62'}], 'gateway_ip': '126.216.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.216.157.2', 'tags': [], 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:06,015 - INFO - Created VN ctest-vn-92492285 2025-10-22 19:10:06,067 - DEBUG - VN ctest-vn-92492285 UUID is 2fb51031-cb8b-4b4a-b640-69732e0d90da 2025-10-22 19:10:06,181 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54369736', 'ctest-vmi-00238014']} 2025-10-22 19:10:06,438 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00238014', 'id': 'bdd1fe7e-ca86-43e1-8563-22e889993e00', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '2fb51031-cb8b-4b4a-b640-69732e0d90da', 'mac_address': '02:bd:d1:fe:7e:ca', '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': '126.216.157.3', 'subnet_id': '498633b7-8c1b-4dad-b30d-8f68f5a03f5d'}], 'security_groups': ['c4cd0775-7b36-4d1d-9869-262878b5f63b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:06,438 - DEBUG - Created port bdd1fe7e-ca86-43e1-8563-22e889993e00 2025-10-22 19:10:06,543 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bdd1fe7e-ca86-43e1-8563-22e889993e00 2025-10-22 19:10:06,839 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bdd1fe7e-ca86-43e1-8563-22e889993e00 2025-10-22 19:10:06,874 - INFO - VMI bdd1fe7e-ca86-43e1-8563-22e889993e00 verification in API Server passed 2025-10-22 19:10:06,973 - DEBUG - Response for delete_port : () 2025-10-22 19:10:06,973 - INFO - Deleted port bdd1fe7e-ca86-43e1-8563-22e889993e00 2025-10-22 19:10:06,973 - INFO - Deleting VN ctest-vn-92492285 2025-10-22 19:10:07,085 - DEBUG - Response for deleting network () 2025-10-22 19:10:07,344 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:10:07,344 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 19:10:07,344 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:10:07,347 - INFO - ================================================================================ 2025-10-22 19:10:07,347 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 19:10:07,347 - 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 19:10:07,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-22 19:10:07,636 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:10:07,636 - INFO - 2025-10-22 19:10:07,832 - DEBUG - Response for create_network : {'network': {'id': '77893a27-1c83-4669-914f-10af5078b189', 'name': 'ctest-vn1-37569887', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'project_id': '56f8cbdc2a6e469ea66ac229300c8636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54369736', 'ctest-vn1-37569887'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:10:08,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '4062638b-19aa-433c-a1db-d0d5f16dc0de', 'name': '', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '77893a27-1c83-4669-914f-10af5078b189', 'ip_version': 4, 'cidr': '204.244.137.192/26', 'allocation_pools': [{'start': '204.244.137.194', 'end': '204.244.137.254'}], 'gateway_ip': '204.244.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.244.137.194', 'tags': [], 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:08,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '78a4acd3-31c9-4f2c-adaf-f5cd1561553c', 'name': '', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '77893a27-1c83-4669-914f-10af5078b189', 'ip_version': 4, 'cidr': '18.23.200.128/26', 'allocation_pools': [{'start': '18.23.200.130', 'end': '18.23.200.190'}], 'gateway_ip': '18.23.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.23.200.130', 'tags': [], 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:08,260 - INFO - Created VN ctest-vn1-37569887 2025-10-22 19:10:08,312 - DEBUG - VN ctest-vn1-37569887 UUID is 77893a27-1c83-4669-914f-10af5078b189 2025-10-22 19:10:08,627 - DEBUG - Response for create_port : {'port': {'name': '23a5355d-d7c5-48cc-b913-67e223261488', 'id': '23a5355d-d7c5-48cc-b913-67e223261488', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '77893a27-1c83-4669-914f-10af5078b189', 'mac_address': '02:23:a5:35:5d:d7', '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': '204.244.137.197', 'subnet_id': '4062638b-19aa-433c-a1db-d0d5f16dc0de'}], 'security_groups': ['c4cd0775-7b36-4d1d-9869-262878b5f63b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:08,817 - DEBUG - Response for create_port : {'port': {'name': 'a76e204f-6b93-485d-bd7f-8adbf7694b76', 'id': 'a76e204f-6b93-485d-bd7f-8adbf7694b76', 'tenant_id': '56f8cbdc2a6e469ea66ac229300c8636', 'network_id': '77893a27-1c83-4669-914f-10af5078b189', 'mac_address': '02:a7:6e:20:4f:6b', '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': '18.23.200.133', 'subnet_id': '78a4acd3-31c9-4f2c-adaf-f5cd1561553c'}], 'security_groups': ['c4cd0775-7b36-4d1d-9869-262878b5f63b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56f8cbdc2a6e469ea66ac229300c8636'}} 2025-10-22 19:10:08,876 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:10:09,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:10:09,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:10:09,654 - INFO - Waiting for VM ctest-vn1-vm1-22951170 to be up.. 2025-10-22 19:10:09,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:10:14,780 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:10:14,780 - INFO - VM name : ctest-vn1-vm1-22951170 2025-10-22 19:10:14,852 - DEBUG - VM ctest-vn1-vm1-22951170 ID is 8d185ffd-3798-4eb9-9a58-de60f569b2c6 2025-10-22 19:10:14,877 - DEBUG - VM ctest-vn1-vm1-22951170 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:10:14,953 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8d185ffd-3798-4eb9-9a58-de60f569b2c6 2025-10-22 19:10:14,963 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/23a5355d-d7c5-48cc-b913-67e223261488 2025-10-22 19:10:18,206 - 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 1002ms') 2025-10-22 19:10:18,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22951170 failed! 2025-10-22 19:10:18,259 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54369736:ctest-vn1-37569887 is 204.244.137.193 and allocation pool is NOT set 2025-10-22 19:10:18,260 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54369736:ctest-vn1-37569887 is 18.23.200.129 and allocation pool is NOT set 2025-10-22 19:10:22,336 - 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=12.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 12.529/12.529/12.529/0.000 ms') 2025-10-22 19:10:22,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22951170 passed 2025-10-22 19:10:22,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:22,492 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22951170, IP 204.244.137.197, Port 22 2025-10-22 19:10:22,647 - DEBUG - VM ctest-vn1-vm1-22951170 is ready for SSH connections 2025-10-22 19:10:22,647 - INFO - Waiting for VM ctest-vn1-vm2-40051883 to be up.. 2025-10-22 19:10:22,727 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:10:22,727 - INFO - VM name : ctest-vn1-vm2-40051883 2025-10-22 19:10:22,812 - DEBUG - VM ctest-vn1-vm2-40051883 ID is c096a9a5-a7d1-4ad4-98b4-baeca076019f 2025-10-22 19:10:22,812 - DEBUG - VM ctest-vn1-vm2-40051883 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:10:22,901 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c096a9a5-a7d1-4ad4-98b4-baeca076019f 2025-10-22 19:10:22,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a76e204f-6b93-485d-bd7f-8adbf7694b76 2025-10-22 19:10:24,151 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.703/2.982/1.279 ms') 2025-10-22 19:10:24,152 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40051883 passed 2025-10-22 19:10:24,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:24,300 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40051883, IP 18.23.200.133, Port 22 2025-10-22 19:10:24,481 - DEBUG - VM ctest-vn1-vm2-40051883 is ready for SSH connections 2025-10-22 19:10:24,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:24,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:24,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:24,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.244.137.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:10:24,482 - DEBUG - ping -s 56 -c 3 -W 1 204.244.137.197 2025-10-22 19:10:27,155 - DEBUG - PING 204.244.137.197 (204.244.137.197): 56 data bytes 64 bytes from 204.244.137.197: seq=0 ttl=63 time=4.221 ms 64 bytes from 204.244.137.197: seq=1 ttl=63 time=0.968 ms 64 bytes from 204.244.137.197: seq=2 ttl=63 time=0.809 ms --- 204.244.137.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.999/4.221 ms 2025-10-22 19:10:27,155 - INFO - Ping to IP 204.244.137.197 from VM ctest-vn1-vm2-40051883 passed 2025-10-22 19:10:27,155 - INFO - Detaching port a76e204f-6b93-485d-bd7f-8adbf7694b76 from VM ctest-vn1-vm2-40051883 2025-10-22 19:10:27,203 - INFO - Deleting VM ctest-vn1-vm2-40051883 2025-10-22 19:10:27,271 - INFO - Detaching port 23a5355d-d7c5-48cc-b913-67e223261488 from VM ctest-vn1-vm1-22951170 2025-10-22 19:10:27,304 - INFO - Deleting VM ctest-vn1-vm1-22951170 2025-10-22 19:10:27,537 - DEBUG - Response for delete_port : () 2025-10-22 19:10:27,729 - DEBUG - Response for delete_port : () 2025-10-22 19:10:27,729 - INFO - Deleting VN ctest-vn1-37569887 2025-10-22 19:10:27,870 - DEBUG - Response for deleting network () 2025-10-22 19:10:28,129 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:10:28,129 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-22 19:10:28,129 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:10:28,837 - INFO - Deleted project: ctest-TestPorts-54369736, ID : 56f8cbdc-2a6e-469e-a66a-c229300c8636