2025-11-01 21:43:35,528 - INFO - Domain Default found not creating 2025-11-01 21:43:35,672 - INFO - Project ctest-TestPorts-66894145 not found, creating it 2025-11-01 21:43:36,102 - INFO - Created Project:ctest-TestPorts-66894145, ID : 25334305-53ed-453b-a131-251268615d57 2025-11-01 21:43:37,493 - INFO - ================================================================================ 2025-11-01 21:43:37,493 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 21:43:37,493 - 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-01 21:43:37,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 21:43:37,751 - INFO - Initial checks done. Running the testcase now 2025-11-01 21:43:37,751 - INFO - 2025-11-01 21:43:38,282 - DEBUG - Response for create_network : {'network': {'id': 'af43ebbf-c147-4b39-8e72-dfea3ce8e057', 'name': 'ctest-vn-13458873', 'tenant_id': '2533430553ed453ba131251268615d57', 'project_id': '2533430553ed453ba131251268615d57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66894145', 'ctest-vn-13458873'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:43:38,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b069c3b-eb4f-4107-8331-ba1a24dcc870', 'name': '', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': 'af43ebbf-c147-4b39-8e72-dfea3ce8e057', 'ip_version': 4, 'cidr': '35.97.16.0/26', 'allocation_pools': [{'start': '35.97.16.2', 'end': '35.97.16.62'}], 'gateway_ip': '35.97.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.97.16.2', 'tags': [], 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:38,446 - INFO - Created VN ctest-vn-13458873 2025-11-01 21:43:38,497 - DEBUG - VN ctest-vn-13458873 UUID is af43ebbf-c147-4b39-8e72-dfea3ce8e057 2025-11-01 21:43:38,597 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66894145', 'ctest-vmi-56954993']} 2025-11-01 21:43:38,867 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56954993', 'id': 'a83544f2-6839-4864-a7f5-96fe95b4cb82', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': 'af43ebbf-c147-4b39-8e72-dfea3ce8e057', 'mac_address': '02:a8:35:44:f2:68', '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': '35.97.16.3', 'subnet_id': '6b069c3b-eb4f-4107-8331-ba1a24dcc870'}], 'security_groups': ['c4df132d-ffb4-4e07-9261-e623e0bd2199'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:38,867 - DEBUG - Created port a83544f2-6839-4864-a7f5-96fe95b4cb82 2025-11-01 21:43:38,969 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a83544f2-6839-4864-a7f5-96fe95b4cb82 2025-11-01 21:43:39,485 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a83544f2-6839-4864-a7f5-96fe95b4cb82 2025-11-01 21:43:39,525 - INFO - VMI a83544f2-6839-4864-a7f5-96fe95b4cb82 verification in API Server passed 2025-11-01 21:43:39,609 - DEBUG - Response for delete_port : () 2025-11-01 21:43:39,609 - INFO - Deleted port a83544f2-6839-4864-a7f5-96fe95b4cb82 2025-11-01 21:43:39,610 - INFO - Deleting VN ctest-vn-13458873 2025-11-01 21:43:39,718 - DEBUG - Response for deleting network () 2025-11-01 21:43:39,970 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 21:43:39,970 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-01 21:43:39,970 - INFO - -------------------------------------------------------------------------------- 2025-11-01 21:43:39,972 - INFO - ================================================================================ 2025-11-01 21:43:39,972 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 21:43:39,972 - 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-01 21:43:40,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 21:43:40,258 - INFO - Initial checks done. Running the testcase now 2025-11-01 21:43:40,258 - INFO - 2025-11-01 21:43:40,423 - DEBUG - Response for create_network : {'network': {'id': '51b6ad6e-16f7-4109-8fed-acbe48cd3f38', 'name': 'ctest-vn1-80264234', 'tenant_id': '2533430553ed453ba131251268615d57', 'project_id': '2533430553ed453ba131251268615d57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66894145', 'ctest-vn1-80264234'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 21:43:40,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c03c068-5264-41ec-bff7-480b01bfbf32', 'name': '', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': '51b6ad6e-16f7-4109-8fed-acbe48cd3f38', 'ip_version': 4, 'cidr': '122.99.73.64/26', 'allocation_pools': [{'start': '122.99.73.66', 'end': '122.99.73.126'}], 'gateway_ip': '122.99.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.99.73.66', 'tags': [], 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:40,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '00e1a325-244b-43d5-a29e-6845bd24aa7e', 'name': '', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': '51b6ad6e-16f7-4109-8fed-acbe48cd3f38', 'ip_version': 4, 'cidr': '191.75.17.192/26', 'allocation_pools': [{'start': '191.75.17.194', 'end': '191.75.17.254'}], 'gateway_ip': '191.75.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.75.17.194', 'tags': [], 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:40,745 - INFO - Created VN ctest-vn1-80264234 2025-11-01 21:43:40,801 - DEBUG - VN ctest-vn1-80264234 UUID is 51b6ad6e-16f7-4109-8fed-acbe48cd3f38 2025-11-01 21:43:41,080 - DEBUG - Response for create_port : {'port': {'name': '9a766235-d381-44ad-be1e-f696aa839fbf', 'id': '9a766235-d381-44ad-be1e-f696aa839fbf', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': '51b6ad6e-16f7-4109-8fed-acbe48cd3f38', 'mac_address': '02:9a:76:62:35:d3', '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': '122.99.73.69', 'subnet_id': '9c03c068-5264-41ec-bff7-480b01bfbf32'}], 'security_groups': ['c4df132d-ffb4-4e07-9261-e623e0bd2199'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:41,239 - DEBUG - Response for create_port : {'port': {'name': '777e6200-e0d2-4966-815d-eb73a2a22930', 'id': '777e6200-e0d2-4966-815d-eb73a2a22930', 'tenant_id': '2533430553ed453ba131251268615d57', 'network_id': '51b6ad6e-16f7-4109-8fed-acbe48cd3f38', 'mac_address': '02:77:7e:62:00:e0', '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': '191.75.17.197', 'subnet_id': '00e1a325-244b-43d5-a29e-6845bd24aa7e'}], 'security_groups': ['c4df132d-ffb4-4e07-9261-e623e0bd2199'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2533430553ed453ba131251268615d57'}} 2025-11-01 21:43:41,290 - DEBUG - Services list from nova: [, , ] 2025-11-01 21:43:41,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4592-1) 2025-11-01 21:43:42,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4592-1) 2025-11-01 21:43:42,000 - INFO - Waiting for VM ctest-vn1-vm1-13743566 to be up.. 2025-11-01 21:43:42,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 21:43:47,116 - DEBUG - VM is in ACTIVE state now 2025-11-01 21:43:47,116 - INFO - VM name : ctest-vn1-vm1-13743566 2025-11-01 21:43:47,191 - DEBUG - VM ctest-vn1-vm1-13743566 ID is 55cd0057-b48b-4aaa-88ca-9e920a88928a 2025-11-01 21:43:47,211 - DEBUG - VM ctest-vn1-vm1-13743566 launched on Node cn-jenkins-deploy-platform-ansible-os-4592-1 2025-11-01 21:43:47,425 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/55cd0057-b48b-4aaa-88ca-9e920a88928a 2025-11-01 21:43:47,435 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9a766235-d381-44ad-be1e-f696aa839fbf 2025-11-01 21:43:50,687 - 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 1019ms') 2025-11-01 21:43:50,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13743566 failed! 2025-11-01 21:43:50,741 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66894145:ctest-vn1-80264234 is 122.99.73.65 and allocation pool is NOT set 2025-11-01 21:43:50,741 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66894145:ctest-vn1-80264234 is 191.75.17.193 and allocation pool is NOT set 2025-11-01 21:43:52,804 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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 = 1.281/2.920/4.560/1.639 ms') 2025-11-01 21:43:52,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13743566 passed 2025-11-01 21:43:52,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:43:52,954 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13743566, IP 122.99.73.69, Port 22 2025-11-01 21:43:53,123 - DEBUG - VM ctest-vn1-vm1-13743566 is ready for SSH connections 2025-11-01 21:43:53,124 - INFO - Waiting for VM ctest-vn1-vm2-14584613 to be up.. 2025-11-01 21:43:53,201 - DEBUG - VM is in ACTIVE state now 2025-11-01 21:43:53,201 - INFO - VM name : ctest-vn1-vm2-14584613 2025-11-01 21:43:53,273 - DEBUG - VM ctest-vn1-vm2-14584613 ID is a49852ef-e7c4-46d8-a859-ccc0f15cbc23 2025-11-01 21:43:53,274 - DEBUG - VM ctest-vn1-vm2-14584613 launched on Node cn-jenkins-deploy-platform-ansible-os-4592-1 2025-11-01 21:43:53,350 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a49852ef-e7c4-46d8-a859-ccc0f15cbc23 2025-11-01 21:43:53,358 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/777e6200-e0d2-4966-815d-eb73a2a22930 2025-11-01 21:43:54,622 - 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=4.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/2.521/4.622/2.101 ms') 2025-11-01 21:43:54,622 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14584613 passed 2025-11-01 21:43:54,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:43:54,769 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14584613, IP 191.75.17.197, Port 22 2025-11-01 21:43:54,926 - DEBUG - VM ctest-vn1-vm2-14584613 is ready for SSH connections 2025-11-01 21:43:54,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:43:54,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:43:54,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 21:43:54,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.99.73.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-01 21:43:54,927 - DEBUG - ping -s 56 -c 3 -W 1 122.99.73.69 2025-11-01 21:43:57,560 - DEBUG - PING 122.99.73.69 (122.99.73.69): 56 data bytes 64 bytes from 122.99.73.69: seq=0 ttl=63 time=4.088 ms 64 bytes from 122.99.73.69: seq=1 ttl=63 time=0.961 ms 64 bytes from 122.99.73.69: seq=2 ttl=63 time=0.819 ms --- 122.99.73.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.956/4.088 ms 2025-11-01 21:43:57,560 - INFO - Ping to IP 122.99.73.69 from VM ctest-vn1-vm2-14584613 passed 2025-11-01 21:43:57,560 - INFO - Detaching port 777e6200-e0d2-4966-815d-eb73a2a22930 from VM ctest-vn1-vm2-14584613 2025-11-01 21:43:57,607 - INFO - Deleting VM ctest-vn1-vm2-14584613 2025-11-01 21:43:57,668 - INFO - Detaching port 9a766235-d381-44ad-be1e-f696aa839fbf from VM ctest-vn1-vm1-13743566 2025-11-01 21:43:57,699 - INFO - Deleting VM ctest-vn1-vm1-13743566 2025-11-01 21:43:57,902 - DEBUG - Response for delete_port : () 2025-11-01 21:43:58,069 - DEBUG - Response for delete_port : () 2025-11-01 21:43:58,070 - INFO - Deleting VN ctest-vn1-80264234 2025-11-01 21:43:58,192 - DEBUG - Response for deleting network () 2025-11-01 21:43:58,455 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 21:43:58,455 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-01 21:43:58,455 - INFO - -------------------------------------------------------------------------------- 2025-11-01 21:43:59,118 - INFO - Deleted project: ctest-TestPorts-66894145, ID : 25334305-53ed-453b-a131-251268615d57