2025-10-23 01:44:47,951 - INFO - Domain Default found not creating 2025-10-23 01:44:48,129 - INFO - Project ctest-TestPorts-13425656 not found, creating it 2025-10-23 01:44:48,829 - INFO - Created Project:ctest-TestPorts-13425656, ID : 50b7a023-a53b-46ec-8455-1fe93c31eea3 2025-10-23 01:44:50,191 - INFO - ================================================================================ 2025-10-23 01:44:50,191 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 01:44:50,191 - 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-23 01:44:50,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-23 01:44:50,452 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:44:50,452 - INFO - 2025-10-23 01:44:51,002 - DEBUG - Response for create_network : {'network': {'id': 'cf00d0fb-ab59-4010-81d9-e99a68d22901', 'name': 'ctest-vn-09303994', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'project_id': '50b7a023a53b46ec84551fe93c31eea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13425656', 'ctest-vn-09303994'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:44:51,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '551b37c5-7ef8-4356-85a6-f0434f1cd5d3', 'name': '', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': 'cf00d0fb-ab59-4010-81d9-e99a68d22901', 'ip_version': 4, 'cidr': '199.160.186.0/26', 'allocation_pools': [{'start': '199.160.186.2', 'end': '199.160.186.62'}], 'gateway_ip': '199.160.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.160.186.2', 'tags': [], 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:51,200 - INFO - Created VN ctest-vn-09303994 2025-10-23 01:44:51,253 - DEBUG - VN ctest-vn-09303994 UUID is cf00d0fb-ab59-4010-81d9-e99a68d22901 2025-10-23 01:44:51,357 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13425656', 'ctest-vmi-22123368']} 2025-10-23 01:44:51,622 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22123368', 'id': '39686d7b-9701-4bfd-a17c-d59ecc293c28', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': 'cf00d0fb-ab59-4010-81d9-e99a68d22901', 'mac_address': '02:39:68:6d:7b:97', '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': '199.160.186.3', 'subnet_id': '551b37c5-7ef8-4356-85a6-f0434f1cd5d3'}], 'security_groups': ['9f76112b-901c-45b9-85be-5e20b94cc1c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:51,622 - DEBUG - Created port 39686d7b-9701-4bfd-a17c-d59ecc293c28 2025-10-23 01:44:51,729 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/39686d7b-9701-4bfd-a17c-d59ecc293c28 2025-10-23 01:44:52,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/39686d7b-9701-4bfd-a17c-d59ecc293c28 2025-10-23 01:44:52,045 - INFO - VMI 39686d7b-9701-4bfd-a17c-d59ecc293c28 verification in API Server passed 2025-10-23 01:44:52,141 - DEBUG - Response for delete_port : () 2025-10-23 01:44:52,141 - INFO - Deleted port 39686d7b-9701-4bfd-a17c-d59ecc293c28 2025-10-23 01:44:52,141 - INFO - Deleting VN ctest-vn-09303994 2025-10-23 01:44:52,239 - DEBUG - Response for deleting network () 2025-10-23 01:44:52,502 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 01:44:52,502 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 01:44:52,502 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:44:52,504 - INFO - ================================================================================ 2025-10-23 01:44:52,504 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 01:44:52,504 - 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-23 01:44:52,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-23 01:44:52,789 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:44:52,789 - INFO - 2025-10-23 01:44:52,954 - DEBUG - Response for create_network : {'network': {'id': '8af27ea9-315a-4bd2-a538-1911e47339e7', 'name': 'ctest-vn1-83682780', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'project_id': '50b7a023a53b46ec84551fe93c31eea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13425656', 'ctest-vn1-83682780'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:44:53,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '267f5e07-14fb-4ef1-bdad-1b1bbe9e26fa', 'name': '', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': '8af27ea9-315a-4bd2-a538-1911e47339e7', 'ip_version': 4, 'cidr': '49.246.238.128/26', 'allocation_pools': [{'start': '49.246.238.130', 'end': '49.246.238.190'}], 'gateway_ip': '49.246.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.246.238.130', 'tags': [], 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:53,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4a1e0b4-56bd-4843-baf6-53bff0a73acc', 'name': '', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': '8af27ea9-315a-4bd2-a538-1911e47339e7', 'ip_version': 4, 'cidr': '168.85.113.0/26', 'allocation_pools': [{'start': '168.85.113.2', 'end': '168.85.113.62'}], 'gateway_ip': '168.85.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.85.113.2', 'tags': [], 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:53,281 - INFO - Created VN ctest-vn1-83682780 2025-10-23 01:44:53,333 - DEBUG - VN ctest-vn1-83682780 UUID is 8af27ea9-315a-4bd2-a538-1911e47339e7 2025-10-23 01:44:53,608 - DEBUG - Response for create_port : {'port': {'name': '25ece8d3-6815-4a54-8399-f01ffd1574fa', 'id': '25ece8d3-6815-4a54-8399-f01ffd1574fa', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': '8af27ea9-315a-4bd2-a538-1911e47339e7', 'mac_address': '02:25:ec:e8:d3:68', '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.246.238.133', 'subnet_id': '267f5e07-14fb-4ef1-bdad-1b1bbe9e26fa'}], 'security_groups': ['9f76112b-901c-45b9-85be-5e20b94cc1c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:53,766 - DEBUG - Response for create_port : {'port': {'name': '47dc8673-9fa8-4fc4-a169-4c71ba470a0a', 'id': '47dc8673-9fa8-4fc4-a169-4c71ba470a0a', 'tenant_id': '50b7a023a53b46ec84551fe93c31eea3', 'network_id': '8af27ea9-315a-4bd2-a538-1911e47339e7', 'mac_address': '02:47:dc:86:73:9f', '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.85.113.5', 'subnet_id': 'a4a1e0b4-56bd-4843-baf6-53bff0a73acc'}], 'security_groups': ['9f76112b-901c-45b9-85be-5e20b94cc1c7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50b7a023a53b46ec84551fe93c31eea3'}} 2025-10-23 01:44:53,815 - DEBUG - Services list from nova: [, , ] 2025-10-23 01:44:54,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1) 2025-10-23 01:44:54,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1) 2025-10-23 01:44:54,448 - INFO - Waiting for VM ctest-vn1-vm1-82589355 to be up.. 2025-10-23 01:44:54,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 01:44:59,553 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:44:59,553 - INFO - VM name : ctest-vn1-vm1-82589355 2025-10-23 01:44:59,638 - DEBUG - VM ctest-vn1-vm1-82589355 ID is cd3cd1b6-79dc-4337-b26f-89550a291f6b 2025-10-23 01:44:59,659 - DEBUG - VM ctest-vn1-vm1-82589355 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1 2025-10-23 01:44:59,745 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cd3cd1b6-79dc-4337-b26f-89550a291f6b 2025-10-23 01:44:59,753 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/25ece8d3-6815-4a54-8399-f01ffd1574fa 2025-10-23 01:45:03,017 - 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 1027ms') 2025-10-23 01:45:03,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82589355 failed! 2025-10-23 01:45:03,069 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13425656:ctest-vn1-83682780 is 49.246.238.129 and allocation pool is NOT set 2025-10-23 01:45:03,069 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13425656:ctest-vn1-83682780 is 168.85.113.1 and allocation pool is NOT set 2025-10-23 01:45:05,130 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.167/3.245/5.324/2.078 ms') 2025-10-23 01:45:05,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82589355 passed 2025-10-23 01:45:05,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:45:05,285 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82589355, IP 49.246.238.133, Port 22 2025-10-23 01:45:05,455 - DEBUG - VM ctest-vn1-vm1-82589355 is ready for SSH connections 2025-10-23 01:45:05,455 - INFO - Waiting for VM ctest-vn1-vm2-54509373 to be up.. 2025-10-23 01:45:05,549 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:45:05,549 - INFO - VM name : ctest-vn1-vm2-54509373 2025-10-23 01:45:05,623 - DEBUG - VM ctest-vn1-vm2-54509373 ID is 4a295c24-e0ae-4769-8d39-5b716eb88f29 2025-10-23 01:45:05,624 - DEBUG - VM ctest-vn1-vm2-54509373 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1 2025-10-23 01:45:05,824 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4a295c24-e0ae-4769-8d39-5b716eb88f29 2025-10-23 01:45:05,832 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/47dc8673-9fa8-4fc4-a169-4c71ba470a0a 2025-10-23 01:45:07,057 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.798/3.164/1.366 ms') 2025-10-23 01:45:07,057 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54509373 passed 2025-10-23 01:45:07,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:45:07,205 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54509373, IP 168.85.113.5, Port 22 2025-10-23 01:45:07,361 - DEBUG - VM ctest-vn1-vm2-54509373 is ready for SSH connections 2025-10-23 01:45:07,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:45:07,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:45:07,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:45:07,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.246.238.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 01:45:07,361 - DEBUG - ping -s 56 -c 3 -W 1 49.246.238.133 2025-10-23 01:45:10,035 - DEBUG - PING 49.246.238.133 (49.246.238.133): 56 data bytes 64 bytes from 49.246.238.133: seq=0 ttl=63 time=4.611 ms 64 bytes from 49.246.238.133: seq=1 ttl=63 time=0.939 ms 64 bytes from 49.246.238.133: seq=2 ttl=63 time=1.333 ms --- 49.246.238.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.294/4.611 ms 2025-10-23 01:45:10,035 - INFO - Ping to IP 49.246.238.133 from VM ctest-vn1-vm2-54509373 passed 2025-10-23 01:45:10,036 - INFO - Detaching port 47dc8673-9fa8-4fc4-a169-4c71ba470a0a from VM ctest-vn1-vm2-54509373 2025-10-23 01:45:10,087 - INFO - Deleting VM ctest-vn1-vm2-54509373 2025-10-23 01:45:10,157 - INFO - Detaching port 25ece8d3-6815-4a54-8399-f01ffd1574fa from VM ctest-vn1-vm1-82589355 2025-10-23 01:45:10,201 - INFO - Deleting VM ctest-vn1-vm1-82589355 2025-10-23 01:45:10,431 - DEBUG - Response for delete_port : () 2025-10-23 01:45:10,595 - DEBUG - Response for delete_port : () 2025-10-23 01:45:10,595 - INFO - Deleting VN ctest-vn1-83682780 2025-10-23 01:45:10,714 - DEBUG - Response for deleting network () 2025-10-23 01:45:10,971 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 01:45:10,971 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-23 01:45:10,971 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:45:11,662 - INFO - Deleted project: ctest-TestPorts-13425656, ID : 50b7a023-a53b-46ec-8455-1fe93c31eea3