2025-11-24 18:32:57,178 - INFO - Domain Default found not creating 2025-11-24 18:32:57,612 - INFO - Project ctest-TestPorts-53292851 not found, creating it 2025-11-24 18:32:58,363 - INFO - Created Project:ctest-TestPorts-53292851, ID : ac38fcb4-2b33-4591-8288-c450ae875286 2025-11-24 18:33:00,570 - INFO - ================================================================================ 2025-11-24 18:33:00,570 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 18:33:00,570 - 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-24 18:33:00,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:33:00,893 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:33:00,893 - INFO - 2025-11-24 18:33:01,575 - DEBUG - Response for create_network : {'network': {'id': '62234a46-3883-462f-98b1-4b6c74914f24', 'name': 'ctest-vn-55506331', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'project_id': 'ac38fcb42b3345918288c450ae875286', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53292851', 'ctest-vn-55506331'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:33:01,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '149c7831-ef40-48cf-9672-64d6cd1563a2', 'name': '', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '62234a46-3883-462f-98b1-4b6c74914f24', 'ip_version': 4, 'cidr': '168.220.180.128/26', 'allocation_pools': [{'start': '168.220.180.130', 'end': '168.220.180.190'}], 'gateway_ip': '168.220.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.220.180.130', 'tags': [], 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:01,764 - INFO - Created VN ctest-vn-55506331 2025-11-24 18:33:01,822 - DEBUG - VN ctest-vn-55506331 UUID is 62234a46-3883-462f-98b1-4b6c74914f24 2025-11-24 18:33:01,961 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53292851', 'ctest-vmi-16645118']} 2025-11-24 18:33:02,317 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16645118', 'id': '963e7fca-13df-480a-98af-4a87017db50d', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '62234a46-3883-462f-98b1-4b6c74914f24', 'mac_address': '02:96:3e:7f:ca:13', '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': '168.220.180.131', 'subnet_id': '149c7831-ef40-48cf-9672-64d6cd1563a2'}], 'security_groups': ['d484bc8d-9d55-49a9-92ed-74489b5dcc6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:02,317 - DEBUG - Created port 963e7fca-13df-480a-98af-4a87017db50d 2025-11-24 18:33:02,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/963e7fca-13df-480a-98af-4a87017db50d 2025-11-24 18:33:02,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/963e7fca-13df-480a-98af-4a87017db50d 2025-11-24 18:33:02,836 - INFO - VMI 963e7fca-13df-480a-98af-4a87017db50d verification in API Server passed 2025-11-24 18:33:02,956 - DEBUG - Response for delete_port : () 2025-11-24 18:33:02,957 - INFO - Deleted port 963e7fca-13df-480a-98af-4a87017db50d 2025-11-24 18:33:02,957 - INFO - Deleting VN ctest-vn-55506331 2025-11-24 18:33:03,078 - DEBUG - Response for deleting network () 2025-11-24 18:33:03,367 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:33:03,368 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-24 18:33:03,368 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:33:03,376 - INFO - ================================================================================ 2025-11-24 18:33:03,376 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 18:33:03,376 - 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-24 18:33:03,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:33:03,725 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:33:03,725 - INFO - 2025-11-24 18:33:04,034 - DEBUG - Response for create_network : {'network': {'id': '82c5b25f-0f75-41f8-87b0-4b7343be1192', 'name': 'ctest-vn1-53733031', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'project_id': 'ac38fcb42b3345918288c450ae875286', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53292851', 'ctest-vn1-53733031'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:33:04,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b626bb96-89a0-4996-91ec-933fccd676b6', 'name': '', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '82c5b25f-0f75-41f8-87b0-4b7343be1192', 'ip_version': 4, 'cidr': '160.49.56.128/26', 'allocation_pools': [{'start': '160.49.56.130', 'end': '160.49.56.190'}], 'gateway_ip': '160.49.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.49.56.130', 'tags': [], 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:04,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '74eda7df-effe-427c-8abb-a1f76a73f74f', 'name': '', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '82c5b25f-0f75-41f8-87b0-4b7343be1192', 'ip_version': 4, 'cidr': '47.206.106.128/26', 'allocation_pools': [{'start': '47.206.106.130', 'end': '47.206.106.190'}], 'gateway_ip': '47.206.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.206.106.130', 'tags': [], 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:04,659 - INFO - Created VN ctest-vn1-53733031 2025-11-24 18:33:04,730 - DEBUG - VN ctest-vn1-53733031 UUID is 82c5b25f-0f75-41f8-87b0-4b7343be1192 2025-11-24 18:33:05,071 - DEBUG - Response for create_port : {'port': {'name': '884d78df-bed8-42df-a0ca-a617a4223442', 'id': '884d78df-bed8-42df-a0ca-a617a4223442', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '82c5b25f-0f75-41f8-87b0-4b7343be1192', 'mac_address': '02:88:4d:78:df:be', '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': '160.49.56.133', 'subnet_id': 'b626bb96-89a0-4996-91ec-933fccd676b6'}], 'security_groups': ['d484bc8d-9d55-49a9-92ed-74489b5dcc6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:05,253 - DEBUG - Response for create_port : {'port': {'name': 'b1413209-cc11-4ce3-b970-8f473b7fa90d', 'id': 'b1413209-cc11-4ce3-b970-8f473b7fa90d', 'tenant_id': 'ac38fcb42b3345918288c450ae875286', 'network_id': '82c5b25f-0f75-41f8-87b0-4b7343be1192', 'mac_address': '02:b1:41:32:09:cc', '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': '47.206.106.133', 'subnet_id': '74eda7df-effe-427c-8abb-a1f76a73f74f'}], 'security_groups': ['d484bc8d-9d55-49a9-92ed-74489b5dcc6c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac38fcb42b3345918288c450ae875286'}} 2025-11-24 18:33:05,318 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:33:06,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:33:06,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:33:06,810 - INFO - Waiting for VM ctest-vn1-vm1-57958587 to be up.. 2025-11-24 18:33:06,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:33:12,047 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:33:12,048 - INFO - VM name : ctest-vn1-vm1-57958587 2025-11-24 18:33:12,220 - DEBUG - VM ctest-vn1-vm1-57958587 ID is 149ccae7-199c-429b-962e-aff67028e77f 2025-11-24 18:33:12,255 - DEBUG - VM ctest-vn1-vm1-57958587 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:33:12,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/149ccae7-199c-429b-962e-aff67028e77f 2025-11-24 18:33:12,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/884d78df-bed8-42df-a0ca-a617a4223442 2025-11-24 18:33:15,787 - 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 1011ms') 2025-11-24 18:33:15,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57958587 failed! 2025-11-24 18:33:15,842 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53292851:ctest-vn1-53733031 is 160.49.56.129 and allocation pool is NOT set 2025-11-24 18:33:15,842 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53292851:ctest-vn1-53733031 is 47.206.106.129 and allocation pool is NOT set 2025-11-24 18:33:19,950 - 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=2 ttl=63 time=11.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 11.408/11.408/11.408/0.000 ms') 2025-11-24 18:33:19,950 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57958587 passed 2025-11-24 18:33:20,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:20,117 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57958587, IP 160.49.56.133, Port 22 2025-11-24 18:33:20,184 - 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-24 18:33:20,264 - DEBUG - VM ctest-vn1-vm1-57958587 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 18:33:25,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:25,265 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57958587, IP 160.49.56.133, Port 22 2025-11-24 18:33:25,469 - DEBUG - VM ctest-vn1-vm1-57958587 is ready for SSH connections 2025-11-24 18:33:25,469 - INFO - Waiting for VM ctest-vn1-vm2-23140806 to be up.. 2025-11-24 18:33:25,591 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:33:25,591 - INFO - VM name : ctest-vn1-vm2-23140806 2025-11-24 18:33:25,723 - DEBUG - VM ctest-vn1-vm2-23140806 ID is ba52cc98-d248-4f27-a38b-0826bab03fba 2025-11-24 18:33:25,723 - DEBUG - VM ctest-vn1-vm2-23140806 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:33:25,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba52cc98-d248-4f27-a38b-0826bab03fba 2025-11-24 18:33:25,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b1413209-cc11-4ce3-b970-8f473b7fa90d 2025-11-24 18:33:27,140 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/1.713/2.850/1.137 ms') 2025-11-24 18:33:27,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23140806 passed 2025-11-24 18:33:27,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:27,310 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23140806, IP 47.206.106.133, Port 22 2025-11-24 18:33:27,497 - DEBUG - VM ctest-vn1-vm2-23140806 is ready for SSH connections 2025-11-24 18:33:27,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:27,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:27,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:27,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.49.56.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:33:27,497 - DEBUG - ping -s 56 -c 3 -W 1 160.49.56.133 2025-11-24 18:33:30,479 - DEBUG - PING 160.49.56.133 (160.49.56.133): 56 data bytes 64 bytes from 160.49.56.133: seq=0 ttl=63 time=9.826 ms 64 bytes from 160.49.56.133: seq=1 ttl=63 time=1.349 ms 64 bytes from 160.49.56.133: seq=2 ttl=63 time=1.869 ms --- 160.49.56.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.349/4.348/9.826 ms 2025-11-24 18:33:30,479 - INFO - Ping to IP 160.49.56.133 from VM ctest-vn1-vm2-23140806 passed 2025-11-24 18:33:30,480 - INFO - Detaching port b1413209-cc11-4ce3-b970-8f473b7fa90d from VM ctest-vn1-vm2-23140806 2025-11-24 18:33:30,568 - INFO - Deleting VM ctest-vn1-vm2-23140806 2025-11-24 18:33:30,735 - INFO - Detaching port 884d78df-bed8-42df-a0ca-a617a4223442 from VM ctest-vn1-vm1-57958587 2025-11-24 18:33:30,786 - INFO - Deleting VM ctest-vn1-vm1-57958587 2025-11-24 18:33:31,140 - DEBUG - Response for delete_port : () 2025-11-24 18:33:31,320 - DEBUG - Response for delete_port : () 2025-11-24 18:33:31,320 - INFO - Deleting VN ctest-vn1-53733031 2025-11-24 18:33:31,437 - DEBUG - Response for deleting network () 2025-11-24 18:33:31,711 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:33:31,711 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-11-24 18:33:31,711 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:33:32,430 - INFO - Deleted project: ctest-TestPorts-53292851, ID : ac38fcb4-2b33-4591-8288-c450ae875286