2025-10-22 10:32:13,154 - INFO - Domain Default found not creating 2025-10-22 10:32:13,328 - INFO - Project ctest-TestPorts-46052185 not found, creating it 2025-10-22 10:32:13,833 - INFO - Created Project:ctest-TestPorts-46052185, ID : 055658d2-029a-40d9-9a34-e4f9778152a2 2025-10-22 10:32:15,445 - INFO - ================================================================================ 2025-10-22 10:32:15,446 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 10:32:15,446 - 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 10:32:15,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-22 10:32:15,719 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:32:15,719 - INFO - 2025-10-22 10:32:16,325 - DEBUG - Response for create_network : {'network': {'id': '36cedfe7-9684-4b52-b802-4094b5bd1170', 'name': 'ctest-vn-71048936', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'project_id': '055658d2029a40d99a34e4f9778152a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46052185', 'ctest-vn-71048936'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:32:16,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dd86ff2-68dd-461d-a901-05e4c5fdfdf7', 'name': '', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '36cedfe7-9684-4b52-b802-4094b5bd1170', 'ip_version': 4, 'cidr': '208.244.16.0/26', 'allocation_pools': [{'start': '208.244.16.2', 'end': '208.244.16.62'}], 'gateway_ip': '208.244.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.244.16.2', 'tags': [], 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:16,538 - INFO - Created VN ctest-vn-71048936 2025-10-22 10:32:16,593 - DEBUG - VN ctest-vn-71048936 UUID is 36cedfe7-9684-4b52-b802-4094b5bd1170 2025-10-22 10:32:16,704 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46052185', 'ctest-vmi-52744212']} 2025-10-22 10:32:16,955 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52744212', 'id': '7fc6fb81-f619-4200-a209-54a216d00868', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '36cedfe7-9684-4b52-b802-4094b5bd1170', 'mac_address': '02:7f:c6:fb:81:f6', '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': '208.244.16.3', 'subnet_id': '8dd86ff2-68dd-461d-a901-05e4c5fdfdf7'}], 'security_groups': ['57c30a1a-e603-47aa-a85f-140ba98dfcab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:16,955 - DEBUG - Created port 7fc6fb81-f619-4200-a209-54a216d00868 2025-10-22 10:32:17,061 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7fc6fb81-f619-4200-a209-54a216d00868 2025-10-22 10:32:17,408 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7fc6fb81-f619-4200-a209-54a216d00868 2025-10-22 10:32:17,443 - INFO - VMI 7fc6fb81-f619-4200-a209-54a216d00868 verification in API Server passed 2025-10-22 10:32:17,543 - DEBUG - Response for delete_port : () 2025-10-22 10:32:17,543 - INFO - Deleted port 7fc6fb81-f619-4200-a209-54a216d00868 2025-10-22 10:32:17,543 - INFO - Deleting VN ctest-vn-71048936 2025-10-22 10:32:17,683 - DEBUG - Response for deleting network () 2025-10-22 10:32:17,950 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:32:17,950 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 10:32:17,950 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:32:17,953 - INFO - ================================================================================ 2025-10-22 10:32:17,953 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 10:32:17,953 - 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 10:32:18,248 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-22 10:32:18,248 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:32:18,248 - INFO - 2025-10-22 10:32:18,443 - DEBUG - Response for create_network : {'network': {'id': '894df59d-8980-4a04-9b1a-4834ede7ae77', 'name': 'ctest-vn1-21644798', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'project_id': '055658d2029a40d99a34e4f9778152a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46052185', 'ctest-vn1-21644798'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:32:18,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '1da4fa63-25e9-45d7-9e69-0793e6951289', 'name': '', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '894df59d-8980-4a04-9b1a-4834ede7ae77', 'ip_version': 4, 'cidr': '67.255.207.128/26', 'allocation_pools': [{'start': '67.255.207.130', 'end': '67.255.207.190'}], 'gateway_ip': '67.255.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.255.207.130', 'tags': [], 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:18,776 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3daa682-f102-4c23-92fb-42014ac19fdc', 'name': '', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '894df59d-8980-4a04-9b1a-4834ede7ae77', 'ip_version': 4, 'cidr': '184.9.199.128/26', 'allocation_pools': [{'start': '184.9.199.130', 'end': '184.9.199.190'}], 'gateway_ip': '184.9.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.9.199.130', 'tags': [], 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:18,798 - INFO - Created VN ctest-vn1-21644798 2025-10-22 10:32:18,852 - DEBUG - VN ctest-vn1-21644798 UUID is 894df59d-8980-4a04-9b1a-4834ede7ae77 2025-10-22 10:32:19,177 - DEBUG - Response for create_port : {'port': {'name': '7489457e-ca33-44b3-84ae-b1a1840069c1', 'id': '7489457e-ca33-44b3-84ae-b1a1840069c1', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '894df59d-8980-4a04-9b1a-4834ede7ae77', 'mac_address': '02:74:89:45:7e:ca', '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': '67.255.207.133', 'subnet_id': '1da4fa63-25e9-45d7-9e69-0793e6951289'}], 'security_groups': ['57c30a1a-e603-47aa-a85f-140ba98dfcab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:19,405 - DEBUG - Response for create_port : {'port': {'name': '4e65a6da-f450-40e4-852d-b31b2d190911', 'id': '4e65a6da-f450-40e4-852d-b31b2d190911', 'tenant_id': '055658d2029a40d99a34e4f9778152a2', 'network_id': '894df59d-8980-4a04-9b1a-4834ede7ae77', 'mac_address': '02:4e:65:a6:da:f4', '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': '184.9.199.133', 'subnet_id': 'a3daa682-f102-4c23-92fb-42014ac19fdc'}], 'security_groups': ['57c30a1a-e603-47aa-a85f-140ba98dfcab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '055658d2029a40d99a34e4f9778152a2'}} 2025-10-22 10:32:19,478 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:32:19,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:32:20,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:32:20,358 - INFO - Waiting for VM ctest-vn1-vm1-27766092 to be up.. 2025-10-22 10:32:20,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:32:25,501 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:32:25,501 - INFO - VM name : ctest-vn1-vm1-27766092 2025-10-22 10:32:25,591 - DEBUG - VM ctest-vn1-vm1-27766092 ID is 84f298a1-6278-4b29-91ad-1d3226202325 2025-10-22 10:32:25,612 - DEBUG - VM ctest-vn1-vm1-27766092 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:32:25,693 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/84f298a1-6278-4b29-91ad-1d3226202325 2025-10-22 10:32:25,703 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7489457e-ca33-44b3-84ae-b1a1840069c1 2025-10-22 10:32:28,979 - 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 1034ms') 2025-10-22 10:32:28,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27766092 failed! 2025-10-22 10:32:29,037 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46052185:ctest-vn1-21644798 is 67.255.207.129 and allocation pool is NOT set 2025-10-22 10:32:29,037 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46052185:ctest-vn1-21644798 is 184.9.199.129 and allocation pool is NOT set 2025-10-22 10:32:33,129 - 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=3.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 3.413/3.413/3.413/0.000 ms') 2025-10-22 10:32:33,129 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27766092 passed 2025-10-22 10:32:33,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:32:33,285 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27766092, IP 67.255.207.133, Port 22 2025-10-22 10:32:33,458 - DEBUG - VM ctest-vn1-vm1-27766092 is ready for SSH connections 2025-10-22 10:32:33,459 - INFO - Waiting for VM ctest-vn1-vm2-92114172 to be up.. 2025-10-22 10:32:33,556 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:32:33,557 - INFO - VM name : ctest-vn1-vm2-92114172 2025-10-22 10:32:33,644 - DEBUG - VM ctest-vn1-vm2-92114172 ID is c25d9523-20c3-4e73-ace3-bd473300f04a 2025-10-22 10:32:33,644 - DEBUG - VM ctest-vn1-vm2-92114172 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:32:33,730 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c25d9523-20c3-4e73-ace3-bd473300f04a 2025-10-22 10:32:33,741 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4e65a6da-f450-40e4-852d-b31b2d190911 2025-10-22 10:32:34,991 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/2.267/3.912/1.645 ms') 2025-10-22 10:32:34,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92114172 passed 2025-10-22 10:32:35,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:32:35,149 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92114172, IP 184.9.199.133, Port 22 2025-10-22 10:32:35,308 - DEBUG - VM ctest-vn1-vm2-92114172 is ready for SSH connections 2025-10-22 10:32:35,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:32:35,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:32:35,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:32:35,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.255.207.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 10:32:35,308 - DEBUG - ping -s 56 -c 3 -W 1 67.255.207.133 2025-10-22 10:32:38,017 - DEBUG - PING 67.255.207.133 (67.255.207.133): 56 data bytes 64 bytes from 67.255.207.133: seq=0 ttl=63 time=3.915 ms 64 bytes from 67.255.207.133: seq=1 ttl=63 time=0.979 ms 64 bytes from 67.255.207.133: seq=2 ttl=63 time=1.148 ms --- 67.255.207.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/2.014/3.915 ms 2025-10-22 10:32:38,017 - INFO - Ping to IP 67.255.207.133 from VM ctest-vn1-vm2-92114172 passed 2025-10-22 10:32:38,018 - INFO - Detaching port 4e65a6da-f450-40e4-852d-b31b2d190911 from VM ctest-vn1-vm2-92114172 2025-10-22 10:32:38,073 - INFO - Deleting VM ctest-vn1-vm2-92114172 2025-10-22 10:32:38,151 - INFO - Detaching port 7489457e-ca33-44b3-84ae-b1a1840069c1 from VM ctest-vn1-vm1-27766092 2025-10-22 10:32:38,187 - INFO - Deleting VM ctest-vn1-vm1-27766092 2025-10-22 10:32:38,477 - DEBUG - Response for delete_port : () 2025-10-22 10:32:38,668 - DEBUG - Response for delete_port : () 2025-10-22 10:32:38,668 - INFO - Deleting VN ctest-vn1-21644798 2025-10-22 10:32:38,809 - DEBUG - Response for deleting network () 2025-10-22 10:32:39,079 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:32:39,079 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-22 10:32:39,079 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:32:39,895 - INFO - Deleted project: ctest-TestPorts-46052185, ID : 055658d2-029a-40d9-9a34-e4f9778152a2