2025-09-08 02:10:45,466 - INFO - Domain Default found not creating 2025-09-08 02:10:45,606 - INFO - Project ctest-TestPorts-17908722 not found, creating it 2025-09-08 02:10:46,058 - INFO - Created Project:ctest-TestPorts-17908722, ID : 771949f0-4331-4f01-b660-9fdd2e2fc3d2 2025-09-08 02:10:47,415 - INFO - ================================================================================ 2025-09-08 02:10:47,415 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 02:10:47,415 - 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-09-08 02:10:47,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-08 02:10:47,675 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:10:47,675 - INFO - 2025-09-08 02:10:48,241 - DEBUG - Response for create_network : {'network': {'id': 'e1353a26-e4ab-439f-8fcb-b61426561366', 'name': 'ctest-vn-75526746', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'project_id': '771949f043314f01b6609fdd2e2fc3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17908722', 'ctest-vn-75526746'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:10:48,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '56c4d523-70da-4f4d-bd5a-65570dd90aa2', 'name': '', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': 'e1353a26-e4ab-439f-8fcb-b61426561366', 'ip_version': 4, 'cidr': '168.175.249.192/26', 'allocation_pools': [{'start': '168.175.249.194', 'end': '168.175.249.254'}], 'gateway_ip': '168.175.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.175.249.194', 'tags': [], 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:48,448 - INFO - Created VN ctest-vn-75526746 2025-09-08 02:10:48,497 - DEBUG - VN ctest-vn-75526746 UUID is e1353a26-e4ab-439f-8fcb-b61426561366 2025-09-08 02:10:48,611 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17908722', 'ctest-vmi-63254000']} 2025-09-08 02:10:48,888 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63254000', 'id': 'f14c0bea-bd2b-4f06-a642-70cf02684ab2', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': 'e1353a26-e4ab-439f-8fcb-b61426561366', 'mac_address': '02:f1:4c:0b:ea:bd', '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.175.249.195', 'subnet_id': '56c4d523-70da-4f4d-bd5a-65570dd90aa2'}], 'security_groups': ['b0d2a00e-d980-4ce9-ba10-4c38bcacd76a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:48,888 - DEBUG - Created port f14c0bea-bd2b-4f06-a642-70cf02684ab2 2025-09-08 02:10:49,001 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f14c0bea-bd2b-4f06-a642-70cf02684ab2 2025-09-08 02:10:49,490 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f14c0bea-bd2b-4f06-a642-70cf02684ab2 2025-09-08 02:10:49,529 - INFO - VMI f14c0bea-bd2b-4f06-a642-70cf02684ab2 verification in API Server passed 2025-09-08 02:10:49,614 - DEBUG - Response for delete_port : () 2025-09-08 02:10:49,614 - INFO - Deleted port f14c0bea-bd2b-4f06-a642-70cf02684ab2 2025-09-08 02:10:49,614 - INFO - Deleting VN ctest-vn-75526746 2025-09-08 02:10:49,711 - DEBUG - Response for deleting network () 2025-09-08 02:10:49,966 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:10:49,966 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-08 02:10:49,966 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:10:49,968 - INFO - ================================================================================ 2025-09-08 02:10:49,969 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 02:10:49,969 - 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-09-08 02:10:50,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-08 02:10:50,257 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:10:50,257 - INFO - 2025-09-08 02:10:50,412 - DEBUG - Response for create_network : {'network': {'id': '6b3bc50a-41d6-4b09-a9eb-e52a14761021', 'name': 'ctest-vn1-16438232', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'project_id': '771949f043314f01b6609fdd2e2fc3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17908722', 'ctest-vn1-16438232'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:10:50,566 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6412d58-f611-43d6-911b-a6b881e3f4c1', 'name': '', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': '6b3bc50a-41d6-4b09-a9eb-e52a14761021', 'ip_version': 4, 'cidr': '150.69.27.0/26', 'allocation_pools': [{'start': '150.69.27.2', 'end': '150.69.27.62'}], 'gateway_ip': '150.69.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.69.27.2', 'tags': [], 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:50,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '75a81499-1301-4b32-be78-985840380c89', 'name': '', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': '6b3bc50a-41d6-4b09-a9eb-e52a14761021', 'ip_version': 4, 'cidr': '205.183.81.192/26', 'allocation_pools': [{'start': '205.183.81.194', 'end': '205.183.81.254'}], 'gateway_ip': '205.183.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.183.81.194', 'tags': [], 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:50,746 - INFO - Created VN ctest-vn1-16438232 2025-09-08 02:10:50,797 - DEBUG - VN ctest-vn1-16438232 UUID is 6b3bc50a-41d6-4b09-a9eb-e52a14761021 2025-09-08 02:10:51,084 - DEBUG - Response for create_port : {'port': {'name': '57482fd8-7d53-4d20-a9be-87f006701629', 'id': '57482fd8-7d53-4d20-a9be-87f006701629', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': '6b3bc50a-41d6-4b09-a9eb-e52a14761021', 'mac_address': '02:57:48:2f:d8:7d', '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': '150.69.27.5', 'subnet_id': 'd6412d58-f611-43d6-911b-a6b881e3f4c1'}], 'security_groups': ['b0d2a00e-d980-4ce9-ba10-4c38bcacd76a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:51,245 - DEBUG - Response for create_port : {'port': {'name': '9aec178d-3351-46ab-91d2-310fdf9e3dde', 'id': '9aec178d-3351-46ab-91d2-310fdf9e3dde', 'tenant_id': '771949f043314f01b6609fdd2e2fc3d2', 'network_id': '6b3bc50a-41d6-4b09-a9eb-e52a14761021', 'mac_address': '02:9a:ec:17:8d:33', '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': '205.183.81.197', 'subnet_id': '75a81499-1301-4b32-be78-985840380c89'}], 'security_groups': ['b0d2a00e-d980-4ce9-ba10-4c38bcacd76a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '771949f043314f01b6609fdd2e2fc3d2'}} 2025-09-08 02:10:51,298 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:10:51,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:10:51,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:10:51,973 - INFO - Waiting for VM ctest-vn1-vm1-44143915 to be up.. 2025-09-08 02:10:52,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:10:57,087 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:10:57,087 - INFO - VM name : ctest-vn1-vm1-44143915 2025-09-08 02:10:57,158 - DEBUG - VM ctest-vn1-vm1-44143915 ID is e7d658f0-ee8f-4135-8ab1-1377092a599d 2025-09-08 02:10:57,185 - DEBUG - VM ctest-vn1-vm1-44143915 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:10:57,268 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e7d658f0-ee8f-4135-8ab1-1377092a599d 2025-09-08 02:10:57,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/57482fd8-7d53-4d20-a9be-87f006701629 2025-09-08 02:11:00,534 - 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 1015ms') 2025-09-08 02:11:00,535 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44143915 failed! 2025-09-08 02:11:00,589 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17908722:ctest-vn1-16438232 is 150.69.27.1 and allocation pool is NOT set 2025-09-08 02:11:00,589 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17908722:ctest-vn1-16438232 is 205.183.81.193 and allocation pool is NOT set 2025-09-08 02:11:02,661 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.368/2.592/2.816/0.224 ms') 2025-09-08 02:11:02,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44143915 passed 2025-09-08 02:11:02,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:02,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44143915, IP 150.69.27.5, Port 22 2025-09-08 02:11:02,874 - 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-09-08 02:11:02,951 - DEBUG - VM ctest-vn1-vm1-44143915 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 02:11:07,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:07,953 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44143915, IP 150.69.27.5, Port 22 2025-09-08 02:11:08,108 - DEBUG - VM ctest-vn1-vm1-44143915 is ready for SSH connections 2025-09-08 02:11:08,109 - INFO - Waiting for VM ctest-vn1-vm2-08879548 to be up.. 2025-09-08 02:11:08,178 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:08,178 - INFO - VM name : ctest-vn1-vm2-08879548 2025-09-08 02:11:08,244 - DEBUG - VM ctest-vn1-vm2-08879548 ID is f4a01dc0-1568-429e-a23e-b1d06485160f 2025-09-08 02:11:08,244 - DEBUG - VM ctest-vn1-vm2-08879548 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:11:08,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f4a01dc0-1568-429e-a23e-b1d06485160f 2025-09-08 02:11:08,320 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9aec178d-3351-46ab-91d2-310fdf9e3dde 2025-09-08 02:11:09,555 - 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.67 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 1002ms\r\nrtt min/avg/max/mdev = 0.466/1.570/2.674/1.104 ms') 2025-09-08 02:11:09,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08879548 passed 2025-09-08 02:11:09,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:09,701 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08879548, IP 205.183.81.197, Port 22 2025-09-08 02:11:09,857 - DEBUG - VM ctest-vn1-vm2-08879548 is ready for SSH connections 2025-09-08 02:11:09,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:09,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:09,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:09,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.69.27.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:09,858 - DEBUG - ping -s 56 -c 3 -W 1 150.69.27.5 2025-09-08 02:11:12,476 - DEBUG - PING 150.69.27.5 (150.69.27.5): 56 data bytes 64 bytes from 150.69.27.5: seq=0 ttl=63 time=3.381 ms 64 bytes from 150.69.27.5: seq=1 ttl=63 time=0.830 ms 64 bytes from 150.69.27.5: seq=2 ttl=63 time=1.137 ms --- 150.69.27.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.782/3.381 ms 2025-09-08 02:11:12,476 - INFO - Ping to IP 150.69.27.5 from VM ctest-vn1-vm2-08879548 passed 2025-09-08 02:11:12,476 - INFO - Detaching port 9aec178d-3351-46ab-91d2-310fdf9e3dde from VM ctest-vn1-vm2-08879548 2025-09-08 02:11:12,523 - INFO - Deleting VM ctest-vn1-vm2-08879548 2025-09-08 02:11:12,589 - INFO - Detaching port 57482fd8-7d53-4d20-a9be-87f006701629 from VM ctest-vn1-vm1-44143915 2025-09-08 02:11:12,622 - INFO - Deleting VM ctest-vn1-vm1-44143915 2025-09-08 02:11:12,853 - DEBUG - Response for delete_port : () 2025-09-08 02:11:13,021 - DEBUG - Response for delete_port : () 2025-09-08 02:11:13,021 - INFO - Deleting VN ctest-vn1-16438232 2025-09-08 02:11:13,149 - DEBUG - Response for deleting network () 2025-09-08 02:11:13,402 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:11:13,402 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-08 02:11:13,402 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:11:14,062 - INFO - Deleted project: ctest-TestPorts-17908722, ID : 771949f0-4331-4f01-b660-9fdd2e2fc3d2