2025-09-12 19:04:29,076 - INFO - Domain Default found not creating 2025-09-12 19:04:29,204 - INFO - Project ctest-TestPorts-86909208 not found, creating it 2025-09-12 19:04:29,896 - INFO - Created Project:ctest-TestPorts-86909208, ID : a1ea61f7-9be5-41a0-a303-7065c5cd32d4 2025-09-12 19:04:31,282 - INFO - ================================================================================ 2025-09-12 19:04:31,282 - INFO - STARTING TEST : test_ports_bindings 2025-09-12 19:04:31,282 - 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-12 19:04:31,536 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 19:04:31,536 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:04:31,536 - INFO - 2025-09-12 19:04:32,050 - DEBUG - Response for create_network : {'network': {'id': '25526302-f7f2-43e8-aa5d-edc28f4ceb1d', 'name': 'ctest-vn-99025093', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86909208', 'ctest-vn-99025093'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:04:32,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '39c414d7-7031-4e31-aa47-9830b315627e', 'name': '', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '25526302-f7f2-43e8-aa5d-edc28f4ceb1d', 'ip_version': 4, 'cidr': '1.1.22.64/26', 'allocation_pools': [{'start': '1.1.22.66', 'end': '1.1.22.126'}], 'gateway_ip': '1.1.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.1.22.66', 'tags': [], 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:32,272 - INFO - Created VN ctest-vn-99025093 2025-09-12 19:04:32,322 - DEBUG - VN ctest-vn-99025093 UUID is 25526302-f7f2-43e8-aa5d-edc28f4ceb1d 2025-09-12 19:04:32,417 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86909208', 'ctest-vmi-39724517']} 2025-09-12 19:04:32,669 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39724517', 'id': 'a9039a41-2630-434c-86b6-21716562695f', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '25526302-f7f2-43e8-aa5d-edc28f4ceb1d', 'mac_address': '02:a9:03:9a:41:26', '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': '1.1.22.67', 'subnet_id': '39c414d7-7031-4e31-aa47-9830b315627e'}], 'security_groups': ['32ea906e-89bd-4945-a8a7-4a6f01d2ea36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:32,669 - DEBUG - Created port a9039a41-2630-434c-86b6-21716562695f 2025-09-12 19:04:32,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9039a41-2630-434c-86b6-21716562695f 2025-09-12 19:04:33,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9039a41-2630-434c-86b6-21716562695f 2025-09-12 19:04:33,091 - INFO - VMI a9039a41-2630-434c-86b6-21716562695f verification in API Server passed 2025-09-12 19:04:33,168 - DEBUG - Response for delete_port : () 2025-09-12 19:04:33,168 - INFO - Deleted port a9039a41-2630-434c-86b6-21716562695f 2025-09-12 19:04:33,168 - INFO - Deleting VN ctest-vn-99025093 2025-09-12 19:04:33,266 - DEBUG - Response for deleting network () 2025-09-12 19:04:33,519 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:04:33,519 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-12 19:04:33,519 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:04:33,521 - INFO - ================================================================================ 2025-09-12 19:04:33,521 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-12 19:04:33,521 - 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-12 19:04:33,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 19:04:33,811 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:04:33,811 - INFO - 2025-09-12 19:04:33,968 - DEBUG - Response for create_network : {'network': {'id': '22198596-64a6-4162-99f5-909b7387431b', 'name': 'ctest-vn1-20491303', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86909208', 'ctest-vn1-20491303'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:04:34,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0fa5844-9e14-4fba-8e9f-3b49e239544f', 'name': '', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '22198596-64a6-4162-99f5-909b7387431b', 'ip_version': 4, 'cidr': '190.148.116.64/26', 'allocation_pools': [{'start': '190.148.116.66', 'end': '190.148.116.126'}], 'gateway_ip': '190.148.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.148.116.66', 'tags': [], 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:34,292 - DEBUG - Response for create_subnet : {'subnet': {'id': '78c983bb-5af8-4f17-845f-8d88094cc892', 'name': '', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '22198596-64a6-4162-99f5-909b7387431b', 'ip_version': 4, 'cidr': '43.251.106.128/26', 'allocation_pools': [{'start': '43.251.106.130', 'end': '43.251.106.190'}], 'gateway_ip': '43.251.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.251.106.130', 'tags': [], 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:34,308 - INFO - Created VN ctest-vn1-20491303 2025-09-12 19:04:34,358 - DEBUG - VN ctest-vn1-20491303 UUID is 22198596-64a6-4162-99f5-909b7387431b 2025-09-12 19:04:34,646 - DEBUG - Response for create_port : {'port': {'name': 'b3951ac3-97fa-4887-9d77-7d80a3f7205e', 'id': 'b3951ac3-97fa-4887-9d77-7d80a3f7205e', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '22198596-64a6-4162-99f5-909b7387431b', 'mac_address': '02:b3:95:1a:c3:97', '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': '190.148.116.69', 'subnet_id': 'e0fa5844-9e14-4fba-8e9f-3b49e239544f'}], 'security_groups': ['32ea906e-89bd-4945-a8a7-4a6f01d2ea36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:34,806 - DEBUG - Response for create_port : {'port': {'name': '483b25d7-b7d6-46f9-b542-01ced58cd667', 'id': '483b25d7-b7d6-46f9-b542-01ced58cd667', 'tenant_id': 'a1ea61f79be541a0a3037065c5cd32d4', 'network_id': '22198596-64a6-4162-99f5-909b7387431b', 'mac_address': '02:48:3b:25:d7:b7', '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': '43.251.106.133', 'subnet_id': '78c983bb-5af8-4f17-845f-8d88094cc892'}], 'security_groups': ['32ea906e-89bd-4945-a8a7-4a6f01d2ea36'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1ea61f79be541a0a3037065c5cd32d4'}} 2025-09-12 19:04:34,855 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:04:35,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:04:35,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:04:35,506 - INFO - Waiting for VM ctest-vn1-vm1-92064487 to be up.. 2025-09-12 19:04:35,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:04:40,613 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:04:40,614 - INFO - VM name : ctest-vn1-vm1-92064487 2025-09-12 19:04:40,684 - DEBUG - VM ctest-vn1-vm1-92064487 ID is 51a53333-3ef5-498f-b44c-dbf610cd73d4 2025-09-12 19:04:40,700 - DEBUG - VM ctest-vn1-vm1-92064487 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:04:40,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/51a53333-3ef5-498f-b44c-dbf610cd73d4 2025-09-12 19:04:40,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b3951ac3-97fa-4887-9d77-7d80a3f7205e 2025-09-12 19:04:44,024 - 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-12 19:04:44,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92064487 failed! 2025-09-12 19:04:44,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86909208:ctest-vn1-20491303 is 190.148.116.65 and allocation pool is NOT set 2025-09-12 19:04:44,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86909208:ctest-vn1-20491303 is 43.251.106.129 and allocation pool is NOT set 2025-09-12 19:04:46,148 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.772 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.772/3.013/5.254/2.241 ms') 2025-09-12 19:04:46,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92064487 passed 2025-09-12 19:04:46,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:04:46,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92064487, IP 190.148.116.69, Port 22 2025-09-12 19:04:46,445 - DEBUG - VM ctest-vn1-vm1-92064487 is ready for SSH connections 2025-09-12 19:04:46,446 - INFO - Waiting for VM ctest-vn1-vm2-11598466 to be up.. 2025-09-12 19:04:46,649 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:04:46,650 - INFO - VM name : ctest-vn1-vm2-11598466 2025-09-12 19:04:46,717 - DEBUG - VM ctest-vn1-vm2-11598466 ID is a6123764-d56d-4e33-8480-08def49e5fd4 2025-09-12 19:04:46,718 - DEBUG - VM ctest-vn1-vm2-11598466 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:04:46,786 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6123764-d56d-4e33-8480-08def49e5fd4 2025-09-12 19:04:46,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/483b25d7-b7d6-46f9-b542-01ced58cd667 2025-09-12 19:04:48,026 - 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=2.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.305 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.305/1.456/2.607/1.151 ms') 2025-09-12 19:04:48,026 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11598466 passed 2025-09-12 19:04:48,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:04:48,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11598466, IP 43.251.106.133, Port 22 2025-09-12 19:04:48,338 - DEBUG - VM ctest-vn1-vm2-11598466 is ready for SSH connections 2025-09-12 19:04:48,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:04:48,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:04:48,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:04:48,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.148.116.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:04:48,339 - DEBUG - ping -s 56 -c 3 -W 1 190.148.116.69 2025-09-12 19:04:51,280 - DEBUG - PING 190.148.116.69 (190.148.116.69): 56 data bytes 64 bytes from 190.148.116.69: seq=0 ttl=63 time=3.681 ms 64 bytes from 190.148.116.69: seq=1 ttl=63 time=0.740 ms 64 bytes from 190.148.116.69: seq=2 ttl=63 time=0.864 ms --- 190.148.116.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.761/3.681 ms 2025-09-12 19:04:51,280 - INFO - Ping to IP 190.148.116.69 from VM ctest-vn1-vm2-11598466 passed 2025-09-12 19:04:51,281 - INFO - Detaching port 483b25d7-b7d6-46f9-b542-01ced58cd667 from VM ctest-vn1-vm2-11598466 2025-09-12 19:04:51,326 - INFO - Deleting VM ctest-vn1-vm2-11598466 2025-09-12 19:04:51,386 - INFO - Detaching port b3951ac3-97fa-4887-9d77-7d80a3f7205e from VM ctest-vn1-vm1-92064487 2025-09-12 19:04:51,422 - INFO - Deleting VM ctest-vn1-vm1-92064487 2025-09-12 19:04:51,623 - DEBUG - Response for delete_port : () 2025-09-12 19:04:51,773 - DEBUG - Response for delete_port : () 2025-09-12 19:04:51,773 - INFO - Deleting VN ctest-vn1-20491303 2025-09-12 19:04:51,916 - DEBUG - Response for deleting network () 2025-09-12 19:04:52,175 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:04:52,175 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-12 19:04:52,175 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:04:52,837 - INFO - Deleted project: ctest-TestPorts-86909208, ID : a1ea61f7-9be5-41a0-a303-7065c5cd32d4