2025-11-03 16:43:35,776 - INFO - Domain Default found not creating 2025-11-03 16:43:35,907 - INFO - Project ctest-TestPorts-58674425 not found, creating it 2025-11-03 16:43:36,323 - INFO - Created Project:ctest-TestPorts-58674425, ID : 13abc3b7-b36a-45f8-80da-cbb5763a9cbd 2025-11-03 16:43:37,682 - INFO - ================================================================================ 2025-11-03 16:43:37,682 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 16:43:37,682 - 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-03 16:43:37,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-11-03 16:43:37,937 - INFO - Initial checks done. Running the testcase now 2025-11-03 16:43:37,937 - INFO - 2025-11-03 16:43:38,448 - DEBUG - Response for create_network : {'network': {'id': '4db61f13-5926-466f-870f-d4a06b6719e0', 'name': 'ctest-vn-97102237', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58674425', 'ctest-vn-97102237'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:43:38,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f696a7ac-480e-4595-9d3a-fa972ed97149', 'name': '', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': '4db61f13-5926-466f-870f-d4a06b6719e0', 'ip_version': 4, 'cidr': '99.234.129.128/26', 'allocation_pools': [{'start': '99.234.129.130', 'end': '99.234.129.190'}], 'gateway_ip': '99.234.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.234.129.130', 'tags': [], 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:38,662 - INFO - Created VN ctest-vn-97102237 2025-11-03 16:43:38,716 - DEBUG - VN ctest-vn-97102237 UUID is 4db61f13-5926-466f-870f-d4a06b6719e0 2025-11-03 16:43:38,817 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58674425', 'ctest-vmi-52461751']} 2025-11-03 16:43:39,093 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52461751', 'id': '91bfccd3-975a-4dd5-af05-b5de8de6420d', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': '4db61f13-5926-466f-870f-d4a06b6719e0', 'mac_address': '02:91:bf:cc:d3:97', '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': '99.234.129.131', 'subnet_id': 'f696a7ac-480e-4595-9d3a-fa972ed97149'}], 'security_groups': ['9b1bb62a-78e2-4f5d-8a53-7c32f546fa8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:39,093 - DEBUG - Created port 91bfccd3-975a-4dd5-af05-b5de8de6420d 2025-11-03 16:43:39,196 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/91bfccd3-975a-4dd5-af05-b5de8de6420d 2025-11-03 16:43:39,484 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/91bfccd3-975a-4dd5-af05-b5de8de6420d 2025-11-03 16:43:39,512 - INFO - VMI 91bfccd3-975a-4dd5-af05-b5de8de6420d verification in API Server passed 2025-11-03 16:43:39,601 - DEBUG - Response for delete_port : () 2025-11-03 16:43:39,601 - INFO - Deleted port 91bfccd3-975a-4dd5-af05-b5de8de6420d 2025-11-03 16:43:39,601 - INFO - Deleting VN ctest-vn-97102237 2025-11-03 16:43:39,718 - DEBUG - Response for deleting network () 2025-11-03 16:43:39,976 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 16:43:39,976 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-03 16:43:39,976 - INFO - -------------------------------------------------------------------------------- 2025-11-03 16:43:39,979 - INFO - ================================================================================ 2025-11-03 16:43:39,979 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 16:43:39,979 - 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-03 16:43:40,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-11-03 16:43:40,264 - INFO - Initial checks done. Running the testcase now 2025-11-03 16:43:40,264 - INFO - 2025-11-03 16:43:40,423 - DEBUG - Response for create_network : {'network': {'id': 'cacf1fc7-c981-4966-828c-df50575912fe', 'name': 'ctest-vn1-50020962', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58674425', 'ctest-vn1-50020962'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:43:40,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '47bf44a2-9afb-40bf-aa66-5c33efadc94f', 'name': '', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': 'cacf1fc7-c981-4966-828c-df50575912fe', 'ip_version': 4, 'cidr': '16.111.5.192/26', 'allocation_pools': [{'start': '16.111.5.194', 'end': '16.111.5.254'}], 'gateway_ip': '16.111.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.111.5.194', 'tags': [], 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:40,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '37d6b2e0-697e-4dfc-985c-42f14e2730df', 'name': '', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': 'cacf1fc7-c981-4966-828c-df50575912fe', 'ip_version': 4, 'cidr': '21.70.4.192/26', 'allocation_pools': [{'start': '21.70.4.194', 'end': '21.70.4.254'}], 'gateway_ip': '21.70.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.70.4.194', 'tags': [], 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:40,774 - INFO - Created VN ctest-vn1-50020962 2025-11-03 16:43:40,824 - DEBUG - VN ctest-vn1-50020962 UUID is cacf1fc7-c981-4966-828c-df50575912fe 2025-11-03 16:43:41,114 - DEBUG - Response for create_port : {'port': {'name': '97072ca2-b5aa-4e35-9cfb-395af6eecd6d', 'id': '97072ca2-b5aa-4e35-9cfb-395af6eecd6d', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': 'cacf1fc7-c981-4966-828c-df50575912fe', 'mac_address': '02:97:07:2c:a2:b5', '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': '16.111.5.197', 'subnet_id': '47bf44a2-9afb-40bf-aa66-5c33efadc94f'}], 'security_groups': ['9b1bb62a-78e2-4f5d-8a53-7c32f546fa8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:41,275 - DEBUG - Response for create_port : {'port': {'name': '53767225-ffb9-4bde-a9d7-7e902153ef3f', 'id': '53767225-ffb9-4bde-a9d7-7e902153ef3f', 'tenant_id': '13abc3b7b36a45f880dacbb5763a9cbd', 'network_id': 'cacf1fc7-c981-4966-828c-df50575912fe', 'mac_address': '02:53:76:72:25:ff', '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': '21.70.4.197', 'subnet_id': '37d6b2e0-697e-4dfc-985c-42f14e2730df'}], 'security_groups': ['9b1bb62a-78e2-4f5d-8a53-7c32f546fa8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13abc3b7b36a45f880dacbb5763a9cbd'}} 2025-11-03 16:43:41,335 - DEBUG - Services list from nova: [, , ] 2025-11-03 16:43:41,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:43:42,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:43:42,051 - INFO - Waiting for VM ctest-vn1-vm1-12924929 to be up.. 2025-11-03 16:43:42,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 16:43:47,157 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:43:47,157 - INFO - VM name : ctest-vn1-vm1-12924929 2025-11-03 16:43:47,224 - DEBUG - VM ctest-vn1-vm1-12924929 ID is db468662-7877-45a1-b273-2deb2946d684 2025-11-03 16:43:47,242 - DEBUG - VM ctest-vn1-vm1-12924929 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:43:47,435 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/db468662-7877-45a1-b273-2deb2946d684 2025-11-03 16:43:47,442 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/97072ca2-b5aa-4e35-9cfb-395af6eecd6d 2025-11-03 16:43:50,687 - 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-03 16:43:50,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12924929 failed! 2025-11-03 16:43:50,744 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58674425:ctest-vn1-50020962 is 16.111.5.193 and allocation pool is NOT set 2025-11-03 16:43:50,744 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58674425:ctest-vn1-50020962 is 21.70.4.193 and allocation pool is NOT set 2025-11-03 16:43:52,811 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/3.569/4.982/1.412 ms') 2025-11-03 16:43:52,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12924929 passed 2025-11-03 16:43:52,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:43:52,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12924929, IP 16.111.5.197, Port 22 2025-11-03 16:43:53,015 - 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-03 16:43:53,087 - DEBUG - VM ctest-vn1-vm1-12924929 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 16:43:58,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:43:58,088 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12924929, IP 16.111.5.197, Port 22 2025-11-03 16:43:58,261 - DEBUG - VM ctest-vn1-vm1-12924929 is ready for SSH connections 2025-11-03 16:43:58,261 - INFO - Waiting for VM ctest-vn1-vm2-83449833 to be up.. 2025-11-03 16:43:58,342 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:43:58,342 - INFO - VM name : ctest-vn1-vm2-83449833 2025-11-03 16:43:58,416 - DEBUG - VM ctest-vn1-vm2-83449833 ID is 9b17f3f6-ae24-4520-b621-34175cb796ba 2025-11-03 16:43:58,416 - DEBUG - VM ctest-vn1-vm2-83449833 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:43:58,479 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9b17f3f6-ae24-4520-b621-34175cb796ba 2025-11-03 16:43:58,486 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/53767225-ffb9-4bde-a9d7-7e902153ef3f 2025-11-03 16:43:59,721 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.680 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.680/1.977/3.274/1.297 ms') 2025-11-03 16:43:59,721 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83449833 passed 2025-11-03 16:43:59,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:43:59,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83449833, IP 21.70.4.197, Port 22 2025-11-03 16:44:00,027 - DEBUG - VM ctest-vn1-vm2-83449833 is ready for SSH connections 2025-11-03 16:44:00,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:44:00,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:44:00,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:44:00,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.111.5.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-03 16:44:00,028 - DEBUG - ping -s 56 -c 3 -W 1 16.111.5.197 2025-11-03 16:44:03,031 - DEBUG - PING 16.111.5.197 (16.111.5.197): 56 data bytes 64 bytes from 16.111.5.197: seq=0 ttl=63 time=4.324 ms 64 bytes from 16.111.5.197: seq=1 ttl=63 time=0.866 ms 64 bytes from 16.111.5.197: seq=2 ttl=63 time=0.927 ms --- 16.111.5.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.039/4.324 ms 2025-11-03 16:44:03,031 - INFO - Ping to IP 16.111.5.197 from VM ctest-vn1-vm2-83449833 passed 2025-11-03 16:44:03,031 - INFO - Detaching port 53767225-ffb9-4bde-a9d7-7e902153ef3f from VM ctest-vn1-vm2-83449833 2025-11-03 16:44:03,081 - INFO - Deleting VM ctest-vn1-vm2-83449833 2025-11-03 16:44:03,149 - INFO - Detaching port 97072ca2-b5aa-4e35-9cfb-395af6eecd6d from VM ctest-vn1-vm1-12924929 2025-11-03 16:44:03,188 - INFO - Deleting VM ctest-vn1-vm1-12924929 2025-11-03 16:44:03,408 - DEBUG - Response for delete_port : () 2025-11-03 16:44:03,544 - DEBUG - Response for delete_port : () 2025-11-03 16:44:03,544 - INFO - Deleting VN ctest-vn1-50020962 2025-11-03 16:44:03,654 - DEBUG - Response for deleting network () 2025-11-03 16:44:03,913 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 16:44:03,913 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-03 16:44:03,913 - INFO - -------------------------------------------------------------------------------- 2025-11-03 16:44:04,551 - INFO - Deleted project: ctest-TestPorts-58674425, ID : 13abc3b7-b36a-45f8-80da-cbb5763a9cbd