2025-11-13 08:04:23,400 - INFO - Domain Default found not creating 2025-11-13 08:04:23,552 - INFO - Project ctest-TestPorts-87356470 not found, creating it 2025-11-13 08:04:24,002 - INFO - Created Project:ctest-TestPorts-87356470, ID : 042b571b-e7a8-4e0e-98ab-19e4891a2f21 2025-11-13 08:04:25,399 - INFO - ================================================================================ 2025-11-13 08:04:25,399 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 08:04:25,399 - 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-11-13 08:04:25,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 08:04:25,653 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:04:25,653 - INFO - 2025-11-13 08:04:26,201 - DEBUG - Response for create_network : {'network': {'id': 'e18a0f19-407a-4d60-89e6-75d59fb93aa6', 'name': 'ctest-vn-23730477', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'project_id': '042b571be7a84e0e98ab19e4891a2f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87356470', 'ctest-vn-23730477'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:04:26,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '124d9dd1-ff99-48eb-900f-aa92732621ae', 'name': '', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e18a0f19-407a-4d60-89e6-75d59fb93aa6', 'ip_version': 4, 'cidr': '111.182.137.64/26', 'allocation_pools': [{'start': '111.182.137.66', 'end': '111.182.137.126'}], 'gateway_ip': '111.182.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.182.137.66', 'tags': [], 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:26,400 - INFO - Created VN ctest-vn-23730477 2025-11-13 08:04:26,451 - DEBUG - VN ctest-vn-23730477 UUID is e18a0f19-407a-4d60-89e6-75d59fb93aa6 2025-11-13 08:04:26,555 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87356470', 'ctest-vmi-67687575']} 2025-11-13 08:04:26,826 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67687575', 'id': 'e3820b21-231d-432e-b385-86385cebe2da', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e18a0f19-407a-4d60-89e6-75d59fb93aa6', 'mac_address': '02:e3:82:0b:21:23', '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': '111.182.137.67', 'subnet_id': '124d9dd1-ff99-48eb-900f-aa92732621ae'}], 'security_groups': ['ac9cd38f-d3b8-441b-bd5c-6387757fe501'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:26,826 - DEBUG - Created port e3820b21-231d-432e-b385-86385cebe2da 2025-11-13 08:04:26,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e3820b21-231d-432e-b385-86385cebe2da 2025-11-13 08:04:27,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e3820b21-231d-432e-b385-86385cebe2da 2025-11-13 08:04:27,255 - INFO - VMI e3820b21-231d-432e-b385-86385cebe2da verification in API Server passed 2025-11-13 08:04:27,342 - DEBUG - Response for delete_port : () 2025-11-13 08:04:27,342 - INFO - Deleted port e3820b21-231d-432e-b385-86385cebe2da 2025-11-13 08:04:27,342 - INFO - Deleting VN ctest-vn-23730477 2025-11-13 08:04:27,438 - DEBUG - Response for deleting network () 2025-11-13 08:04:27,692 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 08:04:27,692 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 08:04:27,692 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:04:27,696 - INFO - ================================================================================ 2025-11-13 08:04:27,696 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 08:04:27,696 - 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-11-13 08:04:27,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 08:04:27,980 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:04:27,980 - INFO - 2025-11-13 08:04:28,149 - DEBUG - Response for create_network : {'network': {'id': 'e0971159-4130-40e7-b34c-d2cc5564788f', 'name': 'ctest-vn1-37816737', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'project_id': '042b571be7a84e0e98ab19e4891a2f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87356470', 'ctest-vn1-37816737'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:04:28,322 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f70a7511-93f2-461a-b791-3d4487eb02b3', 'name': '', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e0971159-4130-40e7-b34c-d2cc5564788f', 'ip_version': 4, 'cidr': '101.72.164.128/26', 'allocation_pools': [{'start': '101.72.164.130', 'end': '101.72.164.190'}], 'gateway_ip': '101.72.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.72.164.130', 'tags': [], 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:28,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f081bc7-a1d8-4638-b2cf-1c1a2d17a119', 'name': '', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e0971159-4130-40e7-b34c-d2cc5564788f', 'ip_version': 4, 'cidr': '118.151.8.128/26', 'allocation_pools': [{'start': '118.151.8.130', 'end': '118.151.8.190'}], 'gateway_ip': '118.151.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.151.8.130', 'tags': [], 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:28,540 - INFO - Created VN ctest-vn1-37816737 2025-11-13 08:04:28,591 - DEBUG - VN ctest-vn1-37816737 UUID is e0971159-4130-40e7-b34c-d2cc5564788f 2025-11-13 08:04:28,874 - DEBUG - Response for create_port : {'port': {'name': 'e1907f43-9392-4892-810c-be46e052bc4b', 'id': 'e1907f43-9392-4892-810c-be46e052bc4b', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e0971159-4130-40e7-b34c-d2cc5564788f', 'mac_address': '02:e1:90:7f:43:93', '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': '101.72.164.133', 'subnet_id': 'f70a7511-93f2-461a-b791-3d4487eb02b3'}], 'security_groups': ['ac9cd38f-d3b8-441b-bd5c-6387757fe501'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:29,047 - DEBUG - Response for create_port : {'port': {'name': '4a2effee-80b6-4049-a70d-8acc9128f864', 'id': '4a2effee-80b6-4049-a70d-8acc9128f864', 'tenant_id': '042b571be7a84e0e98ab19e4891a2f21', 'network_id': 'e0971159-4130-40e7-b34c-d2cc5564788f', 'mac_address': '02:4a:2e:ff:ee:80', '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': '118.151.8.133', 'subnet_id': '5f081bc7-a1d8-4638-b2cf-1c1a2d17a119'}], 'security_groups': ['ac9cd38f-d3b8-441b-bd5c-6387757fe501'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '042b571be7a84e0e98ab19e4891a2f21'}} 2025-11-13 08:04:29,106 - DEBUG - Services list from nova: [, , ] 2025-11-13 08:04:29,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1) 2025-11-13 08:04:29,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1) 2025-11-13 08:04:29,975 - INFO - Waiting for VM ctest-vn1-vm1-12559170 to be up.. 2025-11-13 08:04:30,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 08:04:35,087 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:04:35,087 - INFO - VM name : ctest-vn1-vm1-12559170 2025-11-13 08:04:35,159 - DEBUG - VM ctest-vn1-vm1-12559170 ID is 4c2bad3b-f04a-434f-ba03-c82e24cfdbd4 2025-11-13 08:04:35,184 - DEBUG - VM ctest-vn1-vm1-12559170 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1 2025-11-13 08:04:35,267 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4c2bad3b-f04a-434f-ba03-c82e24cfdbd4 2025-11-13 08:04:35,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e1907f43-9392-4892-810c-be46e052bc4b 2025-11-13 08:04:38,531 - 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 1015ms') 2025-11-13 08:04:38,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12559170 failed! 2025-11-13 08:04:38,587 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87356470:ctest-vn1-37816737 is 101.72.164.129 and allocation pool is NOT set 2025-11-13 08:04:38,587 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87356470:ctest-vn1-37816737 is 118.151.8.129 and allocation pool is NOT set 2025-11-13 08:04:40,651 - 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=5.42 ms\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, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.406/4.411/5.416/1.005 ms') 2025-11-13 08:04:40,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12559170 passed 2025-11-13 08:04:40,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:40,803 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12559170, IP 101.72.164.133, Port 22 2025-11-13 08:04:40,869 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-13 08:04:40,962 - DEBUG - VM ctest-vn1-vm1-12559170 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 08:04:45,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:45,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12559170, IP 101.72.164.133, Port 22 2025-11-13 08:04:46,123 - DEBUG - VM ctest-vn1-vm1-12559170 is ready for SSH connections 2025-11-13 08:04:46,123 - INFO - Waiting for VM ctest-vn1-vm2-41558404 to be up.. 2025-11-13 08:04:46,199 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:04:46,199 - INFO - VM name : ctest-vn1-vm2-41558404 2025-11-13 08:04:46,281 - DEBUG - VM ctest-vn1-vm2-41558404 ID is 8ba3b893-ceac-40c5-8f7b-8ab276eeef65 2025-11-13 08:04:46,281 - DEBUG - VM ctest-vn1-vm2-41558404 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1 2025-11-13 08:04:46,357 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8ba3b893-ceac-40c5-8f7b-8ab276eeef65 2025-11-13 08:04:46,366 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4a2effee-80b6-4049-a70d-8acc9128f864 2025-11-13 08:04:47,596 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.755/3.069/1.314 ms') 2025-11-13 08:04:47,596 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41558404 passed 2025-11-13 08:04:47,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:47,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41558404, IP 118.151.8.133, Port 22 2025-11-13 08:04:47,915 - DEBUG - VM ctest-vn1-vm2-41558404 is ready for SSH connections 2025-11-13 08:04:47,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:47,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:47,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:04:47,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.72.164.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 08:04:47,915 - DEBUG - ping -s 56 -c 3 -W 1 101.72.164.133 2025-11-13 08:04:50,553 - DEBUG - PING 101.72.164.133 (101.72.164.133): 56 data bytes 64 bytes from 101.72.164.133: seq=0 ttl=63 time=3.592 ms 64 bytes from 101.72.164.133: seq=1 ttl=63 time=1.043 ms 64 bytes from 101.72.164.133: seq=2 ttl=63 time=0.963 ms --- 101.72.164.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/1.866/3.592 ms 2025-11-13 08:04:50,554 - INFO - Ping to IP 101.72.164.133 from VM ctest-vn1-vm2-41558404 passed 2025-11-13 08:04:50,554 - INFO - Detaching port 4a2effee-80b6-4049-a70d-8acc9128f864 from VM ctest-vn1-vm2-41558404 2025-11-13 08:04:50,602 - INFO - Deleting VM ctest-vn1-vm2-41558404 2025-11-13 08:04:50,681 - INFO - Detaching port e1907f43-9392-4892-810c-be46e052bc4b from VM ctest-vn1-vm1-12559170 2025-11-13 08:04:50,725 - INFO - Deleting VM ctest-vn1-vm1-12559170 2025-11-13 08:04:50,949 - DEBUG - Response for delete_port : () 2025-11-13 08:04:51,108 - DEBUG - Response for delete_port : () 2025-11-13 08:04:51,108 - INFO - Deleting VN ctest-vn1-37816737 2025-11-13 08:04:51,246 - DEBUG - Response for deleting network () 2025-11-13 08:04:51,508 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 08:04:51,508 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-13 08:04:51,508 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:04:52,214 - INFO - Deleted project: ctest-TestPorts-87356470, ID : 042b571b-e7a8-4e0e-98ab-19e4891a2f21