2025-12-11 02:10:58,145 - INFO - Domain Default found not creating 2025-12-11 02:10:58,321 - INFO - Project ctest-TestPorts-39972072 not found, creating it 2025-12-11 02:10:58,810 - INFO - Created Project:ctest-TestPorts-39972072, ID : 0380b7a7-8fe8-4fef-9b13-680d49ccbafa 2025-12-11 02:11:00,444 - INFO - ================================================================================ 2025-12-11 02:11:00,444 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 02:11:00,445 - 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-12-11 02:11:00,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.129': '0'}} with 2025-12-11 02:11:00,708 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:11:00,708 - INFO - 2025-12-11 02:11:01,316 - DEBUG - Response for create_network : {'network': {'id': 'e3659405-0e96-4d57-8aa1-78db36f9e91c', 'name': 'ctest-vn-33484704', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'project_id': '0380b7a78fe84fef9b13680d49ccbafa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39972072', 'ctest-vn-33484704'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:11:01,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '043517fa-fcc2-41b9-8c86-1d0f7e4b7dad', 'name': '', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'e3659405-0e96-4d57-8aa1-78db36f9e91c', 'ip_version': 4, 'cidr': '221.242.240.128/26', 'allocation_pools': [{'start': '221.242.240.130', 'end': '221.242.240.190'}], 'gateway_ip': '221.242.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.242.240.130', 'tags': [], 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:01,515 - INFO - Created VN ctest-vn-33484704 2025-12-11 02:11:01,570 - DEBUG - VN ctest-vn-33484704 UUID is e3659405-0e96-4d57-8aa1-78db36f9e91c 2025-12-11 02:11:01,682 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39972072', 'ctest-vmi-94202848']} 2025-12-11 02:11:01,932 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94202848', 'id': 'c481d751-6475-4c14-903a-3b413dc6fe27', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'e3659405-0e96-4d57-8aa1-78db36f9e91c', 'mac_address': '02:c4:81:d7:51:64', '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': '221.242.240.131', 'subnet_id': '043517fa-fcc2-41b9-8c86-1d0f7e4b7dad'}], 'security_groups': ['30555474-99ff-41a5-aff4-cc282a0780b8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:01,932 - DEBUG - Created port c481d751-6475-4c14-903a-3b413dc6fe27 2025-12-11 02:11:02,038 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c481d751-6475-4c14-903a-3b413dc6fe27 2025-12-11 02:11:02,338 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c481d751-6475-4c14-903a-3b413dc6fe27 2025-12-11 02:11:02,380 - INFO - VMI c481d751-6475-4c14-903a-3b413dc6fe27 verification in API Server passed 2025-12-11 02:11:02,478 - DEBUG - Response for delete_port : () 2025-12-11 02:11:02,479 - INFO - Deleted port c481d751-6475-4c14-903a-3b413dc6fe27 2025-12-11 02:11:02,479 - INFO - Deleting VN ctest-vn-33484704 2025-12-11 02:11:02,590 - DEBUG - Response for deleting network () 2025-12-11 02:11:02,847 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 02:11:02,847 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-12-11 02:11:02,848 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:11:02,850 - INFO - ================================================================================ 2025-12-11 02:11:02,850 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 02:11:02,850 - 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-12-11 02:11:03,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.129': '0'}} with 2025-12-11 02:11:03,139 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:11:03,139 - INFO - 2025-12-11 02:11:03,331 - DEBUG - Response for create_network : {'network': {'id': 'b900c5d7-ef49-4f86-9b25-ccae3da0e5e1', 'name': 'ctest-vn1-13684019', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'project_id': '0380b7a78fe84fef9b13680d49ccbafa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39972072', 'ctest-vn1-13684019'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:11:03,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '86ba80a2-0082-496b-9c61-36f2e71db4ed', 'name': '', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'b900c5d7-ef49-4f86-9b25-ccae3da0e5e1', 'ip_version': 4, 'cidr': '79.102.196.192/26', 'allocation_pools': [{'start': '79.102.196.194', 'end': '79.102.196.254'}], 'gateway_ip': '79.102.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.102.196.194', 'tags': [], 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:03,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '34a7638b-0a38-4f9e-886d-8387969e83e6', 'name': '', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'b900c5d7-ef49-4f86-9b25-ccae3da0e5e1', 'ip_version': 4, 'cidr': '63.15.69.0/26', 'allocation_pools': [{'start': '63.15.69.2', 'end': '63.15.69.62'}], 'gateway_ip': '63.15.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.15.69.2', 'tags': [], 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:03,764 - INFO - Created VN ctest-vn1-13684019 2025-12-11 02:11:03,818 - DEBUG - VN ctest-vn1-13684019 UUID is b900c5d7-ef49-4f86-9b25-ccae3da0e5e1 2025-12-11 02:11:04,133 - DEBUG - Response for create_port : {'port': {'name': 'd8acbe83-ac27-4780-9bb1-0be155eccde1', 'id': 'd8acbe83-ac27-4780-9bb1-0be155eccde1', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'b900c5d7-ef49-4f86-9b25-ccae3da0e5e1', 'mac_address': '02:d8:ac:be:83:ac', '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': '79.102.196.197', 'subnet_id': '86ba80a2-0082-496b-9c61-36f2e71db4ed'}], 'security_groups': ['30555474-99ff-41a5-aff4-cc282a0780b8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:04,303 - DEBUG - Response for create_port : {'port': {'name': '215e3847-793d-4bde-9679-087f94f60bfb', 'id': '215e3847-793d-4bde-9679-087f94f60bfb', 'tenant_id': '0380b7a78fe84fef9b13680d49ccbafa', 'network_id': 'b900c5d7-ef49-4f86-9b25-ccae3da0e5e1', 'mac_address': '02:21:5e:38:47:79', '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.15.69.5', 'subnet_id': '34a7638b-0a38-4f9e-886d-8387969e83e6'}], 'security_groups': ['30555474-99ff-41a5-aff4-cc282a0780b8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0380b7a78fe84fef9b13680d49ccbafa'}} 2025-12-11 02:11:04,370 - DEBUG - Services list from nova: [, , ] 2025-12-11 02:11:04,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4882-1) 2025-12-11 02:11:05,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4882-1) 2025-12-11 02:11:05,166 - INFO - Waiting for VM ctest-vn1-vm1-26825144 to be up.. 2025-12-11 02:11:05,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 02:11:10,290 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:11:10,290 - INFO - VM name : ctest-vn1-vm1-26825144 2025-12-11 02:11:10,368 - DEBUG - VM ctest-vn1-vm1-26825144 ID is 4d740e14-abba-436a-bf0e-5661bb63ede2 2025-12-11 02:11:10,390 - DEBUG - VM ctest-vn1-vm1-26825144 launched on Node cn-jenkins-deploy-platform-ansible-os-4882-1 2025-12-11 02:11:10,474 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/4d740e14-abba-436a-bf0e-5661bb63ede2 2025-12-11 02:11:10,483 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/d8acbe83-ac27-4780-9bb1-0be155eccde1 2025-12-11 02:11:13,729 - 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-12-11 02:11:13,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26825144 failed! 2025-12-11 02:11:13,786 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39972072:ctest-vn1-13684019 is 79.102.196.193 and allocation pool is NOT set 2025-12-11 02:11:13,786 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39972072:ctest-vn1-13684019 is 63.15.69.1 and allocation pool is NOT set 2025-12-11 02:11:17,848 - 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=7.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 7.619/7.619/7.619/0.000 ms') 2025-12-11 02:11:17,848 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26825144 passed 2025-12-11 02:11:17,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:11:17,998 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26825144, IP 79.102.196.197, Port 22 2025-12-11 02:11:18,153 - DEBUG - VM ctest-vn1-vm1-26825144 is ready for SSH connections 2025-12-11 02:11:18,153 - INFO - Waiting for VM ctest-vn1-vm2-53326378 to be up.. 2025-12-11 02:11:18,252 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:11:18,252 - INFO - VM name : ctest-vn1-vm2-53326378 2025-12-11 02:11:18,324 - DEBUG - VM ctest-vn1-vm2-53326378 ID is 135dbb4b-2f44-49d8-b055-65ddd5208cec 2025-12-11 02:11:18,324 - DEBUG - VM ctest-vn1-vm2-53326378 launched on Node cn-jenkins-deploy-platform-ansible-os-4882-1 2025-12-11 02:11:18,401 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/135dbb4b-2f44-49d8-b055-65ddd5208cec 2025-12-11 02:11:18,411 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/215e3847-793d-4bde-9679-087f94f60bfb 2025-12-11 02:11:19,641 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.733/3.001/1.267 ms') 2025-12-11 02:11:19,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53326378 passed 2025-12-11 02:11:19,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:11:19,794 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53326378, IP 63.15.69.5, Port 22 2025-12-11 02:11:19,953 - DEBUG - VM ctest-vn1-vm2-53326378 is ready for SSH connections 2025-12-11 02:11:19,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:11:19,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:11:19,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:11:19,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.102.196.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-12-11 02:11:19,954 - DEBUG - ping -s 56 -c 3 -W 1 79.102.196.197 2025-12-11 02:11:22,640 - DEBUG - PING 79.102.196.197 (79.102.196.197): 56 data bytes 64 bytes from 79.102.196.197: seq=0 ttl=63 time=3.659 ms 64 bytes from 79.102.196.197: seq=1 ttl=63 time=1.004 ms 64 bytes from 79.102.196.197: seq=2 ttl=63 time=0.781 ms --- 79.102.196.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.814/3.659 ms 2025-12-11 02:11:22,640 - INFO - Ping to IP 79.102.196.197 from VM ctest-vn1-vm2-53326378 passed 2025-12-11 02:11:22,640 - INFO - Detaching port 215e3847-793d-4bde-9679-087f94f60bfb from VM ctest-vn1-vm2-53326378 2025-12-11 02:11:22,689 - INFO - Deleting VM ctest-vn1-vm2-53326378 2025-12-11 02:11:22,762 - INFO - Detaching port d8acbe83-ac27-4780-9bb1-0be155eccde1 from VM ctest-vn1-vm1-26825144 2025-12-11 02:11:22,794 - INFO - Deleting VM ctest-vn1-vm1-26825144 2025-12-11 02:11:23,027 - DEBUG - Response for delete_port : () 2025-12-11 02:11:23,183 - DEBUG - Response for delete_port : () 2025-12-11 02:11:23,183 - INFO - Deleting VN ctest-vn1-13684019 2025-12-11 02:11:23,320 - DEBUG - Response for deleting network () 2025-12-11 02:11:23,575 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 02:11:23,575 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-11 02:11:23,575 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:11:24,298 - INFO - Deleted project: ctest-TestPorts-39972072, ID : 0380b7a7-8fe8-4fef-9b13-680d49ccbafa