2025-11-05 22:29:29,324 - INFO - Domain Default found not creating 2025-11-05 22:29:29,479 - INFO - Project ctest-TestPorts-94210085 not found, creating it 2025-11-05 22:29:29,956 - INFO - Created Project:ctest-TestPorts-94210085, ID : 4dc1d59d-fce7-4806-83de-77bc63901bf8 2025-11-05 22:29:31,389 - INFO - ================================================================================ 2025-11-05 22:29:31,389 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 22:29:31,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-05 22:29:31,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 22:29:31,646 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:29:31,646 - INFO - 2025-11-05 22:29:32,244 - DEBUG - Response for create_network : {'network': {'id': 'b174e598-57d4-48cd-a114-5cee077425d3', 'name': 'ctest-vn-40989658', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'project_id': '4dc1d59dfce7480683de77bc63901bf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94210085', 'ctest-vn-40989658'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:29:32,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '08a29714-82b3-4996-b1dd-3408ac9a5e25', 'name': '', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'b174e598-57d4-48cd-a114-5cee077425d3', 'ip_version': 4, 'cidr': '55.38.146.192/26', 'allocation_pools': [{'start': '55.38.146.194', 'end': '55.38.146.254'}], 'gateway_ip': '55.38.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.38.146.194', 'tags': [], 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:32,426 - INFO - Created VN ctest-vn-40989658 2025-11-05 22:29:32,479 - DEBUG - VN ctest-vn-40989658 UUID is b174e598-57d4-48cd-a114-5cee077425d3 2025-11-05 22:29:32,587 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94210085', 'ctest-vmi-16324810']} 2025-11-05 22:29:32,866 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16324810', 'id': '18d4c733-4abd-4799-9b45-c52cc8d0ddc4', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'b174e598-57d4-48cd-a114-5cee077425d3', 'mac_address': '02:18:d4:c7:33:4a', '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': '55.38.146.195', 'subnet_id': '08a29714-82b3-4996-b1dd-3408ac9a5e25'}], 'security_groups': ['101cec4d-2d5a-4f9d-bc94-e46d612aae9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:32,866 - DEBUG - Created port 18d4c733-4abd-4799-9b45-c52cc8d0ddc4 2025-11-05 22:29:32,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18d4c733-4abd-4799-9b45-c52cc8d0ddc4 2025-11-05 22:29:33,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18d4c733-4abd-4799-9b45-c52cc8d0ddc4 2025-11-05 22:29:33,310 - INFO - VMI 18d4c733-4abd-4799-9b45-c52cc8d0ddc4 verification in API Server passed 2025-11-05 22:29:33,402 - DEBUG - Response for delete_port : () 2025-11-05 22:29:33,402 - INFO - Deleted port 18d4c733-4abd-4799-9b45-c52cc8d0ddc4 2025-11-05 22:29:33,402 - INFO - Deleting VN ctest-vn-40989658 2025-11-05 22:29:33,505 - DEBUG - Response for deleting network () 2025-11-05 22:29:33,768 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:29:33,768 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 22:29:33,768 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:29:33,771 - INFO - ================================================================================ 2025-11-05 22:29:33,771 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 22:29:33,771 - 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-05 22:29:34,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 22:29:34,070 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:29:34,071 - INFO - 2025-11-05 22:29:34,253 - DEBUG - Response for create_network : {'network': {'id': 'e98ae8c2-ed33-4668-9378-5705ac2d81f3', 'name': 'ctest-vn1-27765235', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'project_id': '4dc1d59dfce7480683de77bc63901bf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94210085', 'ctest-vn1-27765235'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:29:34,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '867cf02a-48f7-4bbe-be05-c41c9ec46967', 'name': '', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'e98ae8c2-ed33-4668-9378-5705ac2d81f3', 'ip_version': 4, 'cidr': '30.122.238.0/26', 'allocation_pools': [{'start': '30.122.238.2', 'end': '30.122.238.62'}], 'gateway_ip': '30.122.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.122.238.2', 'tags': [], 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:34,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c1737dc-c43b-4de7-81b2-d45e366d7b73', 'name': '', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'e98ae8c2-ed33-4668-9378-5705ac2d81f3', 'ip_version': 4, 'cidr': '105.113.119.128/26', 'allocation_pools': [{'start': '105.113.119.130', 'end': '105.113.119.190'}], 'gateway_ip': '105.113.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.113.119.130', 'tags': [], 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:34,645 - INFO - Created VN ctest-vn1-27765235 2025-11-05 22:29:34,695 - DEBUG - VN ctest-vn1-27765235 UUID is e98ae8c2-ed33-4668-9378-5705ac2d81f3 2025-11-05 22:29:35,023 - DEBUG - Response for create_port : {'port': {'name': '823cfaa6-df7e-4daf-a84e-807fb4cb5e8e', 'id': '823cfaa6-df7e-4daf-a84e-807fb4cb5e8e', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'e98ae8c2-ed33-4668-9378-5705ac2d81f3', 'mac_address': '02:82:3c:fa:a6:df', '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': '30.122.238.5', 'subnet_id': '867cf02a-48f7-4bbe-be05-c41c9ec46967'}], 'security_groups': ['101cec4d-2d5a-4f9d-bc94-e46d612aae9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:35,209 - DEBUG - Response for create_port : {'port': {'name': '74cd57cd-4b02-4c7e-b4a3-ab1aac503998', 'id': '74cd57cd-4b02-4c7e-b4a3-ab1aac503998', 'tenant_id': '4dc1d59dfce7480683de77bc63901bf8', 'network_id': 'e98ae8c2-ed33-4668-9378-5705ac2d81f3', 'mac_address': '02:74:cd:57:cd:4b', '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': '105.113.119.133', 'subnet_id': '4c1737dc-c43b-4de7-81b2-d45e366d7b73'}], 'security_groups': ['101cec4d-2d5a-4f9d-bc94-e46d612aae9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dc1d59dfce7480683de77bc63901bf8'}} 2025-11-05 22:29:35,265 - DEBUG - Services list from nova: [, , ] 2025-11-05 22:29:35,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1) 2025-11-05 22:29:36,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1) 2025-11-05 22:29:36,000 - INFO - Waiting for VM ctest-vn1-vm1-59481845 to be up.. 2025-11-05 22:29:36,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:29:41,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:29:46,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:29:51,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:29:56,356 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:29:56,356 - INFO - VM name : ctest-vn1-vm1-59481845 2025-11-05 22:29:56,426 - DEBUG - VM ctest-vn1-vm1-59481845 ID is 766a8064-94d3-47e7-8823-8633a893140c 2025-11-05 22:29:56,450 - DEBUG - VM ctest-vn1-vm1-59481845 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1 2025-11-05 22:29:56,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/766a8064-94d3-47e7-8823-8633a893140c 2025-11-05 22:29:56,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/823cfaa6-df7e-4daf-a84e-807fb4cb5e8e 2025-11-05 22:29:59,802 - 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 1035ms') 2025-11-05 22:29:59,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59481845 failed! 2025-11-05 22:29:59,863 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94210085:ctest-vn1-27765235 is 30.122.238.1 and allocation pool is NOT set 2025-11-05 22:29:59,864 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94210085:ctest-vn1-27765235 is 105.113.119.129 and allocation pool is NOT set 2025-11-05 22:30:03,931 - 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 1007ms') 2025-11-05 22:30:03,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59481845 failed! 2025-11-05 22:30:03,988 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94210085:ctest-vn1-27765235 is 30.122.238.1 and allocation pool is NOT set 2025-11-05 22:30:03,988 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94210085:ctest-vn1-27765235 is 105.113.119.129 and allocation pool is NOT set 2025-11-05 22:30:06,058 - 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=5.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.917 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.917/3.325/5.734/2.408 ms') 2025-11-05 22:30:06,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59481845 passed 2025-11-05 22:30:06,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:30:06,212 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59481845, IP 30.122.238.5, Port 22 2025-11-05 22:30:06,367 - DEBUG - VM ctest-vn1-vm1-59481845 is ready for SSH connections 2025-11-05 22:30:06,367 - INFO - Waiting for VM ctest-vn1-vm2-70427000 to be up.. 2025-11-05 22:30:06,443 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:30:06,443 - INFO - VM name : ctest-vn1-vm2-70427000 2025-11-05 22:30:06,516 - DEBUG - VM ctest-vn1-vm2-70427000 ID is 233decbe-bdae-4e72-84a6-1e2f2abc848f 2025-11-05 22:30:06,516 - DEBUG - VM ctest-vn1-vm2-70427000 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1 2025-11-05 22:30:06,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/233decbe-bdae-4e72-84a6-1e2f2abc848f 2025-11-05 22:30:06,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74cd57cd-4b02-4c7e-b4a3-ab1aac503998 2025-11-05 22:30:07,828 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.975/3.522/1.547 ms') 2025-11-05 22:30:07,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70427000 passed 2025-11-05 22:30:07,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:30:07,976 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70427000, IP 105.113.119.133, Port 22 2025-11-05 22:30:08,135 - DEBUG - VM ctest-vn1-vm2-70427000 is ready for SSH connections 2025-11-05 22:30:08,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:30:08,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:30:08,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:30:08,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.122.238.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 22:30:08,135 - DEBUG - ping -s 56 -c 3 -W 1 30.122.238.5 2025-11-05 22:30:10,789 - DEBUG - PING 30.122.238.5 (30.122.238.5): 56 data bytes 64 bytes from 30.122.238.5: seq=0 ttl=63 time=4.400 ms 64 bytes from 30.122.238.5: seq=1 ttl=63 time=0.823 ms 64 bytes from 30.122.238.5: seq=2 ttl=63 time=1.516 ms --- 30.122.238.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.246/4.400 ms 2025-11-05 22:30:10,789 - INFO - Ping to IP 30.122.238.5 from VM ctest-vn1-vm2-70427000 passed 2025-11-05 22:30:10,789 - INFO - Detaching port 74cd57cd-4b02-4c7e-b4a3-ab1aac503998 from VM ctest-vn1-vm2-70427000 2025-11-05 22:30:10,848 - INFO - Deleting VM ctest-vn1-vm2-70427000 2025-11-05 22:30:10,933 - INFO - Detaching port 823cfaa6-df7e-4daf-a84e-807fb4cb5e8e from VM ctest-vn1-vm1-59481845 2025-11-05 22:30:10,972 - INFO - Deleting VM ctest-vn1-vm1-59481845 2025-11-05 22:30:11,215 - DEBUG - Response for delete_port : () 2025-11-05 22:30:11,372 - DEBUG - Response for delete_port : () 2025-11-05 22:30:11,373 - INFO - Deleting VN ctest-vn1-27765235 2025-11-05 22:30:11,505 - DEBUG - Response for deleting network () 2025-11-05 22:30:11,763 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:30:11,763 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:38]
2025-11-05 22:30:11,764 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:30:12,447 - INFO - Deleted project: ctest-TestPorts-94210085, ID : 4dc1d59d-fce7-4806-83de-77bc63901bf8