2025-10-25 17:41:49,032 - INFO - Domain Default found not creating 2025-10-25 17:41:49,151 - INFO - Project ctest-TestPorts-64504532 not found, creating it 2025-10-25 17:41:49,608 - INFO - Created Project:ctest-TestPorts-64504532, ID : d355ad63-abf3-4deb-a9b6-e007e1ff23fb 2025-10-25 17:41:50,983 - INFO - ================================================================================ 2025-10-25 17:41:50,985 - INFO - STARTING TEST : test_ports_bindings 2025-10-25 17:41:50,985 - 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-25 17:41:51,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-25 17:41:51,253 - INFO - Initial checks done. Running the testcase now 2025-10-25 17:41:51,253 - INFO - 2025-10-25 17:41:51,742 - DEBUG - Response for create_network : {'network': {'id': '5a0a1bc6-276e-4d59-8d5d-c1460749a314', 'name': 'ctest-vn-30896348', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64504532', 'ctest-vn-30896348'], 'port_security_enabled': True, 'description': ''}} 2025-10-25 17:41:51,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '68392a7a-62b1-4c9b-9410-1d6a1a9a2ecb', 'name': '', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '5a0a1bc6-276e-4d59-8d5d-c1460749a314', 'ip_version': 4, 'cidr': '142.124.167.128/26', 'allocation_pools': [{'start': '142.124.167.130', 'end': '142.124.167.190'}], 'gateway_ip': '142.124.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.124.167.130', 'tags': [], 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:51,918 - INFO - Created VN ctest-vn-30896348 2025-10-25 17:41:51,968 - DEBUG - VN ctest-vn-30896348 UUID is 5a0a1bc6-276e-4d59-8d5d-c1460749a314 2025-10-25 17:41:52,061 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64504532', 'ctest-vmi-89019892']} 2025-10-25 17:41:52,395 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89019892', 'id': '869231d2-e0d1-4705-a7b3-ab0a786d4b47', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '5a0a1bc6-276e-4d59-8d5d-c1460749a314', 'mac_address': '02:86:92:31:d2:e0', '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': '142.124.167.131', 'subnet_id': '68392a7a-62b1-4c9b-9410-1d6a1a9a2ecb'}], 'security_groups': ['3b57c16c-c095-486b-8739-a921956c8ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:52,395 - DEBUG - Created port 869231d2-e0d1-4705-a7b3-ab0a786d4b47 2025-10-25 17:41:52,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/869231d2-e0d1-4705-a7b3-ab0a786d4b47 2025-10-25 17:41:52,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/869231d2-e0d1-4705-a7b3-ab0a786d4b47 2025-10-25 17:41:52,822 - INFO - VMI 869231d2-e0d1-4705-a7b3-ab0a786d4b47 verification in API Server passed 2025-10-25 17:41:52,902 - DEBUG - Response for delete_port : () 2025-10-25 17:41:52,903 - INFO - Deleted port 869231d2-e0d1-4705-a7b3-ab0a786d4b47 2025-10-25 17:41:52,903 - INFO - Deleting VN ctest-vn-30896348 2025-10-25 17:41:52,988 - DEBUG - Response for deleting network () 2025-10-25 17:41:53,236 - DEBUG - No XMPP flaps were noticed during the test
2025-10-25 17:41:53,236 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-25 17:41:53,236 - INFO - -------------------------------------------------------------------------------- 2025-10-25 17:41:53,238 - INFO - ================================================================================ 2025-10-25 17:41:53,238 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-25 17:41:53,238 - 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-25 17:41:53,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-25 17:41:53,525 - INFO - Initial checks done. Running the testcase now 2025-10-25 17:41:53,525 - INFO - 2025-10-25 17:41:53,682 - DEBUG - Response for create_network : {'network': {'id': '66eb9826-7fa5-4811-92e0-c3f1fcadef02', 'name': 'ctest-vn1-82841981', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64504532', 'ctest-vn1-82841981'], 'port_security_enabled': True, 'description': ''}} 2025-10-25 17:41:53,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '52953b65-cc00-44d9-9645-70f72d6dd56a', 'name': '', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '66eb9826-7fa5-4811-92e0-c3f1fcadef02', 'ip_version': 4, 'cidr': '68.155.88.192/26', 'allocation_pools': [{'start': '68.155.88.194', 'end': '68.155.88.254'}], 'gateway_ip': '68.155.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.155.88.194', 'tags': [], 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:54,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f589937-e0ad-428f-ad86-d13c25c00559', 'name': '', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '66eb9826-7fa5-4811-92e0-c3f1fcadef02', 'ip_version': 4, 'cidr': '172.105.19.64/26', 'allocation_pools': [{'start': '172.105.19.66', 'end': '172.105.19.126'}], 'gateway_ip': '172.105.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.105.19.66', 'tags': [], 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:54,068 - INFO - Created VN ctest-vn1-82841981 2025-10-25 17:41:54,116 - DEBUG - VN ctest-vn1-82841981 UUID is 66eb9826-7fa5-4811-92e0-c3f1fcadef02 2025-10-25 17:41:54,387 - DEBUG - Response for create_port : {'port': {'name': '9ef36660-5ed5-4ef0-9704-81589b175ac6', 'id': '9ef36660-5ed5-4ef0-9704-81589b175ac6', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '66eb9826-7fa5-4811-92e0-c3f1fcadef02', 'mac_address': '02:9e:f3:66:60:5e', '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': '68.155.88.197', 'subnet_id': '52953b65-cc00-44d9-9645-70f72d6dd56a'}], 'security_groups': ['3b57c16c-c095-486b-8739-a921956c8ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:54,546 - DEBUG - Response for create_port : {'port': {'name': 'a2658433-a9dd-496c-92e8-7855bfefb1af', 'id': 'a2658433-a9dd-496c-92e8-7855bfefb1af', 'tenant_id': 'd355ad63abf34deba9b6e007e1ff23fb', 'network_id': '66eb9826-7fa5-4811-92e0-c3f1fcadef02', 'mac_address': '02:a2:65:84:33:a9', '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': '172.105.19.69', 'subnet_id': '3f589937-e0ad-428f-ad86-d13c25c00559'}], 'security_groups': ['3b57c16c-c095-486b-8739-a921956c8ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd355ad63abf34deba9b6e007e1ff23fb'}} 2025-10-25 17:41:54,592 - DEBUG - Services list from nova: [, , ] 2025-10-25 17:41:54,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1) 2025-10-25 17:41:55,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1) 2025-10-25 17:41:55,334 - INFO - Waiting for VM ctest-vn1-vm1-66772996 to be up.. 2025-10-25 17:41:55,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-25 17:42:00,434 - DEBUG - VM is in ACTIVE state now 2025-10-25 17:42:00,434 - INFO - VM name : ctest-vn1-vm1-66772996 2025-10-25 17:42:00,502 - DEBUG - VM ctest-vn1-vm1-66772996 ID is 04e4b0d8-7f54-4bf2-90ed-21add1823415 2025-10-25 17:42:00,519 - DEBUG - VM ctest-vn1-vm1-66772996 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1 2025-10-25 17:42:00,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/04e4b0d8-7f54-4bf2-90ed-21add1823415 2025-10-25 17:42:00,582 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ef36660-5ed5-4ef0-9704-81589b175ac6 2025-10-25 17:42:03,821 - 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 1007ms') 2025-10-25 17:42:03,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66772996 failed! 2025-10-25 17:42:03,876 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64504532:ctest-vn1-82841981 is 68.155.88.193 and allocation pool is NOT set 2025-10-25 17:42:03,876 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64504532:ctest-vn1-82841981 is 172.105.19.65 and allocation pool is NOT set 2025-10-25 17:42:05,941 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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 = 0.485/1.638/2.791/1.153 ms') 2025-10-25 17:42:05,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66772996 passed 2025-10-25 17:42:06,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:42:06,088 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66772996, IP 68.155.88.197, Port 22 2025-10-25 17:42:06,244 - DEBUG - VM ctest-vn1-vm1-66772996 is ready for SSH connections 2025-10-25 17:42:06,244 - INFO - Waiting for VM ctest-vn1-vm2-91267906 to be up.. 2025-10-25 17:42:06,321 - DEBUG - VM is in ACTIVE state now 2025-10-25 17:42:06,321 - INFO - VM name : ctest-vn1-vm2-91267906 2025-10-25 17:42:06,399 - DEBUG - VM ctest-vn1-vm2-91267906 ID is 71ecb6f4-3e7d-4cde-8e10-1394000178c1 2025-10-25 17:42:06,399 - DEBUG - VM ctest-vn1-vm2-91267906 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1 2025-10-25 17:42:06,464 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71ecb6f4-3e7d-4cde-8e10-1394000178c1 2025-10-25 17:42:06,472 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a2658433-a9dd-496c-92e8-7855bfefb1af 2025-10-25 17:42:07,705 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.744/3.119/1.374 ms') 2025-10-25 17:42:07,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91267906 passed 2025-10-25 17:42:07,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:42:07,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91267906, IP 172.105.19.69, Port 22 2025-10-25 17:42:08,003 - DEBUG - VM ctest-vn1-vm2-91267906 is ready for SSH connections 2025-10-25 17:42:08,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:42:08,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:42:08,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-25 17:42:08,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.155.88.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-25 17:42:08,004 - DEBUG - ping -s 56 -c 3 -W 1 68.155.88.197 2025-10-25 17:42:10,897 - DEBUG - PING 68.155.88.197 (68.155.88.197): 56 data bytes 64 bytes from 68.155.88.197: seq=0 ttl=63 time=3.158 ms 64 bytes from 68.155.88.197: seq=1 ttl=63 time=0.781 ms 64 bytes from 68.155.88.197: seq=2 ttl=63 time=0.810 ms --- 68.155.88.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.583/3.158 ms 2025-10-25 17:42:10,898 - INFO - Ping to IP 68.155.88.197 from VM ctest-vn1-vm2-91267906 passed 2025-10-25 17:42:10,898 - INFO - Detaching port a2658433-a9dd-496c-92e8-7855bfefb1af from VM ctest-vn1-vm2-91267906 2025-10-25 17:42:10,940 - INFO - Deleting VM ctest-vn1-vm2-91267906 2025-10-25 17:42:10,998 - INFO - Detaching port 9ef36660-5ed5-4ef0-9704-81589b175ac6 from VM ctest-vn1-vm1-66772996 2025-10-25 17:42:11,026 - INFO - Deleting VM ctest-vn1-vm1-66772996 2025-10-25 17:42:11,205 - DEBUG - Response for delete_port : () 2025-10-25 17:42:11,360 - DEBUG - Response for delete_port : () 2025-10-25 17:42:11,361 - INFO - Deleting VN ctest-vn1-82841981 2025-10-25 17:42:11,501 - DEBUG - Response for deleting network () 2025-10-25 17:42:11,752 - DEBUG - No XMPP flaps were noticed during the test
2025-10-25 17:42:11,752 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-25 17:42:11,752 - INFO - -------------------------------------------------------------------------------- 2025-10-25 17:42:12,382 - INFO - Deleted project: ctest-TestPorts-64504532, ID : d355ad63-abf3-4deb-a9b6-e007e1ff23fb