2025-09-05 18:20:11,438 - INFO - Domain Default found not creating 2025-09-05 18:20:11,565 - INFO - Project ctest-TestPorts-67623570 not found, creating it 2025-09-05 18:20:11,984 - INFO - Created Project:ctest-TestPorts-67623570, ID : beed8e65-6b12-42f1-a46d-1d293ea5052b 2025-09-05 18:20:13,390 - INFO - ================================================================================ 2025-09-05 18:20:13,390 - INFO - STARTING TEST : test_ports_bindings 2025-09-05 18:20:13,390 - 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-09-05 18:20:13,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-05 18:20:13,642 - INFO - Initial checks done. Running the testcase now 2025-09-05 18:20:13,642 - INFO - 2025-09-05 18:20:14,158 - DEBUG - Response for create_network : {'network': {'id': 'fc95b5a0-105b-4b3a-8516-37f8f12a8b8e', 'name': 'ctest-vn-69780213', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'project_id': 'beed8e656b1242f1a46d1d293ea5052b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67623570', 'ctest-vn-69780213'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:20:14,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '06240f50-a48b-4070-b6a1-93841b13fac5', 'name': '', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': 'fc95b5a0-105b-4b3a-8516-37f8f12a8b8e', 'ip_version': 4, 'cidr': '79.78.252.64/26', 'allocation_pools': [{'start': '79.78.252.66', 'end': '79.78.252.126'}], 'gateway_ip': '79.78.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.78.252.66', 'tags': [], 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:14,340 - INFO - Created VN ctest-vn-69780213 2025-09-05 18:20:14,389 - DEBUG - VN ctest-vn-69780213 UUID is fc95b5a0-105b-4b3a-8516-37f8f12a8b8e 2025-09-05 18:20:14,491 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67623570', 'ctest-vmi-63078336']} 2025-09-05 18:20:14,748 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63078336', 'id': '8c344d9f-bb5d-4b55-997d-090c63a2c3cc', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': 'fc95b5a0-105b-4b3a-8516-37f8f12a8b8e', 'mac_address': '02:8c:34:4d:9f:bb', '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': '79.78.252.67', 'subnet_id': '06240f50-a48b-4070-b6a1-93841b13fac5'}], 'security_groups': ['41fc4a0c-8701-48ac-a527-cde3a8d3b0a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:14,748 - DEBUG - Created port 8c344d9f-bb5d-4b55-997d-090c63a2c3cc 2025-09-05 18:20:14,849 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8c344d9f-bb5d-4b55-997d-090c63a2c3cc 2025-09-05 18:20:15,138 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8c344d9f-bb5d-4b55-997d-090c63a2c3cc 2025-09-05 18:20:15,166 - INFO - VMI 8c344d9f-bb5d-4b55-997d-090c63a2c3cc verification in API Server passed 2025-09-05 18:20:15,240 - DEBUG - Response for delete_port : () 2025-09-05 18:20:15,240 - INFO - Deleted port 8c344d9f-bb5d-4b55-997d-090c63a2c3cc 2025-09-05 18:20:15,241 - INFO - Deleting VN ctest-vn-69780213 2025-09-05 18:20:15,326 - DEBUG - Response for deleting network () 2025-09-05 18:20:15,574 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 18:20:15,574 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-05 18:20:15,574 - INFO - -------------------------------------------------------------------------------- 2025-09-05 18:20:15,576 - INFO - ================================================================================ 2025-09-05 18:20:15,576 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-05 18:20:15,576 - 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-09-05 18:20:15,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-05 18:20:15,862 - INFO - Initial checks done. Running the testcase now 2025-09-05 18:20:15,862 - INFO - 2025-09-05 18:20:16,022 - DEBUG - Response for create_network : {'network': {'id': '0be81636-08fe-4843-bb02-0396289fd42c', 'name': 'ctest-vn1-20533106', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'project_id': 'beed8e656b1242f1a46d1d293ea5052b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67623570', 'ctest-vn1-20533106'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:20:16,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9cce207-5eb3-40d3-bcbe-6c2e37a30e1c', 'name': '', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': '0be81636-08fe-4843-bb02-0396289fd42c', 'ip_version': 4, 'cidr': '80.203.109.192/26', 'allocation_pools': [{'start': '80.203.109.194', 'end': '80.203.109.254'}], 'gateway_ip': '80.203.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.203.109.194', 'tags': [], 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:16,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '08f83211-4988-4aac-92ed-cbbeeaba5533', 'name': '', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': '0be81636-08fe-4843-bb02-0396289fd42c', 'ip_version': 4, 'cidr': '34.74.220.64/26', 'allocation_pools': [{'start': '34.74.220.66', 'end': '34.74.220.126'}], 'gateway_ip': '34.74.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.74.220.66', 'tags': [], 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:16,379 - INFO - Created VN ctest-vn1-20533106 2025-09-05 18:20:16,429 - DEBUG - VN ctest-vn1-20533106 UUID is 0be81636-08fe-4843-bb02-0396289fd42c 2025-09-05 18:20:16,717 - DEBUG - Response for create_port : {'port': {'name': '1a4da1c5-c125-4649-9076-4199e1b06877', 'id': '1a4da1c5-c125-4649-9076-4199e1b06877', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': '0be81636-08fe-4843-bb02-0396289fd42c', 'mac_address': '02:1a:4d:a1:c5:c1', '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': '80.203.109.197', 'subnet_id': 'a9cce207-5eb3-40d3-bcbe-6c2e37a30e1c'}], 'security_groups': ['41fc4a0c-8701-48ac-a527-cde3a8d3b0a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:16,881 - DEBUG - Response for create_port : {'port': {'name': 'c33e1e06-e0c0-46c5-ab20-f9d3b1b1a49c', 'id': 'c33e1e06-e0c0-46c5-ab20-f9d3b1b1a49c', 'tenant_id': 'beed8e656b1242f1a46d1d293ea5052b', 'network_id': '0be81636-08fe-4843-bb02-0396289fd42c', 'mac_address': '02:c3:3e:1e:06:e0', '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': '34.74.220.69', 'subnet_id': '08f83211-4988-4aac-92ed-cbbeeaba5533'}], 'security_groups': ['41fc4a0c-8701-48ac-a527-cde3a8d3b0a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'beed8e656b1242f1a46d1d293ea5052b'}} 2025-09-05 18:20:16,932 - DEBUG - Services list from nova: [, , ] 2025-09-05 18:20:17,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:20:17,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:20:17,587 - INFO - Waiting for VM ctest-vn1-vm1-93107252 to be up.. 2025-09-05 18:20:17,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 18:20:22,696 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:20:22,696 - INFO - VM name : ctest-vn1-vm1-93107252 2025-09-05 18:20:22,758 - DEBUG - VM ctest-vn1-vm1-93107252 ID is 4fa5ea70-ff2a-4228-a194-92e53247cb84 2025-09-05 18:20:22,777 - DEBUG - VM ctest-vn1-vm1-93107252 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:20:22,855 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4fa5ea70-ff2a-4228-a194-92e53247cb84 2025-09-05 18:20:22,863 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/1a4da1c5-c125-4649-9076-4199e1b06877 2025-09-05 18:20:26,096 - 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 1004ms') 2025-09-05 18:20:26,096 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93107252 failed! 2025-09-05 18:20:26,153 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67623570:ctest-vn1-20533106 is 80.203.109.193 and allocation pool is NOT set 2025-09-05 18:20:26,153 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67623570:ctest-vn1-20533106 is 34.74.220.65 and allocation pool is NOT set 2025-09-05 18:20:28,212 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.55 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 = 2.552/2.635/2.718/0.083 ms') 2025-09-05 18:20:28,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93107252 passed 2025-09-05 18:20:28,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:28,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93107252, IP 80.203.109.197, Port 22 2025-09-05 18:20:28,520 - DEBUG - VM ctest-vn1-vm1-93107252 is ready for SSH connections 2025-09-05 18:20:28,521 - INFO - Waiting for VM ctest-vn1-vm2-23073965 to be up.. 2025-09-05 18:20:28,598 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:20:28,598 - INFO - VM name : ctest-vn1-vm2-23073965 2025-09-05 18:20:28,672 - DEBUG - VM ctest-vn1-vm2-23073965 ID is a86fb23c-e691-44dc-97a1-a6e681363734 2025-09-05 18:20:28,672 - DEBUG - VM ctest-vn1-vm2-23073965 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:20:28,735 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a86fb23c-e691-44dc-97a1-a6e681363734 2025-09-05 18:20:28,742 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c33e1e06-e0c0-46c5-ab20-f9d3b1b1a49c 2025-09-05 18:20:29,969 - 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=5.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.191/3.185/5.179/1.994 ms') 2025-09-05 18:20:29,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23073965 passed 2025-09-05 18:20:30,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:30,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23073965, IP 34.74.220.69, Port 22 2025-09-05 18:20:30,276 - DEBUG - VM ctest-vn1-vm2-23073965 is ready for SSH connections 2025-09-05 18:20:30,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:30,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:30,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:30,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.203.109.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:20:30,277 - DEBUG - ping -s 56 -c 3 -W 1 80.203.109.197 2025-09-05 18:20:33,226 - DEBUG - PING 80.203.109.197 (80.203.109.197): 56 data bytes 64 bytes from 80.203.109.197: seq=0 ttl=63 time=6.476 ms 64 bytes from 80.203.109.197: seq=1 ttl=63 time=0.779 ms 64 bytes from 80.203.109.197: seq=2 ttl=63 time=0.676 ms --- 80.203.109.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.676/2.643/6.476 ms 2025-09-05 18:20:33,226 - INFO - Ping to IP 80.203.109.197 from VM ctest-vn1-vm2-23073965 passed 2025-09-05 18:20:33,226 - INFO - Detaching port c33e1e06-e0c0-46c5-ab20-f9d3b1b1a49c from VM ctest-vn1-vm2-23073965 2025-09-05 18:20:33,269 - INFO - Deleting VM ctest-vn1-vm2-23073965 2025-09-05 18:20:33,336 - INFO - Detaching port 1a4da1c5-c125-4649-9076-4199e1b06877 from VM ctest-vn1-vm1-93107252 2025-09-05 18:20:33,365 - INFO - Deleting VM ctest-vn1-vm1-93107252 2025-09-05 18:20:33,592 - DEBUG - Response for delete_port : () 2025-09-05 18:20:33,793 - DEBUG - Response for delete_port : () 2025-09-05 18:20:33,793 - INFO - Deleting VN ctest-vn1-20533106 2025-09-05 18:20:33,920 - DEBUG - Response for deleting network () 2025-09-05 18:20:34,183 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 18:20:34,183 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-05 18:20:34,183 - INFO - -------------------------------------------------------------------------------- 2025-09-05 18:20:34,840 - INFO - Deleted project: ctest-TestPorts-67623570, ID : beed8e65-6b12-42f1-a46d-1d293ea5052b