2025-09-11 12:05:45,672 - INFO - Domain Default found not creating 2025-09-11 12:05:45,825 - INFO - Project ctest-TestPorts-79625254 not found, creating it 2025-09-11 12:05:46,296 - INFO - Created Project:ctest-TestPorts-79625254, ID : 0b3cd893-a0a3-4b26-b773-6a2a12cb9b81 2025-09-11 12:05:47,868 - INFO - ================================================================================ 2025-09-11 12:05:47,868 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 12:05:47,868 - 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-11 12:05:48,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:05:48,131 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:05:48,131 - INFO - 2025-09-11 12:05:48,761 - DEBUG - Response for create_network : {'network': {'id': '0f7c5a4d-83a9-4dd1-9b79-adb68765a0d7', 'name': 'ctest-vn-88892711', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79625254', 'ctest-vn-88892711'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:49,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '50e64d8f-0bee-41b4-a85f-9f2adfe0415b', 'name': '', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '0f7c5a4d-83a9-4dd1-9b79-adb68765a0d7', 'ip_version': 4, 'cidr': '90.224.173.64/26', 'allocation_pools': [{'start': '90.224.173.66', 'end': '90.224.173.126'}], 'gateway_ip': '90.224.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.224.173.66', 'tags': [], 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:49,024 - INFO - Created VN ctest-vn-88892711 2025-09-11 12:05:49,077 - DEBUG - VN ctest-vn-88892711 UUID is 0f7c5a4d-83a9-4dd1-9b79-adb68765a0d7 2025-09-11 12:05:49,188 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79625254', 'ctest-vmi-48058095']} 2025-09-11 12:05:49,430 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48058095', 'id': '07dd1a7f-766c-4359-b5c6-23f3fd4a77ef', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '0f7c5a4d-83a9-4dd1-9b79-adb68765a0d7', 'mac_address': '02:07:dd:1a:7f:76', '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': '90.224.173.67', 'subnet_id': '50e64d8f-0bee-41b4-a85f-9f2adfe0415b'}], 'security_groups': ['c746541f-c191-4132-907c-fab186833160'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:49,430 - DEBUG - Created port 07dd1a7f-766c-4359-b5c6-23f3fd4a77ef 2025-09-11 12:05:49,533 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07dd1a7f-766c-4359-b5c6-23f3fd4a77ef 2025-09-11 12:05:49,874 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07dd1a7f-766c-4359-b5c6-23f3fd4a77ef 2025-09-11 12:05:49,908 - INFO - VMI 07dd1a7f-766c-4359-b5c6-23f3fd4a77ef verification in API Server passed 2025-09-11 12:05:50,002 - DEBUG - Response for delete_port : () 2025-09-11 12:05:50,003 - INFO - Deleted port 07dd1a7f-766c-4359-b5c6-23f3fd4a77ef 2025-09-11 12:05:50,003 - INFO - Deleting VN ctest-vn-88892711 2025-09-11 12:05:50,133 - DEBUG - Response for deleting network () 2025-09-11 12:05:50,396 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:05:50,396 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-11 12:05:50,396 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:05:50,400 - INFO - ================================================================================ 2025-09-11 12:05:50,400 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 12:05:50,400 - 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-11 12:05:50,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:05:50,683 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:05:50,683 - INFO - 2025-09-11 12:05:50,871 - DEBUG - Response for create_network : {'network': {'id': '7f7f385e-42c3-4505-b341-85fe2e1b51cd', 'name': 'ctest-vn1-86916020', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79625254', 'ctest-vn1-86916020'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:05:51,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c41b48db-f635-4e7d-8bc7-0bc7134236bb', 'name': '', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '7f7f385e-42c3-4505-b341-85fe2e1b51cd', 'ip_version': 4, 'cidr': '87.132.221.0/26', 'allocation_pools': [{'start': '87.132.221.2', 'end': '87.132.221.62'}], 'gateway_ip': '87.132.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.132.221.2', 'tags': [], 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:51,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '6577563d-046f-4562-9ab2-aa232261005c', 'name': '', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '7f7f385e-42c3-4505-b341-85fe2e1b51cd', 'ip_version': 4, 'cidr': '80.179.144.192/26', 'allocation_pools': [{'start': '80.179.144.194', 'end': '80.179.144.254'}], 'gateway_ip': '80.179.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.179.144.194', 'tags': [], 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:51,313 - INFO - Created VN ctest-vn1-86916020 2025-09-11 12:05:51,365 - DEBUG - VN ctest-vn1-86916020 UUID is 7f7f385e-42c3-4505-b341-85fe2e1b51cd 2025-09-11 12:05:51,680 - DEBUG - Response for create_port : {'port': {'name': '957af64a-fc5a-4b8a-a80b-f0927f6f1f5b', 'id': '957af64a-fc5a-4b8a-a80b-f0927f6f1f5b', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '7f7f385e-42c3-4505-b341-85fe2e1b51cd', 'mac_address': '02:95:7a:f6:4a:fc', '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': '87.132.221.5', 'subnet_id': 'c41b48db-f635-4e7d-8bc7-0bc7134236bb'}], 'security_groups': ['c746541f-c191-4132-907c-fab186833160'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:51,857 - DEBUG - Response for create_port : {'port': {'name': 'fbd5c85c-7ee0-41ab-b0e7-6a7b42d42ad8', 'id': 'fbd5c85c-7ee0-41ab-b0e7-6a7b42d42ad8', 'tenant_id': '0b3cd893a0a34b26b7736a2a12cb9b81', 'network_id': '7f7f385e-42c3-4505-b341-85fe2e1b51cd', 'mac_address': '02:fb:d5:c8:5c: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': '80.179.144.197', 'subnet_id': '6577563d-046f-4562-9ab2-aa232261005c'}], 'security_groups': ['c746541f-c191-4132-907c-fab186833160'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b3cd893a0a34b26b7736a2a12cb9b81'}} 2025-09-11 12:05:51,917 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:05:52,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:05:52,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:05:52,687 - INFO - Waiting for VM ctest-vn1-vm1-73708869 to be up.. 2025-09-11 12:05:52,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:05:57,808 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:05:57,808 - INFO - VM name : ctest-vn1-vm1-73708869 2025-09-11 12:05:57,882 - DEBUG - VM ctest-vn1-vm1-73708869 ID is 95f4158b-83d2-47df-8ae8-8be0f676a08c 2025-09-11 12:05:57,902 - DEBUG - VM ctest-vn1-vm1-73708869 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:05:57,976 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/95f4158b-83d2-47df-8ae8-8be0f676a08c 2025-09-11 12:05:57,985 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/957af64a-fc5a-4b8a-a80b-f0927f6f1f5b 2025-09-11 12:06:01,242 - 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-09-11 12:06:01,242 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73708869 failed! 2025-09-11 12:06:01,302 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79625254:ctest-vn1-86916020 is 87.132.221.1 and allocation pool is NOT set 2025-09-11 12:06:01,302 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79625254:ctest-vn1-86916020 is 80.179.144.193 and allocation pool is NOT set 2025-09-11 12:06:05,371 - 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=10.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.455/10.455/10.455/0.000 ms') 2025-09-11 12:06:05,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73708869 passed 2025-09-11 12:06:05,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:05,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73708869, IP 87.132.221.5, Port 22 2025-09-11 12:06:05,690 - DEBUG - VM ctest-vn1-vm1-73708869 is ready for SSH connections 2025-09-11 12:06:05,690 - INFO - Waiting for VM ctest-vn1-vm2-20335559 to be up.. 2025-09-11 12:06:05,771 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:06:05,771 - INFO - VM name : ctest-vn1-vm2-20335559 2025-09-11 12:06:05,849 - DEBUG - VM ctest-vn1-vm2-20335559 ID is c63a451c-b812-4286-845b-084bfc252354 2025-09-11 12:06:05,849 - DEBUG - VM ctest-vn1-vm2-20335559 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:06:05,937 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c63a451c-b812-4286-845b-084bfc252354 2025-09-11 12:06:05,945 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fbd5c85c-7ee0-41ab-b0e7-6a7b42d42ad8 2025-09-11 12:06:07,193 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.885/3.326/1.441 ms') 2025-09-11 12:06:07,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-20335559 passed 2025-09-11 12:06:07,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:07,342 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20335559, IP 80.179.144.197, Port 22 2025-09-11 12:06:07,501 - DEBUG - VM ctest-vn1-vm2-20335559 is ready for SSH connections 2025-09-11 12:06:07,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:07,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:07,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:07,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.132.221.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:07,502 - DEBUG - ping -s 56 -c 3 -W 1 87.132.221.5 2025-09-11 12:06:10,206 - DEBUG - PING 87.132.221.5 (87.132.221.5): 56 data bytes 64 bytes from 87.132.221.5: seq=0 ttl=63 time=4.427 ms 64 bytes from 87.132.221.5: seq=1 ttl=63 time=0.835 ms 64 bytes from 87.132.221.5: seq=2 ttl=63 time=0.881 ms --- 87.132.221.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.047/4.427 ms 2025-09-11 12:06:10,206 - INFO - Ping to IP 87.132.221.5 from VM ctest-vn1-vm2-20335559 passed 2025-09-11 12:06:10,206 - INFO - Detaching port fbd5c85c-7ee0-41ab-b0e7-6a7b42d42ad8 from VM ctest-vn1-vm2-20335559 2025-09-11 12:06:10,258 - INFO - Deleting VM ctest-vn1-vm2-20335559 2025-09-11 12:06:10,338 - INFO - Detaching port 957af64a-fc5a-4b8a-a80b-f0927f6f1f5b from VM ctest-vn1-vm1-73708869 2025-09-11 12:06:10,373 - INFO - Deleting VM ctest-vn1-vm1-73708869 2025-09-11 12:06:10,635 - DEBUG - Response for delete_port : () 2025-09-11 12:06:10,826 - DEBUG - Response for delete_port : () 2025-09-11 12:06:10,826 - INFO - Deleting VN ctest-vn1-86916020 2025-09-11 12:06:10,967 - DEBUG - Response for deleting network () 2025-09-11 12:06:11,228 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:06:11,228 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-09-11 12:06:11,229 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:06:11,975 - INFO - Deleted project: ctest-TestPorts-79625254, ID : 0b3cd893-a0a3-4b26-b773-6a2a12cb9b81