2025-08-27 17:21:49,985 - INFO - Domain Default found not creating 2025-08-27 17:21:50,126 - INFO - Project ctest-TestPorts-60801345 not found, creating it 2025-08-27 17:21:50,559 - INFO - Created Project:ctest-TestPorts-60801345, ID : a9786b69-6ce9-4f6c-8059-940d968233f1 2025-08-27 17:21:51,969 - INFO - ================================================================================ 2025-08-27 17:21:51,969 - INFO - STARTING TEST : test_ports_bindings 2025-08-27 17:21:51,969 - 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-08-27 17:21:52,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 17:21:52,226 - INFO - Initial checks done. Running the testcase now 2025-08-27 17:21:52,226 - INFO - 2025-08-27 17:21:52,737 - DEBUG - Response for create_network : {'network': {'id': '17990e58-6934-4ba5-87ac-8250caad0a42', 'name': 'ctest-vn-19713674', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'project_id': 'a9786b696ce94f6c8059940d968233f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60801345', 'ctest-vn-19713674'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:21:52,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '25f6e625-9ed7-4f3a-bb4f-37c8c98a4dc1', 'name': '', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '17990e58-6934-4ba5-87ac-8250caad0a42', 'ip_version': 4, 'cidr': '72.14.247.64/26', 'allocation_pools': [{'start': '72.14.247.66', 'end': '72.14.247.126'}], 'gateway_ip': '72.14.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.14.247.66', 'tags': [], 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:52,916 - INFO - Created VN ctest-vn-19713674 2025-08-27 17:21:52,965 - DEBUG - VN ctest-vn-19713674 UUID is 17990e58-6934-4ba5-87ac-8250caad0a42 2025-08-27 17:21:53,061 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60801345', 'ctest-vmi-17408547']} 2025-08-27 17:21:53,352 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17408547', 'id': '7d5a570e-677a-4df3-993d-0dcdc122c107', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '17990e58-6934-4ba5-87ac-8250caad0a42', 'mac_address': '02:7d:5a:57:0e:67', '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': '72.14.247.67', 'subnet_id': '25f6e625-9ed7-4f3a-bb4f-37c8c98a4dc1'}], 'security_groups': ['666a7927-bf1b-49ca-93d1-c53740df6212'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:53,352 - DEBUG - Created port 7d5a570e-677a-4df3-993d-0dcdc122c107 2025-08-27 17:21:53,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d5a570e-677a-4df3-993d-0dcdc122c107 2025-08-27 17:21:53,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d5a570e-677a-4df3-993d-0dcdc122c107 2025-08-27 17:21:53,775 - INFO - VMI 7d5a570e-677a-4df3-993d-0dcdc122c107 verification in API Server passed 2025-08-27 17:21:53,850 - DEBUG - Response for delete_port : () 2025-08-27 17:21:53,850 - INFO - Deleted port 7d5a570e-677a-4df3-993d-0dcdc122c107 2025-08-27 17:21:53,851 - INFO - Deleting VN ctest-vn-19713674 2025-08-27 17:21:53,942 - DEBUG - Response for deleting network () 2025-08-27 17:21:54,194 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 17:21:54,194 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-27 17:21:54,194 - INFO - -------------------------------------------------------------------------------- 2025-08-27 17:21:54,196 - INFO - ================================================================================ 2025-08-27 17:21:54,196 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-27 17:21:54,196 - 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-08-27 17:21:54,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 17:21:54,482 - INFO - Initial checks done. Running the testcase now 2025-08-27 17:21:54,482 - INFO - 2025-08-27 17:21:54,635 - DEBUG - Response for create_network : {'network': {'id': '3e418111-c313-476c-9c3c-f7b89ffb858b', 'name': 'ctest-vn1-85721062', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'project_id': 'a9786b696ce94f6c8059940d968233f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60801345', 'ctest-vn1-85721062'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:21:54,824 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc81742d-0e66-421f-82ce-f4bd4be40d18', 'name': '', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '3e418111-c313-476c-9c3c-f7b89ffb858b', 'ip_version': 4, 'cidr': '164.195.130.0/26', 'allocation_pools': [{'start': '164.195.130.2', 'end': '164.195.130.62'}], 'gateway_ip': '164.195.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.195.130.2', 'tags': [], 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:55,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf5026d1-bc3f-4c91-856b-4eb9ec71e336', 'name': '', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '3e418111-c313-476c-9c3c-f7b89ffb858b', 'ip_version': 4, 'cidr': '161.189.4.192/26', 'allocation_pools': [{'start': '161.189.4.194', 'end': '161.189.4.254'}], 'gateway_ip': '161.189.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.189.4.194', 'tags': [], 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:55,024 - INFO - Created VN ctest-vn1-85721062 2025-08-27 17:21:55,073 - DEBUG - VN ctest-vn1-85721062 UUID is 3e418111-c313-476c-9c3c-f7b89ffb858b 2025-08-27 17:21:55,347 - DEBUG - Response for create_port : {'port': {'name': '71919c4a-1d51-428d-92f1-6e27e5780ed1', 'id': '71919c4a-1d51-428d-92f1-6e27e5780ed1', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '3e418111-c313-476c-9c3c-f7b89ffb858b', 'mac_address': '02:71:91:9c:4a:1d', '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': '164.195.130.5', 'subnet_id': 'dc81742d-0e66-421f-82ce-f4bd4be40d18'}], 'security_groups': ['666a7927-bf1b-49ca-93d1-c53740df6212'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:55,494 - DEBUG - Response for create_port : {'port': {'name': '85fce74f-7d92-4a7d-ba95-a9f39c5e24d6', 'id': '85fce74f-7d92-4a7d-ba95-a9f39c5e24d6', 'tenant_id': 'a9786b696ce94f6c8059940d968233f1', 'network_id': '3e418111-c313-476c-9c3c-f7b89ffb858b', 'mac_address': '02:85:fc:e7:4f:7d', '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': '161.189.4.197', 'subnet_id': 'bf5026d1-bc3f-4c91-856b-4eb9ec71e336'}], 'security_groups': ['666a7927-bf1b-49ca-93d1-c53740df6212'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9786b696ce94f6c8059940d968233f1'}} 2025-08-27 17:21:55,545 - DEBUG - Services list from nova: [, , ] 2025-08-27 17:21:55,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:21:56,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:21:56,194 - INFO - Waiting for VM ctest-vn1-vm1-78384704 to be up.. 2025-08-27 17:21:56,229 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 17:22:01,297 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:22:01,297 - INFO - VM name : ctest-vn1-vm1-78384704 2025-08-27 17:22:01,367 - DEBUG - VM ctest-vn1-vm1-78384704 ID is dabd649b-b0d8-438b-9c3c-1ac4ecbb05fa 2025-08-27 17:22:01,385 - DEBUG - VM ctest-vn1-vm1-78384704 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:22:01,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dabd649b-b0d8-438b-9c3c-1ac4ecbb05fa 2025-08-27 17:22:01,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/71919c4a-1d51-428d-92f1-6e27e5780ed1 2025-08-27 17:22:04,722 - 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 1027ms') 2025-08-27 17:22:04,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78384704 failed! 2025-08-27 17:22:04,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60801345:ctest-vn1-85721062 is 164.195.130.1 and allocation pool is NOT set 2025-08-27 17:22:04,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60801345:ctest-vn1-85721062 is 161.189.4.193 and allocation pool is NOT set 2025-08-27 17:22:06,832 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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 = 1.811/3.305/4.799/1.494 ms') 2025-08-27 17:22:06,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78384704 passed 2025-08-27 17:22:06,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:06,981 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78384704, IP 164.195.130.5, Port 22 2025-08-27 17:22:07,136 - DEBUG - VM ctest-vn1-vm1-78384704 is ready for SSH connections 2025-08-27 17:22:07,137 - INFO - Waiting for VM ctest-vn1-vm2-51193166 to be up.. 2025-08-27 17:22:07,320 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:22:07,320 - INFO - VM name : ctest-vn1-vm2-51193166 2025-08-27 17:22:07,382 - DEBUG - VM ctest-vn1-vm2-51193166 ID is db083a73-9361-450d-bbb7-e6e1a7b024d0 2025-08-27 17:22:07,382 - DEBUG - VM ctest-vn1-vm2-51193166 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:22:07,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db083a73-9361-450d-bbb7-e6e1a7b024d0 2025-08-27 17:22:07,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/85fce74f-7d92-4a7d-ba95-a9f39c5e24d6 2025-08-27 17:22:08,682 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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 = 0.356/1.564/2.773/1.208 ms') 2025-08-27 17:22:08,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51193166 passed 2025-08-27 17:22:08,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:08,833 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51193166, IP 161.189.4.197, Port 22 2025-08-27 17:22:08,989 - DEBUG - VM ctest-vn1-vm2-51193166 is ready for SSH connections 2025-08-27 17:22:08,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:08,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:08,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:08,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.195.130.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:08,989 - DEBUG - ping -s 56 -c 3 -W 1 164.195.130.5 2025-08-27 17:22:11,908 - DEBUG - PING 164.195.130.5 (164.195.130.5): 56 data bytes 64 bytes from 164.195.130.5: seq=0 ttl=63 time=3.370 ms 64 bytes from 164.195.130.5: seq=1 ttl=63 time=0.728 ms 64 bytes from 164.195.130.5: seq=2 ttl=63 time=0.763 ms --- 164.195.130.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.620/3.370 ms 2025-08-27 17:22:11,909 - INFO - Ping to IP 164.195.130.5 from VM ctest-vn1-vm2-51193166 passed 2025-08-27 17:22:11,909 - INFO - Detaching port 85fce74f-7d92-4a7d-ba95-a9f39c5e24d6 from VM ctest-vn1-vm2-51193166 2025-08-27 17:22:11,952 - INFO - Deleting VM ctest-vn1-vm2-51193166 2025-08-27 17:22:12,016 - INFO - Detaching port 71919c4a-1d51-428d-92f1-6e27e5780ed1 from VM ctest-vn1-vm1-78384704 2025-08-27 17:22:12,046 - INFO - Deleting VM ctest-vn1-vm1-78384704 2025-08-27 17:22:12,227 - DEBUG - Response for delete_port : () 2025-08-27 17:22:12,369 - DEBUG - Response for delete_port : () 2025-08-27 17:22:12,369 - INFO - Deleting VN ctest-vn1-85721062 2025-08-27 17:22:12,490 - DEBUG - Response for deleting network () 2025-08-27 17:22:12,738 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 17:22:12,738 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-27 17:22:12,738 - INFO - -------------------------------------------------------------------------------- 2025-08-27 17:22:13,391 - INFO - Deleted project: ctest-TestPorts-60801345, ID : a9786b69-6ce9-4f6c-8059-940d968233f1