2025-09-27 06:49:24,595 - INFO - Domain Default found not creating 2025-09-27 06:49:24,986 - INFO - Project ctest-TestPorts-96025468 not found, creating it 2025-09-27 06:49:25,738 - INFO - Created Project:ctest-TestPorts-96025468, ID : 15bef501-b8d4-46f2-8741-e5176409af8d 2025-09-27 06:49:27,715 - INFO - ================================================================================ 2025-09-27 06:49:27,716 - INFO - STARTING TEST : test_ports_bindings 2025-09-27 06:49:27,716 - 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-09-27 06:49:28,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-27 06:49:28,015 - INFO - Initial checks done. Running the testcase now 2025-09-27 06:49:28,015 - INFO - 2025-09-27 06:49:28,924 - DEBUG - Response for create_network : {'network': {'id': 'b6441db1-6e0b-4f58-a490-654c763289a4', 'name': 'ctest-vn-79877453', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'project_id': '15bef501b8d446f28741e5176409af8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96025468', 'ctest-vn-79877453'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 06:49:29,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '189decfa-2c6c-4370-b79e-3bde7b26c0ac', 'name': '', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': 'b6441db1-6e0b-4f58-a490-654c763289a4', 'ip_version': 4, 'cidr': '223.248.59.64/26', 'allocation_pools': [{'start': '223.248.59.66', 'end': '223.248.59.126'}], 'gateway_ip': '223.248.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.248.59.66', 'tags': [], 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:29,236 - INFO - Created VN ctest-vn-79877453 2025-09-27 06:49:29,306 - DEBUG - VN ctest-vn-79877453 UUID is b6441db1-6e0b-4f58-a490-654c763289a4 2025-09-27 06:49:29,480 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96025468', 'ctest-vmi-54004946']} 2025-09-27 06:49:29,922 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54004946', 'id': '59a0dd6a-a1d4-4003-ba91-a8bd244c71de', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': 'b6441db1-6e0b-4f58-a490-654c763289a4', 'mac_address': '02:59:a0:dd:6a:a1', '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': '223.248.59.67', 'subnet_id': '189decfa-2c6c-4370-b79e-3bde7b26c0ac'}], 'security_groups': ['ed3e8490-b840-4144-a6c1-f6abeb7e757b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:29,922 - DEBUG - Created port 59a0dd6a-a1d4-4003-ba91-a8bd244c71de 2025-09-27 06:49:30,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/59a0dd6a-a1d4-4003-ba91-a8bd244c71de 2025-09-27 06:49:30,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/59a0dd6a-a1d4-4003-ba91-a8bd244c71de 2025-09-27 06:49:30,445 - INFO - VMI 59a0dd6a-a1d4-4003-ba91-a8bd244c71de verification in API Server passed 2025-09-27 06:49:30,610 - DEBUG - Response for delete_port : () 2025-09-27 06:49:30,610 - INFO - Deleted port 59a0dd6a-a1d4-4003-ba91-a8bd244c71de 2025-09-27 06:49:30,611 - INFO - Deleting VN ctest-vn-79877453 2025-09-27 06:49:30,751 - DEBUG - Response for deleting network () 2025-09-27 06:49:31,040 - DEBUG - No XMPP flaps were noticed during the test 2025-09-27 06:49:31,040 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-09-27 06:49:31,040 - INFO - -------------------------------------------------------------------------------- 2025-09-27 06:49:31,042 - INFO - ================================================================================ 2025-09-27 06:49:31,043 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-27 06:49:31,043 - 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-09-27 06:49:31,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-27 06:49:31,347 - INFO - Initial checks done. Running the testcase now 2025-09-27 06:49:31,348 - INFO - 2025-09-27 06:49:31,618 - DEBUG - Response for create_network : {'network': {'id': '009136d9-8640-45e2-b38c-6629be6e59f7', 'name': 'ctest-vn1-06108369', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'project_id': '15bef501b8d446f28741e5176409af8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96025468', 'ctest-vn1-06108369'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 06:49:31,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b324685-2d54-42e9-a7f8-13bb91478646', 'name': '', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': '009136d9-8640-45e2-b38c-6629be6e59f7', 'ip_version': 4, 'cidr': '126.201.73.0/26', 'allocation_pools': [{'start': '126.201.73.2', 'end': '126.201.73.62'}], 'gateway_ip': '126.201.73.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.201.73.2', 'tags': [], 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:32,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a656aa-8997-442c-b133-2365b1338ef6', 'name': '', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': '009136d9-8640-45e2-b38c-6629be6e59f7', 'ip_version': 4, 'cidr': '149.53.134.128/26', 'allocation_pools': [{'start': '149.53.134.130', 'end': '149.53.134.190'}], 'gateway_ip': '149.53.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.53.134.130', 'tags': [], 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:32,211 - INFO - Created VN ctest-vn1-06108369 2025-09-27 06:49:32,269 - DEBUG - VN ctest-vn1-06108369 UUID is 009136d9-8640-45e2-b38c-6629be6e59f7 2025-09-27 06:49:32,662 - DEBUG - Response for create_port : {'port': {'name': '4cff7af9-3d05-4ccd-ac30-b300cbb10586', 'id': '4cff7af9-3d05-4ccd-ac30-b300cbb10586', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': '009136d9-8640-45e2-b38c-6629be6e59f7', 'mac_address': '02:4c:ff:7a:f9:3d', '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': '126.201.73.5', 'subnet_id': '2b324685-2d54-42e9-a7f8-13bb91478646'}], 'security_groups': ['ed3e8490-b840-4144-a6c1-f6abeb7e757b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:32,839 - DEBUG - Response for create_port : {'port': {'name': '815b00d1-7814-4d16-9268-b123ee179ceb', 'id': '815b00d1-7814-4d16-9268-b123ee179ceb', 'tenant_id': '15bef501b8d446f28741e5176409af8d', 'network_id': '009136d9-8640-45e2-b38c-6629be6e59f7', 'mac_address': '02:81:5b:00:d1:78', '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': '149.53.134.133', 'subnet_id': 'd8a656aa-8997-442c-b133-2365b1338ef6'}], 'security_groups': ['ed3e8490-b840-4144-a6c1-f6abeb7e757b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15bef501b8d446f28741e5176409af8d'}} 2025-09-27 06:49:32,891 - DEBUG - Services list from nova: [, , ] 2025-09-27 06:49:33,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4198-1) 2025-09-27 06:49:34,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4198-1) 2025-09-27 06:49:34,151 - INFO - Waiting for VM ctest-vn1-vm1-82322500 to be up.. 2025-09-27 06:49:34,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-27 06:49:39,370 - DEBUG - VM is in ACTIVE state now 2025-09-27 06:49:39,371 - INFO - VM name : ctest-vn1-vm1-82322500 2025-09-27 06:49:39,486 - DEBUG - VM ctest-vn1-vm1-82322500 ID is 98a4c961-a230-4a3d-b062-c2b36273ee89 2025-09-27 06:49:39,517 - DEBUG - VM ctest-vn1-vm1-82322500 launched on Node cn-jenkins-deploy-platform-ansible-os-4198-1 2025-09-27 06:49:39,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98a4c961-a230-4a3d-b062-c2b36273ee89 2025-09-27 06:49:39,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4cff7af9-3d05-4ccd-ac30-b300cbb10586 2025-09-27 06:49:42,988 - 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 1016ms') 2025-09-27 06:49:42,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82322500 failed! 2025-09-27 06:49:43,050 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96025468:ctest-vn1-06108369 is 126.201.73.1 and allocation pool is NOT set 2025-09-27 06:49:43,050 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96025468:ctest-vn1-06108369 is 149.53.134.129 and allocation pool is NOT set 2025-09-27 06:49:47,140 - 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=17.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 17.913/17.913/17.913/0.000 ms') 2025-09-27 06:49:47,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82322500 passed 2025-09-27 06:49:47,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:49:47,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82322500, IP 126.201.73.5, Port 22 2025-09-27 06:49:47,521 - DEBUG - VM ctest-vn1-vm1-82322500 is ready for SSH connections 2025-09-27 06:49:47,521 - INFO - Waiting for VM ctest-vn1-vm2-68719969 to be up.. 2025-09-27 06:49:47,714 - DEBUG - VM is in ACTIVE state now 2025-09-27 06:49:47,714 - INFO - VM name : ctest-vn1-vm2-68719969 2025-09-27 06:49:47,887 - DEBUG - VM ctest-vn1-vm2-68719969 ID is 91de5177-dc81-46c3-9e56-ec4e4d524a85 2025-09-27 06:49:47,887 - DEBUG - VM ctest-vn1-vm2-68719969 launched on Node cn-jenkins-deploy-platform-ansible-os-4198-1 2025-09-27 06:49:48,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/91de5177-dc81-46c3-9e56-ec4e4d524a85 2025-09-27 06:49:48,031 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/815b00d1-7814-4d16-9268-b123ee179ceb 2025-09-27 06:49:49,361 - 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=8.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.603 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.603/4.786/8.970/4.183 ms') 2025-09-27 06:49:49,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68719969 passed 2025-09-27 06:49:49,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:49:49,546 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68719969, IP 149.53.134.133, Port 22 2025-09-27 06:49:49,735 - DEBUG - VM ctest-vn1-vm2-68719969 is ready for SSH connections 2025-09-27 06:49:49,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:49:49,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:49:49,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:49:49,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.201.73.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-27 06:49:49,736 - DEBUG - ping -s 56 -c 3 -W 1 126.201.73.5 2025-09-27 06:49:52,719 - DEBUG - PING 126.201.73.5 (126.201.73.5): 56 data bytes 64 bytes from 126.201.73.5: seq=0 ttl=63 time=4.335 ms 64 bytes from 126.201.73.5: seq=1 ttl=63 time=1.897 ms 64 bytes from 126.201.73.5: seq=2 ttl=63 time=1.939 ms --- 126.201.73.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.897/2.723/4.335 ms 2025-09-27 06:49:52,719 - INFO - Ping to IP 126.201.73.5 from VM ctest-vn1-vm2-68719969 passed 2025-09-27 06:49:52,720 - INFO - Detaching port 815b00d1-7814-4d16-9268-b123ee179ceb from VM ctest-vn1-vm2-68719969 2025-09-27 06:49:52,846 - INFO - Deleting VM ctest-vn1-vm2-68719969 2025-09-27 06:49:52,967 - INFO - Detaching port 4cff7af9-3d05-4ccd-ac30-b300cbb10586 from VM ctest-vn1-vm1-82322500 2025-09-27 06:49:53,034 - INFO - Deleting VM ctest-vn1-vm1-82322500 2025-09-27 06:49:53,448 - DEBUG - Response for delete_port : () 2025-09-27 06:49:53,613 - DEBUG - Response for delete_port : () 2025-09-27 06:49:53,613 - INFO - Deleting VN ctest-vn1-06108369 2025-09-27 06:49:53,756 - DEBUG - Response for deleting network () 2025-09-27 06:49:54,051 - DEBUG - No XMPP flaps were noticed during the test 2025-09-27 06:49:54,051 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-09-27 06:49:54,052 - INFO - -------------------------------------------------------------------------------- 2025-09-27 06:49:54,931 - INFO - Deleted project: ctest-TestPorts-96025468, ID : 15bef501-b8d4-46f2-8741-e5176409af8d