2025-11-21 17:49:17,471 - INFO - Domain Default found not creating 2025-11-21 17:49:17,671 - INFO - Project ctest-TestPorts-16176042 not found, creating it 2025-11-21 17:49:18,167 - INFO - Created Project:ctest-TestPorts-16176042, ID : 2bd29161-ecfd-4af9-919d-0f1ce0084560 2025-11-21 17:49:19,839 - INFO - ================================================================================ 2025-11-21 17:49:19,839 - INFO - STARTING TEST : test_ports_bindings 2025-11-21 17:49:19,839 - 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-21 17:49:20,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-21 17:49:20,097 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:49:20,097 - INFO - 2025-11-21 17:49:20,754 - DEBUG - Response for create_network : {'network': {'id': '8a60e321-2a0e-4570-b878-4de6bdf8d439', 'name': 'ctest-vn-81256090', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'project_id': '2bd29161ecfd4af9919d0f1ce0084560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16176042', 'ctest-vn-81256090'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:49:20,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fcbb97c-50f1-4488-b552-4d3f73eb0ef8', 'name': '', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': '8a60e321-2a0e-4570-b878-4de6bdf8d439', 'ip_version': 4, 'cidr': '71.102.37.128/26', 'allocation_pools': [{'start': '71.102.37.130', 'end': '71.102.37.190'}], 'gateway_ip': '71.102.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.102.37.130', 'tags': [], 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:20,999 - INFO - Created VN ctest-vn-81256090 2025-11-21 17:49:21,051 - DEBUG - VN ctest-vn-81256090 UUID is 8a60e321-2a0e-4570-b878-4de6bdf8d439 2025-11-21 17:49:21,164 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16176042', 'ctest-vmi-10918322']} 2025-11-21 17:49:21,407 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10918322', 'id': '7d78b2d2-47a0-4323-8097-5f0576ec1c8a', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': '8a60e321-2a0e-4570-b878-4de6bdf8d439', 'mac_address': '02:7d:78:b2:d2:47', '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': '71.102.37.131', 'subnet_id': '8fcbb97c-50f1-4488-b552-4d3f73eb0ef8'}], 'security_groups': ['f1666669-6b2e-4513-88ae-9c00204dfdb1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:21,407 - DEBUG - Created port 7d78b2d2-47a0-4323-8097-5f0576ec1c8a 2025-11-21 17:49:21,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d78b2d2-47a0-4323-8097-5f0576ec1c8a 2025-11-21 17:49:21,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d78b2d2-47a0-4323-8097-5f0576ec1c8a 2025-11-21 17:49:21,900 - INFO - VMI 7d78b2d2-47a0-4323-8097-5f0576ec1c8a verification in API Server passed 2025-11-21 17:49:22,005 - DEBUG - Response for delete_port : () 2025-11-21 17:49:22,005 - INFO - Deleted port 7d78b2d2-47a0-4323-8097-5f0576ec1c8a 2025-11-21 17:49:22,005 - INFO - Deleting VN ctest-vn-81256090 2025-11-21 17:49:22,109 - DEBUG - Response for deleting network () 2025-11-21 17:49:22,387 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:49:22,387 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-21 17:49:22,387 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:49:22,390 - INFO - ================================================================================ 2025-11-21 17:49:22,390 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-21 17:49:22,390 - 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-21 17:49:22,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-21 17:49:22,676 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:49:22,676 - INFO - 2025-11-21 17:49:22,858 - DEBUG - Response for create_network : {'network': {'id': 'd2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed', 'name': 'ctest-vn1-16782532', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'project_id': '2bd29161ecfd4af9919d0f1ce0084560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16176042', 'ctest-vn1-16782532'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:49:23,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c87a5e00-c35f-4c58-a26c-2c367c894323', 'name': '', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': 'd2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed', 'ip_version': 4, 'cidr': '67.156.147.64/26', 'allocation_pools': [{'start': '67.156.147.66', 'end': '67.156.147.126'}], 'gateway_ip': '67.156.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.156.147.66', 'tags': [], 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:23,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b1e53da-9aa6-4914-93ee-d09b704bcb81', 'name': '', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': 'd2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed', 'ip_version': 4, 'cidr': '162.146.190.0/26', 'allocation_pools': [{'start': '162.146.190.2', 'end': '162.146.190.62'}], 'gateway_ip': '162.146.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.146.190.2', 'tags': [], 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:23,271 - INFO - Created VN ctest-vn1-16782532 2025-11-21 17:49:23,327 - DEBUG - VN ctest-vn1-16782532 UUID is d2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed 2025-11-21 17:49:23,644 - DEBUG - Response for create_port : {'port': {'name': '02eaa81f-2c71-4c1b-8546-81a39f1fafd9', 'id': '02eaa81f-2c71-4c1b-8546-81a39f1fafd9', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': 'd2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed', 'mac_address': '02:02:ea:a8:1f:2c', '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': '67.156.147.69', 'subnet_id': 'c87a5e00-c35f-4c58-a26c-2c367c894323'}], 'security_groups': ['f1666669-6b2e-4513-88ae-9c00204dfdb1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:23,836 - DEBUG - Response for create_port : {'port': {'name': 'e4ca2d63-7ec1-45aa-a251-41ee80512d7a', 'id': 'e4ca2d63-7ec1-45aa-a251-41ee80512d7a', 'tenant_id': '2bd29161ecfd4af9919d0f1ce0084560', 'network_id': 'd2a73cb5-45fa-4df9-bca9-bbf1c0dac5ed', 'mac_address': '02:e4:ca:2d:63:7e', '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': '162.146.190.5', 'subnet_id': '5b1e53da-9aa6-4914-93ee-d09b704bcb81'}], 'security_groups': ['f1666669-6b2e-4513-88ae-9c00204dfdb1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2bd29161ecfd4af9919d0f1ce0084560'}} 2025-11-21 17:49:23,907 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:49:24,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:49:24,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:49:24,692 - INFO - Waiting for VM ctest-vn1-vm1-13144809 to be up.. 2025-11-21 17:49:24,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:49:29,819 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:49:29,820 - INFO - VM name : ctest-vn1-vm1-13144809 2025-11-21 17:49:29,901 - DEBUG - VM ctest-vn1-vm1-13144809 ID is f68cf24c-9efd-451a-8e8d-413d8b135fb6 2025-11-21 17:49:29,919 - DEBUG - VM ctest-vn1-vm1-13144809 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:49:29,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f68cf24c-9efd-451a-8e8d-413d8b135fb6 2025-11-21 17:49:30,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02eaa81f-2c71-4c1b-8546-81a39f1fafd9 2025-11-21 17:49:33,245 - 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 1002ms') 2025-11-21 17:49:33,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13144809 failed! 2025-11-21 17:49:33,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16176042:ctest-vn1-16782532 is 67.156.147.65 and allocation pool is NOT set 2025-11-21 17:49:33,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16176042:ctest-vn1-16782532 is 162.146.190.1 and allocation pool is NOT set 2025-11-21 17:49:37,375 - 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=3.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 3.937/3.937/3.937/0.000 ms') 2025-11-21 17:49:37,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13144809 passed 2025-11-21 17:49:37,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:37,523 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13144809, IP 67.156.147.69, Port 22 2025-11-21 17:49:37,589 - 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-21 17:49:37,667 - DEBUG - VM ctest-vn1-vm1-13144809 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:49:42,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:42,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13144809, IP 67.156.147.69, Port 22 2025-11-21 17:49:42,826 - DEBUG - VM ctest-vn1-vm1-13144809 is ready for SSH connections 2025-11-21 17:49:42,826 - INFO - Waiting for VM ctest-vn1-vm2-76998377 to be up.. 2025-11-21 17:49:42,917 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:49:42,917 - INFO - VM name : ctest-vn1-vm2-76998377 2025-11-21 17:49:42,990 - DEBUG - VM ctest-vn1-vm2-76998377 ID is d8cd5396-fe43-4e56-8805-d1f0b906beba 2025-11-21 17:49:42,990 - DEBUG - VM ctest-vn1-vm2-76998377 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:49:43,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8cd5396-fe43-4e56-8805-d1f0b906beba 2025-11-21 17:49:43,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e4ca2d63-7ec1-45aa-a251-41ee80512d7a 2025-11-21 17:49:44,311 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.886/3.368/1.482 ms') 2025-11-21 17:49:44,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76998377 passed 2025-11-21 17:49:44,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:44,467 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76998377, IP 162.146.190.5, Port 22 2025-11-21 17:49:44,633 - DEBUG - VM ctest-vn1-vm2-76998377 is ready for SSH connections 2025-11-21 17:49:44,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:44,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:44,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:49:44,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.147.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:49:44,633 - DEBUG - ping -s 56 -c 3 -W 1 67.156.147.69 2025-11-21 17:49:47,355 - DEBUG - PING 67.156.147.69 (67.156.147.69): 56 data bytes 64 bytes from 67.156.147.69: seq=0 ttl=63 time=3.924 ms 64 bytes from 67.156.147.69: seq=1 ttl=63 time=1.228 ms 64 bytes from 67.156.147.69: seq=2 ttl=63 time=0.881 ms --- 67.156.147.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/2.011/3.924 ms 2025-11-21 17:49:47,356 - INFO - Ping to IP 67.156.147.69 from VM ctest-vn1-vm2-76998377 passed 2025-11-21 17:49:47,356 - INFO - Detaching port e4ca2d63-7ec1-45aa-a251-41ee80512d7a from VM ctest-vn1-vm2-76998377 2025-11-21 17:49:47,410 - INFO - Deleting VM ctest-vn1-vm2-76998377 2025-11-21 17:49:47,481 - INFO - Detaching port 02eaa81f-2c71-4c1b-8546-81a39f1fafd9 from VM ctest-vn1-vm1-13144809 2025-11-21 17:49:47,521 - INFO - Deleting VM ctest-vn1-vm1-13144809 2025-11-21 17:49:47,750 - DEBUG - Response for delete_port : () 2025-11-21 17:49:47,908 - DEBUG - Response for delete_port : () 2025-11-21 17:49:47,908 - INFO - Deleting VN ctest-vn1-16782532 2025-11-21 17:49:48,033 - DEBUG - Response for deleting network () 2025-11-21 17:49:48,293 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:49:48,293 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-11-21 17:49:48,293 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:49:49,189 - INFO - Deleted project: ctest-TestPorts-16176042, ID : 2bd29161-ecfd-4af9-919d-0f1ce0084560