2025-10-22 21:16:21,014 - INFO - Domain Default found not creating 2025-10-22 21:16:21,160 - INFO - Project ctest-TestPorts-99520100 not found, creating it 2025-10-22 21:16:21,655 - INFO - Created Project:ctest-TestPorts-99520100, ID : aa327d1d-2910-4def-b2db-a42edec565a2 2025-10-22 21:16:23,145 - INFO - ================================================================================ 2025-10-22 21:16:23,146 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 21:16:23,146 - 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-22 21:16:23,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 21:16:23,409 - INFO - Initial checks done. Running the testcase now 2025-10-22 21:16:23,409 - INFO - 2025-10-22 21:16:23,953 - DEBUG - Response for create_network : {'network': {'id': '46db5d5d-dcb1-4501-b197-f7bfbc12664d', 'name': 'ctest-vn-12148326', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'project_id': 'aa327d1d29104defb2dba42edec565a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99520100', 'ctest-vn-12148326'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:16:24,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '73c5dd01-60f5-4704-9d1e-48883235ccbc', 'name': '', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': '46db5d5d-dcb1-4501-b197-f7bfbc12664d', 'ip_version': 4, 'cidr': '115.189.81.128/26', 'allocation_pools': [{'start': '115.189.81.130', 'end': '115.189.81.190'}], 'gateway_ip': '115.189.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.189.81.130', 'tags': [], 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:24,164 - INFO - Created VN ctest-vn-12148326 2025-10-22 21:16:24,217 - DEBUG - VN ctest-vn-12148326 UUID is 46db5d5d-dcb1-4501-b197-f7bfbc12664d 2025-10-22 21:16:24,325 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99520100', 'ctest-vmi-38510003']} 2025-10-22 21:16:24,548 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38510003', 'id': '959659e0-fb42-4483-8765-0da573015bd2', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': '46db5d5d-dcb1-4501-b197-f7bfbc12664d', 'mac_address': '02:95:96:59:e0:fb', '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': '115.189.81.131', 'subnet_id': '73c5dd01-60f5-4704-9d1e-48883235ccbc'}], 'security_groups': ['9515f3eb-3fb8-40f3-a734-1181fd2d49d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:24,548 - DEBUG - Created port 959659e0-fb42-4483-8765-0da573015bd2 2025-10-22 21:16:24,653 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/959659e0-fb42-4483-8765-0da573015bd2 2025-10-22 21:16:24,943 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/959659e0-fb42-4483-8765-0da573015bd2 2025-10-22 21:16:24,977 - INFO - VMI 959659e0-fb42-4483-8765-0da573015bd2 verification in API Server passed 2025-10-22 21:16:25,074 - DEBUG - Response for delete_port : () 2025-10-22 21:16:25,074 - INFO - Deleted port 959659e0-fb42-4483-8765-0da573015bd2 2025-10-22 21:16:25,074 - INFO - Deleting VN ctest-vn-12148326 2025-10-22 21:16:25,185 - DEBUG - Response for deleting network () 2025-10-22 21:16:25,442 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 21:16:25,442 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-22 21:16:25,443 - INFO - -------------------------------------------------------------------------------- 2025-10-22 21:16:25,445 - INFO - ================================================================================ 2025-10-22 21:16:25,446 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 21:16:25,446 - 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-22 21:16:25,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 21:16:25,729 - INFO - Initial checks done. Running the testcase now 2025-10-22 21:16:25,729 - INFO - 2025-10-22 21:16:25,905 - DEBUG - Response for create_network : {'network': {'id': 'f2ce413c-545c-4d13-bb22-9dd0fbe1ba12', 'name': 'ctest-vn1-79561502', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'project_id': 'aa327d1d29104defb2dba42edec565a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99520100', 'ctest-vn1-79561502'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:16:26,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa9ad8fd-c8b1-4c2d-aeef-8df499b2b267', 'name': '', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': 'f2ce413c-545c-4d13-bb22-9dd0fbe1ba12', 'ip_version': 4, 'cidr': '19.240.201.64/26', 'allocation_pools': [{'start': '19.240.201.66', 'end': '19.240.201.126'}], 'gateway_ip': '19.240.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.240.201.66', 'tags': [], 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:26,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec670916-8646-48ac-9186-59312caae3fe', 'name': '', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': 'f2ce413c-545c-4d13-bb22-9dd0fbe1ba12', 'ip_version': 4, 'cidr': '141.102.221.128/26', 'allocation_pools': [{'start': '141.102.221.130', 'end': '141.102.221.190'}], 'gateway_ip': '141.102.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.102.221.130', 'tags': [], 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:26,254 - INFO - Created VN ctest-vn1-79561502 2025-10-22 21:16:26,305 - DEBUG - VN ctest-vn1-79561502 UUID is f2ce413c-545c-4d13-bb22-9dd0fbe1ba12 2025-10-22 21:16:26,603 - DEBUG - Response for create_port : {'port': {'name': '61b07944-9d7a-4c90-badf-1a6b04921524', 'id': '61b07944-9d7a-4c90-badf-1a6b04921524', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': 'f2ce413c-545c-4d13-bb22-9dd0fbe1ba12', 'mac_address': '02:61:b0:79:44:9d', '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': '19.240.201.69', 'subnet_id': 'fa9ad8fd-c8b1-4c2d-aeef-8df499b2b267'}], 'security_groups': ['9515f3eb-3fb8-40f3-a734-1181fd2d49d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:26,796 - DEBUG - Response for create_port : {'port': {'name': '10922077-b0b4-4175-b5df-71fc64da8316', 'id': '10922077-b0b4-4175-b5df-71fc64da8316', 'tenant_id': 'aa327d1d29104defb2dba42edec565a2', 'network_id': 'f2ce413c-545c-4d13-bb22-9dd0fbe1ba12', 'mac_address': '02:10:92:20:77:b0', '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': '141.102.221.133', 'subnet_id': 'ec670916-8646-48ac-9186-59312caae3fe'}], 'security_groups': ['9515f3eb-3fb8-40f3-a734-1181fd2d49d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa327d1d29104defb2dba42edec565a2'}} 2025-10-22 21:16:26,866 - DEBUG - Services list from nova: [, , ] 2025-10-22 21:16:27,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:16:27,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:16:27,810 - INFO - Waiting for VM ctest-vn1-vm1-61838884 to be up.. 2025-10-22 21:16:27,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 21:16:32,944 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:16:32,944 - INFO - VM name : ctest-vn1-vm1-61838884 2025-10-22 21:16:33,019 - DEBUG - VM ctest-vn1-vm1-61838884 ID is 429fb051-46ce-4bb8-87ea-45e184b58035 2025-10-22 21:16:33,042 - DEBUG - VM ctest-vn1-vm1-61838884 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:16:33,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/429fb051-46ce-4bb8-87ea-45e184b58035 2025-10-22 21:16:33,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/61b07944-9d7a-4c90-badf-1a6b04921524 2025-10-22 21:16:36,405 - 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 1025ms') 2025-10-22 21:16:36,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61838884 failed! 2025-10-22 21:16:36,461 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99520100:ctest-vn1-79561502 is 19.240.201.65 and allocation pool is NOT set 2025-10-22 21:16:36,461 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99520100:ctest-vn1-79561502 is 141.102.221.129 and allocation pool is NOT set 2025-10-22 21:16:38,529 - 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.71 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 1002ms\r\nrtt min/avg/max/mdev = 1.811/3.260/4.709/1.449 ms') 2025-10-22 21:16:38,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61838884 passed 2025-10-22 21:16:38,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:16:38,677 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61838884, IP 19.240.201.69, Port 22 2025-10-22 21:16:38,840 - DEBUG - VM ctest-vn1-vm1-61838884 is ready for SSH connections 2025-10-22 21:16:38,840 - INFO - Waiting for VM ctest-vn1-vm2-11723177 to be up.. 2025-10-22 21:16:38,916 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:16:38,917 - INFO - VM name : ctest-vn1-vm2-11723177 2025-10-22 21:16:38,991 - DEBUG - VM ctest-vn1-vm2-11723177 ID is 152e9caf-6139-450f-bae6-c56b624c0643 2025-10-22 21:16:38,991 - DEBUG - VM ctest-vn1-vm2-11723177 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:16:39,073 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/152e9caf-6139-450f-bae6-c56b624c0643 2025-10-22 21:16:39,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/10922077-b0b4-4175-b5df-71fc64da8316 2025-10-22 21:16:40,323 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/2.099/3.739/1.640 ms') 2025-10-22 21:16:40,323 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11723177 passed 2025-10-22 21:16:40,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:16:40,469 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11723177, IP 141.102.221.133, Port 22 2025-10-22 21:16:40,641 - DEBUG - VM ctest-vn1-vm2-11723177 is ready for SSH connections 2025-10-22 21:16:40,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:16:40,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:16:40,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:16:40,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.240.201.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:16:40,641 - DEBUG - ping -s 56 -c 3 -W 1 19.240.201.69 2025-10-22 21:16:43,584 - DEBUG - PING 19.240.201.69 (19.240.201.69): 56 data bytes 64 bytes from 19.240.201.69: seq=0 ttl=63 time=4.064 ms 64 bytes from 19.240.201.69: seq=1 ttl=63 time=0.816 ms 64 bytes from 19.240.201.69: seq=2 ttl=63 time=0.719 ms --- 19.240.201.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.866/4.064 ms 2025-10-22 21:16:43,584 - INFO - Ping to IP 19.240.201.69 from VM ctest-vn1-vm2-11723177 passed 2025-10-22 21:16:43,584 - INFO - Detaching port 10922077-b0b4-4175-b5df-71fc64da8316 from VM ctest-vn1-vm2-11723177 2025-10-22 21:16:43,632 - INFO - Deleting VM ctest-vn1-vm2-11723177 2025-10-22 21:16:43,704 - INFO - Detaching port 61b07944-9d7a-4c90-badf-1a6b04921524 from VM ctest-vn1-vm1-61838884 2025-10-22 21:16:43,740 - INFO - Deleting VM ctest-vn1-vm1-61838884 2025-10-22 21:16:43,968 - DEBUG - Response for delete_port : () 2025-10-22 21:16:44,119 - DEBUG - Response for delete_port : () 2025-10-22 21:16:44,119 - INFO - Deleting VN ctest-vn1-79561502 2025-10-22 21:16:44,262 - DEBUG - Response for deleting network () 2025-10-22 21:16:44,524 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 21:16:44,524 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-22 21:16:44,524 - INFO - -------------------------------------------------------------------------------- 2025-10-22 21:16:45,218 - INFO - Deleted project: ctest-TestPorts-99520100, ID : aa327d1d-2910-4def-b2db-a42edec565a2