2025-08-08 00:36:31,208 - INFO - Domain Default found not creating 2025-08-08 00:36:31,367 - INFO - Project ctest-TestPorts-00733065 not found, creating it 2025-08-08 00:36:31,850 - INFO - Created Project:ctest-TestPorts-00733065, ID : e7589502-b54c-497e-bb95-b786ecf68ec0 2025-08-08 00:36:33,405 - INFO - ================================================================================ 2025-08-08 00:36:33,405 - INFO - STARTING TEST : test_ports_bindings 2025-08-08 00:36:33,406 - 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-08 00:36:33,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 00:36:33,667 - INFO - Initial checks done. Running the testcase now 2025-08-08 00:36:33,667 - INFO - 2025-08-08 00:36:34,283 - DEBUG - Response for create_network : {'network': {'id': 'c9b4681d-282b-473b-97d4-adcf267ad85d', 'name': 'ctest-vn-89406694', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'project_id': 'e7589502b54c497ebb95b786ecf68ec0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00733065', 'ctest-vn-89406694'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:36:34,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b27f69a-19fd-42a2-89ae-7ea387f79536', 'name': '', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': 'c9b4681d-282b-473b-97d4-adcf267ad85d', 'ip_version': 4, 'cidr': '1.235.236.192/26', 'allocation_pools': [{'start': '1.235.236.194', 'end': '1.235.236.254'}], 'gateway_ip': '1.235.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.235.236.194', 'tags': [], 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:34,490 - INFO - Created VN ctest-vn-89406694 2025-08-08 00:36:34,544 - DEBUG - VN ctest-vn-89406694 UUID is c9b4681d-282b-473b-97d4-adcf267ad85d 2025-08-08 00:36:34,651 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00733065', 'ctest-vmi-66836225']} 2025-08-08 00:36:34,911 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66836225', 'id': 'fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': 'c9b4681d-282b-473b-97d4-adcf267ad85d', 'mac_address': '02:fc:9b:3e:4b:15', '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': '1.235.236.195', 'subnet_id': '9b27f69a-19fd-42a2-89ae-7ea387f79536'}], 'security_groups': ['8100b886-6400-4f7e-960f-7229adbb46a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:34,911 - DEBUG - Created port fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e 2025-08-08 00:36:35,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e 2025-08-08 00:36:35,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e 2025-08-08 00:36:35,358 - INFO - VMI fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e verification in API Server passed 2025-08-08 00:36:35,464 - DEBUG - Response for delete_port : () 2025-08-08 00:36:35,464 - INFO - Deleted port fc9b3e4b-15d7-4e2e-bde0-c0dd8b7fc40e 2025-08-08 00:36:35,464 - INFO - Deleting VN ctest-vn-89406694 2025-08-08 00:36:35,584 - DEBUG - Response for deleting network () 2025-08-08 00:36:35,838 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 00:36:35,838 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-08 00:36:35,838 - INFO - -------------------------------------------------------------------------------- 2025-08-08 00:36:35,841 - INFO - ================================================================================ 2025-08-08 00:36:35,841 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-08 00:36:35,841 - 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-08 00:36:36,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 00:36:36,128 - INFO - Initial checks done. Running the testcase now 2025-08-08 00:36:36,128 - INFO - 2025-08-08 00:36:36,343 - DEBUG - Response for create_network : {'network': {'id': '0db726ea-ffdd-4a05-a808-0905e7cdf8ab', 'name': 'ctest-vn1-23468923', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'project_id': 'e7589502b54c497ebb95b786ecf68ec0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00733065', 'ctest-vn1-23468923'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:36:36,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af3b9a99-5cc9-4b99-8dc3-43a3ac364274', 'name': '', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': '0db726ea-ffdd-4a05-a808-0905e7cdf8ab', 'ip_version': 4, 'cidr': '75.176.161.0/26', 'allocation_pools': [{'start': '75.176.161.2', 'end': '75.176.161.62'}], 'gateway_ip': '75.176.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.176.161.2', 'tags': [], 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:36,695 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2cc5f2b-5a2b-4088-9833-dd70465cab35', 'name': '', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': '0db726ea-ffdd-4a05-a808-0905e7cdf8ab', 'ip_version': 4, 'cidr': '39.127.157.128/26', 'allocation_pools': [{'start': '39.127.157.130', 'end': '39.127.157.190'}], 'gateway_ip': '39.127.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.127.157.130', 'tags': [], 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:36,716 - INFO - Created VN ctest-vn1-23468923 2025-08-08 00:36:36,772 - DEBUG - VN ctest-vn1-23468923 UUID is 0db726ea-ffdd-4a05-a808-0905e7cdf8ab 2025-08-08 00:36:37,118 - DEBUG - Response for create_port : {'port': {'name': '2e5c164f-4a3d-43cc-9670-58640c9fb702', 'id': '2e5c164f-4a3d-43cc-9670-58640c9fb702', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': '0db726ea-ffdd-4a05-a808-0905e7cdf8ab', 'mac_address': '02:2e:5c:16:4f:4a', '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': '75.176.161.5', 'subnet_id': 'af3b9a99-5cc9-4b99-8dc3-43a3ac364274'}], 'security_groups': ['8100b886-6400-4f7e-960f-7229adbb46a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:37,304 - DEBUG - Response for create_port : {'port': {'name': 'ceba2879-ed9c-497e-8a24-160c8eeb3ca5', 'id': 'ceba2879-ed9c-497e-8a24-160c8eeb3ca5', 'tenant_id': 'e7589502b54c497ebb95b786ecf68ec0', 'network_id': '0db726ea-ffdd-4a05-a808-0905e7cdf8ab', 'mac_address': '02:ce:ba:28:79:ed', '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': '39.127.157.133', 'subnet_id': 'd2cc5f2b-5a2b-4088-9833-dd70465cab35'}], 'security_groups': ['8100b886-6400-4f7e-960f-7229adbb46a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e7589502b54c497ebb95b786ecf68ec0'}} 2025-08-08 00:36:37,367 - DEBUG - Services list from nova: [, , ] 2025-08-08 00:36:37,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:36:38,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:36:38,127 - INFO - Waiting for VM ctest-vn1-vm1-81607291 to be up.. 2025-08-08 00:36:38,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:36:43,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:36:48,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:36:53,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:36:58,513 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:36:58,513 - INFO - VM name : ctest-vn1-vm1-81607291 2025-08-08 00:36:58,602 - DEBUG - VM ctest-vn1-vm1-81607291 ID is acec77ef-0aec-4b02-b006-4695944fa1c2 2025-08-08 00:36:58,624 - DEBUG - VM ctest-vn1-vm1-81607291 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:36:58,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/acec77ef-0aec-4b02-b006-4695944fa1c2 2025-08-08 00:36:58,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e5c164f-4a3d-43cc-9670-58640c9fb702 2025-08-08 00:37:01,986 - 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 1022ms') 2025-08-08 00:37:01,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81607291 failed! 2025-08-08 00:37:02,048 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00733065:ctest-vn1-23468923 is 75.176.161.1 and allocation pool is NOT set 2025-08-08 00:37:02,057 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00733065:ctest-vn1-23468923 is 39.127.157.129 and allocation pool is NOT set 2025-08-08 00:37:06,150 - 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=7.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 7.133/7.133/7.133/0.000 ms') 2025-08-08 00:37:06,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81607291 passed 2025-08-08 00:37:06,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:06,308 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81607291, IP 75.176.161.5, Port 22 2025-08-08 00:37:06,474 - DEBUG - VM ctest-vn1-vm1-81607291 is ready for SSH connections 2025-08-08 00:37:06,474 - INFO - Waiting for VM ctest-vn1-vm2-96732589 to be up.. 2025-08-08 00:37:06,563 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:37:06,563 - INFO - VM name : ctest-vn1-vm2-96732589 2025-08-08 00:37:06,642 - DEBUG - VM ctest-vn1-vm2-96732589 ID is ce8be6c7-65d9-4289-a6b3-737dae06e70f 2025-08-08 00:37:06,642 - DEBUG - VM ctest-vn1-vm2-96732589 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:37:06,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce8be6c7-65d9-4289-a6b3-737dae06e70f 2025-08-08 00:37:06,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ceba2879-ed9c-497e-8a24-160c8eeb3ca5 2025-08-08 00:37:07,971 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.544/2.740/1.195 ms') 2025-08-08 00:37:07,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96732589 passed 2025-08-08 00:37:08,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:08,140 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96732589, IP 39.127.157.133, Port 22 2025-08-08 00:37:08,296 - DEBUG - VM ctest-vn1-vm2-96732589 is ready for SSH connections 2025-08-08 00:37:08,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:08,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:08,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:08,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.176.161.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:37:08,296 - DEBUG - ping -s 56 -c 3 -W 1 75.176.161.5 2025-08-08 00:37:10,932 - DEBUG - PING 75.176.161.5 (75.176.161.5): 56 data bytes 64 bytes from 75.176.161.5: seq=0 ttl=63 time=4.805 ms 64 bytes from 75.176.161.5: seq=1 ttl=63 time=1.011 ms 64 bytes from 75.176.161.5: seq=2 ttl=63 time=1.129 ms --- 75.176.161.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/2.315/4.805 ms 2025-08-08 00:37:10,933 - INFO - Ping to IP 75.176.161.5 from VM ctest-vn1-vm2-96732589 passed 2025-08-08 00:37:10,933 - INFO - Detaching port ceba2879-ed9c-497e-8a24-160c8eeb3ca5 from VM ctest-vn1-vm2-96732589 2025-08-08 00:37:11,001 - INFO - Deleting VM ctest-vn1-vm2-96732589 2025-08-08 00:37:11,091 - INFO - Detaching port 2e5c164f-4a3d-43cc-9670-58640c9fb702 from VM ctest-vn1-vm1-81607291 2025-08-08 00:37:11,126 - INFO - Deleting VM ctest-vn1-vm1-81607291 2025-08-08 00:37:11,400 - DEBUG - Response for delete_port : () 2025-08-08 00:37:11,588 - DEBUG - Response for delete_port : () 2025-08-08 00:37:11,589 - INFO - Deleting VN ctest-vn1-23468923 2025-08-08 00:37:11,793 - DEBUG - Response for deleting network () 2025-08-08 00:37:12,050 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 00:37:12,050 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:37] 2025-08-08 00:37:12,050 - INFO - -------------------------------------------------------------------------------- 2025-08-08 00:37:12,760 - INFO - Deleted project: ctest-TestPorts-00733065, ID : e7589502-b54c-497e-bb95-b786ecf68ec0