2025-10-02 02:03:05,099 - INFO - Domain Default found not creating 2025-10-02 02:03:05,243 - INFO - Project ctest-TestPorts-49901620 not found, creating it 2025-10-02 02:03:05,811 - INFO - Created Project:ctest-TestPorts-49901620, ID : 6c9e0552-e5cf-46f9-8866-b35782b65a71 2025-10-02 02:03:07,325 - INFO - ================================================================================ 2025-10-02 02:03:07,326 - INFO - STARTING TEST : test_ports_bindings 2025-10-02 02:03:07,326 - 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 02:03:08,600 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-10-02 02:03:08,600 - INFO - Initial checks done. Running the testcase now 2025-10-02 02:03:08,600 - INFO - 2025-10-02 02:03:09,272 - DEBUG - Response for create_network : {'network': {'id': 'b39a882e-813d-460b-9589-064dc90a0e37', 'name': 'ctest-vn-56137187', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'project_id': '6c9e0552e5cf46f98866b35782b65a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49901620', 'ctest-vn-56137187'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 02:03:09,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e81842c-5402-457b-ae3d-bc29296eb778', 'name': '', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'b39a882e-813d-460b-9589-064dc90a0e37', 'ip_version': 4, 'cidr': '57.84.196.0/26', 'allocation_pools': [{'start': '57.84.196.2', 'end': '57.84.196.62'}], 'gateway_ip': '57.84.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.84.196.2', 'tags': [], 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:09,575 - INFO - Created VN ctest-vn-56137187 2025-10-02 02:03:09,585 - DEBUG - VN ctest-vn-56137187 UUID is b39a882e-813d-460b-9589-064dc90a0e37 2025-10-02 02:03:09,668 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49901620', 'ctest-vmi-20278222']} 2025-10-02 02:03:10,006 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20278222', 'id': 'e78b6519-36a2-43c8-a39f-596ac2c6ec90', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'b39a882e-813d-460b-9589-064dc90a0e37', 'mac_address': '02:e7:8b:65:19:36', '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': '57.84.196.3', 'subnet_id': '4e81842c-5402-457b-ae3d-bc29296eb778'}], 'security_groups': ['bf752fbb-f621-42c7-8b30-59047073ca2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:10,006 - DEBUG - Created port e78b6519-36a2-43c8-a39f-596ac2c6ec90 2025-10-02 02:03:10,122 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/e78b6519-36a2-43c8-a39f-596ac2c6ec90 2025-10-02 02:03:10,422 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/e78b6519-36a2-43c8-a39f-596ac2c6ec90 2025-10-02 02:03:10,452 - INFO - VMI e78b6519-36a2-43c8-a39f-596ac2c6ec90 verification in API Server passed 2025-10-02 02:03:10,589 - DEBUG - Response for delete_port : () 2025-10-02 02:03:10,589 - INFO - Deleted port e78b6519-36a2-43c8-a39f-596ac2c6ec90 2025-10-02 02:03:10,589 - INFO - Deleting VN ctest-vn-56137187 2025-10-02 02:03:10,748 - DEBUG - Response for deleting network () 2025-10-02 02:03:12,014 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 02:03:12,014 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-10-02 02:03:12,014 - INFO - -------------------------------------------------------------------------------- 2025-10-02 02:03:12,016 - INFO - ================================================================================ 2025-10-02 02:03:12,016 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-02 02:03:12,016 - 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 02:03:13,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-10-02 02:03:13,286 - INFO - Initial checks done. Running the testcase now 2025-10-02 02:03:13,286 - INFO - 2025-10-02 02:03:13,543 - DEBUG - Response for create_network : {'network': {'id': 'bea2d5f9-8ebf-472b-bd18-4a7e576a80d9', 'name': 'ctest-vn1-98389512', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'project_id': '6c9e0552e5cf46f98866b35782b65a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49901620', 'ctest-vn1-98389512'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 02:03:13,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e698ad94-fae2-44e0-ae5c-8964e1f0e6a7', 'name': '', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'bea2d5f9-8ebf-472b-bd18-4a7e576a80d9', 'ip_version': 4, 'cidr': '167.84.196.192/26', 'allocation_pools': [{'start': '167.84.196.194', 'end': '167.84.196.254'}], 'gateway_ip': '167.84.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.84.196.194', 'tags': [], 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:13,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f201243-93ed-4173-8e4e-82c442d94b9f', 'name': '', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'bea2d5f9-8ebf-472b-bd18-4a7e576a80d9', 'ip_version': 4, 'cidr': '67.83.246.0/26', 'allocation_pools': [{'start': '67.83.246.2', 'end': '67.83.246.62'}], 'gateway_ip': '67.83.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.83.246.2', 'tags': [], 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:14,022 - INFO - Created VN ctest-vn1-98389512 2025-10-02 02:03:14,035 - DEBUG - VN ctest-vn1-98389512 UUID is bea2d5f9-8ebf-472b-bd18-4a7e576a80d9 2025-10-02 02:03:14,408 - DEBUG - Response for create_port : {'port': {'name': '14a26cf1-e8d0-485d-be3d-4a65326162ab', 'id': '14a26cf1-e8d0-485d-be3d-4a65326162ab', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'bea2d5f9-8ebf-472b-bd18-4a7e576a80d9', 'mac_address': '02:14:a2:6c:f1:e8', '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': '167.84.196.197', 'subnet_id': 'e698ad94-fae2-44e0-ae5c-8964e1f0e6a7'}], 'security_groups': ['bf752fbb-f621-42c7-8b30-59047073ca2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:14,704 - DEBUG - Response for create_port : {'port': {'name': '4d384aea-c942-4433-8e18-bc8f3876a2b8', 'id': '4d384aea-c942-4433-8e18-bc8f3876a2b8', 'tenant_id': '6c9e0552e5cf46f98866b35782b65a71', 'network_id': 'bea2d5f9-8ebf-472b-bd18-4a7e576a80d9', 'mac_address': '02:4d:38:4a:ea:c9', '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': '67.83.246.5', 'subnet_id': '5f201243-93ed-4173-8e4e-82c442d94b9f'}], 'security_groups': ['bf752fbb-f621-42c7-8b30-59047073ca2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6c9e0552e5cf46f98866b35782b65a71'}} 2025-10-02 02:03:14,766 - DEBUG - Services list from nova: [, , , ] 2025-10-02 02:03:15,255 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2) 2025-10-02 02:03:15,779 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-1) 2025-10-02 02:03:15,780 - INFO - Waiting for VM ctest-vn1-vm1-25535274 to be up.. 2025-10-02 02:03:15,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 02:03:20,933 - DEBUG - VM is in ACTIVE state now 2025-10-02 02:03:20,933 - INFO - VM name : ctest-vn1-vm1-25535274 2025-10-02 02:03:21,011 - DEBUG - VM ctest-vn1-vm1-25535274 ID is af68e21f-370b-4ba9-b970-97cc2a3b52dd 2025-10-02 02:03:21,034 - DEBUG - VM ctest-vn1-vm1-25535274 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2 2025-10-02 02:03:21,112 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/af68e21f-370b-4ba9-b970-97cc2a3b52dd 2025-10-02 02:03:21,412 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/af68e21f-370b-4ba9-b970-97cc2a3b52dd 2025-10-02 02:03:21,458 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/14a26cf1-e8d0-485d-be3d-4a65326162ab 2025-10-02 02:03:24,608 - 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 1002ms') 2025-10-02 02:03:24,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25535274 failed! 2025-10-02 02:03:24,622 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49901620:ctest-vn1-98389512 is 167.84.196.193 and allocation pool is NOT set 2025-10-02 02:03:24,622 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49901620:ctest-vn1-98389512 is 67.83.246.1 and allocation pool is NOT set 2025-10-02 02:03:26,682 - 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=17.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.227/9.586/17.945/8.359 ms') 2025-10-02 02:03:26,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25535274 passed 2025-10-02 02:03:26,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:03:26,746 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25535274, IP 167.84.196.197, Port 22 2025-10-02 02:03:26,917 - DEBUG - VM ctest-vn1-vm1-25535274 is ready for SSH connections 2025-10-02 02:03:26,918 - INFO - Waiting for VM ctest-vn1-vm2-65427122 to be up.. 2025-10-02 02:03:27,004 - DEBUG - VM is in ACTIVE state now 2025-10-02 02:03:27,004 - INFO - VM name : ctest-vn1-vm2-65427122 2025-10-02 02:03:27,092 - DEBUG - VM ctest-vn1-vm2-65427122 ID is a216ce19-4394-44b9-88d5-9cf1bdecf927 2025-10-02 02:03:27,092 - DEBUG - VM ctest-vn1-vm2-65427122 launched on Node an-jenkins-deploy-platform-ansible-os-4210-1 2025-10-02 02:03:27,169 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a216ce19-4394-44b9-88d5-9cf1bdecf927 2025-10-02 02:03:27,178 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4d384aea-c942-4433-8e18-bc8f3876a2b8 2025-10-02 02:03:28,325 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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 = 0.467/2.444/4.422/1.977 ms') 2025-10-02 02:03:28,325 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-65427122 passed 2025-10-02 02:03:28,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:03:28,395 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65427122, IP 67.83.246.5, Port 22 2025-10-02 02:03:28,556 - DEBUG - VM ctest-vn1-vm2-65427122 is ready for SSH connections 2025-10-02 02:03:28,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:03:28,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:03:28,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:03:28,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.84.196.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-02 02:03:28,556 - DEBUG - ping -s 56 -c 3 -W 1 167.84.196.197 2025-10-02 02:03:31,455 - DEBUG - PING 167.84.196.197 (167.84.196.197): 56 data bytes 64 bytes from 167.84.196.197: seq=0 ttl=63 time=6.285 ms 64 bytes from 167.84.196.197: seq=1 ttl=63 time=1.135 ms 64 bytes from 167.84.196.197: seq=2 ttl=63 time=1.220 ms --- 167.84.196.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/2.880/6.285 ms 2025-10-02 02:03:31,455 - INFO - Ping to IP 167.84.196.197 from VM ctest-vn1-vm2-65427122 passed 2025-10-02 02:03:31,455 - INFO - Detaching port 4d384aea-c942-4433-8e18-bc8f3876a2b8 from VM ctest-vn1-vm2-65427122 2025-10-02 02:03:31,501 - INFO - Deleting VM ctest-vn1-vm2-65427122 2025-10-02 02:03:31,562 - INFO - Detaching port 14a26cf1-e8d0-485d-be3d-4a65326162ab from VM ctest-vn1-vm1-25535274 2025-10-02 02:03:31,592 - INFO - Deleting VM ctest-vn1-vm1-25535274 2025-10-02 02:03:31,914 - DEBUG - Response for delete_port : () 2025-10-02 02:03:32,252 - DEBUG - Response for delete_port : () 2025-10-02 02:03:32,252 - INFO - Deleting VN ctest-vn1-98389512 2025-10-02 02:03:32,496 - DEBUG - Response for deleting network () 2025-10-02 02:03:33,831 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 02:03:33,832 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-02 02:03:33,832 - INFO - -------------------------------------------------------------------------------- 2025-10-02 02:03:34,544 - INFO - Deleted project: ctest-TestPorts-49901620, ID : 6c9e0552-e5cf-46f9-8866-b35782b65a71