2025-10-12 07:21:35,306 - INFO - Domain Default found not creating 2025-10-12 07:21:35,479 - INFO - Project ctest-TestPorts-94756271 not found, creating it 2025-10-12 07:21:36,001 - INFO - Created Project:ctest-TestPorts-94756271, ID : 3831528a-815b-4e96-b59c-5294e69b2275 2025-10-12 07:21:37,493 - INFO - ================================================================================ 2025-10-12 07:21:37,493 - INFO - STARTING TEST : test_ports_bindings 2025-10-12 07:21:37,493 - 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-10-12 07:21:37,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-12 07:21:37,761 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:21:37,761 - INFO - 2025-10-12 07:21:38,361 - DEBUG - Response for create_network : {'network': {'id': 'b88e357a-cab8-4742-8276-61e1488480cd', 'name': 'ctest-vn-03411356', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'project_id': '3831528a815b4e96b59c5294e69b2275', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94756271', 'ctest-vn-03411356'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:21:38,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'caa6dee6-36d4-46a8-9019-385457a37159', 'name': '', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': 'b88e357a-cab8-4742-8276-61e1488480cd', 'ip_version': 4, 'cidr': '128.133.115.128/26', 'allocation_pools': [{'start': '128.133.115.130', 'end': '128.133.115.190'}], 'gateway_ip': '128.133.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.133.115.130', 'tags': [], 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:38,618 - INFO - Created VN ctest-vn-03411356 2025-10-12 07:21:38,671 - DEBUG - VN ctest-vn-03411356 UUID is b88e357a-cab8-4742-8276-61e1488480cd 2025-10-12 07:21:38,777 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94756271', 'ctest-vmi-94125217']} 2025-10-12 07:21:39,054 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94125217', 'id': 'e5565a64-0171-49a7-93a1-d6fe260063e6', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': 'b88e357a-cab8-4742-8276-61e1488480cd', 'mac_address': '02:e5:56:5a:64:01', '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': '128.133.115.131', 'subnet_id': 'caa6dee6-36d4-46a8-9019-385457a37159'}], 'security_groups': ['46d336c0-ff7a-4922-80af-1fab914ade6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:39,054 - DEBUG - Created port e5565a64-0171-49a7-93a1-d6fe260063e6 2025-10-12 07:21:39,167 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e5565a64-0171-49a7-93a1-d6fe260063e6 2025-10-12 07:21:39,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e5565a64-0171-49a7-93a1-d6fe260063e6 2025-10-12 07:21:39,517 - INFO - VMI e5565a64-0171-49a7-93a1-d6fe260063e6 verification in API Server passed 2025-10-12 07:21:39,642 - DEBUG - Response for delete_port : () 2025-10-12 07:21:39,642 - INFO - Deleted port e5565a64-0171-49a7-93a1-d6fe260063e6 2025-10-12 07:21:39,642 - INFO - Deleting VN ctest-vn-03411356 2025-10-12 07:21:39,791 - DEBUG - Response for deleting network () 2025-10-12 07:21:40,059 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 07:21:40,059 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-12 07:21:40,059 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:21:40,063 - INFO - ================================================================================ 2025-10-12 07:21:40,063 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-12 07:21:40,063 - 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-10-12 07:21:40,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-12 07:21:40,355 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:21:40,355 - INFO - 2025-10-12 07:21:40,542 - DEBUG - Response for create_network : {'network': {'id': '8c99a500-fbe9-460e-a656-775cf990cb94', 'name': 'ctest-vn1-47455782', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'project_id': '3831528a815b4e96b59c5294e69b2275', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94756271', 'ctest-vn1-47455782'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:21:40,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eac81d8e-e1fe-4cd3-bea3-11ac7a02474b', 'name': '', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': '8c99a500-fbe9-460e-a656-775cf990cb94', 'ip_version': 4, 'cidr': '92.55.10.0/26', 'allocation_pools': [{'start': '92.55.10.2', 'end': '92.55.10.62'}], 'gateway_ip': '92.55.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.55.10.2', 'tags': [], 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:40,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a89b9b1d-7e52-412e-ab33-a310d41f4ad8', 'name': '', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': '8c99a500-fbe9-460e-a656-775cf990cb94', 'ip_version': 4, 'cidr': '157.126.219.64/26', 'allocation_pools': [{'start': '157.126.219.66', 'end': '157.126.219.126'}], 'gateway_ip': '157.126.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.126.219.66', 'tags': [], 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:40,964 - INFO - Created VN ctest-vn1-47455782 2025-10-12 07:21:41,018 - DEBUG - VN ctest-vn1-47455782 UUID is 8c99a500-fbe9-460e-a656-775cf990cb94 2025-10-12 07:21:41,357 - DEBUG - Response for create_port : {'port': {'name': '7adb5e98-2d29-43b2-8465-b0596056cc32', 'id': '7adb5e98-2d29-43b2-8465-b0596056cc32', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': '8c99a500-fbe9-460e-a656-775cf990cb94', 'mac_address': '02:7a:db:5e:98:2d', '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': '92.55.10.5', 'subnet_id': 'eac81d8e-e1fe-4cd3-bea3-11ac7a02474b'}], 'security_groups': ['46d336c0-ff7a-4922-80af-1fab914ade6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:41,565 - DEBUG - Response for create_port : {'port': {'name': 'fe1246a8-7540-4ce6-8fbc-1522d9affe34', 'id': 'fe1246a8-7540-4ce6-8fbc-1522d9affe34', 'tenant_id': '3831528a815b4e96b59c5294e69b2275', 'network_id': '8c99a500-fbe9-460e-a656-775cf990cb94', 'mac_address': '02:fe:12:46:a8:75', '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': '157.126.219.69', 'subnet_id': 'a89b9b1d-7e52-412e-ab33-a310d41f4ad8'}], 'security_groups': ['46d336c0-ff7a-4922-80af-1fab914ade6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3831528a815b4e96b59c5294e69b2275'}} 2025-10-12 07:21:41,638 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:21:42,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:21:42,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:21:42,458 - INFO - Waiting for VM ctest-vn1-vm1-37598700 to be up.. 2025-10-12 07:21:42,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:21:47,584 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:21:47,585 - INFO - VM name : ctest-vn1-vm1-37598700 2025-10-12 07:21:47,665 - DEBUG - VM ctest-vn1-vm1-37598700 ID is 3ae0fbeb-a680-4eec-bde6-8bac10495184 2025-10-12 07:21:47,691 - DEBUG - VM ctest-vn1-vm1-37598700 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:21:47,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ae0fbeb-a680-4eec-bde6-8bac10495184 2025-10-12 07:21:47,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7adb5e98-2d29-43b2-8465-b0596056cc32 2025-10-12 07:21:51,041 - 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-10-12 07:21:51,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37598700 failed! 2025-10-12 07:21:51,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94756271:ctest-vn1-47455782 is 92.55.10.1 and allocation pool is NOT set 2025-10-12 07:21:51,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94756271:ctest-vn1-47455782 is 157.126.219.65 and allocation pool is NOT set 2025-10-12 07:21:55,170 - 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=2 ttl=63 time=8.47 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.470/8.470/8.470/0.000 ms') 2025-10-12 07:21:55,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37598700 passed 2025-10-12 07:21:55,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:21:55,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37598700, IP 92.55.10.5, Port 22 2025-10-12 07:21:55,488 - DEBUG - VM ctest-vn1-vm1-37598700 is ready for SSH connections 2025-10-12 07:21:55,489 - INFO - Waiting for VM ctest-vn1-vm2-16261654 to be up.. 2025-10-12 07:21:55,575 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:21:55,575 - INFO - VM name : ctest-vn1-vm2-16261654 2025-10-12 07:21:55,656 - DEBUG - VM ctest-vn1-vm2-16261654 ID is 7c8f811e-e2ee-43f6-af71-937920d75503 2025-10-12 07:21:55,656 - DEBUG - VM ctest-vn1-vm2-16261654 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:21:55,737 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7c8f811e-e2ee-43f6-af71-937920d75503 2025-10-12 07:21:55,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fe1246a8-7540-4ce6-8fbc-1522d9affe34 2025-10-12 07:21:56,995 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.981 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.981/2.208/3.435/1.227 ms') 2025-10-12 07:21:56,995 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16261654 passed 2025-10-12 07:21:57,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:21:57,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16261654, IP 157.126.219.69, Port 22 2025-10-12 07:21:57,317 - DEBUG - VM ctest-vn1-vm2-16261654 is ready for SSH connections 2025-10-12 07:21:57,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:21:57,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:21:57,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:21:57,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.55.10.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:21:57,317 - DEBUG - ping -s 56 -c 3 -W 1 92.55.10.5 2025-10-12 07:21:59,990 - DEBUG - PING 92.55.10.5 (92.55.10.5): 56 data bytes 64 bytes from 92.55.10.5: seq=0 ttl=63 time=3.443 ms 64 bytes from 92.55.10.5: seq=1 ttl=63 time=0.967 ms 64 bytes from 92.55.10.5: seq=2 ttl=63 time=0.882 ms --- 92.55.10.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.764/3.443 ms 2025-10-12 07:21:59,990 - INFO - Ping to IP 92.55.10.5 from VM ctest-vn1-vm2-16261654 passed 2025-10-12 07:21:59,990 - INFO - Detaching port fe1246a8-7540-4ce6-8fbc-1522d9affe34 from VM ctest-vn1-vm2-16261654 2025-10-12 07:22:00,044 - INFO - Deleting VM ctest-vn1-vm2-16261654 2025-10-12 07:22:00,119 - INFO - Detaching port 7adb5e98-2d29-43b2-8465-b0596056cc32 from VM ctest-vn1-vm1-37598700 2025-10-12 07:22:00,168 - INFO - Deleting VM ctest-vn1-vm1-37598700 2025-10-12 07:22:00,478 - DEBUG - Response for delete_port : () 2025-10-12 07:22:00,731 - DEBUG - Response for delete_port : () 2025-10-12 07:22:00,731 - INFO - Deleting VN ctest-vn1-47455782 2025-10-12 07:22:00,938 - DEBUG - Response for deleting network () 2025-10-12 07:22:01,208 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 07:22:01,208 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-12 07:22:01,208 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:22:01,936 - INFO - Deleted project: ctest-TestPorts-94756271, ID : 3831528a-815b-4e96-b59c-5294e69b2275