2025-11-13 11:02:05,088 - INFO - Domain Default found not creating 2025-11-13 11:02:05,296 - INFO - Project ctest-TestPorts-49405772 not found, creating it 2025-11-13 11:02:05,773 - INFO - Created Project:ctest-TestPorts-49405772, ID : 273286f1-d3d7-41e6-8cac-7fd732b1982d 2025-11-13 11:02:07,270 - INFO - ================================================================================ 2025-11-13 11:02:07,270 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 11:02:07,270 - 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-13 11:02:07,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-13 11:02:07,523 - INFO - Initial checks done. Running the testcase now 2025-11-13 11:02:07,523 - INFO - 2025-11-13 11:02:08,081 - DEBUG - Response for create_network : {'network': {'id': '9915298c-5987-4a81-9e82-893a6ca04576', 'name': 'ctest-vn-81948741', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'project_id': '273286f1d3d741e68cac7fd732b1982d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49405772', 'ctest-vn-81948741'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:02:08,254 - DEBUG - Response for create_subnet : {'subnet': {'id': '20cb00e2-6ffa-4dac-8ff6-f0306cd4bde6', 'name': '', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '9915298c-5987-4a81-9e82-893a6ca04576', 'ip_version': 4, 'cidr': '81.235.211.128/26', 'allocation_pools': [{'start': '81.235.211.130', 'end': '81.235.211.190'}], 'gateway_ip': '81.235.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.235.211.130', 'tags': [], 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:08,272 - INFO - Created VN ctest-vn-81948741 2025-11-13 11:02:08,322 - DEBUG - VN ctest-vn-81948741 UUID is 9915298c-5987-4a81-9e82-893a6ca04576 2025-11-13 11:02:08,428 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49405772', 'ctest-vmi-36606469']} 2025-11-13 11:02:08,698 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36606469', 'id': 'fe263ac6-fc8d-4515-8460-2f609d161911', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '9915298c-5987-4a81-9e82-893a6ca04576', 'mac_address': '02:fe:26:3a:c6:fc', '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': '81.235.211.131', 'subnet_id': '20cb00e2-6ffa-4dac-8ff6-f0306cd4bde6'}], 'security_groups': ['e5f3136c-03ab-439b-9895-7c13750e5a98'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:08,698 - DEBUG - Created port fe263ac6-fc8d-4515-8460-2f609d161911 2025-11-13 11:02:08,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe263ac6-fc8d-4515-8460-2f609d161911 2025-11-13 11:02:09,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe263ac6-fc8d-4515-8460-2f609d161911 2025-11-13 11:02:09,131 - INFO - VMI fe263ac6-fc8d-4515-8460-2f609d161911 verification in API Server passed 2025-11-13 11:02:09,229 - DEBUG - Response for delete_port : () 2025-11-13 11:02:09,229 - INFO - Deleted port fe263ac6-fc8d-4515-8460-2f609d161911 2025-11-13 11:02:09,229 - INFO - Deleting VN ctest-vn-81948741 2025-11-13 11:02:09,343 - DEBUG - Response for deleting network () 2025-11-13 11:02:09,599 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 11:02:09,599 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 11:02:09,599 - INFO - -------------------------------------------------------------------------------- 2025-11-13 11:02:09,601 - INFO - ================================================================================ 2025-11-13 11:02:09,602 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 11:02:09,602 - 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-13 11:02:09,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-13 11:02:09,889 - INFO - Initial checks done. Running the testcase now 2025-11-13 11:02:09,889 - INFO - 2025-11-13 11:02:10,077 - DEBUG - Response for create_network : {'network': {'id': '5acaf358-df42-4601-bb59-34b7b0630d2e', 'name': 'ctest-vn1-51600667', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'project_id': '273286f1d3d741e68cac7fd732b1982d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49405772', 'ctest-vn1-51600667'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:02:10,259 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc9b8bd7-acbe-4d03-819d-ba091a9fa432', 'name': '', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '5acaf358-df42-4601-bb59-34b7b0630d2e', 'ip_version': 4, 'cidr': '202.13.224.64/26', 'allocation_pools': [{'start': '202.13.224.66', 'end': '202.13.224.126'}], 'gateway_ip': '202.13.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.13.224.66', 'tags': [], 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:10,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '180c4765-0ba6-42fa-b20a-42e6b74511a6', 'name': '', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '5acaf358-df42-4601-bb59-34b7b0630d2e', 'ip_version': 4, 'cidr': '14.172.182.0/26', 'allocation_pools': [{'start': '14.172.182.2', 'end': '14.172.182.62'}], 'gateway_ip': '14.172.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.172.182.2', 'tags': [], 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:10,480 - INFO - Created VN ctest-vn1-51600667 2025-11-13 11:02:10,534 - DEBUG - VN ctest-vn1-51600667 UUID is 5acaf358-df42-4601-bb59-34b7b0630d2e 2025-11-13 11:02:10,846 - DEBUG - Response for create_port : {'port': {'name': '7f193603-9289-4914-bead-f0f1e52b2f03', 'id': '7f193603-9289-4914-bead-f0f1e52b2f03', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '5acaf358-df42-4601-bb59-34b7b0630d2e', 'mac_address': '02:7f:19:36:03:92', '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': '202.13.224.69', 'subnet_id': 'dc9b8bd7-acbe-4d03-819d-ba091a9fa432'}], 'security_groups': ['e5f3136c-03ab-439b-9895-7c13750e5a98'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:11,020 - DEBUG - Response for create_port : {'port': {'name': '588cb71f-92b0-4a32-bd6f-7f83008b481b', 'id': '588cb71f-92b0-4a32-bd6f-7f83008b481b', 'tenant_id': '273286f1d3d741e68cac7fd732b1982d', 'network_id': '5acaf358-df42-4601-bb59-34b7b0630d2e', 'mac_address': '02:58:8c:b7:1f:92', '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': '14.172.182.5', 'subnet_id': '180c4765-0ba6-42fa-b20a-42e6b74511a6'}], 'security_groups': ['e5f3136c-03ab-439b-9895-7c13750e5a98'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '273286f1d3d741e68cac7fd732b1982d'}} 2025-11-13 11:02:11,080 - DEBUG - Services list from nova: [, , ] 2025-11-13 11:02:11,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:02:11,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:02:11,819 - INFO - Waiting for VM ctest-vn1-vm1-66766983 to be up.. 2025-11-13 11:02:11,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 11:02:16,937 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:02:16,937 - INFO - VM name : ctest-vn1-vm1-66766983 2025-11-13 11:02:17,015 - DEBUG - VM ctest-vn1-vm1-66766983 ID is 59ec32ca-1a3c-479c-9e2e-db6debfb4e97 2025-11-13 11:02:17,042 - DEBUG - VM ctest-vn1-vm1-66766983 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:02:17,129 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59ec32ca-1a3c-479c-9e2e-db6debfb4e97 2025-11-13 11:02:17,137 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7f193603-9289-4914-bead-f0f1e52b2f03 2025-11-13 11:02:20,405 - 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 1027ms') 2025-11-13 11:02:20,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66766983 failed! 2025-11-13 11:02:20,462 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49405772:ctest-vn1-51600667 is 202.13.224.65 and allocation pool is NOT set 2025-11-13 11:02:20,462 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49405772:ctest-vn1-51600667 is 14.172.182.1 and allocation pool is NOT set 2025-11-13 11:02:22,528 - 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=7.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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.491/4.514/7.537/3.023 ms') 2025-11-13 11:02:22,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66766983 passed 2025-11-13 11:02:22,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:22,678 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66766983, IP 202.13.224.69, Port 22 2025-11-13 11:02:22,744 - 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-13 11:02:22,820 - DEBUG - VM ctest-vn1-vm1-66766983 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 11:02:27,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:27,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66766983, IP 202.13.224.69, Port 22 2025-11-13 11:02:27,982 - DEBUG - VM ctest-vn1-vm1-66766983 is ready for SSH connections 2025-11-13 11:02:27,982 - INFO - Waiting for VM ctest-vn1-vm2-63636638 to be up.. 2025-11-13 11:02:28,055 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:02:28,056 - INFO - VM name : ctest-vn1-vm2-63636638 2025-11-13 11:02:28,129 - DEBUG - VM ctest-vn1-vm2-63636638 ID is 9eeadfe8-d6ef-4bf3-b896-6b1308ec076d 2025-11-13 11:02:28,129 - DEBUG - VM ctest-vn1-vm2-63636638 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:02:28,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9eeadfe8-d6ef-4bf3-b896-6b1308ec076d 2025-11-13 11:02:28,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/588cb71f-92b0-4a32-bd6f-7f83008b481b 2025-11-13 11:02:29,442 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.733/2.981/1.248 ms') 2025-11-13 11:02:29,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63636638 passed 2025-11-13 11:02:29,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:29,598 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63636638, IP 14.172.182.5, Port 22 2025-11-13 11:02:29,754 - DEBUG - VM ctest-vn1-vm2-63636638 is ready for SSH connections 2025-11-13 11:02:29,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:29,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:29,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:02:29,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.13.224.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 11:02:29,754 - DEBUG - ping -s 56 -c 3 -W 1 202.13.224.69 2025-11-13 11:02:32,432 - DEBUG - PING 202.13.224.69 (202.13.224.69): 56 data bytes 64 bytes from 202.13.224.69: seq=0 ttl=63 time=5.512 ms 64 bytes from 202.13.224.69: seq=1 ttl=63 time=1.049 ms 64 bytes from 202.13.224.69: seq=2 ttl=63 time=1.035 ms --- 202.13.224.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/2.532/5.512 ms 2025-11-13 11:02:32,432 - INFO - Ping to IP 202.13.224.69 from VM ctest-vn1-vm2-63636638 passed 2025-11-13 11:02:32,432 - INFO - Detaching port 588cb71f-92b0-4a32-bd6f-7f83008b481b from VM ctest-vn1-vm2-63636638 2025-11-13 11:02:32,482 - INFO - Deleting VM ctest-vn1-vm2-63636638 2025-11-13 11:02:32,551 - INFO - Detaching port 7f193603-9289-4914-bead-f0f1e52b2f03 from VM ctest-vn1-vm1-66766983 2025-11-13 11:02:32,591 - INFO - Deleting VM ctest-vn1-vm1-66766983 2025-11-13 11:02:32,821 - DEBUG - Response for delete_port : () 2025-11-13 11:02:33,009 - DEBUG - Response for delete_port : () 2025-11-13 11:02:33,009 - INFO - Deleting VN ctest-vn1-51600667 2025-11-13 11:02:33,156 - DEBUG - Response for deleting network () 2025-11-13 11:02:33,411 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 11:02:33,411 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-13 11:02:33,411 - INFO - -------------------------------------------------------------------------------- 2025-11-13 11:02:34,131 - INFO - Deleted project: ctest-TestPorts-49405772, ID : 273286f1-d3d7-41e6-8cac-7fd732b1982d