2025-11-04 22:47:39,860 - INFO - Domain Default found not creating 2025-11-04 22:47:40,002 - INFO - Project ctest-TestPorts-73262412 not found, creating it 2025-11-04 22:47:40,446 - INFO - Created Project:ctest-TestPorts-73262412, ID : 10c4abc2-3790-4965-aef1-c3ddb4e18715 2025-11-04 22:47:41,843 - INFO - ================================================================================ 2025-11-04 22:47:41,843 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 22:47:41,843 - 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-04 22:47:42,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-11-04 22:47:42,095 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:47:42,095 - INFO - 2025-11-04 22:47:43,151 - DEBUG - Response for create_network : {'network': {'id': 'a2b8c2b4-c138-40d9-943b-64dccaf69af5', 'name': 'ctest-vn-39337630', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'project_id': '10c4abc237904965aef1c3ddb4e18715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73262412', 'ctest-vn-39337630'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:47:43,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '7afc2538-c095-4817-8af9-eb9500c4ec0d', 'name': '', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': 'a2b8c2b4-c138-40d9-943b-64dccaf69af5', 'ip_version': 4, 'cidr': '49.7.155.128/26', 'allocation_pools': [{'start': '49.7.155.130', 'end': '49.7.155.190'}], 'gateway_ip': '49.7.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.7.155.130', 'tags': [], 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:43,374 - INFO - Created VN ctest-vn-39337630 2025-11-04 22:47:43,426 - DEBUG - VN ctest-vn-39337630 UUID is a2b8c2b4-c138-40d9-943b-64dccaf69af5 2025-11-04 22:47:43,523 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73262412', 'ctest-vmi-45018263']} 2025-11-04 22:47:43,811 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45018263', 'id': '6a06080b-2274-4d7a-a630-cb800cb482f6', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': 'a2b8c2b4-c138-40d9-943b-64dccaf69af5', 'mac_address': '02:6a:06:08:0b:22', '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': '49.7.155.131', 'subnet_id': '7afc2538-c095-4817-8af9-eb9500c4ec0d'}], 'security_groups': ['76fd3b7e-e107-4f7c-a68c-096d80efef64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:43,811 - DEBUG - Created port 6a06080b-2274-4d7a-a630-cb800cb482f6 2025-11-04 22:47:43,914 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6a06080b-2274-4d7a-a630-cb800cb482f6 2025-11-04 22:47:44,206 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6a06080b-2274-4d7a-a630-cb800cb482f6 2025-11-04 22:47:44,243 - INFO - VMI 6a06080b-2274-4d7a-a630-cb800cb482f6 verification in API Server passed 2025-11-04 22:47:44,321 - DEBUG - Response for delete_port : () 2025-11-04 22:47:44,321 - INFO - Deleted port 6a06080b-2274-4d7a-a630-cb800cb482f6 2025-11-04 22:47:44,321 - INFO - Deleting VN ctest-vn-39337630 2025-11-04 22:47:44,415 - DEBUG - Response for deleting network () 2025-11-04 22:47:44,666 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 22:47:44,666 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-04 22:47:44,667 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:47:44,669 - INFO - ================================================================================ 2025-11-04 22:47:44,669 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 22:47:44,669 - 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-04 22:47:44,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-11-04 22:47:44,959 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:47:44,959 - INFO - 2025-11-04 22:47:45,118 - DEBUG - Response for create_network : {'network': {'id': '834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b', 'name': 'ctest-vn1-23497274', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'project_id': '10c4abc237904965aef1c3ddb4e18715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73262412', 'ctest-vn1-23497274'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:47:45,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '758faeb6-e8f6-48f2-917d-704121103c76', 'name': '', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': '834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b', 'ip_version': 4, 'cidr': '117.216.25.192/26', 'allocation_pools': [{'start': '117.216.25.194', 'end': '117.216.25.254'}], 'gateway_ip': '117.216.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.216.25.194', 'tags': [], 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:45,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '78aec864-0ad0-49a7-8ced-c9f907e2e166', 'name': '', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': '834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b', 'ip_version': 4, 'cidr': '222.28.233.64/26', 'allocation_pools': [{'start': '222.28.233.66', 'end': '222.28.233.126'}], 'gateway_ip': '222.28.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.28.233.66', 'tags': [], 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:45,509 - INFO - Created VN ctest-vn1-23497274 2025-11-04 22:47:45,562 - DEBUG - VN ctest-vn1-23497274 UUID is 834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b 2025-11-04 22:47:45,844 - DEBUG - Response for create_port : {'port': {'name': '98b053c8-75b9-4de6-befa-796dbbae5352', 'id': '98b053c8-75b9-4de6-befa-796dbbae5352', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': '834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b', 'mac_address': '02:98:b0:53:c8: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': '117.216.25.197', 'subnet_id': '758faeb6-e8f6-48f2-917d-704121103c76'}], 'security_groups': ['76fd3b7e-e107-4f7c-a68c-096d80efef64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:46,009 - DEBUG - Response for create_port : {'port': {'name': '871a43b2-55a3-4f24-98a2-744633fdefea', 'id': '871a43b2-55a3-4f24-98a2-744633fdefea', 'tenant_id': '10c4abc237904965aef1c3ddb4e18715', 'network_id': '834bcf5d-4e9c-4cce-b0c8-ebb51d6fdc1b', 'mac_address': '02:87:1a:43:b2:55', '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': '222.28.233.69', 'subnet_id': '78aec864-0ad0-49a7-8ced-c9f907e2e166'}], 'security_groups': ['76fd3b7e-e107-4f7c-a68c-096d80efef64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10c4abc237904965aef1c3ddb4e18715'}} 2025-11-04 22:47:46,066 - DEBUG - Services list from nova: [, , ] 2025-11-04 22:47:46,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:47:46,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:47:46,802 - INFO - Waiting for VM ctest-vn1-vm1-25922471 to be up.. 2025-11-04 22:47:46,842 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 22:47:51,910 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:47:51,910 - INFO - VM name : ctest-vn1-vm1-25922471 2025-11-04 22:47:52,113 - DEBUG - VM ctest-vn1-vm1-25922471 ID is 9fd77ddc-3fe3-4472-8344-3a3ff410da8f 2025-11-04 22:47:52,131 - DEBUG - VM ctest-vn1-vm1-25922471 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:47:52,202 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9fd77ddc-3fe3-4472-8344-3a3ff410da8f 2025-11-04 22:47:52,210 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/98b053c8-75b9-4de6-befa-796dbbae5352 2025-11-04 22:47:55,463 - 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 1032ms') 2025-11-04 22:47:55,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25922471 failed! 2025-11-04 22:47:55,518 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73262412:ctest-vn1-23497274 is 117.216.25.193 and allocation pool is NOT set 2025-11-04 22:47:55,519 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73262412:ctest-vn1-23497274 is 222.28.233.65 and allocation pool is NOT set 2025-11-04 22:47:57,575 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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.444/3.669/5.894/2.225 ms') 2025-11-04 22:47:57,575 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25922471 passed 2025-11-04 22:47:57,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:47:57,730 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25922471, IP 117.216.25.197, Port 22 2025-11-04 22:47:57,886 - DEBUG - VM ctest-vn1-vm1-25922471 is ready for SSH connections 2025-11-04 22:47:57,886 - INFO - Waiting for VM ctest-vn1-vm2-53107381 to be up.. 2025-11-04 22:47:57,963 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:47:57,963 - INFO - VM name : ctest-vn1-vm2-53107381 2025-11-04 22:47:58,052 - DEBUG - VM ctest-vn1-vm2-53107381 ID is 7cc42a08-1dc9-4065-b131-ea247800d3eb 2025-11-04 22:47:58,052 - DEBUG - VM ctest-vn1-vm2-53107381 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:47:58,142 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7cc42a08-1dc9-4065-b131-ea247800d3eb 2025-11-04 22:47:58,153 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/871a43b2-55a3-4f24-98a2-744633fdefea 2025-11-04 22:47:59,408 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.566/2.652/1.085 ms') 2025-11-04 22:47:59,408 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53107381 passed 2025-11-04 22:47:59,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:47:59,555 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53107381, IP 222.28.233.69, Port 22 2025-11-04 22:47:59,727 - DEBUG - VM ctest-vn1-vm2-53107381 is ready for SSH connections 2025-11-04 22:47:59,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:47:59,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:47:59,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:47:59,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.216.25.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:47:59,727 - DEBUG - ping -s 56 -c 3 -W 1 117.216.25.197 2025-11-04 22:48:02,694 - DEBUG - PING 117.216.25.197 (117.216.25.197): 56 data bytes 64 bytes from 117.216.25.197: seq=0 ttl=63 time=3.455 ms 64 bytes from 117.216.25.197: seq=1 ttl=63 time=0.941 ms 64 bytes from 117.216.25.197: seq=2 ttl=63 time=1.034 ms --- 117.216.25.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.810/3.455 ms 2025-11-04 22:48:02,695 - INFO - Ping to IP 117.216.25.197 from VM ctest-vn1-vm2-53107381 passed 2025-11-04 22:48:02,695 - INFO - Detaching port 871a43b2-55a3-4f24-98a2-744633fdefea from VM ctest-vn1-vm2-53107381 2025-11-04 22:48:02,758 - INFO - Deleting VM ctest-vn1-vm2-53107381 2025-11-04 22:48:02,843 - INFO - Detaching port 98b053c8-75b9-4de6-befa-796dbbae5352 from VM ctest-vn1-vm1-25922471 2025-11-04 22:48:02,885 - INFO - Deleting VM ctest-vn1-vm1-25922471 2025-11-04 22:48:03,127 - DEBUG - Response for delete_port : () 2025-11-04 22:48:03,270 - DEBUG - Response for delete_port : () 2025-11-04 22:48:03,270 - INFO - Deleting VN ctest-vn1-23497274 2025-11-04 22:48:03,390 - DEBUG - Response for deleting network () 2025-11-04 22:48:03,647 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 22:48:03,647 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-04 22:48:03,647 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:48:04,315 - INFO - Deleted project: ctest-TestPorts-73262412, ID : 10c4abc2-3790-4965-aef1-c3ddb4e18715