2026-01-20 19:41:03,825 - INFO - Domain Default found not creating 2026-01-20 19:41:04,013 - INFO - Project ctest-TestPorts-31233612 not found, creating it 2026-01-20 19:41:04,752 - INFO - Created Project:ctest-TestPorts-31233612, ID : 43d8e5ef-26ae-4f08-be34-4c02f5c2e0c7 2026-01-20 19:41:06,552 - INFO - ================================================================================ 2026-01-20 19:41:06,552 - INFO - STARTING TEST : test_ports_bindings 2026-01-20 19:41:06,552 - 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-20 19:41:07,909 - WARNING - Test is running with cores: {'10.0.0.73': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5051-3.1768936401']} 2026-01-20 19:41:07,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.249': '0', '10.20.0.252': '0'}} with 2026-01-20 19:41:07,936 - INFO - Initial checks done. Running the testcase now 2026-01-20 19:41:07,936 - INFO - 2026-01-20 19:41:09,019 - DEBUG - Response for create_network : {'network': {'id': '5928d8af-7741-412d-9b3c-ef67acb38f0f', 'name': 'ctest-vn-42718967', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31233612', 'ctest-vn-42718967'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:41:09,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '939cae06-b920-4274-83f5-631d93af9f52', 'name': '', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': '5928d8af-7741-412d-9b3c-ef67acb38f0f', 'ip_version': 4, 'cidr': '63.67.233.0/26', 'allocation_pools': [{'start': '63.67.233.2', 'end': '63.67.233.62'}], 'gateway_ip': '63.67.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.67.233.2', 'tags': [], 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:09,380 - INFO - Created VN ctest-vn-42718967 2026-01-20 19:41:09,398 - DEBUG - VN ctest-vn-42718967 UUID is 5928d8af-7741-412d-9b3c-ef67acb38f0f 2026-01-20 19:41:09,475 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31233612', 'ctest-vmi-16393182']} 2026-01-20 19:41:09,805 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16393182', 'id': 'fcb4cdd8-539e-4578-83d7-366bccfdabf6', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': '5928d8af-7741-412d-9b3c-ef67acb38f0f', 'mac_address': '02:fc:b4:cd:d8:53', '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': '63.67.233.3', 'subnet_id': '939cae06-b920-4274-83f5-631d93af9f52'}], 'security_groups': ['a00ad982-252d-4418-b942-6e2bce9e0eca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:09,805 - DEBUG - Created port fcb4cdd8-539e-4578-83d7-366bccfdabf6 2026-01-20 19:41:09,915 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fcb4cdd8-539e-4578-83d7-366bccfdabf6 2026-01-20 19:41:10,273 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fcb4cdd8-539e-4578-83d7-366bccfdabf6 2026-01-20 19:41:10,325 - INFO - VMI fcb4cdd8-539e-4578-83d7-366bccfdabf6 verification in API Server passed 2026-01-20 19:41:10,519 - DEBUG - Response for delete_port : () 2026-01-20 19:41:10,519 - INFO - Deleted port fcb4cdd8-539e-4578-83d7-366bccfdabf6 2026-01-20 19:41:10,519 - INFO - Deleting VN ctest-vn-42718967 2026-01-20 19:41:10,700 - DEBUG - Response for deleting network () 2026-01-20 19:41:12,047 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 19:41:12,047 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06]
2026-01-20 19:41:12,047 - INFO - -------------------------------------------------------------------------------- 2026-01-20 19:41:12,053 - INFO - ================================================================================ 2026-01-20 19:41:12,054 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-20 19:41:12,054 - 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-20 19:41:13,421 - WARNING - Test is running with cores: {'10.0.0.73': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5051-3.1768936401']} 2026-01-20 19:41:13,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.249': '0', '10.20.0.252': '0'}} with 2026-01-20 19:41:13,447 - INFO - Initial checks done. Running the testcase now 2026-01-20 19:41:13,448 - INFO - 2026-01-20 19:41:13,899 - DEBUG - Response for create_network : {'network': {'id': 'aa87c032-6f13-4975-a961-570f1a5fad2c', 'name': 'ctest-vn1-76079051', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31233612', 'ctest-vn1-76079051'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:41:14,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb171f55-38a7-48f1-9360-7148b1f5bd98', 'name': '', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': 'aa87c032-6f13-4975-a961-570f1a5fad2c', 'ip_version': 4, 'cidr': '135.249.210.0/26', 'allocation_pools': [{'start': '135.249.210.2', 'end': '135.249.210.62'}], 'gateway_ip': '135.249.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.249.210.2', 'tags': [], 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:14,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '3234b579-634f-4fd7-a5b9-9d67ba39aac5', 'name': '', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': 'aa87c032-6f13-4975-a961-570f1a5fad2c', 'ip_version': 4, 'cidr': '31.45.228.64/26', 'allocation_pools': [{'start': '31.45.228.66', 'end': '31.45.228.126'}], 'gateway_ip': '31.45.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.45.228.66', 'tags': [], 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:14,508 - INFO - Created VN ctest-vn1-76079051 2026-01-20 19:41:14,521 - DEBUG - VN ctest-vn1-76079051 UUID is aa87c032-6f13-4975-a961-570f1a5fad2c 2026-01-20 19:41:15,025 - DEBUG - Response for create_port : {'port': {'name': 'f7fa011a-fd22-49ec-8274-4b84df8ad582', 'id': 'f7fa011a-fd22-49ec-8274-4b84df8ad582', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': 'aa87c032-6f13-4975-a961-570f1a5fad2c', 'mac_address': '02:f7:fa:01:1a:fd', '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': '135.249.210.5', 'subnet_id': 'bb171f55-38a7-48f1-9360-7148b1f5bd98'}], 'security_groups': ['a00ad982-252d-4418-b942-6e2bce9e0eca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:15,379 - DEBUG - Response for create_port : {'port': {'name': '0088d485-5c3b-46ec-bf43-b40a1e5b7fdd', 'id': '0088d485-5c3b-46ec-bf43-b40a1e5b7fdd', 'tenant_id': '43d8e5ef26ae4f08be344c02f5c2e0c7', 'network_id': 'aa87c032-6f13-4975-a961-570f1a5fad2c', 'mac_address': '02:00:88:d4:85:5c', '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': '31.45.228.69', 'subnet_id': '3234b579-634f-4fd7-a5b9-9d67ba39aac5'}], 'security_groups': ['a00ad982-252d-4418-b942-6e2bce9e0eca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d8e5ef26ae4f08be344c02f5c2e0c7'}} 2026-01-20 19:41:15,450 - DEBUG - Services list from nova: [, , , ] 2026-01-20 19:41:15,912 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-2) 2026-01-20 19:41:16,503 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-1) 2026-01-20 19:41:16,503 - INFO - Waiting for VM ctest-vn1-vm1-41301469 to be up.. 2026-01-20 19:41:16,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 19:41:21,746 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:41:21,747 - INFO - VM name : ctest-vn1-vm1-41301469 2026-01-20 19:41:21,893 - DEBUG - VM ctest-vn1-vm1-41301469 ID is 2e97b9ac-39b6-43dd-a68a-d0658d1626fa 2026-01-20 19:41:21,933 - DEBUG - VM ctest-vn1-vm1-41301469 launched on Node an-jenkins-deploy-platform-ansible-os-5051-2 2026-01-20 19:41:22,084 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/2e97b9ac-39b6-43dd-a68a-d0658d1626fa 2026-01-20 19:41:22,427 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/2e97b9ac-39b6-43dd-a68a-d0658d1626fa 2026-01-20 19:41:22,517 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f7fa011a-fd22-49ec-8274-4b84df8ad582 2026-01-20 19:41:25,788 - 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 1022ms') 2026-01-20 19:41:25,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41301469 failed! 2026-01-20 19:41:25,826 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31233612:ctest-vn1-76079051 is 135.249.210.1 and allocation pool is NOT set 2026-01-20 19:41:25,826 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31233612:ctest-vn1-76079051 is 31.45.228.65 and allocation pool is NOT set 2026-01-20 19:41:27,896 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.753 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.753/3.057/5.362/2.304 ms') 2026-01-20 19:41:27,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41301469 passed 2026-01-20 19:41:28,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:41:28,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41301469, IP 135.249.210.5, Port 22 2026-01-20 19:41:28,193 - DEBUG - VM ctest-vn1-vm1-41301469 is ready for SSH connections 2026-01-20 19:41:28,193 - INFO - Waiting for VM ctest-vn1-vm2-25827492 to be up.. 2026-01-20 19:41:28,341 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:41:28,341 - INFO - VM name : ctest-vn1-vm2-25827492 2026-01-20 19:41:28,437 - DEBUG - VM ctest-vn1-vm2-25827492 ID is 52239c90-0d56-4ccb-804c-93a9de1fd7ba 2026-01-20 19:41:28,437 - DEBUG - VM ctest-vn1-vm2-25827492 launched on Node an-jenkins-deploy-platform-ansible-os-5051-1 2026-01-20 19:41:28,524 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/52239c90-0d56-4ccb-804c-93a9de1fd7ba 2026-01-20 19:41:28,548 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/0088d485-5c3b-46ec-bf43-b40a1e5b7fdd 2026-01-20 19:41:29,787 - 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=3.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/1.765/3.162/1.397 ms') 2026-01-20 19:41:29,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-25827492 passed 2026-01-20 19:41:29,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:41:29,936 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25827492, IP 31.45.228.69, Port 22 2026-01-20 19:41:30,105 - DEBUG - VM ctest-vn1-vm2-25827492 is ready for SSH connections 2026-01-20 19:41:30,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:41:30,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:41:30,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:41:30,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.249.210.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-01-20 19:41:30,106 - DEBUG - ping -s 56 -c 3 -W 1 135.249.210.5 2026-01-20 19:41:33,160 - DEBUG - PING 135.249.210.5 (135.249.210.5): 56 data bytes 64 bytes from 135.249.210.5: seq=0 ttl=63 time=5.786 ms 64 bytes from 135.249.210.5: seq=1 ttl=63 time=1.325 ms 64 bytes from 135.249.210.5: seq=2 ttl=63 time=1.643 ms --- 135.249.210.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.325/2.918/5.786 ms 2026-01-20 19:41:33,160 - INFO - Ping to IP 135.249.210.5 from VM ctest-vn1-vm2-25827492 passed 2026-01-20 19:41:33,160 - INFO - Detaching port 0088d485-5c3b-46ec-bf43-b40a1e5b7fdd from VM ctest-vn1-vm2-25827492 2026-01-20 19:41:33,218 - INFO - Deleting VM ctest-vn1-vm2-25827492 2026-01-20 19:41:33,306 - INFO - Detaching port f7fa011a-fd22-49ec-8274-4b84df8ad582 from VM ctest-vn1-vm1-41301469 2026-01-20 19:41:33,345 - INFO - Deleting VM ctest-vn1-vm1-41301469 2026-01-20 19:41:33,769 - DEBUG - Response for delete_port : () 2026-01-20 19:41:34,041 - DEBUG - Response for delete_port : () 2026-01-20 19:41:34,041 - INFO - Deleting VN ctest-vn1-76079051 2026-01-20 19:41:34,231 - DEBUG - Response for deleting network () 2026-01-20 19:41:35,575 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 19:41:35,575 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-01-20 19:41:35,575 - INFO - -------------------------------------------------------------------------------- 2026-01-20 19:41:36,422 - INFO - Deleted project: ctest-TestPorts-31233612, ID : 43d8e5ef-26ae-4f08-be34-4c02f5c2e0c7