2025-10-13 01:58:40,235 - INFO - Domain Default found not creating 2025-10-13 01:58:40,390 - INFO - Project ctest-TestPorts-80424649 not found, creating it 2025-10-13 01:58:40,833 - INFO - Created Project:ctest-TestPorts-80424649, ID : d5501000-8263-4d9d-a800-0fabe9fc3d44 2025-10-13 01:58:42,349 - INFO - ================================================================================ 2025-10-13 01:58:42,350 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 01:58:42,350 - 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-13 01:58:42,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-10-13 01:58:42,612 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:58:42,612 - INFO - 2025-10-13 01:58:43,233 - DEBUG - Response for create_network : {'network': {'id': 'f965215b-c611-4ad6-976e-60c31bfdf252', 'name': 'ctest-vn-69907384', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'project_id': 'd550100082634d9da8000fabe9fc3d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80424649', 'ctest-vn-69907384'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:58:43,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed429f44-e806-46ea-bcb8-5b6dd76ae989', 'name': '', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'f965215b-c611-4ad6-976e-60c31bfdf252', 'ip_version': 4, 'cidr': '194.131.172.0/26', 'allocation_pools': [{'start': '194.131.172.2', 'end': '194.131.172.62'}], 'gateway_ip': '194.131.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.131.172.2', 'tags': [], 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:43,439 - INFO - Created VN ctest-vn-69907384 2025-10-13 01:58:43,492 - DEBUG - VN ctest-vn-69907384 UUID is f965215b-c611-4ad6-976e-60c31bfdf252 2025-10-13 01:58:43,599 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80424649', 'ctest-vmi-12998947']} 2025-10-13 01:58:43,838 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12998947', 'id': 'e9031747-028c-411f-a5c1-72a5f22b733f', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'f965215b-c611-4ad6-976e-60c31bfdf252', 'mac_address': '02:e9:03:17:47:02', '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': '194.131.172.3', 'subnet_id': 'ed429f44-e806-46ea-bcb8-5b6dd76ae989'}], 'security_groups': ['f8712f49-effa-4f47-9ad3-c3f05d914757'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:43,838 - DEBUG - Created port e9031747-028c-411f-a5c1-72a5f22b733f 2025-10-13 01:58:43,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9031747-028c-411f-a5c1-72a5f22b733f 2025-10-13 01:58:44,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9031747-028c-411f-a5c1-72a5f22b733f 2025-10-13 01:58:44,290 - INFO - VMI e9031747-028c-411f-a5c1-72a5f22b733f verification in API Server passed 2025-10-13 01:58:44,408 - DEBUG - Response for delete_port : () 2025-10-13 01:58:44,408 - INFO - Deleted port e9031747-028c-411f-a5c1-72a5f22b733f 2025-10-13 01:58:44,408 - INFO - Deleting VN ctest-vn-69907384 2025-10-13 01:58:44,512 - DEBUG - Response for deleting network () 2025-10-13 01:58:44,771 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 01:58:44,771 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-13 01:58:44,771 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:58:44,774 - INFO - ================================================================================ 2025-10-13 01:58:44,774 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 01:58:44,774 - 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-13 01:58:45,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-10-13 01:58:45,065 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:58:45,065 - INFO - 2025-10-13 01:58:45,250 - DEBUG - Response for create_network : {'network': {'id': 'ef964cbe-ac6c-425a-959c-b1044e7633e2', 'name': 'ctest-vn1-94068987', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'project_id': 'd550100082634d9da8000fabe9fc3d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80424649', 'ctest-vn1-94068987'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:58:45,456 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd46d0a72-8266-4c24-a810-619f1932dda7', 'name': '', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'ef964cbe-ac6c-425a-959c-b1044e7633e2', 'ip_version': 4, 'cidr': '72.32.107.64/26', 'allocation_pools': [{'start': '72.32.107.66', 'end': '72.32.107.126'}], 'gateway_ip': '72.32.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.32.107.66', 'tags': [], 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:45,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '949bb3a1-908f-4553-8361-970823158119', 'name': '', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'ef964cbe-ac6c-425a-959c-b1044e7633e2', 'ip_version': 4, 'cidr': '152.74.178.192/26', 'allocation_pools': [{'start': '152.74.178.194', 'end': '152.74.178.254'}], 'gateway_ip': '152.74.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.74.178.194', 'tags': [], 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:45,659 - INFO - Created VN ctest-vn1-94068987 2025-10-13 01:58:45,712 - DEBUG - VN ctest-vn1-94068987 UUID is ef964cbe-ac6c-425a-959c-b1044e7633e2 2025-10-13 01:58:46,021 - DEBUG - Response for create_port : {'port': {'name': '71d026a5-ef50-4593-80f0-3a65ff2a4600', 'id': '71d026a5-ef50-4593-80f0-3a65ff2a4600', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'ef964cbe-ac6c-425a-959c-b1044e7633e2', 'mac_address': '02:71:d0:26:a5:ef', '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': '72.32.107.69', 'subnet_id': 'd46d0a72-8266-4c24-a810-619f1932dda7'}], 'security_groups': ['f8712f49-effa-4f47-9ad3-c3f05d914757'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:46,208 - DEBUG - Response for create_port : {'port': {'name': '496bb9ee-f100-41d2-9298-c2399e435593', 'id': '496bb9ee-f100-41d2-9298-c2399e435593', 'tenant_id': 'd550100082634d9da8000fabe9fc3d44', 'network_id': 'ef964cbe-ac6c-425a-959c-b1044e7633e2', 'mac_address': '02:49:6b:b9:ee:f1', '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': '152.74.178.197', 'subnet_id': '949bb3a1-908f-4553-8361-970823158119'}], 'security_groups': ['f8712f49-effa-4f47-9ad3-c3f05d914757'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd550100082634d9da8000fabe9fc3d44'}} 2025-10-13 01:58:46,271 - DEBUG - Services list from nova: [, , ] 2025-10-13 01:58:46,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4295-1) 2025-10-13 01:58:47,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4295-1) 2025-10-13 01:58:47,036 - INFO - Waiting for VM ctest-vn1-vm1-28156256 to be up.. 2025-10-13 01:58:47,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 01:58:52,179 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:58:52,179 - INFO - VM name : ctest-vn1-vm1-28156256 2025-10-13 01:58:52,259 - DEBUG - VM ctest-vn1-vm1-28156256 ID is 02c98877-434e-4e4e-a177-016c3908f99b 2025-10-13 01:58:52,282 - DEBUG - VM ctest-vn1-vm1-28156256 launched on Node cn-jenkins-deploy-platform-ansible-os-4295-1 2025-10-13 01:58:52,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02c98877-434e-4e4e-a177-016c3908f99b 2025-10-13 01:58:52,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/71d026a5-ef50-4593-80f0-3a65ff2a4600 2025-10-13 01:58:55,633 - 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 1022ms') 2025-10-13 01:58:55,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28156256 failed! 2025-10-13 01:58:55,688 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80424649:ctest-vn1-94068987 is 72.32.107.65 and allocation pool is NOT set 2025-10-13 01:58:55,688 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80424649:ctest-vn1-94068987 is 152.74.178.193 and allocation pool is NOT set 2025-10-13 01:58:57,754 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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.910/2.958/3.007/0.048 ms') 2025-10-13 01:58:57,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28156256 passed 2025-10-13 01:58:57,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:57,908 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28156256, IP 72.32.107.69, Port 22 2025-10-13 01:58:57,963 - 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-13 01:58:58,042 - DEBUG - VM ctest-vn1-vm1-28156256 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 01:59:03,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:03,043 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28156256, IP 72.32.107.69, Port 22 2025-10-13 01:59:03,199 - DEBUG - VM ctest-vn1-vm1-28156256 is ready for SSH connections 2025-10-13 01:59:03,199 - INFO - Waiting for VM ctest-vn1-vm2-52572798 to be up.. 2025-10-13 01:59:03,281 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:59:03,281 - INFO - VM name : ctest-vn1-vm2-52572798 2025-10-13 01:59:03,356 - DEBUG - VM ctest-vn1-vm2-52572798 ID is 5096bd2f-adcd-463e-9c8d-464d5edd486f 2025-10-13 01:59:03,356 - DEBUG - VM ctest-vn1-vm2-52572798 launched on Node cn-jenkins-deploy-platform-ansible-os-4295-1 2025-10-13 01:59:03,429 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5096bd2f-adcd-463e-9c8d-464d5edd486f 2025-10-13 01:59:03,438 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/496bb9ee-f100-41d2-9298-c2399e435593 2025-10-13 01:59:04,675 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/2.085/3.603/1.518 ms') 2025-10-13 01:59:04,675 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52572798 passed 2025-10-13 01:59:04,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:04,828 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52572798, IP 152.74.178.197, Port 22 2025-10-13 01:59:04,988 - DEBUG - VM ctest-vn1-vm2-52572798 is ready for SSH connections 2025-10-13 01:59:04,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:04,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:04,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:04,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.32.107.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-13 01:59:04,988 - DEBUG - ping -s 56 -c 3 -W 1 72.32.107.69 2025-10-13 01:59:07,637 - DEBUG - PING 72.32.107.69 (72.32.107.69): 56 data bytes 64 bytes from 72.32.107.69: seq=0 ttl=63 time=3.750 ms 64 bytes from 72.32.107.69: seq=1 ttl=63 time=0.954 ms 64 bytes from 72.32.107.69: seq=2 ttl=63 time=0.938 ms --- 72.32.107.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/1.880/3.750 ms 2025-10-13 01:59:07,637 - INFO - Ping to IP 72.32.107.69 from VM ctest-vn1-vm2-52572798 passed 2025-10-13 01:59:07,637 - INFO - Detaching port 496bb9ee-f100-41d2-9298-c2399e435593 from VM ctest-vn1-vm2-52572798 2025-10-13 01:59:07,688 - INFO - Deleting VM ctest-vn1-vm2-52572798 2025-10-13 01:59:07,749 - INFO - Detaching port 71d026a5-ef50-4593-80f0-3a65ff2a4600 from VM ctest-vn1-vm1-28156256 2025-10-13 01:59:07,782 - INFO - Deleting VM ctest-vn1-vm1-28156256 2025-10-13 01:59:08,010 - DEBUG - Response for delete_port : () 2025-10-13 01:59:08,171 - DEBUG - Response for delete_port : () 2025-10-13 01:59:08,171 - INFO - Deleting VN ctest-vn1-94068987 2025-10-13 01:59:08,324 - DEBUG - Response for deleting network () 2025-10-13 01:59:08,589 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 01:59:08,589 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-13 01:59:08,589 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:59:09,282 - INFO - Deleted project: ctest-TestPorts-80424649, ID : d5501000-8263-4d9d-a800-0fabe9fc3d44