2025-11-20 01:56:36,221 - INFO - Domain Default found not creating 2025-11-20 01:56:36,394 - INFO - Project ctest-TestPorts-09499798 not found, creating it 2025-11-20 01:56:36,899 - INFO - Created Project:ctest-TestPorts-09499798, ID : f0ed33d7-8911-422d-b733-0ce19deeae19 2025-11-20 01:56:38,530 - INFO - ================================================================================ 2025-11-20 01:56:38,530 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 01:56:38,530 - 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-11-20 01:56:38,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.241': '0'}} with 2025-11-20 01:56:38,794 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:56:38,794 - INFO - 2025-11-20 01:56:39,346 - DEBUG - Response for create_network : {'network': {'id': '84561c50-755e-4a8d-a373-997f695adc68', 'name': 'ctest-vn-20168473', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'project_id': 'f0ed33d78911422db7330ce19deeae19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09499798', 'ctest-vn-20168473'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:56:39,570 - DEBUG - Response for create_subnet : {'subnet': {'id': '12ed0903-98c1-47d7-89ec-a5b0739356d6', 'name': '', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '84561c50-755e-4a8d-a373-997f695adc68', 'ip_version': 4, 'cidr': '185.156.84.0/26', 'allocation_pools': [{'start': '185.156.84.2', 'end': '185.156.84.62'}], 'gateway_ip': '185.156.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.156.84.2', 'tags': [], 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:39,596 - INFO - Created VN ctest-vn-20168473 2025-11-20 01:56:39,652 - DEBUG - VN ctest-vn-20168473 UUID is 84561c50-755e-4a8d-a373-997f695adc68 2025-11-20 01:56:39,762 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09499798', 'ctest-vmi-70510312']} 2025-11-20 01:56:40,000 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70510312', 'id': 'f7729a0a-3cc7-4b99-af88-bad48a2c3451', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '84561c50-755e-4a8d-a373-997f695adc68', 'mac_address': '02:f7:72:9a:0a:3c', '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': '185.156.84.3', 'subnet_id': '12ed0903-98c1-47d7-89ec-a5b0739356d6'}], 'security_groups': ['dfb9bde8-9f50-4ca8-bd07-de340f30904b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:40,000 - DEBUG - Created port f7729a0a-3cc7-4b99-af88-bad48a2c3451 2025-11-20 01:56:40,111 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f7729a0a-3cc7-4b99-af88-bad48a2c3451 2025-11-20 01:56:40,404 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f7729a0a-3cc7-4b99-af88-bad48a2c3451 2025-11-20 01:56:40,440 - INFO - VMI f7729a0a-3cc7-4b99-af88-bad48a2c3451 verification in API Server passed 2025-11-20 01:56:40,519 - DEBUG - Response for delete_port : () 2025-11-20 01:56:40,520 - INFO - Deleted port f7729a0a-3cc7-4b99-af88-bad48a2c3451 2025-11-20 01:56:40,520 - INFO - Deleting VN ctest-vn-20168473 2025-11-20 01:56:40,629 - DEBUG - Response for deleting network () 2025-11-20 01:56:40,893 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:56:40,893 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-20 01:56:40,893 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:56:40,898 - INFO - ================================================================================ 2025-11-20 01:56:40,898 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 01:56:40,898 - 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-11-20 01:56:41,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.241': '0'}} with 2025-11-20 01:56:41,182 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:56:41,182 - INFO - 2025-11-20 01:56:41,353 - DEBUG - Response for create_network : {'network': {'id': '5f0280c6-8026-48d6-90a6-2f9d15a46432', 'name': 'ctest-vn1-61471887', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'project_id': 'f0ed33d78911422db7330ce19deeae19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09499798', 'ctest-vn1-61471887'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:56:41,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '599b5b5e-19ec-4973-a323-c1a9471829df', 'name': '', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '5f0280c6-8026-48d6-90a6-2f9d15a46432', 'ip_version': 4, 'cidr': '192.201.121.0/26', 'allocation_pools': [{'start': '192.201.121.2', 'end': '192.201.121.62'}], 'gateway_ip': '192.201.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.201.121.2', 'tags': [], 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:41,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '8459ae0d-87b5-460a-ab07-37d43f6698d9', 'name': '', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '5f0280c6-8026-48d6-90a6-2f9d15a46432', 'ip_version': 4, 'cidr': '42.65.88.128/26', 'allocation_pools': [{'start': '42.65.88.130', 'end': '42.65.88.190'}], 'gateway_ip': '42.65.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.65.88.130', 'tags': [], 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:41,766 - INFO - Created VN ctest-vn1-61471887 2025-11-20 01:56:41,815 - DEBUG - VN ctest-vn1-61471887 UUID is 5f0280c6-8026-48d6-90a6-2f9d15a46432 2025-11-20 01:56:42,109 - DEBUG - Response for create_port : {'port': {'name': '182ecb53-8d30-4efd-a9d4-e1e7105983f7', 'id': '182ecb53-8d30-4efd-a9d4-e1e7105983f7', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '5f0280c6-8026-48d6-90a6-2f9d15a46432', 'mac_address': '02:18:2e:cb:53:8d', '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': '192.201.121.5', 'subnet_id': '599b5b5e-19ec-4973-a323-c1a9471829df'}], 'security_groups': ['dfb9bde8-9f50-4ca8-bd07-de340f30904b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:42,273 - DEBUG - Response for create_port : {'port': {'name': 'abcd2ab9-0d5b-43a2-abce-653d2974b537', 'id': 'abcd2ab9-0d5b-43a2-abce-653d2974b537', 'tenant_id': 'f0ed33d78911422db7330ce19deeae19', 'network_id': '5f0280c6-8026-48d6-90a6-2f9d15a46432', 'mac_address': '02:ab:cd:2a:b9:0d', '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': '42.65.88.133', 'subnet_id': '8459ae0d-87b5-460a-ab07-37d43f6698d9'}], 'security_groups': ['dfb9bde8-9f50-4ca8-bd07-de340f30904b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0ed33d78911422db7330ce19deeae19'}} 2025-11-20 01:56:42,326 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:56:42,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:56:42,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:56:42,998 - INFO - Waiting for VM ctest-vn1-vm1-57236024 to be up.. 2025-11-20 01:56:43,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:56:48,110 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:56:48,110 - INFO - VM name : ctest-vn1-vm1-57236024 2025-11-20 01:56:48,183 - DEBUG - VM ctest-vn1-vm1-57236024 ID is f2f8ee18-1baa-4d3e-b561-d550a4a9a4ba 2025-11-20 01:56:48,202 - DEBUG - VM ctest-vn1-vm1-57236024 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:56:48,274 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/f2f8ee18-1baa-4d3e-b561-d550a4a9a4ba 2025-11-20 01:56:48,282 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/182ecb53-8d30-4efd-a9d4-e1e7105983f7 2025-11-20 01:56:51,531 - 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 1011ms') 2025-11-20 01:56:51,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57236024 failed! 2025-11-20 01:56:51,583 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09499798:ctest-vn1-61471887 is 192.201.121.1 and allocation pool is NOT set 2025-11-20 01:56:51,583 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09499798:ctest-vn1-61471887 is 42.65.88.129 and allocation pool is NOT set 2025-11-20 01:56:53,643 - 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=4.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.757/2.951/4.145/1.194 ms') 2025-11-20 01:56:53,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57236024 passed 2025-11-20 01:56:53,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:56:53,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57236024, IP 192.201.121.5, Port 22 2025-11-20 01:56:53,950 - DEBUG - VM ctest-vn1-vm1-57236024 is ready for SSH connections 2025-11-20 01:56:53,950 - INFO - Waiting for VM ctest-vn1-vm2-67578919 to be up.. 2025-11-20 01:56:54,025 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:56:54,025 - INFO - VM name : ctest-vn1-vm2-67578919 2025-11-20 01:56:54,107 - DEBUG - VM ctest-vn1-vm2-67578919 ID is d82a8d9e-ea24-4d1d-86a8-382577587dbe 2025-11-20 01:56:54,107 - DEBUG - VM ctest-vn1-vm2-67578919 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:56:54,191 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/d82a8d9e-ea24-4d1d-86a8-382577587dbe 2025-11-20 01:56:54,202 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/abcd2ab9-0d5b-43a2-abce-653d2974b537 2025-11-20 01:56:55,440 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.745/3.072/1.327 ms') 2025-11-20 01:56:55,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67578919 passed 2025-11-20 01:56:55,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:56:55,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67578919, IP 42.65.88.133, Port 22 2025-11-20 01:56:55,755 - DEBUG - VM ctest-vn1-vm2-67578919 is ready for SSH connections 2025-11-20 01:56:55,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:56:55,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:56:55,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:56:55,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.201.121.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:56:55,755 - DEBUG - ping -s 56 -c 3 -W 1 192.201.121.5 2025-11-20 01:56:58,385 - DEBUG - PING 192.201.121.5 (192.201.121.5): 56 data bytes 64 bytes from 192.201.121.5: seq=0 ttl=63 time=5.340 ms 64 bytes from 192.201.121.5: seq=1 ttl=63 time=1.167 ms 64 bytes from 192.201.121.5: seq=2 ttl=63 time=0.843 ms --- 192.201.121.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.450/5.340 ms 2025-11-20 01:56:58,385 - INFO - Ping to IP 192.201.121.5 from VM ctest-vn1-vm2-67578919 passed 2025-11-20 01:56:58,385 - INFO - Detaching port abcd2ab9-0d5b-43a2-abce-653d2974b537 from VM ctest-vn1-vm2-67578919 2025-11-20 01:56:58,433 - INFO - Deleting VM ctest-vn1-vm2-67578919 2025-11-20 01:56:58,494 - INFO - Detaching port 182ecb53-8d30-4efd-a9d4-e1e7105983f7 from VM ctest-vn1-vm1-57236024 2025-11-20 01:56:58,525 - INFO - Deleting VM ctest-vn1-vm1-57236024 2025-11-20 01:56:58,731 - DEBUG - Response for delete_port : () 2025-11-20 01:56:58,875 - DEBUG - Response for delete_port : () 2025-11-20 01:56:58,875 - INFO - Deleting VN ctest-vn1-61471887 2025-11-20 01:56:58,989 - DEBUG - Response for deleting network () 2025-11-20 01:56:59,252 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:56:59,252 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-20 01:56:59,252 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:56:59,938 - INFO - Deleted project: ctest-TestPorts-09499798, ID : f0ed33d7-8911-422d-b733-0ce19deeae19