2025-07-31 02:24:58,384 - INFO - Domain Default found not creating 2025-07-31 02:24:58,562 - INFO - Project ctest-TestPorts-60793375 not found, creating it 2025-07-31 02:24:59,034 - INFO - Created Project:ctest-TestPorts-60793375, ID : 8027a183-1cbd-432a-8867-f532b4d866f2 2025-07-31 02:25:00,515 - INFO - ================================================================================ 2025-07-31 02:25:00,515 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 02:25:00,515 - 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-07-31 02:25:00,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-31 02:25:00,777 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:25:00,777 - INFO - 2025-07-31 02:25:01,362 - DEBUG - Response for create_network : {'network': {'id': 'faf18dd2-e379-49e0-9594-50bafbebfd7d', 'name': 'ctest-vn-57802528', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'project_id': '8027a1831cbd432a8867f532b4d866f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60793375', 'ctest-vn-57802528'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:25:01,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a765a7-31c2-4688-97d2-be5b8f65afa4', 'name': '', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': 'faf18dd2-e379-49e0-9594-50bafbebfd7d', 'ip_version': 4, 'cidr': '174.163.151.0/26', 'allocation_pools': [{'start': '174.163.151.2', 'end': '174.163.151.62'}], 'gateway_ip': '174.163.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.163.151.2', 'tags': [], 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:01,597 - INFO - Created VN ctest-vn-57802528 2025-07-31 02:25:01,650 - DEBUG - VN ctest-vn-57802528 UUID is faf18dd2-e379-49e0-9594-50bafbebfd7d 2025-07-31 02:25:01,778 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60793375', 'ctest-vmi-50757105']} 2025-07-31 02:25:02,068 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50757105', 'id': 'f42f9413-a75a-44c4-9fb2-a6b85f9051d1', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': 'faf18dd2-e379-49e0-9594-50bafbebfd7d', 'mac_address': '02:f4:2f:94:13:a7', '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': '174.163.151.3', 'subnet_id': '72a765a7-31c2-4688-97d2-be5b8f65afa4'}], 'security_groups': ['77e7d638-e823-4c79-8c63-5565c5031497'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:02,068 - DEBUG - Created port f42f9413-a75a-44c4-9fb2-a6b85f9051d1 2025-07-31 02:25:02,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f42f9413-a75a-44c4-9fb2-a6b85f9051d1 2025-07-31 02:25:02,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f42f9413-a75a-44c4-9fb2-a6b85f9051d1 2025-07-31 02:25:02,515 - INFO - VMI f42f9413-a75a-44c4-9fb2-a6b85f9051d1 verification in API Server passed 2025-07-31 02:25:02,619 - DEBUG - Response for delete_port : () 2025-07-31 02:25:02,619 - INFO - Deleted port f42f9413-a75a-44c4-9fb2-a6b85f9051d1 2025-07-31 02:25:02,619 - INFO - Deleting VN ctest-vn-57802528 2025-07-31 02:25:02,738 - DEBUG - Response for deleting network () 2025-07-31 02:25:02,996 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:25:02,996 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-31 02:25:02,996 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:25:02,999 - INFO - ================================================================================ 2025-07-31 02:25:02,999 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 02:25:02,999 - 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-07-31 02:25:03,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-31 02:25:03,289 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:25:03,289 - INFO - 2025-07-31 02:25:03,485 - DEBUG - Response for create_network : {'network': {'id': '108907f7-5c58-414b-8282-3ca80140ecb2', 'name': 'ctest-vn1-67281762', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'project_id': '8027a1831cbd432a8867f532b4d866f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60793375', 'ctest-vn1-67281762'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:25:03,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1387094-43cf-44a0-bd39-5abd296e8969', 'name': '', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': '108907f7-5c58-414b-8282-3ca80140ecb2', 'ip_version': 4, 'cidr': '168.123.240.192/26', 'allocation_pools': [{'start': '168.123.240.194', 'end': '168.123.240.254'}], 'gateway_ip': '168.123.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.123.240.194', 'tags': [], 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:03,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc0cb0a9-654c-46b2-9a44-288910858979', 'name': '', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': '108907f7-5c58-414b-8282-3ca80140ecb2', 'ip_version': 4, 'cidr': '196.39.16.64/26', 'allocation_pools': [{'start': '196.39.16.66', 'end': '196.39.16.126'}], 'gateway_ip': '196.39.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.39.16.66', 'tags': [], 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:03,827 - INFO - Created VN ctest-vn1-67281762 2025-07-31 02:25:03,882 - DEBUG - VN ctest-vn1-67281762 UUID is 108907f7-5c58-414b-8282-3ca80140ecb2 2025-07-31 02:25:04,226 - DEBUG - Response for create_port : {'port': {'name': '8492a8b4-9929-4989-afed-40f9d9550077', 'id': '8492a8b4-9929-4989-afed-40f9d9550077', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': '108907f7-5c58-414b-8282-3ca80140ecb2', 'mac_address': '02:84:92:a8:b4:99', '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': '168.123.240.197', 'subnet_id': 'b1387094-43cf-44a0-bd39-5abd296e8969'}], 'security_groups': ['77e7d638-e823-4c79-8c63-5565c5031497'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:04,410 - DEBUG - Response for create_port : {'port': {'name': 'df56d687-d975-4195-bca3-4d958a6aed69', 'id': 'df56d687-d975-4195-bca3-4d958a6aed69', 'tenant_id': '8027a1831cbd432a8867f532b4d866f2', 'network_id': '108907f7-5c58-414b-8282-3ca80140ecb2', 'mac_address': '02:df:56:d6:87:d9', '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': '196.39.16.69', 'subnet_id': 'dc0cb0a9-654c-46b2-9a44-288910858979'}], 'security_groups': ['77e7d638-e823-4c79-8c63-5565c5031497'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8027a1831cbd432a8867f532b4d866f2'}} 2025-07-31 02:25:04,479 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:25:04,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:25:05,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:25:05,304 - INFO - Waiting for VM ctest-vn1-vm1-79887811 to be up.. 2025-07-31 02:25:05,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:25:10,438 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:25:10,438 - INFO - VM name : ctest-vn1-vm1-79887811 2025-07-31 02:25:10,516 - DEBUG - VM ctest-vn1-vm1-79887811 ID is bc0f899f-042c-4153-b1ec-6644d4d06431 2025-07-31 02:25:10,536 - DEBUG - VM ctest-vn1-vm1-79887811 launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:25:10,619 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bc0f899f-042c-4153-b1ec-6644d4d06431 2025-07-31 02:25:10,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8492a8b4-9929-4989-afed-40f9d9550077 2025-07-31 02:25:13,914 - 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 1026ms') 2025-07-31 02:25:13,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79887811 failed! 2025-07-31 02:25:13,970 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60793375:ctest-vn1-67281762 is 168.123.240.193 and allocation pool is NOT set 2025-07-31 02:25:13,970 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60793375:ctest-vn1-67281762 is 196.39.16.65 and allocation pool is NOT set 2025-07-31 02:25:16,036 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.43 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 = 2.434/7.177/11.920/4.743 ms') 2025-07-31 02:25:16,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79887811 passed 2025-07-31 02:25:16,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:25:16,186 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79887811, IP 168.123.240.197, Port 22 2025-07-31 02:25:16,352 - DEBUG - VM ctest-vn1-vm1-79887811 is ready for SSH connections 2025-07-31 02:25:16,352 - INFO - Waiting for VM ctest-vn1-vm2-47487724 to be up.. 2025-07-31 02:25:16,447 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:25:16,447 - INFO - VM name : ctest-vn1-vm2-47487724 2025-07-31 02:25:16,537 - DEBUG - VM ctest-vn1-vm2-47487724 ID is eb25412a-626f-4200-9d84-7d919527a145 2025-07-31 02:25:16,537 - DEBUG - VM ctest-vn1-vm2-47487724 launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:25:16,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/eb25412a-626f-4200-9d84-7d919527a145 2025-07-31 02:25:16,656 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/df56d687-d975-4195-bca3-4d958a6aed69 2025-07-31 02:25:17,909 - 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=5.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.38 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 = 1.381/3.299/5.218/1.918 ms') 2025-07-31 02:25:17,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47487724 passed 2025-07-31 02:25:18,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:25:18,063 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47487724, IP 196.39.16.69, Port 22 2025-07-31 02:25:18,241 - DEBUG - VM ctest-vn1-vm2-47487724 is ready for SSH connections 2025-07-31 02:25:18,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:25:18,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:25:18,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:25:18,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.123.240.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 02:25:18,242 - DEBUG - ping -s 56 -c 3 -W 1 168.123.240.197 2025-07-31 02:25:20,882 - DEBUG - PING 168.123.240.197 (168.123.240.197): 56 data bytes 64 bytes from 168.123.240.197: seq=0 ttl=63 time=3.461 ms 64 bytes from 168.123.240.197: seq=1 ttl=63 time=1.062 ms 64 bytes from 168.123.240.197: seq=2 ttl=63 time=1.040 ms --- 168.123.240.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.040/1.854/3.461 ms 2025-07-31 02:25:20,882 - INFO - Ping to IP 168.123.240.197 from VM ctest-vn1-vm2-47487724 passed 2025-07-31 02:25:20,882 - INFO - Detaching port df56d687-d975-4195-bca3-4d958a6aed69 from VM ctest-vn1-vm2-47487724 2025-07-31 02:25:20,937 - INFO - Deleting VM ctest-vn1-vm2-47487724 2025-07-31 02:25:21,016 - INFO - Detaching port 8492a8b4-9929-4989-afed-40f9d9550077 from VM ctest-vn1-vm1-79887811 2025-07-31 02:25:21,055 - INFO - Deleting VM ctest-vn1-vm1-79887811 2025-07-31 02:25:21,299 - DEBUG - Response for delete_port : () 2025-07-31 02:25:21,513 - DEBUG - Response for delete_port : () 2025-07-31 02:25:21,513 - INFO - Deleting VN ctest-vn1-67281762 2025-07-31 02:25:21,692 - DEBUG - Response for deleting network () 2025-07-31 02:25:21,952 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:25:21,952 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-07-31 02:25:21,953 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:25:22,671 - INFO - Deleted project: ctest-TestPorts-60793375, ID : 8027a183-1cbd-432a-8867-f532b4d866f2