2025-09-13 17:08:30,161 - INFO - Domain Default found not creating 2025-09-13 17:08:30,328 - INFO - Project ctest-TestPorts-86816378 not found, creating it 2025-09-13 17:08:30,806 - INFO - Created Project:ctest-TestPorts-86816378, ID : e6860f2b-c995-4d8a-958e-a69915e86e03 2025-09-13 17:08:32,327 - INFO - ================================================================================ 2025-09-13 17:08:32,327 - INFO - STARTING TEST : test_ports_bindings 2025-09-13 17:08:32,327 - 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-13 17:08:32,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-13 17:08:32,588 - INFO - Initial checks done. Running the testcase now 2025-09-13 17:08:32,588 - INFO - 2025-09-13 17:08:33,183 - DEBUG - Response for create_network : {'network': {'id': 'c1fd56b9-63d7-40e3-8565-adfd66f16a74', 'name': 'ctest-vn-81626990', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'project_id': 'e6860f2bc9954d8a958ea69915e86e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86816378', 'ctest-vn-81626990'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 17:08:33,400 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f07974b3-dc9a-4b46-a556-4f35fc66f182', 'name': '', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': 'c1fd56b9-63d7-40e3-8565-adfd66f16a74', 'ip_version': 4, 'cidr': '164.54.126.128/26', 'allocation_pools': [{'start': '164.54.126.130', 'end': '164.54.126.190'}], 'gateway_ip': '164.54.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.54.126.130', 'tags': [], 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:33,419 - INFO - Created VN ctest-vn-81626990 2025-09-13 17:08:33,473 - DEBUG - VN ctest-vn-81626990 UUID is c1fd56b9-63d7-40e3-8565-adfd66f16a74 2025-09-13 17:08:33,590 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86816378', 'ctest-vmi-61091204']} 2025-09-13 17:08:33,875 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61091204', 'id': '693968e1-8268-4038-81e7-f620241a6cf8', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': 'c1fd56b9-63d7-40e3-8565-adfd66f16a74', 'mac_address': '02:69:39:68:e1:82', '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': '164.54.126.131', 'subnet_id': 'f07974b3-dc9a-4b46-a556-4f35fc66f182'}], 'security_groups': ['50bdc8e2-4e65-4919-b1c3-8c1afe3977b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:33,875 - DEBUG - Created port 693968e1-8268-4038-81e7-f620241a6cf8 2025-09-13 17:08:33,981 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/693968e1-8268-4038-81e7-f620241a6cf8 2025-09-13 17:08:34,291 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/693968e1-8268-4038-81e7-f620241a6cf8 2025-09-13 17:08:34,326 - INFO - VMI 693968e1-8268-4038-81e7-f620241a6cf8 verification in API Server passed 2025-09-13 17:08:34,427 - DEBUG - Response for delete_port : () 2025-09-13 17:08:34,427 - INFO - Deleted port 693968e1-8268-4038-81e7-f620241a6cf8 2025-09-13 17:08:34,427 - INFO - Deleting VN ctest-vn-81626990 2025-09-13 17:08:34,541 - DEBUG - Response for deleting network () 2025-09-13 17:08:34,798 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 17:08:34,798 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-13 17:08:34,798 - INFO - -------------------------------------------------------------------------------- 2025-09-13 17:08:34,800 - INFO - ================================================================================ 2025-09-13 17:08:34,801 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-13 17:08:34,801 - 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-13 17:08:35,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-13 17:08:35,097 - INFO - Initial checks done. Running the testcase now 2025-09-13 17:08:35,098 - INFO - 2025-09-13 17:08:35,301 - DEBUG - Response for create_network : {'network': {'id': '09d20462-adf8-4ce1-9f25-355de9120456', 'name': 'ctest-vn1-88549059', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'project_id': 'e6860f2bc9954d8a958ea69915e86e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86816378', 'ctest-vn1-88549059'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 17:08:35,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa8e2294-8a93-4217-967d-f982dfe975d1', 'name': '', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': '09d20462-adf8-4ce1-9f25-355de9120456', 'ip_version': 4, 'cidr': '62.54.99.192/26', 'allocation_pools': [{'start': '62.54.99.194', 'end': '62.54.99.254'}], 'gateway_ip': '62.54.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.54.99.194', 'tags': [], 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:35,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '072e9615-79f9-42e0-982e-a75e6a40b851', 'name': '', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': '09d20462-adf8-4ce1-9f25-355de9120456', 'ip_version': 4, 'cidr': '1.10.70.64/26', 'allocation_pools': [{'start': '1.10.70.66', 'end': '1.10.70.126'}], 'gateway_ip': '1.10.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.10.70.66', 'tags': [], 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:35,677 - INFO - Created VN ctest-vn1-88549059 2025-09-13 17:08:35,733 - DEBUG - VN ctest-vn1-88549059 UUID is 09d20462-adf8-4ce1-9f25-355de9120456 2025-09-13 17:08:36,043 - DEBUG - Response for create_port : {'port': {'name': 'e4894efe-c351-4388-b3ca-626a354234cf', 'id': 'e4894efe-c351-4388-b3ca-626a354234cf', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': '09d20462-adf8-4ce1-9f25-355de9120456', 'mac_address': '02:e4:89:4e:fe:c3', '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': '62.54.99.197', 'subnet_id': 'fa8e2294-8a93-4217-967d-f982dfe975d1'}], 'security_groups': ['50bdc8e2-4e65-4919-b1c3-8c1afe3977b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:36,222 - DEBUG - Response for create_port : {'port': {'name': '963f4842-1416-412b-abd4-9c1ddae2a08e', 'id': '963f4842-1416-412b-abd4-9c1ddae2a08e', 'tenant_id': 'e6860f2bc9954d8a958ea69915e86e03', 'network_id': '09d20462-adf8-4ce1-9f25-355de9120456', 'mac_address': '02:96:3f:48:42:14', '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': '1.10.70.69', 'subnet_id': '072e9615-79f9-42e0-982e-a75e6a40b851'}], 'security_groups': ['50bdc8e2-4e65-4919-b1c3-8c1afe3977b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6860f2bc9954d8a958ea69915e86e03'}} 2025-09-13 17:08:36,286 - DEBUG - Services list from nova: [, , ] 2025-09-13 17:08:36,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4104-1) 2025-09-13 17:08:37,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4104-1) 2025-09-13 17:08:37,042 - INFO - Waiting for VM ctest-vn1-vm1-64492941 to be up.. 2025-09-13 17:08:37,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 17:08:42,168 - DEBUG - VM is in ACTIVE state now 2025-09-13 17:08:42,169 - INFO - VM name : ctest-vn1-vm1-64492941 2025-09-13 17:08:42,243 - DEBUG - VM ctest-vn1-vm1-64492941 ID is 8a58e4b0-c5ef-4e8c-82a8-3f1b9a653e60 2025-09-13 17:08:42,263 - DEBUG - VM ctest-vn1-vm1-64492941 launched on Node cn-jenkins-deploy-platform-ansible-os-4104-1 2025-09-13 17:08:42,334 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a58e4b0-c5ef-4e8c-82a8-3f1b9a653e60 2025-09-13 17:08:42,342 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e4894efe-c351-4388-b3ca-626a354234cf 2025-09-13 17:08:45,600 - 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 1026ms') 2025-09-13 17:08:45,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64492941 failed! 2025-09-13 17:08:45,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86816378:ctest-vn1-88549059 is 62.54.99.193 and allocation pool is NOT set 2025-09-13 17:08:45,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86816378:ctest-vn1-88549059 is 1.10.70.65 and allocation pool is NOT set 2025-09-13 17:08:49,736 - 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.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.386/3.386/3.386/0.000 ms') 2025-09-13 17:08:49,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64492941 passed 2025-09-13 17:08:49,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:08:49,885 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64492941, IP 62.54.99.197, Port 22 2025-09-13 17:08:50,052 - DEBUG - VM ctest-vn1-vm1-64492941 is ready for SSH connections 2025-09-13 17:08:50,052 - INFO - Waiting for VM ctest-vn1-vm2-11106673 to be up.. 2025-09-13 17:08:50,130 - DEBUG - VM is in ACTIVE state now 2025-09-13 17:08:50,130 - INFO - VM name : ctest-vn1-vm2-11106673 2025-09-13 17:08:50,205 - DEBUG - VM ctest-vn1-vm2-11106673 ID is 734e953d-d5a6-44ca-8aaa-b526bcd4d48f 2025-09-13 17:08:50,205 - DEBUG - VM ctest-vn1-vm2-11106673 launched on Node cn-jenkins-deploy-platform-ansible-os-4104-1 2025-09-13 17:08:50,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/734e953d-d5a6-44ca-8aaa-b526bcd4d48f 2025-09-13 17:08:50,291 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/963f4842-1416-412b-abd4-9c1ddae2a08e 2025-09-13 17:08:51,540 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.427/2.603/3.780/1.176 ms') 2025-09-13 17:08:51,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11106673 passed 2025-09-13 17:08:51,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:08:51,689 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11106673, IP 1.10.70.69, Port 22 2025-09-13 17:08:51,859 - DEBUG - VM ctest-vn1-vm2-11106673 is ready for SSH connections 2025-09-13 17:08:51,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:08:51,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:08:51,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:08:51,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.54.99.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-13 17:08:51,859 - DEBUG - ping -s 56 -c 3 -W 1 62.54.99.197 2025-09-13 17:08:54,572 - DEBUG - PING 62.54.99.197 (62.54.99.197): 56 data bytes 64 bytes from 62.54.99.197: seq=0 ttl=63 time=3.912 ms 64 bytes from 62.54.99.197: seq=1 ttl=63 time=0.930 ms 64 bytes from 62.54.99.197: seq=2 ttl=63 time=0.810 ms --- 62.54.99.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.884/3.912 ms 2025-09-13 17:08:54,572 - INFO - Ping to IP 62.54.99.197 from VM ctest-vn1-vm2-11106673 passed 2025-09-13 17:08:54,572 - INFO - Detaching port 963f4842-1416-412b-abd4-9c1ddae2a08e from VM ctest-vn1-vm2-11106673 2025-09-13 17:08:54,620 - INFO - Deleting VM ctest-vn1-vm2-11106673 2025-09-13 17:08:54,687 - INFO - Detaching port e4894efe-c351-4388-b3ca-626a354234cf from VM ctest-vn1-vm1-64492941 2025-09-13 17:08:54,729 - INFO - Deleting VM ctest-vn1-vm1-64492941 2025-09-13 17:08:54,986 - DEBUG - Response for delete_port : () 2025-09-13 17:08:55,155 - DEBUG - Response for delete_port : () 2025-09-13 17:08:55,156 - INFO - Deleting VN ctest-vn1-88549059 2025-09-13 17:08:55,320 - DEBUG - Response for deleting network () 2025-09-13 17:08:55,599 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 17:08:55,599 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-09-13 17:08:55,599 - INFO - -------------------------------------------------------------------------------- 2025-09-13 17:08:56,300 - INFO - Deleted project: ctest-TestPorts-86816378, ID : e6860f2b-c995-4d8a-958e-a69915e86e03