2025-11-03 12:23:27,418 - INFO - Domain Default found not creating 2025-11-03 12:23:27,572 - INFO - Project ctest-TestPorts-16656905 not found, creating it 2025-11-03 12:23:27,999 - INFO - Created Project:ctest-TestPorts-16656905, ID : 740f8957-c4b2-461d-886b-ab3641ea2111 2025-11-03 12:23:29,345 - INFO - ================================================================================ 2025-11-03 12:23:29,345 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 12:23:29,345 - 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-03 12:23:29,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-03 12:23:29,596 - INFO - Initial checks done. Running the testcase now 2025-11-03 12:23:29,596 - INFO - 2025-11-03 12:23:30,102 - DEBUG - Response for create_network : {'network': {'id': '24ee4c49-afd8-4eab-994b-c32d9eaa2c01', 'name': 'ctest-vn-31205948', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'project_id': '740f8957c4b2461d886bab3641ea2111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16656905', 'ctest-vn-31205948'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:23:30,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '50425ed3-d68a-4009-9b0b-b36a602c64a4', 'name': '', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '24ee4c49-afd8-4eab-994b-c32d9eaa2c01', 'ip_version': 4, 'cidr': '110.233.194.128/26', 'allocation_pools': [{'start': '110.233.194.130', 'end': '110.233.194.190'}], 'gateway_ip': '110.233.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.233.194.130', 'tags': [], 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:30,276 - INFO - Created VN ctest-vn-31205948 2025-11-03 12:23:30,332 - DEBUG - VN ctest-vn-31205948 UUID is 24ee4c49-afd8-4eab-994b-c32d9eaa2c01 2025-11-03 12:23:30,428 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16656905', 'ctest-vmi-82460804']} 2025-11-03 12:23:30,703 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82460804', 'id': 'ae30cc23-97fa-4034-adba-9a56db17a410', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '24ee4c49-afd8-4eab-994b-c32d9eaa2c01', 'mac_address': '02:ae:30:cc:23: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': '110.233.194.131', 'subnet_id': '50425ed3-d68a-4009-9b0b-b36a602c64a4'}], 'security_groups': ['7b2cd4b5-d71c-4e6a-a99c-2517c0e4170b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:30,703 - DEBUG - Created port ae30cc23-97fa-4034-adba-9a56db17a410 2025-11-03 12:23:30,812 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ae30cc23-97fa-4034-adba-9a56db17a410 2025-11-03 12:23:31,121 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ae30cc23-97fa-4034-adba-9a56db17a410 2025-11-03 12:23:31,154 - INFO - VMI ae30cc23-97fa-4034-adba-9a56db17a410 verification in API Server passed 2025-11-03 12:23:31,272 - DEBUG - Response for delete_port : () 2025-11-03 12:23:31,272 - INFO - Deleted port ae30cc23-97fa-4034-adba-9a56db17a410 2025-11-03 12:23:31,272 - INFO - Deleting VN ctest-vn-31205948 2025-11-03 12:23:31,386 - DEBUG - Response for deleting network () 2025-11-03 12:23:31,648 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 12:23:31,648 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 12:23:31,648 - INFO - -------------------------------------------------------------------------------- 2025-11-03 12:23:31,650 - INFO - ================================================================================ 2025-11-03 12:23:31,650 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 12:23:31,650 - 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-03 12:23:31,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-03 12:23:31,940 - INFO - Initial checks done. Running the testcase now 2025-11-03 12:23:31,940 - INFO - 2025-11-03 12:23:32,124 - DEBUG - Response for create_network : {'network': {'id': '5f824a28-c23d-4e71-9d34-e173bfb129ff', 'name': 'ctest-vn1-90916960', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'project_id': '740f8957c4b2461d886bab3641ea2111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16656905', 'ctest-vn1-90916960'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:23:32,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '901b3e92-4116-4291-b390-3d04330385e7', 'name': '', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '5f824a28-c23d-4e71-9d34-e173bfb129ff', 'ip_version': 4, 'cidr': '102.50.238.0/26', 'allocation_pools': [{'start': '102.50.238.2', 'end': '102.50.238.62'}], 'gateway_ip': '102.50.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.50.238.2', 'tags': [], 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:32,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '949d04de-aca5-408d-b075-4c2368f97e45', 'name': '', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '5f824a28-c23d-4e71-9d34-e173bfb129ff', 'ip_version': 4, 'cidr': '45.149.226.64/26', 'allocation_pools': [{'start': '45.149.226.66', 'end': '45.149.226.126'}], 'gateway_ip': '45.149.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.149.226.66', 'tags': [], 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:32,530 - INFO - Created VN ctest-vn1-90916960 2025-11-03 12:23:32,584 - DEBUG - VN ctest-vn1-90916960 UUID is 5f824a28-c23d-4e71-9d34-e173bfb129ff 2025-11-03 12:23:32,889 - DEBUG - Response for create_port : {'port': {'name': 'e61a5f16-10fe-470a-8408-02b9288cea37', 'id': 'e61a5f16-10fe-470a-8408-02b9288cea37', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '5f824a28-c23d-4e71-9d34-e173bfb129ff', 'mac_address': '02:e6:1a:5f:16:10', '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': '102.50.238.5', 'subnet_id': '901b3e92-4116-4291-b390-3d04330385e7'}], 'security_groups': ['7b2cd4b5-d71c-4e6a-a99c-2517c0e4170b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:33,042 - DEBUG - Response for create_port : {'port': {'name': '0110f633-b16f-4b23-83f5-71b91fdcc8c3', 'id': '0110f633-b16f-4b23-83f5-71b91fdcc8c3', 'tenant_id': '740f8957c4b2461d886bab3641ea2111', 'network_id': '5f824a28-c23d-4e71-9d34-e173bfb129ff', 'mac_address': '02:01:10:f6:33:b1', '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': '45.149.226.69', 'subnet_id': '949d04de-aca5-408d-b075-4c2368f97e45'}], 'security_groups': ['7b2cd4b5-d71c-4e6a-a99c-2517c0e4170b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '740f8957c4b2461d886bab3641ea2111'}} 2025-11-03 12:23:33,090 - DEBUG - Services list from nova: [, , ] 2025-11-03 12:23:33,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:23:33,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:23:33,720 - INFO - Waiting for VM ctest-vn1-vm1-77928263 to be up.. 2025-11-03 12:23:33,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 12:23:38,831 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:23:38,831 - INFO - VM name : ctest-vn1-vm1-77928263 2025-11-03 12:23:38,908 - DEBUG - VM ctest-vn1-vm1-77928263 ID is 7dd068d4-6b5b-4172-9849-70e171120698 2025-11-03 12:23:38,925 - DEBUG - VM ctest-vn1-vm1-77928263 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:23:39,001 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7dd068d4-6b5b-4172-9849-70e171120698 2025-11-03 12:23:39,008 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e61a5f16-10fe-470a-8408-02b9288cea37 2025-11-03 12:23:42,279 - 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 1032ms') 2025-11-03 12:23:42,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77928263 failed! 2025-11-03 12:23:42,332 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16656905:ctest-vn1-90916960 is 102.50.238.1 and allocation pool is NOT set 2025-11-03 12:23:42,332 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16656905:ctest-vn1-90916960 is 45.149.226.65 and allocation pool is NOT set 2025-11-03 12:23:44,395 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.340 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.340/1.579/2.818/1.239 ms') 2025-11-03 12:23:44,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77928263 passed 2025-11-03 12:23:44,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:23:44,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77928263, IP 102.50.238.5, Port 22 2025-11-03 12:23:44,695 - DEBUG - VM ctest-vn1-vm1-77928263 is ready for SSH connections 2025-11-03 12:23:44,695 - INFO - Waiting for VM ctest-vn1-vm2-63665727 to be up.. 2025-11-03 12:23:44,897 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:23:44,898 - INFO - VM name : ctest-vn1-vm2-63665727 2025-11-03 12:23:44,965 - DEBUG - VM ctest-vn1-vm2-63665727 ID is 1388c07a-0e4e-4bd3-ad4b-5a664d8003a4 2025-11-03 12:23:44,965 - DEBUG - VM ctest-vn1-vm2-63665727 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:23:45,036 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1388c07a-0e4e-4bd3-ad4b-5a664d8003a4 2025-11-03 12:23:45,044 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0110f633-b16f-4b23-83f5-71b91fdcc8c3 2025-11-03 12:23:46,275 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.806 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.806/2.333/3.860/1.527 ms') 2025-11-03 12:23:46,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63665727 passed 2025-11-03 12:23:46,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:23:46,424 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63665727, IP 45.149.226.69, Port 22 2025-11-03 12:23:46,583 - DEBUG - VM ctest-vn1-vm2-63665727 is ready for SSH connections 2025-11-03 12:23:46,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:23:46,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:23:46,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:23:46,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.50.238.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:23:46,584 - DEBUG - ping -s 56 -c 3 -W 1 102.50.238.5 2025-11-03 12:23:49,567 - DEBUG - PING 102.50.238.5 (102.50.238.5): 56 data bytes 64 bytes from 102.50.238.5: seq=0 ttl=63 time=3.351 ms 64 bytes from 102.50.238.5: seq=1 ttl=63 time=0.792 ms 64 bytes from 102.50.238.5: seq=2 ttl=63 time=0.760 ms --- 102.50.238.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.634/3.351 ms 2025-11-03 12:23:49,568 - INFO - Ping to IP 102.50.238.5 from VM ctest-vn1-vm2-63665727 passed 2025-11-03 12:23:49,568 - INFO - Detaching port 0110f633-b16f-4b23-83f5-71b91fdcc8c3 from VM ctest-vn1-vm2-63665727 2025-11-03 12:23:49,621 - INFO - Deleting VM ctest-vn1-vm2-63665727 2025-11-03 12:23:49,682 - INFO - Detaching port e61a5f16-10fe-470a-8408-02b9288cea37 from VM ctest-vn1-vm1-77928263 2025-11-03 12:23:49,713 - INFO - Deleting VM ctest-vn1-vm1-77928263 2025-11-03 12:23:49,916 - DEBUG - Response for delete_port : () 2025-11-03 12:23:50,059 - DEBUG - Response for delete_port : () 2025-11-03 12:23:50,060 - INFO - Deleting VN ctest-vn1-90916960 2025-11-03 12:23:50,170 - DEBUG - Response for deleting network () 2025-11-03 12:23:50,424 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 12:23:50,424 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-03 12:23:50,424 - INFO - -------------------------------------------------------------------------------- 2025-11-03 12:23:51,068 - INFO - Deleted project: ctest-TestPorts-16656905, ID : 740f8957-c4b2-461d-886b-ab3641ea2111