2025-09-23 12:13:55,622 - INFO - Domain Default found not creating 2025-09-23 12:13:55,819 - INFO - Project ctest-TestPorts-25642067 not found, creating it 2025-09-23 12:13:56,335 - INFO - Created Project:ctest-TestPorts-25642067, ID : d1d510f2-56fd-4903-b895-29150f45e23c 2025-09-23 12:13:58,304 - INFO - ================================================================================ 2025-09-23 12:13:58,304 - INFO - STARTING TEST : test_ports_bindings 2025-09-23 12:13:58,304 - 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-23 12:13:58,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-23 12:13:58,567 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:13:58,567 - INFO - 2025-09-23 12:13:59,211 - DEBUG - Response for create_network : {'network': {'id': '223f1b36-cb09-4d4d-9561-14a77d589843', 'name': 'ctest-vn-25921328', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'project_id': 'd1d510f256fd4903b89529150f45e23c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25642067', 'ctest-vn-25921328'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:13:59,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f72636b9-8eb6-409d-babf-95459fc14bfb', 'name': '', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '223f1b36-cb09-4d4d-9561-14a77d589843', 'ip_version': 4, 'cidr': '221.186.17.128/26', 'allocation_pools': [{'start': '221.186.17.130', 'end': '221.186.17.190'}], 'gateway_ip': '221.186.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.186.17.130', 'tags': [], 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:13:59,451 - INFO - Created VN ctest-vn-25921328 2025-09-23 12:13:59,505 - DEBUG - VN ctest-vn-25921328 UUID is 223f1b36-cb09-4d4d-9561-14a77d589843 2025-09-23 12:13:59,637 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25642067', 'ctest-vmi-67565907']} 2025-09-23 12:13:59,939 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67565907', 'id': 'f6d8a1cd-e51e-4a4d-8817-74f4aa867cba', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '223f1b36-cb09-4d4d-9561-14a77d589843', 'mac_address': '02:f6:d8:a1:cd:e5', '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': '221.186.17.131', 'subnet_id': 'f72636b9-8eb6-409d-babf-95459fc14bfb'}], 'security_groups': ['f42e8ce0-4c22-4441-a68a-1ecca64dabfa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:13:59,939 - DEBUG - Created port f6d8a1cd-e51e-4a4d-8817-74f4aa867cba 2025-09-23 12:14:00,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6d8a1cd-e51e-4a4d-8817-74f4aa867cba 2025-09-23 12:14:00,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6d8a1cd-e51e-4a4d-8817-74f4aa867cba 2025-09-23 12:14:00,412 - INFO - VMI f6d8a1cd-e51e-4a4d-8817-74f4aa867cba verification in API Server passed 2025-09-23 12:14:00,548 - DEBUG - Response for delete_port : () 2025-09-23 12:14:00,548 - INFO - Deleted port f6d8a1cd-e51e-4a4d-8817-74f4aa867cba 2025-09-23 12:14:00,548 - INFO - Deleting VN ctest-vn-25921328 2025-09-23 12:14:00,703 - DEBUG - Response for deleting network () 2025-09-23 12:14:00,976 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:14:00,976 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-23 12:14:00,976 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:14:00,980 - INFO - ================================================================================ 2025-09-23 12:14:00,980 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-23 12:14:00,981 - 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-23 12:14:01,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-23 12:14:01,274 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:14:01,274 - INFO - 2025-09-23 12:14:01,502 - DEBUG - Response for create_network : {'network': {'id': '6304593b-18bc-4aa9-b0c8-8a6c072e0dbc', 'name': 'ctest-vn1-50585564', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'project_id': 'd1d510f256fd4903b89529150f45e23c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25642067', 'ctest-vn1-50585564'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:14:01,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4c68e72-4bdc-4331-85f2-96dc0279aab5', 'name': '', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '6304593b-18bc-4aa9-b0c8-8a6c072e0dbc', 'ip_version': 4, 'cidr': '177.202.239.0/26', 'allocation_pools': [{'start': '177.202.239.2', 'end': '177.202.239.62'}], 'gateway_ip': '177.202.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.202.239.2', 'tags': [], 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:14:01,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fde20ff7-2c38-49fc-a863-00e1305436f7', 'name': '', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '6304593b-18bc-4aa9-b0c8-8a6c072e0dbc', 'ip_version': 4, 'cidr': '8.249.15.64/26', 'allocation_pools': [{'start': '8.249.15.66', 'end': '8.249.15.126'}], 'gateway_ip': '8.249.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.249.15.66', 'tags': [], 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:14:01,959 - INFO - Created VN ctest-vn1-50585564 2025-09-23 12:14:02,013 - DEBUG - VN ctest-vn1-50585564 UUID is 6304593b-18bc-4aa9-b0c8-8a6c072e0dbc 2025-09-23 12:14:02,425 - DEBUG - Response for create_port : {'port': {'name': '6437c43f-4d21-4f8f-a86b-0cc992ac649a', 'id': '6437c43f-4d21-4f8f-a86b-0cc992ac649a', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '6304593b-18bc-4aa9-b0c8-8a6c072e0dbc', 'mac_address': '02:64:37:c4:3f:4d', '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': '177.202.239.5', 'subnet_id': 'f4c68e72-4bdc-4331-85f2-96dc0279aab5'}], 'security_groups': ['f42e8ce0-4c22-4441-a68a-1ecca64dabfa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:14:02,673 - DEBUG - Response for create_port : {'port': {'name': 'd204df55-9837-4656-bea4-e3d1078d0c3e', 'id': 'd204df55-9837-4656-bea4-e3d1078d0c3e', 'tenant_id': 'd1d510f256fd4903b89529150f45e23c', 'network_id': '6304593b-18bc-4aa9-b0c8-8a6c072e0dbc', 'mac_address': '02:d2:04:df:55:98', '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': '8.249.15.69', 'subnet_id': 'fde20ff7-2c38-49fc-a863-00e1305436f7'}], 'security_groups': ['f42e8ce0-4c22-4441-a68a-1ecca64dabfa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d510f256fd4903b89529150f45e23c'}} 2025-09-23 12:14:02,771 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:14:03,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:14:03,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:14:03,910 - INFO - Waiting for VM ctest-vn1-vm1-32347504 to be up.. 2025-09-23 12:14:03,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:14:09,093 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:14:09,093 - INFO - VM name : ctest-vn1-vm1-32347504 2025-09-23 12:14:09,205 - DEBUG - VM ctest-vn1-vm1-32347504 ID is 91a691e6-6bbf-43ff-bd56-e723366a8ac4 2025-09-23 12:14:09,233 - DEBUG - VM ctest-vn1-vm1-32347504 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:14:09,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/91a691e6-6bbf-43ff-bd56-e723366a8ac4 2025-09-23 12:14:09,360 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6437c43f-4d21-4f8f-a86b-0cc992ac649a 2025-09-23 12:14:12,655 - 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 1025ms') 2025-09-23 12:14:12,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32347504 failed! 2025-09-23 12:14:12,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25642067:ctest-vn1-50585564 is 177.202.239.1 and allocation pool is NOT set 2025-09-23 12:14:12,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25642067:ctest-vn1-50585564 is 8.249.15.65 and allocation pool is NOT set 2025-09-23 12:14:16,811 - 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 1027ms') 2025-09-23 12:14:16,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32347504 failed! 2025-09-23 12:14:16,873 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25642067:ctest-vn1-50585564 is 177.202.239.1 and allocation pool is NOT set 2025-09-23 12:14:16,873 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25642067:ctest-vn1-50585564 is 8.249.15.65 and allocation pool is NOT set 2025-09-23 12:14:18,947 - 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=3.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 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 = 0.659/2.056/3.454/1.397 ms') 2025-09-23 12:14:18,947 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32347504 passed 2025-09-23 12:14:19,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:19,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32347504, IP 177.202.239.5, Port 22 2025-09-23 12:14:19,283 - DEBUG - VM ctest-vn1-vm1-32347504 is ready for SSH connections 2025-09-23 12:14:19,283 - INFO - Waiting for VM ctest-vn1-vm2-36750702 to be up.. 2025-09-23 12:14:19,401 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:14:19,401 - INFO - VM name : ctest-vn1-vm2-36750702 2025-09-23 12:14:19,518 - DEBUG - VM ctest-vn1-vm2-36750702 ID is 7c587a8b-cc0e-40cc-8347-2930687af6c4 2025-09-23 12:14:19,519 - DEBUG - VM ctest-vn1-vm2-36750702 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:14:19,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7c587a8b-cc0e-40cc-8347-2930687af6c4 2025-09-23 12:14:19,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d204df55-9837-4656-bea4-e3d1078d0c3e 2025-09-23 12:14:20,904 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.759 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.759/2.412/4.066/1.653 ms') 2025-09-23 12:14:20,904 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36750702 passed 2025-09-23 12:14:21,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:21,065 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36750702, IP 8.249.15.69, Port 22 2025-09-23 12:14:21,235 - DEBUG - VM ctest-vn1-vm2-36750702 is ready for SSH connections 2025-09-23 12:14:21,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:21,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:21,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:14:21,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.202.239.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:14:21,236 - DEBUG - ping -s 56 -c 3 -W 1 177.202.239.5 2025-09-23 12:14:23,993 - DEBUG - PING 177.202.239.5 (177.202.239.5): 56 data bytes 64 bytes from 177.202.239.5: seq=0 ttl=63 time=5.498 ms 64 bytes from 177.202.239.5: seq=1 ttl=63 time=1.020 ms 64 bytes from 177.202.239.5: seq=2 ttl=63 time=1.435 ms --- 177.202.239.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/2.651/5.498 ms 2025-09-23 12:14:23,993 - INFO - Ping to IP 177.202.239.5 from VM ctest-vn1-vm2-36750702 passed 2025-09-23 12:14:23,994 - INFO - Detaching port d204df55-9837-4656-bea4-e3d1078d0c3e from VM ctest-vn1-vm2-36750702 2025-09-23 12:14:24,061 - INFO - Deleting VM ctest-vn1-vm2-36750702 2025-09-23 12:14:24,199 - INFO - Detaching port 6437c43f-4d21-4f8f-a86b-0cc992ac649a from VM ctest-vn1-vm1-32347504 2025-09-23 12:14:24,255 - INFO - Deleting VM ctest-vn1-vm1-32347504 2025-09-23 12:14:24,596 - DEBUG - Response for delete_port : () 2025-09-23 12:14:24,808 - DEBUG - Response for delete_port : () 2025-09-23 12:14:24,808 - INFO - Deleting VN ctest-vn1-50585564 2025-09-23 12:14:24,985 - DEBUG - Response for deleting network () 2025-09-23 12:14:25,264 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:14:25,264 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-09-23 12:14:25,265 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:14:26,044 - INFO - Deleted project: ctest-TestPorts-25642067, ID : d1d510f2-56fd-4903-b895-29150f45e23c