2025-10-02 01:49:25,568 - INFO - Domain Default found not creating 2025-10-02 01:49:25,693 - INFO - Project ctest-TestPorts-39676596 not found, creating it 2025-10-02 01:49:26,148 - INFO - Created Project:ctest-TestPorts-39676596, ID : 98e748bf-3cab-4e85-9774-f1c376daf4a0 2025-10-02 01:49:27,519 - INFO - ================================================================================ 2025-10-02 01:49:27,519 - INFO - STARTING TEST : test_ports_bindings 2025-10-02 01:49:27,519 - 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-10-02 01:49:27,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-02 01:49:27,773 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:49:27,773 - INFO - 2025-10-02 01:49:28,271 - DEBUG - Response for create_network : {'network': {'id': '0d5a45d4-6e71-46d9-a6d9-1c27f0408b5c', 'name': 'ctest-vn-06247184', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'project_id': '98e748bf3cab4e859774f1c376daf4a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39676596', 'ctest-vn-06247184'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:49:28,477 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbdbc5c8-5191-4f1c-8f1d-b0ce09dd0cd4', 'name': '', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': '0d5a45d4-6e71-46d9-a6d9-1c27f0408b5c', 'ip_version': 4, 'cidr': '20.103.173.64/26', 'allocation_pools': [{'start': '20.103.173.66', 'end': '20.103.173.126'}], 'gateway_ip': '20.103.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.103.173.66', 'tags': [], 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:28,492 - INFO - Created VN ctest-vn-06247184 2025-10-02 01:49:28,540 - DEBUG - VN ctest-vn-06247184 UUID is 0d5a45d4-6e71-46d9-a6d9-1c27f0408b5c 2025-10-02 01:49:28,634 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39676596', 'ctest-vmi-75386812']} 2025-10-02 01:49:28,903 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75386812', 'id': '06d1fc29-57fa-43ce-a414-ba73ecb047e1', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': '0d5a45d4-6e71-46d9-a6d9-1c27f0408b5c', 'mac_address': '02:06:d1:fc:29:57', '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': '20.103.173.67', 'subnet_id': 'dbdbc5c8-5191-4f1c-8f1d-b0ce09dd0cd4'}], 'security_groups': ['bb522b53-d29e-42fe-bb78-dc19dbf4fb39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:28,904 - DEBUG - Created port 06d1fc29-57fa-43ce-a414-ba73ecb047e1 2025-10-02 01:49:29,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/06d1fc29-57fa-43ce-a414-ba73ecb047e1 2025-10-02 01:49:29,297 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/06d1fc29-57fa-43ce-a414-ba73ecb047e1 2025-10-02 01:49:29,323 - INFO - VMI 06d1fc29-57fa-43ce-a414-ba73ecb047e1 verification in API Server passed 2025-10-02 01:49:29,395 - DEBUG - Response for delete_port : () 2025-10-02 01:49:29,395 - INFO - Deleted port 06d1fc29-57fa-43ce-a414-ba73ecb047e1 2025-10-02 01:49:29,395 - INFO - Deleting VN ctest-vn-06247184 2025-10-02 01:49:29,497 - DEBUG - Response for deleting network () 2025-10-02 01:49:29,753 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:49:29,753 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-02 01:49:29,753 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:49:29,755 - INFO - ================================================================================ 2025-10-02 01:49:29,755 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-02 01:49:29,755 - 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-10-02 01:49:30,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-02 01:49:30,037 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:49:30,037 - INFO - 2025-10-02 01:49:30,227 - DEBUG - Response for create_network : {'network': {'id': 'e7a3d51e-8833-4de8-a9e9-91be22f1e15e', 'name': 'ctest-vn1-59086965', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'project_id': '98e748bf3cab4e859774f1c376daf4a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39676596', 'ctest-vn1-59086965'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:49:30,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '035e4137-d4a0-475c-bb38-32b5717cc2ca', 'name': '', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': 'e7a3d51e-8833-4de8-a9e9-91be22f1e15e', 'ip_version': 4, 'cidr': '25.207.100.128/26', 'allocation_pools': [{'start': '25.207.100.130', 'end': '25.207.100.190'}], 'gateway_ip': '25.207.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.207.100.130', 'tags': [], 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:30,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a7bcb5-94c3-4204-8d7c-8adc911d9f97', 'name': '', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': 'e7a3d51e-8833-4de8-a9e9-91be22f1e15e', 'ip_version': 4, 'cidr': '164.39.13.64/26', 'allocation_pools': [{'start': '164.39.13.66', 'end': '164.39.13.126'}], 'gateway_ip': '164.39.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.39.13.66', 'tags': [], 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:30,635 - INFO - Created VN ctest-vn1-59086965 2025-10-02 01:49:30,684 - DEBUG - VN ctest-vn1-59086965 UUID is e7a3d51e-8833-4de8-a9e9-91be22f1e15e 2025-10-02 01:49:30,944 - DEBUG - Response for create_port : {'port': {'name': '8b308b0d-119f-4453-b66d-8d8ded785cb0', 'id': '8b308b0d-119f-4453-b66d-8d8ded785cb0', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': 'e7a3d51e-8833-4de8-a9e9-91be22f1e15e', 'mac_address': '02:8b:30:8b:0d:11', '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': '25.207.100.133', 'subnet_id': '035e4137-d4a0-475c-bb38-32b5717cc2ca'}], 'security_groups': ['bb522b53-d29e-42fe-bb78-dc19dbf4fb39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:31,092 - DEBUG - Response for create_port : {'port': {'name': 'd83918a1-41a4-4469-942d-6c12431ee2af', 'id': 'd83918a1-41a4-4469-942d-6c12431ee2af', 'tenant_id': '98e748bf3cab4e859774f1c376daf4a0', 'network_id': 'e7a3d51e-8833-4de8-a9e9-91be22f1e15e', 'mac_address': '02:d8:39:18:a1:41', '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': '164.39.13.69', 'subnet_id': '33a7bcb5-94c3-4204-8d7c-8adc911d9f97'}], 'security_groups': ['bb522b53-d29e-42fe-bb78-dc19dbf4fb39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98e748bf3cab4e859774f1c376daf4a0'}} 2025-10-02 01:49:31,140 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:49:31,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:49:31,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:49:31,721 - INFO - Waiting for VM ctest-vn1-vm1-45573760 to be up.. 2025-10-02 01:49:31,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:49:36,817 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:49:36,818 - INFO - VM name : ctest-vn1-vm1-45573760 2025-10-02 01:49:36,880 - DEBUG - VM ctest-vn1-vm1-45573760 ID is 27c5124e-fef4-4c10-9bc8-3057517d9c34 2025-10-02 01:49:36,896 - DEBUG - VM ctest-vn1-vm1-45573760 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:49:36,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27c5124e-fef4-4c10-9bc8-3057517d9c34 2025-10-02 01:49:36,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8b308b0d-119f-4453-b66d-8d8ded785cb0 2025-10-02 01:49:40,226 - 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 1031ms') 2025-10-02 01:49:40,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45573760 failed! 2025-10-02 01:49:40,276 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39676596:ctest-vn1-59086965 is 25.207.100.129 and allocation pool is NOT set 2025-10-02 01:49:40,276 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39676596:ctest-vn1-59086965 is 164.39.13.65 and allocation pool is NOT set 2025-10-02 01:49:42,346 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.737/2.993/4.249/1.256 ms') 2025-10-02 01:49:42,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45573760 passed 2025-10-02 01:49:42,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:49:42,496 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45573760, IP 25.207.100.133, Port 22 2025-10-02 01:49:42,655 - DEBUG - VM ctest-vn1-vm1-45573760 is ready for SSH connections 2025-10-02 01:49:42,655 - INFO - Waiting for VM ctest-vn1-vm2-81354511 to be up.. 2025-10-02 01:49:42,715 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:49:42,716 - INFO - VM name : ctest-vn1-vm2-81354511 2025-10-02 01:49:42,769 - DEBUG - VM ctest-vn1-vm2-81354511 ID is f9634864-2f92-41e0-80ed-fae476bd76af 2025-10-02 01:49:42,769 - DEBUG - VM ctest-vn1-vm2-81354511 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:49:42,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f9634864-2f92-41e0-80ed-fae476bd76af 2025-10-02 01:49:42,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d83918a1-41a4-4469-942d-6c12431ee2af 2025-10-02 01:49:44,060 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.522/2.648/1.125 ms') 2025-10-02 01:49:44,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81354511 passed 2025-10-02 01:49:44,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:49:44,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81354511, IP 164.39.13.69, Port 22 2025-10-02 01:49:44,367 - DEBUG - VM ctest-vn1-vm2-81354511 is ready for SSH connections 2025-10-02 01:49:44,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:49:44,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:49:44,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:49:44,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.207.100.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:49:44,368 - DEBUG - ping -s 56 -c 3 -W 1 25.207.100.133 2025-10-02 01:49:47,269 - DEBUG - PING 25.207.100.133 (25.207.100.133): 56 data bytes 64 bytes from 25.207.100.133: seq=0 ttl=63 time=3.321 ms 64 bytes from 25.207.100.133: seq=1 ttl=63 time=0.749 ms 64 bytes from 25.207.100.133: seq=2 ttl=63 time=0.722 ms --- 25.207.100.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.597/3.321 ms 2025-10-02 01:49:47,269 - INFO - Ping to IP 25.207.100.133 from VM ctest-vn1-vm2-81354511 passed 2025-10-02 01:49:47,269 - INFO - Detaching port d83918a1-41a4-4469-942d-6c12431ee2af from VM ctest-vn1-vm2-81354511 2025-10-02 01:49:47,312 - INFO - Deleting VM ctest-vn1-vm2-81354511 2025-10-02 01:49:47,367 - INFO - Detaching port 8b308b0d-119f-4453-b66d-8d8ded785cb0 from VM ctest-vn1-vm1-45573760 2025-10-02 01:49:47,396 - INFO - Deleting VM ctest-vn1-vm1-45573760 2025-10-02 01:49:47,577 - DEBUG - Response for delete_port : () 2025-10-02 01:49:47,743 - DEBUG - Response for delete_port : () 2025-10-02 01:49:47,743 - INFO - Deleting VN ctest-vn1-59086965 2025-10-02 01:49:47,872 - DEBUG - Response for deleting network () 2025-10-02 01:49:48,124 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:49:48,124 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-02 01:49:48,124 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:49:48,757 - INFO - Deleted project: ctest-TestPorts-39676596, ID : 98e748bf-3cab-4e85-9774-f1c376daf4a0