2025-08-11 09:59:36,905 - INFO - Domain Default found not creating 2025-08-11 09:59:37,059 - INFO - Project ctest-TestPorts-38080263 not found, creating it 2025-08-11 09:59:37,540 - INFO - Created Project:ctest-TestPorts-38080263, ID : 530105b9-addf-4d0c-85ca-477892d384a0 2025-08-11 09:59:39,420 - INFO - ================================================================================ 2025-08-11 09:59:39,420 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 09:59:39,420 - 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-08-11 09:59:39,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 09:59:39,680 - INFO - Initial checks done. Running the testcase now 2025-08-11 09:59:39,680 - INFO - 2025-08-11 09:59:40,281 - DEBUG - Response for create_network : {'network': {'id': '48245e66-f3b5-4b03-a54f-c20df4988bc7', 'name': 'ctest-vn-89073325', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'project_id': '530105b9addf4d0c85ca477892d384a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38080263', 'ctest-vn-89073325'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 09:59:40,449 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf437273-4670-4fec-8a9f-bf37fdb521ad', 'name': '', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '48245e66-f3b5-4b03-a54f-c20df4988bc7', 'ip_version': 4, 'cidr': '97.36.235.64/26', 'allocation_pools': [{'start': '97.36.235.66', 'end': '97.36.235.126'}], 'gateway_ip': '97.36.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.36.235.66', 'tags': [], 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:40,467 - INFO - Created VN ctest-vn-89073325 2025-08-11 09:59:40,521 - DEBUG - VN ctest-vn-89073325 UUID is 48245e66-f3b5-4b03-a54f-c20df4988bc7 2025-08-11 09:59:40,631 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38080263', 'ctest-vmi-17497204']} 2025-08-11 09:59:40,869 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17497204', 'id': 'cb7bc198-8d1c-4368-98d8-5ba05b87bfba', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '48245e66-f3b5-4b03-a54f-c20df4988bc7', 'mac_address': '02:cb:7b:c1:98:8d', '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': '97.36.235.67', 'subnet_id': 'bf437273-4670-4fec-8a9f-bf37fdb521ad'}], 'security_groups': ['97534817-4a1f-4570-be6f-a3f5e176d0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:40,869 - DEBUG - Created port cb7bc198-8d1c-4368-98d8-5ba05b87bfba 2025-08-11 09:59:40,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb7bc198-8d1c-4368-98d8-5ba05b87bfba 2025-08-11 09:59:41,306 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb7bc198-8d1c-4368-98d8-5ba05b87bfba 2025-08-11 09:59:41,339 - INFO - VMI cb7bc198-8d1c-4368-98d8-5ba05b87bfba verification in API Server passed 2025-08-11 09:59:41,427 - DEBUG - Response for delete_port : () 2025-08-11 09:59:41,427 - INFO - Deleted port cb7bc198-8d1c-4368-98d8-5ba05b87bfba 2025-08-11 09:59:41,427 - INFO - Deleting VN ctest-vn-89073325 2025-08-11 09:59:41,539 - DEBUG - Response for deleting network () 2025-08-11 09:59:41,804 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 09:59:41,804 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-11 09:59:41,804 - INFO - -------------------------------------------------------------------------------- 2025-08-11 09:59:41,807 - INFO - ================================================================================ 2025-08-11 09:59:41,807 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 09:59:41,807 - 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-08-11 09:59:42,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 09:59:42,103 - INFO - Initial checks done. Running the testcase now 2025-08-11 09:59:42,104 - INFO - 2025-08-11 09:59:42,305 - DEBUG - Response for create_network : {'network': {'id': '97ad0872-7842-459f-9b13-4455988438b1', 'name': 'ctest-vn1-64579544', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'project_id': '530105b9addf4d0c85ca477892d384a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38080263', 'ctest-vn1-64579544'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 09:59:42,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '77d27bf0-48e1-440c-ac40-da5d70078c65', 'name': '', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '97ad0872-7842-459f-9b13-4455988438b1', 'ip_version': 4, 'cidr': '111.182.40.64/26', 'allocation_pools': [{'start': '111.182.40.66', 'end': '111.182.40.126'}], 'gateway_ip': '111.182.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.182.40.66', 'tags': [], 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:42,747 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de42dd48-9b19-4318-b528-ec0e6d78c913', 'name': '', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '97ad0872-7842-459f-9b13-4455988438b1', 'ip_version': 4, 'cidr': '83.79.151.64/26', 'allocation_pools': [{'start': '83.79.151.66', 'end': '83.79.151.126'}], 'gateway_ip': '83.79.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.79.151.66', 'tags': [], 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:42,768 - INFO - Created VN ctest-vn1-64579544 2025-08-11 09:59:42,821 - DEBUG - VN ctest-vn1-64579544 UUID is 97ad0872-7842-459f-9b13-4455988438b1 2025-08-11 09:59:43,136 - DEBUG - Response for create_port : {'port': {'name': '6f869ece-cb7d-4141-8d6a-dec397f4ee45', 'id': '6f869ece-cb7d-4141-8d6a-dec397f4ee45', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '97ad0872-7842-459f-9b13-4455988438b1', 'mac_address': '02:6f:86:9e:ce:cb', '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': '111.182.40.69', 'subnet_id': '77d27bf0-48e1-440c-ac40-da5d70078c65'}], 'security_groups': ['97534817-4a1f-4570-be6f-a3f5e176d0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:43,314 - DEBUG - Response for create_port : {'port': {'name': '6c2d3a8e-5bcf-4a87-9335-b0d8cbf54915', 'id': '6c2d3a8e-5bcf-4a87-9335-b0d8cbf54915', 'tenant_id': '530105b9addf4d0c85ca477892d384a0', 'network_id': '97ad0872-7842-459f-9b13-4455988438b1', 'mac_address': '02:6c:2d:3a:8e:5b', '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': '83.79.151.69', 'subnet_id': 'de42dd48-9b19-4318-b528-ec0e6d78c913'}], 'security_groups': ['97534817-4a1f-4570-be6f-a3f5e176d0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '530105b9addf4d0c85ca477892d384a0'}} 2025-08-11 09:59:43,370 - DEBUG - Services list from nova: [, , ] 2025-08-11 09:59:43,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 09:59:44,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 09:59:44,064 - INFO - Waiting for VM ctest-vn1-vm1-33074301 to be up.. 2025-08-11 09:59:44,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 09:59:49,177 - DEBUG - VM is in ACTIVE state now 2025-08-11 09:59:49,178 - INFO - VM name : ctest-vn1-vm1-33074301 2025-08-11 09:59:49,245 - DEBUG - VM ctest-vn1-vm1-33074301 ID is 719cf1f0-d240-4942-ba23-e52434db0aa5 2025-08-11 09:59:49,264 - DEBUG - VM ctest-vn1-vm1-33074301 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 09:59:49,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/719cf1f0-d240-4942-ba23-e52434db0aa5 2025-08-11 09:59:49,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f869ece-cb7d-4141-8d6a-dec397f4ee45 2025-08-11 09:59:52,589 - 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 1010ms') 2025-08-11 09:59:52,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33074301 failed! 2025-08-11 09:59:52,645 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38080263:ctest-vn1-64579544 is 111.182.40.65 and allocation pool is NOT set 2025-08-11 09:59:52,645 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38080263:ctest-vn1-64579544 is 83.79.151.65 and allocation pool is NOT set 2025-08-11 09:59:56,718 - 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=7.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 7.342/7.342/7.342/0.000 ms') 2025-08-11 09:59:56,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33074301 passed 2025-08-11 09:59:56,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 09:59:56,877 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33074301, IP 111.182.40.69, Port 22 2025-08-11 09:59:57,047 - DEBUG - VM ctest-vn1-vm1-33074301 is ready for SSH connections 2025-08-11 09:59:57,047 - INFO - Waiting for VM ctest-vn1-vm2-80578695 to be up.. 2025-08-11 09:59:57,132 - DEBUG - VM is in ACTIVE state now 2025-08-11 09:59:57,132 - INFO - VM name : ctest-vn1-vm2-80578695 2025-08-11 09:59:57,207 - DEBUG - VM ctest-vn1-vm2-80578695 ID is 707abe68-8118-4c10-b6f2-ba935c2b818d 2025-08-11 09:59:57,207 - DEBUG - VM ctest-vn1-vm2-80578695 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 09:59:57,275 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/707abe68-8118-4c10-b6f2-ba935c2b818d 2025-08-11 09:59:57,284 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6c2d3a8e-5bcf-4a87-9335-b0d8cbf54915 2025-08-11 09:59:58,547 - 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=6.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/3.695/6.957/3.262 ms') 2025-08-11 09:59:58,547 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80578695 passed 2025-08-11 09:59:58,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 09:59:58,713 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80578695, IP 83.79.151.69, Port 22 2025-08-11 09:59:58,871 - DEBUG - VM ctest-vn1-vm2-80578695 is ready for SSH connections 2025-08-11 09:59:58,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 09:59:58,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 09:59:58,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 09:59:58,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.182.40.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 09:59:58,874 - DEBUG - ping -s 56 -c 3 -W 1 111.182.40.69 2025-08-11 10:00:01,533 - DEBUG - PING 111.182.40.69 (111.182.40.69): 56 data bytes 64 bytes from 111.182.40.69: seq=0 ttl=63 time=9.535 ms 64 bytes from 111.182.40.69: seq=1 ttl=63 time=0.918 ms 64 bytes from 111.182.40.69: seq=2 ttl=63 time=0.824 ms --- 111.182.40.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/3.759/9.535 ms 2025-08-11 10:00:01,533 - INFO - Ping to IP 111.182.40.69 from VM ctest-vn1-vm2-80578695 passed 2025-08-11 10:00:01,533 - INFO - Detaching port 6c2d3a8e-5bcf-4a87-9335-b0d8cbf54915 from VM ctest-vn1-vm2-80578695 2025-08-11 10:00:01,585 - INFO - Deleting VM ctest-vn1-vm2-80578695 2025-08-11 10:00:01,656 - INFO - Detaching port 6f869ece-cb7d-4141-8d6a-dec397f4ee45 from VM ctest-vn1-vm1-33074301 2025-08-11 10:00:01,694 - INFO - Deleting VM ctest-vn1-vm1-33074301 2025-08-11 10:00:01,930 - DEBUG - Response for delete_port : () 2025-08-11 10:00:02,109 - DEBUG - Response for delete_port : () 2025-08-11 10:00:02,109 - INFO - Deleting VN ctest-vn1-64579544 2025-08-11 10:00:02,254 - DEBUG - Response for deleting network () 2025-08-11 10:00:02,517 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 10:00:02,517 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-11 10:00:02,517 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:00:03,238 - INFO - Deleted project: ctest-TestPorts-38080263, ID : 530105b9-addf-4d0c-85ca-477892d384a0