2025-10-24 13:18:41,765 - INFO - Domain Default found not creating 2025-10-24 13:18:41,931 - INFO - Project ctest-TestPorts-93310772 not found, creating it 2025-10-24 13:18:42,398 - INFO - Created Project:ctest-TestPorts-93310772, ID : 0ba81b6e-d455-4846-845e-467eb1e83b7e 2025-10-24 13:18:43,834 - INFO - ================================================================================ 2025-10-24 13:18:43,835 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 13:18:43,835 - 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-24 13:18:44,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 13:18:44,098 - INFO - Initial checks done. Running the testcase now 2025-10-24 13:18:44,098 - INFO - 2025-10-24 13:18:44,629 - DEBUG - Response for create_network : {'network': {'id': '77ab2865-20df-4a38-9acc-a34abe5139cc', 'name': 'ctest-vn-33842400', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'project_id': '0ba81b6ed4554846845e467eb1e83b7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93310772', 'ctest-vn-33842400'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:18:44,788 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7e14de8-207f-4f76-8191-f6df6bb261e4', 'name': '', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '77ab2865-20df-4a38-9acc-a34abe5139cc', 'ip_version': 4, 'cidr': '182.31.215.128/26', 'allocation_pools': [{'start': '182.31.215.130', 'end': '182.31.215.190'}], 'gateway_ip': '182.31.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.31.215.130', 'tags': [], 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:44,805 - INFO - Created VN ctest-vn-33842400 2025-10-24 13:18:44,861 - DEBUG - VN ctest-vn-33842400 UUID is 77ab2865-20df-4a38-9acc-a34abe5139cc 2025-10-24 13:18:44,967 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93310772', 'ctest-vmi-79297246']} 2025-10-24 13:18:45,236 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79297246', 'id': '3d9172ea-75f3-4bfc-8d46-5f81799930a8', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '77ab2865-20df-4a38-9acc-a34abe5139cc', 'mac_address': '02:3d:91:72:ea:75', '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': '182.31.215.131', 'subnet_id': 'b7e14de8-207f-4f76-8191-f6df6bb261e4'}], 'security_groups': ['e4c4462b-2fba-44e1-9ece-43b2f739a0be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:45,236 - DEBUG - Created port 3d9172ea-75f3-4bfc-8d46-5f81799930a8 2025-10-24 13:18:45,341 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d9172ea-75f3-4bfc-8d46-5f81799930a8 2025-10-24 13:18:45,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d9172ea-75f3-4bfc-8d46-5f81799930a8 2025-10-24 13:18:45,944 - INFO - VMI 3d9172ea-75f3-4bfc-8d46-5f81799930a8 verification in API Server passed 2025-10-24 13:18:46,033 - DEBUG - Response for delete_port : () 2025-10-24 13:18:46,033 - INFO - Deleted port 3d9172ea-75f3-4bfc-8d46-5f81799930a8 2025-10-24 13:18:46,033 - INFO - Deleting VN ctest-vn-33842400 2025-10-24 13:18:46,123 - DEBUG - Response for deleting network () 2025-10-24 13:18:46,382 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 13:18:46,382 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-24 13:18:46,382 - INFO - -------------------------------------------------------------------------------- 2025-10-24 13:18:46,385 - INFO - ================================================================================ 2025-10-24 13:18:46,385 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 13:18:46,385 - 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-24 13:18:46,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 13:18:46,670 - INFO - Initial checks done. Running the testcase now 2025-10-24 13:18:46,670 - INFO - 2025-10-24 13:18:46,847 - DEBUG - Response for create_network : {'network': {'id': '5f1cfc51-a5d0-4de6-a378-62a26b3360aa', 'name': 'ctest-vn1-50276830', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'project_id': '0ba81b6ed4554846845e467eb1e83b7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93310772', 'ctest-vn1-50276830'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:18:47,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '4156a2ba-43ee-4246-ac81-b6da32102f2d', 'name': '', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '5f1cfc51-a5d0-4de6-a378-62a26b3360aa', 'ip_version': 4, 'cidr': '9.216.107.192/26', 'allocation_pools': [{'start': '9.216.107.194', 'end': '9.216.107.254'}], 'gateway_ip': '9.216.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.216.107.194', 'tags': [], 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:47,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fff8944-8341-4312-a856-f0e8e5c8a444', 'name': '', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '5f1cfc51-a5d0-4de6-a378-62a26b3360aa', 'ip_version': 4, 'cidr': '65.117.93.64/26', 'allocation_pools': [{'start': '65.117.93.66', 'end': '65.117.93.126'}], 'gateway_ip': '65.117.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.117.93.66', 'tags': [], 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:47,264 - INFO - Created VN ctest-vn1-50276830 2025-10-24 13:18:47,317 - DEBUG - VN ctest-vn1-50276830 UUID is 5f1cfc51-a5d0-4de6-a378-62a26b3360aa 2025-10-24 13:18:47,630 - DEBUG - Response for create_port : {'port': {'name': 'a23f260c-2ada-4c5e-9d12-54340aefaa81', 'id': 'a23f260c-2ada-4c5e-9d12-54340aefaa81', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '5f1cfc51-a5d0-4de6-a378-62a26b3360aa', 'mac_address': '02:a2:3f:26:0c:2a', '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': '9.216.107.197', 'subnet_id': '4156a2ba-43ee-4246-ac81-b6da32102f2d'}], 'security_groups': ['e4c4462b-2fba-44e1-9ece-43b2f739a0be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:47,795 - DEBUG - Response for create_port : {'port': {'name': 'b899a97b-9315-4709-b620-1ffd57fddb60', 'id': 'b899a97b-9315-4709-b620-1ffd57fddb60', 'tenant_id': '0ba81b6ed4554846845e467eb1e83b7e', 'network_id': '5f1cfc51-a5d0-4de6-a378-62a26b3360aa', 'mac_address': '02:b8:99:a9:7b:93', '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': '65.117.93.69', 'subnet_id': '5fff8944-8341-4312-a856-f0e8e5c8a444'}], 'security_groups': ['e4c4462b-2fba-44e1-9ece-43b2f739a0be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0ba81b6ed4554846845e467eb1e83b7e'}} 2025-10-24 13:18:47,858 - DEBUG - Services list from nova: [, , ] 2025-10-24 13:18:48,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:18:48,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:18:48,589 - INFO - Waiting for VM ctest-vn1-vm1-90673957 to be up.. 2025-10-24 13:18:48,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 13:18:53,717 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:18:53,718 - INFO - VM name : ctest-vn1-vm1-90673957 2025-10-24 13:18:53,934 - DEBUG - VM ctest-vn1-vm1-90673957 ID is 930c46d9-ba77-4969-912b-6966b3205786 2025-10-24 13:18:53,954 - DEBUG - VM ctest-vn1-vm1-90673957 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:18:54,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/930c46d9-ba77-4969-912b-6966b3205786 2025-10-24 13:18:54,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a23f260c-2ada-4c5e-9d12-54340aefaa81 2025-10-24 13:18:57,282 - 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 1023ms') 2025-10-24 13:18:57,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90673957 failed! 2025-10-24 13:18:57,336 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93310772:ctest-vn1-50276830 is 9.216.107.193 and allocation pool is NOT set 2025-10-24 13:18:57,337 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93310772:ctest-vn1-50276830 is 65.117.93.65 and allocation pool is NOT set 2025-10-24 13:18:59,395 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/2.396/4.302/1.905 ms') 2025-10-24 13:18:59,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90673957 passed 2025-10-24 13:18:59,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:18:59,545 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90673957, IP 9.216.107.197, Port 22 2025-10-24 13:18:59,710 - DEBUG - VM ctest-vn1-vm1-90673957 is ready for SSH connections 2025-10-24 13:18:59,711 - INFO - Waiting for VM ctest-vn1-vm2-70113160 to be up.. 2025-10-24 13:18:59,797 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:18:59,797 - INFO - VM name : ctest-vn1-vm2-70113160 2025-10-24 13:18:59,880 - DEBUG - VM ctest-vn1-vm2-70113160 ID is cc5b3ace-526e-4a56-9521-dc3ffa262d10 2025-10-24 13:18:59,881 - DEBUG - VM ctest-vn1-vm2-70113160 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:18:59,959 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc5b3ace-526e-4a56-9521-dc3ffa262d10 2025-10-24 13:18:59,967 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b899a97b-9315-4709-b620-1ffd57fddb60 2025-10-24 13:19:01,217 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.61 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 = 2.606/3.115/3.624/0.509 ms') 2025-10-24 13:19:01,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70113160 passed 2025-10-24 13:19:01,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:01,373 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70113160, IP 65.117.93.69, Port 22 2025-10-24 13:19:01,528 - DEBUG - VM ctest-vn1-vm2-70113160 is ready for SSH connections 2025-10-24 13:19:01,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:01,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:01,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:01,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.216.107.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:01,528 - DEBUG - ping -s 56 -c 3 -W 1 9.216.107.197 2025-10-24 13:19:04,526 - DEBUG - PING 9.216.107.197 (9.216.107.197): 56 data bytes 64 bytes from 9.216.107.197: seq=0 ttl=63 time=3.377 ms 64 bytes from 9.216.107.197: seq=1 ttl=63 time=0.794 ms 64 bytes from 9.216.107.197: seq=2 ttl=63 time=1.150 ms --- 9.216.107.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/1.773/3.377 ms 2025-10-24 13:19:04,526 - INFO - Ping to IP 9.216.107.197 from VM ctest-vn1-vm2-70113160 passed 2025-10-24 13:19:04,527 - INFO - Detaching port b899a97b-9315-4709-b620-1ffd57fddb60 from VM ctest-vn1-vm2-70113160 2025-10-24 13:19:04,578 - INFO - Deleting VM ctest-vn1-vm2-70113160 2025-10-24 13:19:04,651 - INFO - Detaching port a23f260c-2ada-4c5e-9d12-54340aefaa81 from VM ctest-vn1-vm1-90673957 2025-10-24 13:19:04,687 - INFO - Deleting VM ctest-vn1-vm1-90673957 2025-10-24 13:19:04,905 - DEBUG - Response for delete_port : () 2025-10-24 13:19:05,064 - DEBUG - Response for delete_port : () 2025-10-24 13:19:05,065 - INFO - Deleting VN ctest-vn1-50276830 2025-10-24 13:19:05,194 - DEBUG - Response for deleting network () 2025-10-24 13:19:05,453 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 13:19:05,453 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-24 13:19:05,454 - INFO - -------------------------------------------------------------------------------- 2025-10-24 13:19:06,109 - INFO - Deleted project: ctest-TestPorts-93310772, ID : 0ba81b6e-d455-4846-845e-467eb1e83b7e