2025-08-11 10:49:49,117 - INFO - Domain Default found not creating 2025-08-11 10:49:49,233 - INFO - Project ctest-TestPorts-03384870 not found, creating it 2025-08-11 10:49:49,667 - INFO - Created Project:ctest-TestPorts-03384870, ID : c0ff0e24-7d0b-4dfb-884e-2576fe59bf50 2025-08-11 10:49:50,985 - INFO - ================================================================================ 2025-08-11 10:49:50,985 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 10:49:50,985 - 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 10:49:51,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 10:49:51,235 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:49:51,235 - INFO - 2025-08-11 10:49:51,978 - DEBUG - Response for create_network : {'network': {'id': 'a0776262-be63-479b-80fd-0bbaec418f2e', 'name': 'ctest-vn-48923665', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03384870', 'ctest-vn-48923665'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:49:52,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1f45245-cd90-4102-a948-aaffaca48a61', 'name': '', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'a0776262-be63-479b-80fd-0bbaec418f2e', 'ip_version': 4, 'cidr': '144.39.90.0/26', 'allocation_pools': [{'start': '144.39.90.2', 'end': '144.39.90.62'}], 'gateway_ip': '144.39.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.39.90.2', 'tags': [], 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:52,364 - INFO - Created VN ctest-vn-48923665 2025-08-11 10:49:52,418 - DEBUG - VN ctest-vn-48923665 UUID is a0776262-be63-479b-80fd-0bbaec418f2e 2025-08-11 10:49:52,526 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03384870', 'ctest-vmi-06000363']} 2025-08-11 10:49:52,804 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06000363', 'id': '46690d39-5f45-4d78-bdce-6c5c02e5eb42', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'a0776262-be63-479b-80fd-0bbaec418f2e', 'mac_address': '02:46:69:0d:39:5f', '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': '144.39.90.3', 'subnet_id': 'a1f45245-cd90-4102-a948-aaffaca48a61'}], 'security_groups': ['c84add3f-4a09-4068-850d-14e3cce93789'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:52,804 - DEBUG - Created port 46690d39-5f45-4d78-bdce-6c5c02e5eb42 2025-08-11 10:49:52,913 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/46690d39-5f45-4d78-bdce-6c5c02e5eb42 2025-08-11 10:49:53,202 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/46690d39-5f45-4d78-bdce-6c5c02e5eb42 2025-08-11 10:49:53,232 - INFO - VMI 46690d39-5f45-4d78-bdce-6c5c02e5eb42 verification in API Server passed 2025-08-11 10:49:53,311 - DEBUG - Response for delete_port : () 2025-08-11 10:49:53,311 - INFO - Deleted port 46690d39-5f45-4d78-bdce-6c5c02e5eb42 2025-08-11 10:49:53,311 - INFO - Deleting VN ctest-vn-48923665 2025-08-11 10:49:53,411 - DEBUG - Response for deleting network () 2025-08-11 10:49:53,675 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 10:49:53,675 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-11 10:49:53,675 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:49:53,677 - INFO - ================================================================================ 2025-08-11 10:49:53,678 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 10:49:53,678 - 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 10:49:53,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 10:49:53,959 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:49:53,960 - INFO - 2025-08-11 10:49:54,129 - DEBUG - Response for create_network : {'network': {'id': 'd8defa96-7a21-45f1-8cae-1e5cba092a71', 'name': 'ctest-vn1-21853653', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03384870', 'ctest-vn1-21853653'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:49:54,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04067f5-9dc8-4e93-97ff-d335f36c7bf8', 'name': '', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'd8defa96-7a21-45f1-8cae-1e5cba092a71', 'ip_version': 4, 'cidr': '48.172.128.192/26', 'allocation_pools': [{'start': '48.172.128.194', 'end': '48.172.128.254'}], 'gateway_ip': '48.172.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.172.128.194', 'tags': [], 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:54,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '33f3633d-19c8-4b5c-ae01-9f80c89dc644', 'name': '', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'd8defa96-7a21-45f1-8cae-1e5cba092a71', 'ip_version': 4, 'cidr': '189.102.16.128/26', 'allocation_pools': [{'start': '189.102.16.130', 'end': '189.102.16.190'}], 'gateway_ip': '189.102.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.102.16.130', 'tags': [], 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:54,495 - INFO - Created VN ctest-vn1-21853653 2025-08-11 10:49:54,549 - DEBUG - VN ctest-vn1-21853653 UUID is d8defa96-7a21-45f1-8cae-1e5cba092a71 2025-08-11 10:49:54,822 - DEBUG - Response for create_port : {'port': {'name': '118fbe3c-bd49-4b4d-bf6c-74188fbb8d68', 'id': '118fbe3c-bd49-4b4d-bf6c-74188fbb8d68', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'd8defa96-7a21-45f1-8cae-1e5cba092a71', 'mac_address': '02:11:8f:be:3c:bd', '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': '48.172.128.197', 'subnet_id': 'd04067f5-9dc8-4e93-97ff-d335f36c7bf8'}], 'security_groups': ['c84add3f-4a09-4068-850d-14e3cce93789'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:54,989 - DEBUG - Response for create_port : {'port': {'name': 'c52edae0-04db-47a5-b856-d98bc1a20905', 'id': 'c52edae0-04db-47a5-b856-d98bc1a20905', 'tenant_id': 'c0ff0e247d0b4dfb884e2576fe59bf50', 'network_id': 'd8defa96-7a21-45f1-8cae-1e5cba092a71', 'mac_address': '02:c5:2e:da:e0:04', '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': '189.102.16.133', 'subnet_id': '33f3633d-19c8-4b5c-ae01-9f80c89dc644'}], 'security_groups': ['c84add3f-4a09-4068-850d-14e3cce93789'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0ff0e247d0b4dfb884e2576fe59bf50'}} 2025-08-11 10:49:55,040 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:49:55,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:49:55,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:49:55,663 - INFO - Waiting for VM ctest-vn1-vm1-70318866 to be up.. 2025-08-11 10:49:55,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:50:00,778 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:50:00,779 - INFO - VM name : ctest-vn1-vm1-70318866 2025-08-11 10:50:00,850 - DEBUG - VM ctest-vn1-vm1-70318866 ID is ff7a1156-d539-4365-be29-7bce391290a5 2025-08-11 10:50:00,869 - DEBUG - VM ctest-vn1-vm1-70318866 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:50:00,934 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ff7a1156-d539-4365-be29-7bce391290a5 2025-08-11 10:50:00,941 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/118fbe3c-bd49-4b4d-bf6c-74188fbb8d68 2025-08-11 10:50:04,187 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-08-11 10:50:04,187 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70318866 failed! 2025-08-11 10:50:04,241 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03384870:ctest-vn1-21853653 is 48.172.128.193 and allocation pool is NOT set 2025-08-11 10:50:04,241 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03384870:ctest-vn1-21853653 is 189.102.16.129 and allocation pool is NOT set 2025-08-11 10:50:06,299 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.726 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.726/2.368/4.011/1.642 ms') 2025-08-11 10:50:06,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70318866 passed 2025-08-11 10:50:06,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:06,446 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70318866, IP 48.172.128.197, Port 22 2025-08-11 10:50:06,604 - DEBUG - VM ctest-vn1-vm1-70318866 is ready for SSH connections 2025-08-11 10:50:06,605 - INFO - Waiting for VM ctest-vn1-vm2-34691487 to be up.. 2025-08-11 10:50:06,675 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:50:06,675 - INFO - VM name : ctest-vn1-vm2-34691487 2025-08-11 10:50:06,738 - DEBUG - VM ctest-vn1-vm2-34691487 ID is ed93d338-3259-4504-8d18-b1137b9dcbfb 2025-08-11 10:50:06,738 - DEBUG - VM ctest-vn1-vm2-34691487 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:50:06,795 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ed93d338-3259-4504-8d18-b1137b9dcbfb 2025-08-11 10:50:06,803 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c52edae0-04db-47a5-b856-d98bc1a20905 2025-08-11 10:50:08,038 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.863/3.317/1.453 ms') 2025-08-11 10:50:08,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-34691487 passed 2025-08-11 10:50:08,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:08,193 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34691487, IP 189.102.16.133, Port 22 2025-08-11 10:50:08,357 - DEBUG - VM ctest-vn1-vm2-34691487 is ready for SSH connections 2025-08-11 10:50:08,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:08,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:08,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:50:08,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.172.128.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:50:08,358 - DEBUG - ping -s 56 -c 3 -W 1 48.172.128.197 2025-08-11 10:50:12,297 - DEBUG - PING 48.172.128.197 (48.172.128.197): 56 data bytes 64 bytes from 48.172.128.197: seq=0 ttl=63 time=3.934 ms 64 bytes from 48.172.128.197: seq=1 ttl=63 time=0.772 ms 64 bytes from 48.172.128.197: seq=2 ttl=63 time=0.843 ms --- 48.172.128.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.849/3.934 ms 2025-08-11 10:50:12,297 - INFO - Ping to IP 48.172.128.197 from VM ctest-vn1-vm2-34691487 passed 2025-08-11 10:50:12,297 - INFO - Detaching port c52edae0-04db-47a5-b856-d98bc1a20905 from VM ctest-vn1-vm2-34691487 2025-08-11 10:50:12,347 - INFO - Deleting VM ctest-vn1-vm2-34691487 2025-08-11 10:50:12,403 - INFO - Detaching port 118fbe3c-bd49-4b4d-bf6c-74188fbb8d68 from VM ctest-vn1-vm1-70318866 2025-08-11 10:50:12,442 - INFO - Deleting VM ctest-vn1-vm1-70318866 2025-08-11 10:50:12,705 - DEBUG - Response for delete_port : () 2025-08-11 10:50:12,847 - DEBUG - Response for delete_port : () 2025-08-11 10:50:12,847 - INFO - Deleting VN ctest-vn1-21853653 2025-08-11 10:50:12,986 - DEBUG - Response for deleting network () 2025-08-11 10:50:13,247 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 10:50:13,247 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-08-11 10:50:13,247 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:50:13,901 - INFO - Deleted project: ctest-TestPorts-03384870, ID : c0ff0e24-7d0b-4dfb-884e-2576fe59bf50