2025-10-21 09:50:59,099 - INFO - Domain Default found not creating 2025-10-21 09:50:59,245 - INFO - Project ctest-TestPorts-65414357 not found, creating it 2025-10-21 09:50:59,694 - INFO - Created Project:ctest-TestPorts-65414357, ID : b22c77ff-933e-43b6-a6c8-c2755da417d9 2025-10-21 09:51:01,047 - INFO - ================================================================================ 2025-10-21 09:51:01,048 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 09:51:01,048 - 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-10-21 09:51:01,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 09:51:01,305 - INFO - Initial checks done. Running the testcase now 2025-10-21 09:51:01,305 - INFO - 2025-10-21 09:51:02,385 - DEBUG - Response for create_network : {'network': {'id': '15b87fd7-360d-4d59-9381-f9eeaeead231', 'name': 'ctest-vn-30899667', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65414357', 'ctest-vn-30899667'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:51:02,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '85a8a0a8-22db-4013-a1d6-18ef1a0c50fa', 'name': '', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '15b87fd7-360d-4d59-9381-f9eeaeead231', 'ip_version': 4, 'cidr': '196.31.127.64/26', 'allocation_pools': [{'start': '196.31.127.66', 'end': '196.31.127.126'}], 'gateway_ip': '196.31.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.31.127.66', 'tags': [], 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:02,601 - INFO - Created VN ctest-vn-30899667 2025-10-21 09:51:02,651 - DEBUG - VN ctest-vn-30899667 UUID is 15b87fd7-360d-4d59-9381-f9eeaeead231 2025-10-21 09:51:02,750 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65414357', 'ctest-vmi-23792020']} 2025-10-21 09:51:03,000 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23792020', 'id': 'b20de6f1-e947-4aea-917b-0f21580e05f1', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '15b87fd7-360d-4d59-9381-f9eeaeead231', 'mac_address': '02:b2:0d:e6:f1:e9', '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': '196.31.127.67', 'subnet_id': '85a8a0a8-22db-4013-a1d6-18ef1a0c50fa'}], 'security_groups': ['48a01695-d4fb-4cef-98b6-4d564305e547'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:03,000 - DEBUG - Created port b20de6f1-e947-4aea-917b-0f21580e05f1 2025-10-21 09:51:03,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b20de6f1-e947-4aea-917b-0f21580e05f1 2025-10-21 09:51:03,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b20de6f1-e947-4aea-917b-0f21580e05f1 2025-10-21 09:51:03,419 - INFO - VMI b20de6f1-e947-4aea-917b-0f21580e05f1 verification in API Server passed 2025-10-21 09:51:03,512 - DEBUG - Response for delete_port : () 2025-10-21 09:51:03,512 - INFO - Deleted port b20de6f1-e947-4aea-917b-0f21580e05f1 2025-10-21 09:51:03,512 - INFO - Deleting VN ctest-vn-30899667 2025-10-21 09:51:03,605 - DEBUG - Response for deleting network () 2025-10-21 09:51:03,863 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 09:51:03,863 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-21 09:51:03,863 - INFO - -------------------------------------------------------------------------------- 2025-10-21 09:51:03,865 - INFO - ================================================================================ 2025-10-21 09:51:03,865 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 09:51:03,865 - 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-10-21 09:51:04,151 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 09:51:04,151 - INFO - Initial checks done. Running the testcase now 2025-10-21 09:51:04,152 - INFO - 2025-10-21 09:51:04,307 - DEBUG - Response for create_network : {'network': {'id': '9f5ca308-50d2-43a3-a129-ff21568e1600', 'name': 'ctest-vn1-88615800', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65414357', 'ctest-vn1-88615800'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:51:04,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '72163ac8-3035-46b9-a2da-17e1882a3c77', 'name': '', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '9f5ca308-50d2-43a3-a129-ff21568e1600', 'ip_version': 4, 'cidr': '151.186.109.192/26', 'allocation_pools': [{'start': '151.186.109.194', 'end': '151.186.109.254'}], 'gateway_ip': '151.186.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.186.109.194', 'tags': [], 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:04,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '16960d3c-af11-466b-aca4-25c23c5488c4', 'name': '', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '9f5ca308-50d2-43a3-a129-ff21568e1600', 'ip_version': 4, 'cidr': '104.118.202.0/26', 'allocation_pools': [{'start': '104.118.202.2', 'end': '104.118.202.62'}], 'gateway_ip': '104.118.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.118.202.2', 'tags': [], 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:04,602 - INFO - Created VN ctest-vn1-88615800 2025-10-21 09:51:04,651 - DEBUG - VN ctest-vn1-88615800 UUID is 9f5ca308-50d2-43a3-a129-ff21568e1600 2025-10-21 09:51:04,918 - DEBUG - Response for create_port : {'port': {'name': 'ae22032f-06e4-4ce6-bf2b-80b249827730', 'id': 'ae22032f-06e4-4ce6-bf2b-80b249827730', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '9f5ca308-50d2-43a3-a129-ff21568e1600', 'mac_address': '02:ae:22:03:2f:06', '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': '151.186.109.197', 'subnet_id': '72163ac8-3035-46b9-a2da-17e1882a3c77'}], 'security_groups': ['48a01695-d4fb-4cef-98b6-4d564305e547'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:05,073 - DEBUG - Response for create_port : {'port': {'name': '9988af5b-48fc-4831-a190-a394b57d47c8', 'id': '9988af5b-48fc-4831-a190-a394b57d47c8', 'tenant_id': 'b22c77ff933e43b6a6c8c2755da417d9', 'network_id': '9f5ca308-50d2-43a3-a129-ff21568e1600', 'mac_address': '02:99:88:af:5b:48', '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': '104.118.202.5', 'subnet_id': '16960d3c-af11-466b-aca4-25c23c5488c4'}], 'security_groups': ['48a01695-d4fb-4cef-98b6-4d564305e547'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b22c77ff933e43b6a6c8c2755da417d9'}} 2025-10-21 09:51:05,123 - DEBUG - Services list from nova: [, , ] 2025-10-21 09:51:05,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:51:05,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:51:05,844 - INFO - Waiting for VM ctest-vn1-vm1-22300237 to be up.. 2025-10-21 09:51:05,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 09:51:10,944 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:51:10,944 - INFO - VM name : ctest-vn1-vm1-22300237 2025-10-21 09:51:11,007 - DEBUG - VM ctest-vn1-vm1-22300237 ID is 35af41d8-88f8-4661-9401-391ebceba1d6 2025-10-21 09:51:11,025 - DEBUG - VM ctest-vn1-vm1-22300237 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:51:11,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35af41d8-88f8-4661-9401-391ebceba1d6 2025-10-21 09:51:11,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ae22032f-06e4-4ce6-bf2b-80b249827730 2025-10-21 09:51:14,361 - 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 1032ms') 2025-10-21 09:51:14,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22300237 failed! 2025-10-21 09:51:14,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65414357:ctest-vn1-88615800 is 151.186.109.193 and allocation pool is NOT set 2025-10-21 09:51:14,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65414357:ctest-vn1-88615800 is 104.118.202.1 and allocation pool is NOT set 2025-10-21 09:51:16,478 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.016/2.579/4.143/1.563 ms') 2025-10-21 09:51:16,478 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22300237 passed 2025-10-21 09:51:16,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:16,631 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22300237, IP 151.186.109.197, Port 22 2025-10-21 09:51:16,687 - 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-10-21 09:51:16,759 - DEBUG - VM ctest-vn1-vm1-22300237 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 09:51:21,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:21,761 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22300237, IP 151.186.109.197, Port 22 2025-10-21 09:51:21,910 - DEBUG - VM ctest-vn1-vm1-22300237 is ready for SSH connections 2025-10-21 09:51:21,911 - INFO - Waiting for VM ctest-vn1-vm2-65547886 to be up.. 2025-10-21 09:51:21,981 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:51:21,981 - INFO - VM name : ctest-vn1-vm2-65547886 2025-10-21 09:51:22,050 - DEBUG - VM ctest-vn1-vm2-65547886 ID is 14cd89bb-6052-41cb-a218-28b8cfb6518a 2025-10-21 09:51:22,050 - DEBUG - VM ctest-vn1-vm2-65547886 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:51:22,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/14cd89bb-6052-41cb-a218-28b8cfb6518a 2025-10-21 09:51:22,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9988af5b-48fc-4831-a190-a394b57d47c8 2025-10-21 09:51:23,478 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 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.323/1.455/2.587/1.132 ms') 2025-10-21 09:51:23,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65547886 passed 2025-10-21 09:51:23,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:23,623 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65547886, IP 104.118.202.5, Port 22 2025-10-21 09:51:23,774 - DEBUG - VM ctest-vn1-vm2-65547886 is ready for SSH connections 2025-10-21 09:51:23,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:23,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:23,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:23,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.186.109.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:51:23,775 - DEBUG - ping -s 56 -c 3 -W 1 151.186.109.197 2025-10-21 09:51:26,685 - DEBUG - PING 151.186.109.197 (151.186.109.197): 56 data bytes 64 bytes from 151.186.109.197: seq=0 ttl=63 time=4.671 ms 64 bytes from 151.186.109.197: seq=1 ttl=63 time=0.738 ms 64 bytes from 151.186.109.197: seq=2 ttl=63 time=0.741 ms --- 151.186.109.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/2.050/4.671 ms 2025-10-21 09:51:26,685 - INFO - Ping to IP 151.186.109.197 from VM ctest-vn1-vm2-65547886 passed 2025-10-21 09:51:26,685 - INFO - Detaching port 9988af5b-48fc-4831-a190-a394b57d47c8 from VM ctest-vn1-vm2-65547886 2025-10-21 09:51:26,738 - INFO - Deleting VM ctest-vn1-vm2-65547886 2025-10-21 09:51:26,800 - INFO - Detaching port ae22032f-06e4-4ce6-bf2b-80b249827730 from VM ctest-vn1-vm1-22300237 2025-10-21 09:51:26,828 - INFO - Deleting VM ctest-vn1-vm1-22300237 2025-10-21 09:51:27,051 - DEBUG - Response for delete_port : () 2025-10-21 09:51:27,192 - DEBUG - Response for delete_port : () 2025-10-21 09:51:27,192 - INFO - Deleting VN ctest-vn1-88615800 2025-10-21 09:51:27,306 - DEBUG - Response for deleting network () 2025-10-21 09:51:27,565 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 09:51:27,565 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-21 09:51:27,565 - INFO - -------------------------------------------------------------------------------- 2025-10-21 09:51:28,238 - INFO - Deleted project: ctest-TestPorts-65414357, ID : b22c77ff-933e-43b6-a6c8-c2755da417d9