2026-01-22 16:11:02,490 - INFO - Domain Default found not creating 2026-01-22 16:11:02,645 - INFO - Project ctest-TestPorts-98717812 not found, creating it 2026-01-22 16:11:03,314 - INFO - Created Project:ctest-TestPorts-98717812, ID : ede30a87-6ccc-4c37-8c74-1b44ced0aea7 2026-01-22 16:11:04,887 - INFO - ================================================================================ 2026-01-22 16:11:04,887 - INFO - STARTING TEST : test_ports_bindings 2026-01-22 16:11:04,887 - 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 2026-01-22 16:11:06,172 - WARNING - Test is running with cores: {'10.0.0.65': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5062-3.1769096738']} 2026-01-22 16:11:06,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.73': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2026-01-22 16:11:06,185 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:11:06,185 - INFO - 2026-01-22 16:11:06,954 - DEBUG - Response for create_network : {'network': {'id': '6c776a75-ee32-4064-834f-7441d9728a92', 'name': 'ctest-vn-80724063', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'project_id': 'ede30a876ccc4c378c741b44ced0aea7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98717812', 'ctest-vn-80724063'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:11:07,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a3aba09-35d2-4691-b5c5-efdf6bb83129', 'name': '', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '6c776a75-ee32-4064-834f-7441d9728a92', 'ip_version': 4, 'cidr': '45.204.34.0/26', 'allocation_pools': [{'start': '45.204.34.2', 'end': '45.204.34.62'}], 'gateway_ip': '45.204.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.204.34.2', 'tags': [], 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:07,247 - INFO - Created VN ctest-vn-80724063 2026-01-22 16:11:07,258 - DEBUG - VN ctest-vn-80724063 UUID is 6c776a75-ee32-4064-834f-7441d9728a92 2026-01-22 16:11:07,340 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98717812', 'ctest-vmi-67586602']} 2026-01-22 16:11:07,688 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67586602', 'id': '88c0e71c-0b58-4658-9d75-576ec4d48cb6', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '6c776a75-ee32-4064-834f-7441d9728a92', 'mac_address': '02:88:c0:e7:1c:0b', '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': '45.204.34.3', 'subnet_id': '7a3aba09-35d2-4691-b5c5-efdf6bb83129'}], 'security_groups': ['233d5a27-6a2d-4fa2-b846-efbc6816f51f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:07,688 - DEBUG - Created port 88c0e71c-0b58-4658-9d75-576ec4d48cb6 2026-01-22 16:11:07,805 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/88c0e71c-0b58-4658-9d75-576ec4d48cb6 2026-01-22 16:11:08,109 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/88c0e71c-0b58-4658-9d75-576ec4d48cb6 2026-01-22 16:11:08,152 - INFO - VMI 88c0e71c-0b58-4658-9d75-576ec4d48cb6 verification in API Server passed 2026-01-22 16:11:08,350 - DEBUG - Response for delete_port : () 2026-01-22 16:11:08,350 - INFO - Deleted port 88c0e71c-0b58-4658-9d75-576ec4d48cb6 2026-01-22 16:11:08,350 - INFO - Deleting VN ctest-vn-80724063 2026-01-22 16:11:08,530 - DEBUG - Response for deleting network () 2026-01-22 16:11:09,823 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 16:11:09,823 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2026-01-22 16:11:09,824 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:11:09,826 - INFO - ================================================================================ 2026-01-22 16:11:09,826 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-22 16:11:09,826 - 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 2026-01-22 16:11:11,104 - WARNING - Test is running with cores: {'10.0.0.65': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5062-3.1769096738']} 2026-01-22 16:11:11,116 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.73': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2026-01-22 16:11:11,116 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:11:11,116 - INFO - 2026-01-22 16:11:11,438 - DEBUG - Response for create_network : {'network': {'id': '82bcfa78-2519-457b-b792-c4de338df7de', 'name': 'ctest-vn1-61914873', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'project_id': 'ede30a876ccc4c378c741b44ced0aea7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98717812', 'ctest-vn1-61914873'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:11:11,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '517c91ab-f232-4c0d-a20b-510004317580', 'name': '', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '82bcfa78-2519-457b-b792-c4de338df7de', 'ip_version': 4, 'cidr': '162.225.133.128/26', 'allocation_pools': [{'start': '162.225.133.130', 'end': '162.225.133.190'}], 'gateway_ip': '162.225.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.225.133.130', 'tags': [], 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:12,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '319f2128-2b89-487b-9c6c-bd199c2451c3', 'name': '', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '82bcfa78-2519-457b-b792-c4de338df7de', 'ip_version': 4, 'cidr': '141.13.155.192/26', 'allocation_pools': [{'start': '141.13.155.194', 'end': '141.13.155.254'}], 'gateway_ip': '141.13.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.13.155.194', 'tags': [], 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:12,035 - INFO - Created VN ctest-vn1-61914873 2026-01-22 16:11:12,052 - DEBUG - VN ctest-vn1-61914873 UUID is 82bcfa78-2519-457b-b792-c4de338df7de 2026-01-22 16:11:12,497 - DEBUG - Response for create_port : {'port': {'name': 'cd91e6d4-ad03-4672-a7e6-c6682e7b68e1', 'id': 'cd91e6d4-ad03-4672-a7e6-c6682e7b68e1', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '82bcfa78-2519-457b-b792-c4de338df7de', 'mac_address': '02:cd:91:e6:d4:ad', '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': '162.225.133.133', 'subnet_id': '517c91ab-f232-4c0d-a20b-510004317580'}], 'security_groups': ['233d5a27-6a2d-4fa2-b846-efbc6816f51f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:12,889 - DEBUG - Response for create_port : {'port': {'name': '2aab267a-c5c5-48ad-beba-3d1ee493a781', 'id': '2aab267a-c5c5-48ad-beba-3d1ee493a781', 'tenant_id': 'ede30a876ccc4c378c741b44ced0aea7', 'network_id': '82bcfa78-2519-457b-b792-c4de338df7de', 'mac_address': '02:2a:ab:26:7a:c5', '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.13.155.197', 'subnet_id': '319f2128-2b89-487b-9c6c-bd199c2451c3'}], 'security_groups': ['233d5a27-6a2d-4fa2-b846-efbc6816f51f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ede30a876ccc4c378c741b44ced0aea7'}} 2026-01-22 16:11:12,943 - DEBUG - Services list from nova: [, , , ] 2026-01-22 16:11:13,396 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-2) 2026-01-22 16:11:13,886 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-1) 2026-01-22 16:11:13,886 - INFO - Waiting for VM ctest-vn1-vm1-53107517 to be up.. 2026-01-22 16:11:13,938 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 16:11:19,039 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:11:19,039 - INFO - VM name : ctest-vn1-vm1-53107517 2026-01-22 16:11:19,172 - DEBUG - VM ctest-vn1-vm1-53107517 ID is 92ea219f-db3a-4dab-ab23-f532e61a37c0 2026-01-22 16:11:19,201 - DEBUG - VM ctest-vn1-vm1-53107517 launched on Node an-jenkins-deploy-platform-ansible-os-5062-2 2026-01-22 16:11:19,302 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/92ea219f-db3a-4dab-ab23-f532e61a37c0 2026-01-22 16:11:19,630 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/92ea219f-db3a-4dab-ab23-f532e61a37c0 2026-01-22 16:11:19,681 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cd91e6d4-ad03-4672-a7e6-c6682e7b68e1 2026-01-22 16:11:22,905 - 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 1006ms') 2026-01-22 16:11:22,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53107517 failed! 2026-01-22 16:11:22,933 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98717812:ctest-vn1-61914873 is 162.225.133.129 and allocation pool is NOT set 2026-01-22 16:11:22,933 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98717812:ctest-vn1-61914873 is 141.13.155.193 and allocation pool is NOT set 2026-01-22 16:11:24,999 - 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=9.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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.173/5.337/9.501/4.164 ms') 2026-01-22 16:11:24,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53107517 passed 2026-01-22 16:11:25,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:25,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53107517, IP 162.225.133.133, Port 22 2026-01-22 16:11:25,294 - DEBUG - VM ctest-vn1-vm1-53107517 is ready for SSH connections 2026-01-22 16:11:25,294 - INFO - Waiting for VM ctest-vn1-vm2-27844580 to be up.. 2026-01-22 16:11:25,380 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:11:25,380 - INFO - VM name : ctest-vn1-vm2-27844580 2026-01-22 16:11:25,464 - DEBUG - VM ctest-vn1-vm2-27844580 ID is 739e8c17-ed99-49d9-9f1e-2f5378044a6b 2026-01-22 16:11:25,464 - DEBUG - VM ctest-vn1-vm2-27844580 launched on Node an-jenkins-deploy-platform-ansible-os-5062-1 2026-01-22 16:11:25,555 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/739e8c17-ed99-49d9-9f1e-2f5378044a6b 2026-01-22 16:11:25,569 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2aab267a-c5c5-48ad-beba-3d1ee493a781 2026-01-22 16:11:26,774 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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 = 0.408/1.509/2.611/1.101 ms') 2026-01-22 16:11:26,774 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-27844580 passed 2026-01-22 16:11:26,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:26,899 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27844580, IP 141.13.155.197, Port 22 2026-01-22 16:11:27,055 - DEBUG - VM ctest-vn1-vm2-27844580 is ready for SSH connections 2026-01-22 16:11:27,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:27,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:27,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:27,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.225.133.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-01-22 16:11:27,056 - DEBUG - ping -s 56 -c 3 -W 1 162.225.133.133 2026-01-22 16:11:29,952 - DEBUG - PING 162.225.133.133 (162.225.133.133): 56 data bytes 64 bytes from 162.225.133.133: seq=0 ttl=63 time=4.833 ms 64 bytes from 162.225.133.133: seq=1 ttl=63 time=1.383 ms 64 bytes from 162.225.133.133: seq=2 ttl=63 time=1.247 ms --- 162.225.133.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.247/2.487/4.833 ms 2026-01-22 16:11:29,952 - INFO - Ping to IP 162.225.133.133 from VM ctest-vn1-vm2-27844580 passed 2026-01-22 16:11:29,953 - INFO - Detaching port 2aab267a-c5c5-48ad-beba-3d1ee493a781 from VM ctest-vn1-vm2-27844580 2026-01-22 16:11:30,002 - INFO - Deleting VM ctest-vn1-vm2-27844580 2026-01-22 16:11:30,083 - INFO - Detaching port cd91e6d4-ad03-4672-a7e6-c6682e7b68e1 from VM ctest-vn1-vm1-53107517 2026-01-22 16:11:30,114 - INFO - Deleting VM ctest-vn1-vm1-53107517 2026-01-22 16:11:30,542 - DEBUG - Response for delete_port : () 2026-01-22 16:11:30,885 - DEBUG - Response for delete_port : () 2026-01-22 16:11:30,885 - INFO - Deleting VN ctest-vn1-61914873 2026-01-22 16:11:31,138 - DEBUG - Response for deleting network () 2026-01-22 16:11:32,452 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 16:11:32,452 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2026-01-22 16:11:32,452 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:11:33,325 - INFO - Deleted project: ctest-TestPorts-98717812, ID : ede30a87-6ccc-4c37-8c74-1b44ced0aea7