2025-10-27 22:42:58,198 - INFO - Domain Default found not creating 2025-10-27 22:42:58,347 - INFO - Project ctest-TestPorts-40094468 not found, creating it 2025-10-27 22:42:58,776 - INFO - Created Project:ctest-TestPorts-40094468, ID : f54d4170-b7da-4d0e-ba1e-e32376d2b452 2025-10-27 22:43:00,182 - INFO - ================================================================================ 2025-10-27 22:43:00,182 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 22:43:00,182 - 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-27 22:43:00,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-27 22:43:00,443 - INFO - Initial checks done. Running the testcase now 2025-10-27 22:43:00,444 - INFO - 2025-10-27 22:43:01,037 - DEBUG - Response for create_network : {'network': {'id': '6cf488ff-a90c-4448-bfad-00f3081c162b', 'name': 'ctest-vn-55723028', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40094468', 'ctest-vn-55723028'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:43:01,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '047e2597-9058-475e-a3f6-e93f8eba1d34', 'name': '', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '6cf488ff-a90c-4448-bfad-00f3081c162b', 'ip_version': 4, 'cidr': '16.251.162.192/26', 'allocation_pools': [{'start': '16.251.162.194', 'end': '16.251.162.254'}], 'gateway_ip': '16.251.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.251.162.194', 'tags': [], 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:01,225 - INFO - Created VN ctest-vn-55723028 2025-10-27 22:43:01,277 - DEBUG - VN ctest-vn-55723028 UUID is 6cf488ff-a90c-4448-bfad-00f3081c162b 2025-10-27 22:43:01,386 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40094468', 'ctest-vmi-94648843']} 2025-10-27 22:43:01,664 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94648843', 'id': 'e19c88fa-bd85-431e-a1ad-31886a9d8a63', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '6cf488ff-a90c-4448-bfad-00f3081c162b', 'mac_address': '02:e1:9c:88:fa: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': '16.251.162.195', 'subnet_id': '047e2597-9058-475e-a3f6-e93f8eba1d34'}], 'security_groups': ['704c17d2-6e53-4338-8b0c-4f852bb40e8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:01,664 - DEBUG - Created port e19c88fa-bd85-431e-a1ad-31886a9d8a63 2025-10-27 22:43:01,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e19c88fa-bd85-431e-a1ad-31886a9d8a63 2025-10-27 22:43:02,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e19c88fa-bd85-431e-a1ad-31886a9d8a63 2025-10-27 22:43:02,101 - INFO - VMI e19c88fa-bd85-431e-a1ad-31886a9d8a63 verification in API Server passed 2025-10-27 22:43:02,195 - DEBUG - Response for delete_port : () 2025-10-27 22:43:02,195 - INFO - Deleted port e19c88fa-bd85-431e-a1ad-31886a9d8a63 2025-10-27 22:43:02,195 - INFO - Deleting VN ctest-vn-55723028 2025-10-27 22:43:02,321 - DEBUG - Response for deleting network () 2025-10-27 22:43:02,574 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 22:43:02,574 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 22:43:02,575 - INFO - -------------------------------------------------------------------------------- 2025-10-27 22:43:02,578 - INFO - ================================================================================ 2025-10-27 22:43:02,578 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 22:43:02,578 - 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-27 22:43:02,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-27 22:43:02,866 - INFO - Initial checks done. Running the testcase now 2025-10-27 22:43:02,866 - INFO - 2025-10-27 22:43:03,035 - DEBUG - Response for create_network : {'network': {'id': '9845058b-6dce-44b4-b25f-ea35989e8379', 'name': 'ctest-vn1-05329881', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40094468', 'ctest-vn1-05329881'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:43:03,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c2e5ffa-74ed-427f-94f9-8008979b3574', 'name': '', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '9845058b-6dce-44b4-b25f-ea35989e8379', 'ip_version': 4, 'cidr': '13.239.184.128/26', 'allocation_pools': [{'start': '13.239.184.130', 'end': '13.239.184.190'}], 'gateway_ip': '13.239.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.239.184.130', 'tags': [], 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:03,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '208cf748-f0a6-4c63-9374-a2ea77160c90', 'name': '', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '9845058b-6dce-44b4-b25f-ea35989e8379', 'ip_version': 4, 'cidr': '193.200.148.192/26', 'allocation_pools': [{'start': '193.200.148.194', 'end': '193.200.148.254'}], 'gateway_ip': '193.200.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.200.148.194', 'tags': [], 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:03,407 - INFO - Created VN ctest-vn1-05329881 2025-10-27 22:43:03,461 - DEBUG - VN ctest-vn1-05329881 UUID is 9845058b-6dce-44b4-b25f-ea35989e8379 2025-10-27 22:43:03,768 - DEBUG - Response for create_port : {'port': {'name': '9d375c6e-4923-400a-bb23-7c018a7c2533', 'id': '9d375c6e-4923-400a-bb23-7c018a7c2533', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '9845058b-6dce-44b4-b25f-ea35989e8379', 'mac_address': '02:9d:37:5c:6e:49', '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': '13.239.184.133', 'subnet_id': '5c2e5ffa-74ed-427f-94f9-8008979b3574'}], 'security_groups': ['704c17d2-6e53-4338-8b0c-4f852bb40e8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:03,940 - DEBUG - Response for create_port : {'port': {'name': 'ea369bdb-ef6d-41dc-8cc1-7745bafc8908', 'id': 'ea369bdb-ef6d-41dc-8cc1-7745bafc8908', 'tenant_id': 'f54d4170b7da4d0eba1ee32376d2b452', 'network_id': '9845058b-6dce-44b4-b25f-ea35989e8379', 'mac_address': '02:ea:36:9b:db: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': '193.200.148.197', 'subnet_id': '208cf748-f0a6-4c63-9374-a2ea77160c90'}], 'security_groups': ['704c17d2-6e53-4338-8b0c-4f852bb40e8c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f54d4170b7da4d0eba1ee32376d2b452'}} 2025-10-27 22:43:04,001 - DEBUG - Services list from nova: [, , ] 2025-10-27 22:43:04,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:43:04,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:43:04,824 - INFO - Waiting for VM ctest-vn1-vm1-09121722 to be up.. 2025-10-27 22:43:04,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 22:43:09,952 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:43:09,952 - INFO - VM name : ctest-vn1-vm1-09121722 2025-10-27 22:43:10,020 - DEBUG - VM ctest-vn1-vm1-09121722 ID is 986a0116-b0d3-4d4f-8f5e-d1c00d67162f 2025-10-27 22:43:10,041 - DEBUG - VM ctest-vn1-vm1-09121722 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:43:10,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/986a0116-b0d3-4d4f-8f5e-d1c00d67162f 2025-10-27 22:43:10,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9d375c6e-4923-400a-bb23-7c018a7c2533 2025-10-27 22:43:13,398 - 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 1033ms') 2025-10-27 22:43:13,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09121722 failed! 2025-10-27 22:43:13,453 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40094468:ctest-vn1-05329881 is 13.239.184.129 and allocation pool is NOT set 2025-10-27 22:43:13,453 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40094468:ctest-vn1-05329881 is 193.200.148.193 and allocation pool is NOT set 2025-10-27 22:43:17,519 - 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=8.31 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 = 8.309/8.309/8.309/0.000 ms') 2025-10-27 22:43:17,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09121722 passed 2025-10-27 22:43:17,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:43:17,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09121722, IP 13.239.184.133, Port 22 2025-10-27 22:43:17,832 - DEBUG - VM ctest-vn1-vm1-09121722 is ready for SSH connections 2025-10-27 22:43:17,832 - INFO - Waiting for VM ctest-vn1-vm2-40926580 to be up.. 2025-10-27 22:43:17,905 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:43:17,905 - INFO - VM name : ctest-vn1-vm2-40926580 2025-10-27 22:43:17,986 - DEBUG - VM ctest-vn1-vm2-40926580 ID is 7f8cd3ad-9ea5-4afd-a613-cb524663249e 2025-10-27 22:43:17,987 - DEBUG - VM ctest-vn1-vm2-40926580 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:43:18,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f8cd3ad-9ea5-4afd-a613-cb524663249e 2025-10-27 22:43:18,079 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea369bdb-ef6d-41dc-8cc1-7745bafc8908 2025-10-27 22:43:19,319 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/2.145/3.807/1.661 ms') 2025-10-27 22:43:19,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40926580 passed 2025-10-27 22:43:19,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:43:19,469 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40926580, IP 193.200.148.197, Port 22 2025-10-27 22:43:19,628 - DEBUG - VM ctest-vn1-vm2-40926580 is ready for SSH connections 2025-10-27 22:43:19,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:43:19,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:43:19,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:43:19,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.239.184.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-27 22:43:19,628 - DEBUG - ping -s 56 -c 3 -W 1 13.239.184.133 2025-10-27 22:43:22,664 - DEBUG - PING 13.239.184.133 (13.239.184.133): 56 data bytes 64 bytes from 13.239.184.133: seq=0 ttl=63 time=3.457 ms 64 bytes from 13.239.184.133: seq=1 ttl=63 time=0.830 ms 64 bytes from 13.239.184.133: seq=2 ttl=63 time=0.746 ms --- 13.239.184.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.746/1.677/3.457 ms 2025-10-27 22:43:22,664 - INFO - Ping to IP 13.239.184.133 from VM ctest-vn1-vm2-40926580 passed 2025-10-27 22:43:22,664 - INFO - Detaching port ea369bdb-ef6d-41dc-8cc1-7745bafc8908 from VM ctest-vn1-vm2-40926580 2025-10-27 22:43:22,714 - INFO - Deleting VM ctest-vn1-vm2-40926580 2025-10-27 22:43:22,782 - INFO - Detaching port 9d375c6e-4923-400a-bb23-7c018a7c2533 from VM ctest-vn1-vm1-09121722 2025-10-27 22:43:22,829 - INFO - Deleting VM ctest-vn1-vm1-09121722 2025-10-27 22:43:23,062 - DEBUG - Response for delete_port : () 2025-10-27 22:43:23,210 - DEBUG - Response for delete_port : () 2025-10-27 22:43:23,210 - INFO - Deleting VN ctest-vn1-05329881 2025-10-27 22:43:23,341 - DEBUG - Response for deleting network () 2025-10-27 22:43:23,602 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 22:43:23,602 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-27 22:43:23,602 - INFO - -------------------------------------------------------------------------------- 2025-10-27 22:43:24,260 - INFO - Deleted project: ctest-TestPorts-40094468, ID : f54d4170-b7da-4d0e-ba1e-e32376d2b452