2025-10-20 16:34:57,901 - INFO - Domain Default found not creating 2025-10-20 16:34:58,039 - INFO - Project ctest-TestPorts-44724588 not found, creating it 2025-10-20 16:34:58,468 - INFO - Created Project:ctest-TestPorts-44724588, ID : b6057f6b-74cd-4d0d-b6f3-ac22f13024da 2025-10-20 16:34:59,922 - INFO - ================================================================================ 2025-10-20 16:34:59,922 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 16:34:59,922 - 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-20 16:35:00,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-20 16:35:00,177 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:35:00,177 - INFO - 2025-10-20 16:35:00,700 - DEBUG - Response for create_network : {'network': {'id': 'fce0e3a6-251b-49a1-b798-7e811686bf4f', 'name': 'ctest-vn-11984838', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44724588', 'ctest-vn-11984838'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:35:00,888 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a27abe29-51db-4415-8cb3-7d10f1dd89d7', 'name': '', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': 'fce0e3a6-251b-49a1-b798-7e811686bf4f', 'ip_version': 4, 'cidr': '168.205.26.128/26', 'allocation_pools': [{'start': '168.205.26.130', 'end': '168.205.26.190'}], 'gateway_ip': '168.205.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.205.26.130', 'tags': [], 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:00,903 - INFO - Created VN ctest-vn-11984838 2025-10-20 16:35:00,951 - DEBUG - VN ctest-vn-11984838 UUID is fce0e3a6-251b-49a1-b798-7e811686bf4f 2025-10-20 16:35:01,051 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44724588', 'ctest-vmi-60405786']} 2025-10-20 16:35:01,328 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60405786', 'id': '75f2d755-940c-494e-8222-3f6b953086e5', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': 'fce0e3a6-251b-49a1-b798-7e811686bf4f', 'mac_address': '02:75:f2:d7:55:94', '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': '168.205.26.131', 'subnet_id': 'a27abe29-51db-4415-8cb3-7d10f1dd89d7'}], 'security_groups': ['e48f2c78-cab8-44c3-ba6b-3637eaf7760a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:01,328 - DEBUG - Created port 75f2d755-940c-494e-8222-3f6b953086e5 2025-10-20 16:35:01,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/75f2d755-940c-494e-8222-3f6b953086e5 2025-10-20 16:35:01,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/75f2d755-940c-494e-8222-3f6b953086e5 2025-10-20 16:35:01,752 - INFO - VMI 75f2d755-940c-494e-8222-3f6b953086e5 verification in API Server passed 2025-10-20 16:35:01,831 - DEBUG - Response for delete_port : () 2025-10-20 16:35:01,831 - INFO - Deleted port 75f2d755-940c-494e-8222-3f6b953086e5 2025-10-20 16:35:01,831 - INFO - Deleting VN ctest-vn-11984838 2025-10-20 16:35:01,930 - DEBUG - Response for deleting network () 2025-10-20 16:35:02,188 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:35:02,188 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-20 16:35:02,188 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:35:02,190 - INFO - ================================================================================ 2025-10-20 16:35:02,190 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 16:35:02,190 - 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-20 16:35:02,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-20 16:35:02,476 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:35:02,476 - INFO - 2025-10-20 16:35:02,631 - DEBUG - Response for create_network : {'network': {'id': '598c27c1-acde-4890-9995-95f5e0f31947', 'name': 'ctest-vn1-06005136', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44724588', 'ctest-vn1-06005136'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:35:02,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6fdf322-8a87-4538-bc44-ce4542196b1b', 'name': '', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': '598c27c1-acde-4890-9995-95f5e0f31947', 'ip_version': 4, 'cidr': '194.177.162.128/26', 'allocation_pools': [{'start': '194.177.162.130', 'end': '194.177.162.190'}], 'gateway_ip': '194.177.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.177.162.130', 'tags': [], 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:03,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adbe5c03-9bf9-4d46-bcde-6e045025f961', 'name': '', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': '598c27c1-acde-4890-9995-95f5e0f31947', 'ip_version': 4, 'cidr': '52.68.129.192/26', 'allocation_pools': [{'start': '52.68.129.194', 'end': '52.68.129.254'}], 'gateway_ip': '52.68.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.68.129.194', 'tags': [], 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:03,025 - INFO - Created VN ctest-vn1-06005136 2025-10-20 16:35:03,075 - DEBUG - VN ctest-vn1-06005136 UUID is 598c27c1-acde-4890-9995-95f5e0f31947 2025-10-20 16:35:03,353 - DEBUG - Response for create_port : {'port': {'name': '4a4fcf68-e471-4834-a639-90bc2b5917ec', 'id': '4a4fcf68-e471-4834-a639-90bc2b5917ec', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': '598c27c1-acde-4890-9995-95f5e0f31947', 'mac_address': '02:4a:4f:cf:68:e4', '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': '194.177.162.133', 'subnet_id': 'f6fdf322-8a87-4538-bc44-ce4542196b1b'}], 'security_groups': ['e48f2c78-cab8-44c3-ba6b-3637eaf7760a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:03,509 - DEBUG - Response for create_port : {'port': {'name': 'cae766b3-8688-4b5a-8336-f62575f0c6c3', 'id': 'cae766b3-8688-4b5a-8336-f62575f0c6c3', 'tenant_id': 'b6057f6b74cd4d0db6f3ac22f13024da', 'network_id': '598c27c1-acde-4890-9995-95f5e0f31947', 'mac_address': '02:ca:e7:66:b3:86', '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': '52.68.129.197', 'subnet_id': 'adbe5c03-9bf9-4d46-bcde-6e045025f961'}], 'security_groups': ['e48f2c78-cab8-44c3-ba6b-3637eaf7760a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6057f6b74cd4d0db6f3ac22f13024da'}} 2025-10-20 16:35:03,561 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:35:03,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:35:04,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:35:04,213 - INFO - Waiting for VM ctest-vn1-vm1-55117326 to be up.. 2025-10-20 16:35:04,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:35:09,439 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:35:09,440 - INFO - VM name : ctest-vn1-vm1-55117326 2025-10-20 16:35:09,512 - DEBUG - VM ctest-vn1-vm1-55117326 ID is 64ecb3ad-28b2-4b2a-a284-43d15a104e3e 2025-10-20 16:35:09,536 - DEBUG - VM ctest-vn1-vm1-55117326 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:35:09,608 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/64ecb3ad-28b2-4b2a-a284-43d15a104e3e 2025-10-20 16:35:09,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4a4fcf68-e471-4834-a639-90bc2b5917ec 2025-10-20 16:35:12,861 - 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 1007ms') 2025-10-20 16:35:12,861 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55117326 failed! 2025-10-20 16:35:12,915 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44724588:ctest-vn1-06005136 is 194.177.162.129 and allocation pool is NOT set 2025-10-20 16:35:12,915 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44724588:ctest-vn1-06005136 is 52.68.129.193 and allocation pool is NOT set 2025-10-20 16:35:14,971 - 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=4.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.816 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 = 0.816/2.532/4.248/1.716 ms') 2025-10-20 16:35:14,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55117326 passed 2025-10-20 16:35:15,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:35:15,123 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55117326, IP 194.177.162.133, Port 22 2025-10-20 16:35:15,275 - DEBUG - VM ctest-vn1-vm1-55117326 is ready for SSH connections 2025-10-20 16:35:15,275 - INFO - Waiting for VM ctest-vn1-vm2-89834055 to be up.. 2025-10-20 16:35:15,344 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:35:15,344 - INFO - VM name : ctest-vn1-vm2-89834055 2025-10-20 16:35:15,406 - DEBUG - VM ctest-vn1-vm2-89834055 ID is 9050131f-0b0e-4f3a-8a92-245c59ba2851 2025-10-20 16:35:15,406 - DEBUG - VM ctest-vn1-vm2-89834055 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:35:15,467 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9050131f-0b0e-4f3a-8a92-245c59ba2851 2025-10-20 16:35:15,473 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cae766b3-8688-4b5a-8336-f62575f0c6c3 2025-10-20 16:35:16,696 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/2.147/3.817/1.669 ms') 2025-10-20 16:35:16,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89834055 passed 2025-10-20 16:35:16,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:35:16,847 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89834055, IP 52.68.129.197, Port 22 2025-10-20 16:35:16,999 - DEBUG - VM ctest-vn1-vm2-89834055 is ready for SSH connections 2025-10-20 16:35:16,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:35:16,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:35:16,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:35:16,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.177.162.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-20 16:35:16,999 - DEBUG - ping -s 56 -c 3 -W 1 194.177.162.133 2025-10-20 16:35:19,917 - DEBUG - PING 194.177.162.133 (194.177.162.133): 56 data bytes 64 bytes from 194.177.162.133: seq=0 ttl=63 time=3.416 ms 64 bytes from 194.177.162.133: seq=1 ttl=63 time=0.728 ms 64 bytes from 194.177.162.133: seq=2 ttl=63 time=0.689 ms --- 194.177.162.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.689/1.611/3.416 ms 2025-10-20 16:35:19,917 - INFO - Ping to IP 194.177.162.133 from VM ctest-vn1-vm2-89834055 passed 2025-10-20 16:35:19,917 - INFO - Detaching port cae766b3-8688-4b5a-8336-f62575f0c6c3 from VM ctest-vn1-vm2-89834055 2025-10-20 16:35:19,966 - INFO - Deleting VM ctest-vn1-vm2-89834055 2025-10-20 16:35:20,023 - INFO - Detaching port 4a4fcf68-e471-4834-a639-90bc2b5917ec from VM ctest-vn1-vm1-55117326 2025-10-20 16:35:20,055 - INFO - Deleting VM ctest-vn1-vm1-55117326 2025-10-20 16:35:20,234 - DEBUG - Response for delete_port : () 2025-10-20 16:35:20,392 - DEBUG - Response for delete_port : () 2025-10-20 16:35:20,392 - INFO - Deleting VN ctest-vn1-06005136 2025-10-20 16:35:20,517 - DEBUG - Response for deleting network () 2025-10-20 16:35:20,781 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:35:20,781 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-20 16:35:20,781 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:35:21,435 - INFO - Deleted project: ctest-TestPorts-44724588, ID : b6057f6b-74cd-4d0d-b6f3-ac22f13024da