2025-07-22 17:40:46,879 - INFO - Domain Default found not creating 2025-07-22 17:40:47,010 - INFO - Project ctest-TestPorts-72585555 not found, creating it 2025-07-22 17:40:47,459 - INFO - Created Project:ctest-TestPorts-72585555, ID : 9346679e-fe05-4220-a97f-9a1605af6c11 2025-07-22 17:40:48,855 - INFO - ================================================================================ 2025-07-22 17:40:48,856 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 17:40:48,856 - 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-07-22 17:40:49,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.129': '0'}} with 2025-07-22 17:40:49,118 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:40:49,118 - INFO - 2025-07-22 17:40:49,643 - DEBUG - Response for create_network : {'network': {'id': '0143b24e-85c6-415b-abe7-93f0ca5068b5', 'name': 'ctest-vn-87335247', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'project_id': '9346679efe054220a97f9a1605af6c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72585555', 'ctest-vn-87335247'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:40:49,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1a09b78-2f7d-4103-99e1-c85345005e60', 'name': '', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': '0143b24e-85c6-415b-abe7-93f0ca5068b5', 'ip_version': 4, 'cidr': '109.247.13.64/26', 'allocation_pools': [{'start': '109.247.13.66', 'end': '109.247.13.126'}], 'gateway_ip': '109.247.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.247.13.66', 'tags': [], 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:49,891 - INFO - Created VN ctest-vn-87335247 2025-07-22 17:40:49,945 - DEBUG - VN ctest-vn-87335247 UUID is 0143b24e-85c6-415b-abe7-93f0ca5068b5 2025-07-22 17:40:50,053 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72585555', 'ctest-vmi-75044287']} 2025-07-22 17:40:50,287 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75044287', 'id': 'f6eb59f3-dd04-485e-9b8f-3b6b41126ce2', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': '0143b24e-85c6-415b-abe7-93f0ca5068b5', 'mac_address': '02:f6:eb:59:f3:dd', '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': '109.247.13.67', 'subnet_id': 'd1a09b78-2f7d-4103-99e1-c85345005e60'}], 'security_groups': ['397efcd1-bd8f-4e83-8d79-287ba6501fe1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:50,287 - DEBUG - Created port f6eb59f3-dd04-485e-9b8f-3b6b41126ce2 2025-07-22 17:40:50,393 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f6eb59f3-dd04-485e-9b8f-3b6b41126ce2 2025-07-22 17:40:50,682 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f6eb59f3-dd04-485e-9b8f-3b6b41126ce2 2025-07-22 17:40:50,714 - INFO - VMI f6eb59f3-dd04-485e-9b8f-3b6b41126ce2 verification in API Server passed 2025-07-22 17:40:50,821 - DEBUG - Response for delete_port : () 2025-07-22 17:40:50,821 - INFO - Deleted port f6eb59f3-dd04-485e-9b8f-3b6b41126ce2 2025-07-22 17:40:50,821 - INFO - Deleting VN ctest-vn-87335247 2025-07-22 17:40:50,943 - DEBUG - Response for deleting network () 2025-07-22 17:40:51,199 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 17:40:51,199 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-07-22 17:40:51,199 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:40:51,202 - INFO - ================================================================================ 2025-07-22 17:40:51,202 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 17:40:51,202 - 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-07-22 17:40:51,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.129': '0'}} with 2025-07-22 17:40:51,493 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:40:51,493 - INFO - 2025-07-22 17:40:51,689 - DEBUG - Response for create_network : {'network': {'id': 'b10220c3-81f9-4545-b4c7-db6a502a53a2', 'name': 'ctest-vn1-93127063', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'project_id': '9346679efe054220a97f9a1605af6c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72585555', 'ctest-vn1-93127063'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:40:51,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '36b99466-0d44-4a4c-92f9-30e51af59064', 'name': '', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': 'b10220c3-81f9-4545-b4c7-db6a502a53a2', 'ip_version': 4, 'cidr': '50.146.69.128/26', 'allocation_pools': [{'start': '50.146.69.130', 'end': '50.146.69.190'}], 'gateway_ip': '50.146.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.146.69.130', 'tags': [], 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:52,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f30c8829-f1eb-4c3a-af88-1618099c7ab7', 'name': '', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': 'b10220c3-81f9-4545-b4c7-db6a502a53a2', 'ip_version': 4, 'cidr': '188.211.20.128/26', 'allocation_pools': [{'start': '188.211.20.130', 'end': '188.211.20.190'}], 'gateway_ip': '188.211.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.211.20.130', 'tags': [], 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:52,111 - INFO - Created VN ctest-vn1-93127063 2025-07-22 17:40:52,165 - DEBUG - VN ctest-vn1-93127063 UUID is b10220c3-81f9-4545-b4c7-db6a502a53a2 2025-07-22 17:40:52,474 - DEBUG - Response for create_port : {'port': {'name': 'cf70e99a-9084-45c7-b1b2-fc1e5ab5bf99', 'id': 'cf70e99a-9084-45c7-b1b2-fc1e5ab5bf99', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': 'b10220c3-81f9-4545-b4c7-db6a502a53a2', 'mac_address': '02:cf:70:e9:9a:90', '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': '50.146.69.133', 'subnet_id': '36b99466-0d44-4a4c-92f9-30e51af59064'}], 'security_groups': ['397efcd1-bd8f-4e83-8d79-287ba6501fe1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:52,640 - DEBUG - Response for create_port : {'port': {'name': '63a820db-3f96-438f-b2f3-bb4d9f0c7046', 'id': '63a820db-3f96-438f-b2f3-bb4d9f0c7046', 'tenant_id': '9346679efe054220a97f9a1605af6c11', 'network_id': 'b10220c3-81f9-4545-b4c7-db6a502a53a2', 'mac_address': '02:63:a8:20:db:3f', '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': '188.211.20.133', 'subnet_id': 'f30c8829-f1eb-4c3a-af88-1618099c7ab7'}], 'security_groups': ['397efcd1-bd8f-4e83-8d79-287ba6501fe1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9346679efe054220a97f9a1605af6c11'}} 2025-07-22 17:40:52,693 - DEBUG - Services list from nova: [, , ] 2025-07-22 17:40:53,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3694-1) 2025-07-22 17:40:53,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3694-1) 2025-07-22 17:40:53,426 - INFO - Waiting for VM ctest-vn1-vm1-76725071 to be up.. 2025-07-22 17:40:53,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 17:40:58,538 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:40:58,538 - INFO - VM name : ctest-vn1-vm1-76725071 2025-07-22 17:40:58,607 - DEBUG - VM ctest-vn1-vm1-76725071 ID is 14c0cb34-c000-4853-8e94-1400b7dcd528 2025-07-22 17:40:58,625 - DEBUG - VM ctest-vn1-vm1-76725071 launched on Node cn-jenkins-deploy-platform-ansible-os-3694-1 2025-07-22 17:40:58,703 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/14c0cb34-c000-4853-8e94-1400b7dcd528 2025-07-22 17:40:58,712 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/cf70e99a-9084-45c7-b1b2-fc1e5ab5bf99 2025-07-22 17:41:01,967 - 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 1020ms') 2025-07-22 17:41:01,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76725071 failed! 2025-07-22 17:41:02,025 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72585555:ctest-vn1-93127063 is 50.146.69.129 and allocation pool is NOT set 2025-07-22 17:41:02,025 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72585555:ctest-vn1-93127063 is 188.211.20.129 and allocation pool is NOT set 2025-07-22 17:41:04,082 - 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=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.731 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 = 0.731/2.142/3.553/1.411 ms') 2025-07-22 17:41:04,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76725071 passed 2025-07-22 17:41:04,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:41:04,241 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76725071, IP 50.146.69.133, Port 22 2025-07-22 17:41:04,396 - DEBUG - VM ctest-vn1-vm1-76725071 is ready for SSH connections 2025-07-22 17:41:04,396 - INFO - Waiting for VM ctest-vn1-vm2-17511916 to be up.. 2025-07-22 17:41:04,479 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:41:04,479 - INFO - VM name : ctest-vn1-vm2-17511916 2025-07-22 17:41:04,551 - DEBUG - VM ctest-vn1-vm2-17511916 ID is 8c873fa4-3790-46be-9a3a-e820e8ecc2ea 2025-07-22 17:41:04,551 - DEBUG - VM ctest-vn1-vm2-17511916 launched on Node cn-jenkins-deploy-platform-ansible-os-3694-1 2025-07-22 17:41:04,621 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8c873fa4-3790-46be-9a3a-e820e8ecc2ea 2025-07-22 17:41:04,630 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/63a820db-3f96-438f-b2f3-bb4d9f0c7046 2025-07-22 17:41:05,918 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.615/2.754/1.138 ms') 2025-07-22 17:41:05,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17511916 passed 2025-07-22 17:41:06,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:41:06,073 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17511916, IP 188.211.20.133, Port 22 2025-07-22 17:41:06,229 - DEBUG - VM ctest-vn1-vm2-17511916 is ready for SSH connections 2025-07-22 17:41:06,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:41:06,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:41:06,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:41:06,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.146.69.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-07-22 17:41:06,229 - DEBUG - ping -s 56 -c 3 -W 1 50.146.69.133 2025-07-22 17:41:08,891 - DEBUG - PING 50.146.69.133 (50.146.69.133): 56 data bytes 64 bytes from 50.146.69.133: seq=0 ttl=63 time=4.190 ms 64 bytes from 50.146.69.133: seq=1 ttl=63 time=0.893 ms 64 bytes from 50.146.69.133: seq=2 ttl=63 time=0.772 ms --- 50.146.69.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.951/4.190 ms 2025-07-22 17:41:08,891 - INFO - Ping to IP 50.146.69.133 from VM ctest-vn1-vm2-17511916 passed 2025-07-22 17:41:08,891 - INFO - Detaching port 63a820db-3f96-438f-b2f3-bb4d9f0c7046 from VM ctest-vn1-vm2-17511916 2025-07-22 17:41:08,940 - INFO - Deleting VM ctest-vn1-vm2-17511916 2025-07-22 17:41:09,007 - INFO - Detaching port cf70e99a-9084-45c7-b1b2-fc1e5ab5bf99 from VM ctest-vn1-vm1-76725071 2025-07-22 17:41:09,044 - INFO - Deleting VM ctest-vn1-vm1-76725071 2025-07-22 17:41:09,283 - DEBUG - Response for delete_port : () 2025-07-22 17:41:09,511 - DEBUG - Response for delete_port : () 2025-07-22 17:41:09,511 - INFO - Deleting VN ctest-vn1-93127063 2025-07-22 17:41:09,675 - DEBUG - Response for deleting network () 2025-07-22 17:41:09,938 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 17:41:09,938 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-07-22 17:41:09,938 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:41:10,631 - INFO - Deleted project: ctest-TestPorts-72585555, ID : 9346679e-fe05-4220-a97f-9a1605af6c11