2025-09-05 11:00:47,434 - INFO - Domain Default found not creating 2025-09-05 11:00:47,575 - INFO - Project ctest-TestPorts-94305634 not found, creating it 2025-09-05 11:00:48,022 - INFO - Created Project:ctest-TestPorts-94305634, ID : 50e21bb9-3847-4ad6-ac96-bad0f891d1d5 2025-09-05 11:00:49,990 - INFO - ================================================================================ 2025-09-05 11:00:49,991 - INFO - STARTING TEST : test_ports_bindings 2025-09-05 11:00:49,991 - 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-05 11:00:50,246 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-05 11:00:50,246 - INFO - Initial checks done. Running the testcase now 2025-09-05 11:00:50,246 - INFO - 2025-09-05 11:00:50,793 - DEBUG - Response for create_network : {'network': {'id': 'fc65770f-f540-4dd2-bce9-f0d9136ff1ac', 'name': 'ctest-vn-76943262', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'project_id': '50e21bb938474ad6ac96bad0f891d1d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94305634', 'ctest-vn-76943262'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 11:00:51,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd7421df-285c-4707-a267-7f906d5469cf', 'name': '', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': 'fc65770f-f540-4dd2-bce9-f0d9136ff1ac', 'ip_version': 4, 'cidr': '37.175.185.128/26', 'allocation_pools': [{'start': '37.175.185.130', 'end': '37.175.185.190'}], 'gateway_ip': '37.175.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.175.185.130', 'tags': [], 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:51,027 - INFO - Created VN ctest-vn-76943262 2025-09-05 11:00:51,077 - DEBUG - VN ctest-vn-76943262 UUID is fc65770f-f540-4dd2-bce9-f0d9136ff1ac 2025-09-05 11:00:51,181 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94305634', 'ctest-vmi-46490837']} 2025-09-05 11:00:51,508 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46490837', 'id': '0d095d85-4298-4f0d-98ff-0a71f3b31a9a', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': 'fc65770f-f540-4dd2-bce9-f0d9136ff1ac', 'mac_address': '02:0d:09:5d:85:42', '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': '37.175.185.131', 'subnet_id': 'dd7421df-285c-4707-a267-7f906d5469cf'}], 'security_groups': ['5d1bace6-a549-4456-a624-e7ecc12a0f07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:51,508 - DEBUG - Created port 0d095d85-4298-4f0d-98ff-0a71f3b31a9a 2025-09-05 11:00:51,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0d095d85-4298-4f0d-98ff-0a71f3b31a9a 2025-09-05 11:00:51,902 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0d095d85-4298-4f0d-98ff-0a71f3b31a9a 2025-09-05 11:00:51,938 - INFO - VMI 0d095d85-4298-4f0d-98ff-0a71f3b31a9a verification in API Server passed 2025-09-05 11:00:52,042 - DEBUG - Response for delete_port : () 2025-09-05 11:00:52,042 - INFO - Deleted port 0d095d85-4298-4f0d-98ff-0a71f3b31a9a 2025-09-05 11:00:52,043 - INFO - Deleting VN ctest-vn-76943262 2025-09-05 11:00:52,140 - DEBUG - Response for deleting network () 2025-09-05 11:00:52,394 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 11:00:52,395 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-05 11:00:52,395 - INFO - -------------------------------------------------------------------------------- 2025-09-05 11:00:52,397 - INFO - ================================================================================ 2025-09-05 11:00:52,398 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-05 11:00:52,398 - 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-05 11:00:52,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-05 11:00:52,686 - INFO - Initial checks done. Running the testcase now 2025-09-05 11:00:52,686 - INFO - 2025-09-05 11:00:52,866 - DEBUG - Response for create_network : {'network': {'id': '1d963dbb-5dd3-4738-a8be-a307d9e71f8e', 'name': 'ctest-vn1-19853400', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'project_id': '50e21bb938474ad6ac96bad0f891d1d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94305634', 'ctest-vn1-19853400'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 11:00:53,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f68a627-db7c-4f1a-9035-aa11bdb1fe7f', 'name': '', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': '1d963dbb-5dd3-4738-a8be-a307d9e71f8e', 'ip_version': 4, 'cidr': '29.187.147.192/26', 'allocation_pools': [{'start': '29.187.147.194', 'end': '29.187.147.254'}], 'gateway_ip': '29.187.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.187.147.194', 'tags': [], 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:53,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c348628d-8df4-414f-85f0-88cf4241bc22', 'name': '', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': '1d963dbb-5dd3-4738-a8be-a307d9e71f8e', 'ip_version': 4, 'cidr': '218.110.146.192/26', 'allocation_pools': [{'start': '218.110.146.194', 'end': '218.110.146.254'}], 'gateway_ip': '218.110.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.110.146.194', 'tags': [], 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:53,318 - INFO - Created VN ctest-vn1-19853400 2025-09-05 11:00:53,373 - DEBUG - VN ctest-vn1-19853400 UUID is 1d963dbb-5dd3-4738-a8be-a307d9e71f8e 2025-09-05 11:00:53,654 - DEBUG - Response for create_port : {'port': {'name': '8637d826-cd6d-4a2d-9954-592bd0e81247', 'id': '8637d826-cd6d-4a2d-9954-592bd0e81247', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': '1d963dbb-5dd3-4738-a8be-a307d9e71f8e', 'mac_address': '02:86:37:d8:26:cd', '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': '29.187.147.197', 'subnet_id': '3f68a627-db7c-4f1a-9035-aa11bdb1fe7f'}], 'security_groups': ['5d1bace6-a549-4456-a624-e7ecc12a0f07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:53,829 - DEBUG - Response for create_port : {'port': {'name': 'c4870be8-c0f9-44a0-bd1e-5d6ed71dc635', 'id': 'c4870be8-c0f9-44a0-bd1e-5d6ed71dc635', 'tenant_id': '50e21bb938474ad6ac96bad0f891d1d5', 'network_id': '1d963dbb-5dd3-4738-a8be-a307d9e71f8e', 'mac_address': '02:c4:87:0b:e8:c0', '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': '218.110.146.197', 'subnet_id': 'c348628d-8df4-414f-85f0-88cf4241bc22'}], 'security_groups': ['5d1bace6-a549-4456-a624-e7ecc12a0f07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e21bb938474ad6ac96bad0f891d1d5'}} 2025-09-05 11:00:53,887 - DEBUG - Services list from nova: [, , ] 2025-09-05 11:00:54,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1) 2025-09-05 11:00:54,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1) 2025-09-05 11:00:54,633 - INFO - Waiting for VM ctest-vn1-vm1-78209338 to be up.. 2025-09-05 11:00:54,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 11:00:59,777 - DEBUG - VM is in ACTIVE state now 2025-09-05 11:00:59,778 - INFO - VM name : ctest-vn1-vm1-78209338 2025-09-05 11:00:59,863 - DEBUG - VM ctest-vn1-vm1-78209338 ID is a9b1bd9e-e2b1-4547-bac6-c32633b0e3b0 2025-09-05 11:00:59,884 - DEBUG - VM ctest-vn1-vm1-78209338 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1 2025-09-05 11:00:59,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9b1bd9e-e2b1-4547-bac6-c32633b0e3b0 2025-09-05 11:00:59,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8637d826-cd6d-4a2d-9954-592bd0e81247 2025-09-05 11:01:03,226 - 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 1023ms') 2025-09-05 11:01:03,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78209338 failed! 2025-09-05 11:01:03,285 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94305634:ctest-vn1-19853400 is 29.187.147.193 and allocation pool is NOT set 2025-09-05 11:01:03,285 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94305634:ctest-vn1-19853400 is 218.110.146.193 and allocation pool is NOT set 2025-09-05 11:01:05,347 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.399/1.959/3.519/1.560 ms') 2025-09-05 11:01:05,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78209338 passed 2025-09-05 11:01:05,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:05,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78209338, IP 29.187.147.197, Port 22 2025-09-05 11:01:05,666 - DEBUG - VM ctest-vn1-vm1-78209338 is ready for SSH connections 2025-09-05 11:01:05,666 - INFO - Waiting for VM ctest-vn1-vm2-61876169 to be up.. 2025-09-05 11:01:05,745 - DEBUG - VM is in ACTIVE state now 2025-09-05 11:01:05,745 - INFO - VM name : ctest-vn1-vm2-61876169 2025-09-05 11:01:05,826 - DEBUG - VM ctest-vn1-vm2-61876169 ID is 0a3eebbc-c218-4c3a-85aa-f3d5ac265bee 2025-09-05 11:01:05,826 - DEBUG - VM ctest-vn1-vm2-61876169 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1 2025-09-05 11:01:05,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0a3eebbc-c218-4c3a-85aa-f3d5ac265bee 2025-09-05 11:01:05,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c4870be8-c0f9-44a0-bd1e-5d6ed71dc635 2025-09-05 11:01:07,177 - 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=7.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/3.852/7.174/3.321 ms') 2025-09-05 11:01:07,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61876169 passed 2025-09-05 11:01:07,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:07,325 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61876169, IP 218.110.146.197, Port 22 2025-09-05 11:01:07,499 - DEBUG - VM ctest-vn1-vm2-61876169 is ready for SSH connections 2025-09-05 11:01:07,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:07,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:07,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:07,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.187.147.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:07,500 - DEBUG - ping -s 56 -c 3 -W 1 29.187.147.197 2025-09-05 11:01:10,470 - DEBUG - PING 29.187.147.197 (29.187.147.197): 56 data bytes 64 bytes from 29.187.147.197: seq=0 ttl=63 time=3.743 ms 64 bytes from 29.187.147.197: seq=1 ttl=63 time=0.922 ms 64 bytes from 29.187.147.197: seq=2 ttl=63 time=1.175 ms --- 29.187.147.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/1.946/3.743 ms 2025-09-05 11:01:10,470 - INFO - Ping to IP 29.187.147.197 from VM ctest-vn1-vm2-61876169 passed 2025-09-05 11:01:10,471 - INFO - Detaching port c4870be8-c0f9-44a0-bd1e-5d6ed71dc635 from VM ctest-vn1-vm2-61876169 2025-09-05 11:01:10,522 - INFO - Deleting VM ctest-vn1-vm2-61876169 2025-09-05 11:01:10,588 - INFO - Detaching port 8637d826-cd6d-4a2d-9954-592bd0e81247 from VM ctest-vn1-vm1-78209338 2025-09-05 11:01:10,621 - INFO - Deleting VM ctest-vn1-vm1-78209338 2025-09-05 11:01:11,010 - DEBUG - Response for delete_port : () 2025-09-05 11:01:11,192 - DEBUG - Response for delete_port : () 2025-09-05 11:01:11,193 - INFO - Deleting VN ctest-vn1-19853400 2025-09-05 11:01:11,333 - DEBUG - Response for deleting network () 2025-09-05 11:01:11,598 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 11:01:11,598 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-05 11:01:11,598 - INFO - -------------------------------------------------------------------------------- 2025-09-05 11:01:12,275 - INFO - Deleted project: ctest-TestPorts-94305634, ID : 50e21bb9-3847-4ad6-ac96-bad0f891d1d5