2025-11-10 18:50:10,393 - INFO - Domain Default found not creating 2025-11-10 18:50:10,547 - INFO - Project ctest-TestPorts-40080045 not found, creating it 2025-11-10 18:50:10,986 - INFO - Created Project:ctest-TestPorts-40080045, ID : 351894dd-f462-445d-ad1e-a1f0cad5ebfe 2025-11-10 18:50:12,388 - INFO - ================================================================================ 2025-11-10 18:50:12,388 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 18:50:12,389 - 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-10 18:50:12,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2025-11-10 18:50:12,649 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:50:12,649 - INFO - 2025-11-10 18:50:13,243 - DEBUG - Response for create_network : {'network': {'id': '175ebeda-6d8d-4480-be4f-8e6a806344f1', 'name': 'ctest-vn-95224737', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'project_id': '351894ddf462445dad1ea1f0cad5ebfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40080045', 'ctest-vn-95224737'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:50:13,406 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0a99fdf-37ed-44ad-aedf-f5b778d20b40', 'name': '', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '175ebeda-6d8d-4480-be4f-8e6a806344f1', 'ip_version': 4, 'cidr': '101.229.21.128/26', 'allocation_pools': [{'start': '101.229.21.130', 'end': '101.229.21.190'}], 'gateway_ip': '101.229.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.229.21.130', 'tags': [], 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:13,429 - INFO - Created VN ctest-vn-95224737 2025-11-10 18:50:13,482 - DEBUG - VN ctest-vn-95224737 UUID is 175ebeda-6d8d-4480-be4f-8e6a806344f1 2025-11-10 18:50:13,587 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40080045', 'ctest-vmi-71665666']} 2025-11-10 18:50:13,866 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71665666', 'id': 'f45509d8-e025-4cc1-b357-c29a778dc80f', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '175ebeda-6d8d-4480-be4f-8e6a806344f1', 'mac_address': '02:f4:55:09:d8:e0', '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': '101.229.21.131', 'subnet_id': 'e0a99fdf-37ed-44ad-aedf-f5b778d20b40'}], 'security_groups': ['8d032cd4-6e91-468a-8549-7b5b2bc51218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:13,867 - DEBUG - Created port f45509d8-e025-4cc1-b357-c29a778dc80f 2025-11-10 18:50:13,974 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f45509d8-e025-4cc1-b357-c29a778dc80f 2025-11-10 18:50:14,265 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f45509d8-e025-4cc1-b357-c29a778dc80f 2025-11-10 18:50:14,301 - INFO - VMI f45509d8-e025-4cc1-b357-c29a778dc80f verification in API Server passed 2025-11-10 18:50:14,377 - DEBUG - Response for delete_port : () 2025-11-10 18:50:14,378 - INFO - Deleted port f45509d8-e025-4cc1-b357-c29a778dc80f 2025-11-10 18:50:14,378 - INFO - Deleting VN ctest-vn-95224737 2025-11-10 18:50:14,477 - DEBUG - Response for deleting network () 2025-11-10 18:50:14,735 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:50:14,735 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-10 18:50:14,735 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:50:14,738 - INFO - ================================================================================ 2025-11-10 18:50:14,738 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 18:50:14,738 - 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-10 18:50:15,023 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2025-11-10 18:50:15,023 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:50:15,023 - INFO - 2025-11-10 18:50:15,193 - DEBUG - Response for create_network : {'network': {'id': '42f474f2-6d12-4789-bca5-444b815ecbf0', 'name': 'ctest-vn1-70798006', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'project_id': '351894ddf462445dad1ea1f0cad5ebfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40080045', 'ctest-vn1-70798006'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:50:15,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '09ad3c2c-941d-4f28-8509-193f769ac359', 'name': '', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '42f474f2-6d12-4789-bca5-444b815ecbf0', 'ip_version': 4, 'cidr': '66.33.210.64/26', 'allocation_pools': [{'start': '66.33.210.66', 'end': '66.33.210.126'}], 'gateway_ip': '66.33.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.33.210.66', 'tags': [], 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:15,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '65a1c7c4-a43a-498b-9778-06a72fa6fba7', 'name': '', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '42f474f2-6d12-4789-bca5-444b815ecbf0', 'ip_version': 4, 'cidr': '128.172.203.0/26', 'allocation_pools': [{'start': '128.172.203.2', 'end': '128.172.203.62'}], 'gateway_ip': '128.172.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.172.203.2', 'tags': [], 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:15,542 - INFO - Created VN ctest-vn1-70798006 2025-11-10 18:50:15,594 - DEBUG - VN ctest-vn1-70798006 UUID is 42f474f2-6d12-4789-bca5-444b815ecbf0 2025-11-10 18:50:15,882 - DEBUG - Response for create_port : {'port': {'name': '5049d821-2bbd-4271-91a1-247657f9475a', 'id': '5049d821-2bbd-4271-91a1-247657f9475a', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '42f474f2-6d12-4789-bca5-444b815ecbf0', 'mac_address': '02:50:49:d8:21:2b', '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': '66.33.210.69', 'subnet_id': '09ad3c2c-941d-4f28-8509-193f769ac359'}], 'security_groups': ['8d032cd4-6e91-468a-8549-7b5b2bc51218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:16,042 - DEBUG - Response for create_port : {'port': {'name': '96181c10-e57b-44cb-9d5b-d9b85f0c4bbe', 'id': '96181c10-e57b-44cb-9d5b-d9b85f0c4bbe', 'tenant_id': '351894ddf462445dad1ea1f0cad5ebfe', 'network_id': '42f474f2-6d12-4789-bca5-444b815ecbf0', 'mac_address': '02:96:18:1c:10:e5', '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': '128.172.203.5', 'subnet_id': '65a1c7c4-a43a-498b-9778-06a72fa6fba7'}], 'security_groups': ['8d032cd4-6e91-468a-8549-7b5b2bc51218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '351894ddf462445dad1ea1f0cad5ebfe'}} 2025-11-10 18:50:16,107 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:50:16,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:50:16,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:50:16,795 - INFO - Waiting for VM ctest-vn1-vm1-20949281 to be up.. 2025-11-10 18:50:16,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:50:21,904 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:21,904 - INFO - VM name : ctest-vn1-vm1-20949281 2025-11-10 18:50:21,978 - DEBUG - VM ctest-vn1-vm1-20949281 ID is 3cbd1a59-f207-4e31-ad27-9399170f791a 2025-11-10 18:50:22,010 - DEBUG - VM ctest-vn1-vm1-20949281 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:50:22,094 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3cbd1a59-f207-4e31-ad27-9399170f791a 2025-11-10 18:50:22,103 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5049d821-2bbd-4271-91a1-247657f9475a 2025-11-10 18:50:25,359 - 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 1026ms') 2025-11-10 18:50:25,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20949281 failed! 2025-11-10 18:50:25,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40080045:ctest-vn1-70798006 is 66.33.210.65 and allocation pool is NOT set 2025-11-10 18:50:25,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40080045:ctest-vn1-70798006 is 128.172.203.1 and allocation pool is NOT set 2025-11-10 18:50:27,481 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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 = 2.397/3.661/4.925/1.264 ms') 2025-11-10 18:50:27,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20949281 passed 2025-11-10 18:50:27,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:27,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20949281, IP 66.33.210.69, Port 22 2025-11-10 18:50:27,789 - DEBUG - VM ctest-vn1-vm1-20949281 is ready for SSH connections 2025-11-10 18:50:27,789 - INFO - Waiting for VM ctest-vn1-vm2-33108392 to be up.. 2025-11-10 18:50:27,866 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:27,866 - INFO - VM name : ctest-vn1-vm2-33108392 2025-11-10 18:50:27,952 - DEBUG - VM ctest-vn1-vm2-33108392 ID is f3f2da68-64da-4656-b765-9e1a4d84b1f8 2025-11-10 18:50:27,952 - DEBUG - VM ctest-vn1-vm2-33108392 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:50:28,022 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f3f2da68-64da-4656-b765-9e1a4d84b1f8 2025-11-10 18:50:28,029 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/96181c10-e57b-44cb-9d5b-d9b85f0c4bbe 2025-11-10 18:50:29,270 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.846/3.250/1.403 ms') 2025-11-10 18:50:29,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33108392 passed 2025-11-10 18:50:29,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:29,418 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33108392, IP 128.172.203.5, Port 22 2025-11-10 18:50:29,574 - DEBUG - VM ctest-vn1-vm2-33108392 is ready for SSH connections 2025-11-10 18:50:29,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:29,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:29,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:29,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.33.210.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-10 18:50:29,574 - DEBUG - ping -s 56 -c 3 -W 1 66.33.210.69 2025-11-10 18:50:32,215 - DEBUG - PING 66.33.210.69 (66.33.210.69): 56 data bytes 64 bytes from 66.33.210.69: seq=0 ttl=63 time=3.733 ms 64 bytes from 66.33.210.69: seq=1 ttl=63 time=0.806 ms 64 bytes from 66.33.210.69: seq=2 ttl=63 time=0.886 ms --- 66.33.210.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.808/3.733 ms 2025-11-10 18:50:32,215 - INFO - Ping to IP 66.33.210.69 from VM ctest-vn1-vm2-33108392 passed 2025-11-10 18:50:32,215 - INFO - Detaching port 96181c10-e57b-44cb-9d5b-d9b85f0c4bbe from VM ctest-vn1-vm2-33108392 2025-11-10 18:50:32,262 - INFO - Deleting VM ctest-vn1-vm2-33108392 2025-11-10 18:50:32,330 - INFO - Detaching port 5049d821-2bbd-4271-91a1-247657f9475a from VM ctest-vn1-vm1-20949281 2025-11-10 18:50:32,361 - INFO - Deleting VM ctest-vn1-vm1-20949281 2025-11-10 18:50:32,603 - DEBUG - Response for delete_port : () 2025-11-10 18:50:32,756 - DEBUG - Response for delete_port : () 2025-11-10 18:50:32,756 - INFO - Deleting VN ctest-vn1-70798006 2025-11-10 18:50:32,895 - DEBUG - Response for deleting network () 2025-11-10 18:50:33,150 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:50:33,150 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-10 18:50:33,151 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:50:33,802 - INFO - Deleted project: ctest-TestPorts-40080045, ID : 351894dd-f462-445d-ad1e-a1f0cad5ebfe