2025-12-11 16:52:06,354 - INFO - Domain Default found not creating 2025-12-11 16:52:06,545 - INFO - Project ctest-TestPorts-11402382 not found, creating it 2025-12-11 16:52:07,028 - INFO - Created Project:ctest-TestPorts-11402382, ID : 147ab3e9-7343-4735-bef7-d908761eae8c 2025-12-11 16:52:08,683 - INFO - ================================================================================ 2025-12-11 16:52:08,683 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 16:52:08,683 - 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-12-11 16:52:08,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 16:52:08,940 - INFO - Initial checks done. Running the testcase now 2025-12-11 16:52:08,941 - INFO - 2025-12-11 16:52:09,553 - DEBUG - Response for create_network : {'network': {'id': '51b99fde-0710-48fa-b5bf-a2d2591158e8', 'name': 'ctest-vn-97133552', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'project_id': '147ab3e973434735bef7d908761eae8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11402382', 'ctest-vn-97133552'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:52:09,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '25fb16fa-b274-478b-bf42-a765d3d44b83', 'name': '', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '51b99fde-0710-48fa-b5bf-a2d2591158e8', 'ip_version': 4, 'cidr': '213.154.190.64/26', 'allocation_pools': [{'start': '213.154.190.66', 'end': '213.154.190.126'}], 'gateway_ip': '213.154.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.154.190.66', 'tags': [], 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:09,755 - INFO - Created VN ctest-vn-97133552 2025-12-11 16:52:09,810 - DEBUG - VN ctest-vn-97133552 UUID is 51b99fde-0710-48fa-b5bf-a2d2591158e8 2025-12-11 16:52:09,923 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11402382', 'ctest-vmi-16785285']} 2025-12-11 16:52:10,180 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16785285', 'id': 'db7cc9ee-73c8-4ca7-9890-cde915201062', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '51b99fde-0710-48fa-b5bf-a2d2591158e8', 'mac_address': '02:db:7c:c9:ee:73', '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': '213.154.190.67', 'subnet_id': '25fb16fa-b274-478b-bf42-a765d3d44b83'}], 'security_groups': ['8826ea77-3742-4ca8-9e37-717e336e6681'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:10,180 - DEBUG - Created port db7cc9ee-73c8-4ca7-9890-cde915201062 2025-12-11 16:52:10,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db7cc9ee-73c8-4ca7-9890-cde915201062 2025-12-11 16:52:10,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db7cc9ee-73c8-4ca7-9890-cde915201062 2025-12-11 16:52:10,638 - INFO - VMI db7cc9ee-73c8-4ca7-9890-cde915201062 verification in API Server passed 2025-12-11 16:52:10,740 - DEBUG - Response for delete_port : () 2025-12-11 16:52:10,740 - INFO - Deleted port db7cc9ee-73c8-4ca7-9890-cde915201062 2025-12-11 16:52:10,740 - INFO - Deleting VN ctest-vn-97133552 2025-12-11 16:52:10,851 - DEBUG - Response for deleting network () 2025-12-11 16:52:11,106 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 16:52:11,106 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-11 16:52:11,106 - INFO - -------------------------------------------------------------------------------- 2025-12-11 16:52:11,109 - INFO - ================================================================================ 2025-12-11 16:52:11,109 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 16:52:11,109 - 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-12-11 16:52:11,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 16:52:11,396 - INFO - Initial checks done. Running the testcase now 2025-12-11 16:52:11,397 - INFO - 2025-12-11 16:52:11,581 - DEBUG - Response for create_network : {'network': {'id': '96392d35-f742-4d60-a69e-2d167f44a883', 'name': 'ctest-vn1-65993129', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'project_id': '147ab3e973434735bef7d908761eae8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11402382', 'ctest-vn1-65993129'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 16:52:11,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cb0a035-b7b2-427f-9fa3-d71a419692ce', 'name': '', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '96392d35-f742-4d60-a69e-2d167f44a883', 'ip_version': 4, 'cidr': '108.25.79.0/26', 'allocation_pools': [{'start': '108.25.79.2', 'end': '108.25.79.62'}], 'gateway_ip': '108.25.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.25.79.2', 'tags': [], 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:11,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '85056aa6-b3bc-4e67-bcd7-0d18eb36c166', 'name': '', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '96392d35-f742-4d60-a69e-2d167f44a883', 'ip_version': 4, 'cidr': '57.175.210.192/26', 'allocation_pools': [{'start': '57.175.210.194', 'end': '57.175.210.254'}], 'gateway_ip': '57.175.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.175.210.194', 'tags': [], 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:11,996 - INFO - Created VN ctest-vn1-65993129 2025-12-11 16:52:12,049 - DEBUG - VN ctest-vn1-65993129 UUID is 96392d35-f742-4d60-a69e-2d167f44a883 2025-12-11 16:52:12,359 - DEBUG - Response for create_port : {'port': {'name': 'c69db0d2-c875-4a1e-a349-86610ca3dd7a', 'id': 'c69db0d2-c875-4a1e-a349-86610ca3dd7a', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '96392d35-f742-4d60-a69e-2d167f44a883', 'mac_address': '02:c6:9d:b0:d2:c8', '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': '108.25.79.5', 'subnet_id': '8cb0a035-b7b2-427f-9fa3-d71a419692ce'}], 'security_groups': ['8826ea77-3742-4ca8-9e37-717e336e6681'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:12,535 - DEBUG - Response for create_port : {'port': {'name': 'dc464575-6268-4cbe-9bc1-b08d4f1e9746', 'id': 'dc464575-6268-4cbe-9bc1-b08d4f1e9746', 'tenant_id': '147ab3e973434735bef7d908761eae8c', 'network_id': '96392d35-f742-4d60-a69e-2d167f44a883', 'mac_address': '02:dc:46:45:75:62', '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.175.210.197', 'subnet_id': '85056aa6-b3bc-4e67-bcd7-0d18eb36c166'}], 'security_groups': ['8826ea77-3742-4ca8-9e37-717e336e6681'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '147ab3e973434735bef7d908761eae8c'}} 2025-12-11 16:52:12,595 - DEBUG - Services list from nova: [, , ] 2025-12-11 16:52:12,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4886-1) 2025-12-11 16:52:13,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4886-1) 2025-12-11 16:52:13,404 - INFO - Waiting for VM ctest-vn1-vm1-17514256 to be up.. 2025-12-11 16:52:13,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 16:52:18,525 - DEBUG - VM is in ACTIVE state now 2025-12-11 16:52:18,525 - INFO - VM name : ctest-vn1-vm1-17514256 2025-12-11 16:52:18,610 - DEBUG - VM ctest-vn1-vm1-17514256 ID is 407f79a8-8b9d-4ea0-9393-0b23f1cb942b 2025-12-11 16:52:18,639 - DEBUG - VM ctest-vn1-vm1-17514256 launched on Node cn-jenkins-deploy-platform-ansible-os-4886-1 2025-12-11 16:52:18,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/407f79a8-8b9d-4ea0-9393-0b23f1cb942b 2025-12-11 16:52:18,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c69db0d2-c875-4a1e-a349-86610ca3dd7a 2025-12-11 16:52:22,014 - 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 1022ms') 2025-12-11 16:52:22,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17514256 failed! 2025-12-11 16:52:22,074 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11402382:ctest-vn1-65993129 is 108.25.79.1 and allocation pool is NOT set 2025-12-11 16:52:22,074 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11402382:ctest-vn1-65993129 is 57.175.210.193 and allocation pool is NOT set 2025-12-11 16:52:26,135 - 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=2 ttl=63 time=5.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 5.533/5.533/5.533/0.000 ms') 2025-12-11 16:52:26,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17514256 passed 2025-12-11 16:52:26,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:52:26,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17514256, IP 108.25.79.5, Port 22 2025-12-11 16:52:26,445 - DEBUG - VM ctest-vn1-vm1-17514256 is ready for SSH connections 2025-12-11 16:52:26,445 - INFO - Waiting for VM ctest-vn1-vm2-24257438 to be up.. 2025-12-11 16:52:26,540 - DEBUG - VM is in ACTIVE state now 2025-12-11 16:52:26,540 - INFO - VM name : ctest-vn1-vm2-24257438 2025-12-11 16:52:26,619 - DEBUG - VM ctest-vn1-vm2-24257438 ID is d10b3303-9954-4e30-ba87-349ed15a8624 2025-12-11 16:52:26,620 - DEBUG - VM ctest-vn1-vm2-24257438 launched on Node cn-jenkins-deploy-platform-ansible-os-4886-1 2025-12-11 16:52:26,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d10b3303-9954-4e30-ba87-349ed15a8624 2025-12-11 16:52:26,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dc464575-6268-4cbe-9bc1-b08d4f1e9746 2025-12-11 16:52:27,962 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.82 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 = 1.817/3.410/5.003/1.593 ms') 2025-12-11 16:52:27,962 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24257438 passed 2025-12-11 16:52:28,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:52:28,122 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24257438, IP 57.175.210.197, Port 22 2025-12-11 16:52:28,282 - DEBUG - VM ctest-vn1-vm2-24257438 is ready for SSH connections 2025-12-11 16:52:28,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:52:28,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:52:28,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 16:52:28,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.25.79.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 16:52:28,283 - DEBUG - ping -s 56 -c 3 -W 1 108.25.79.5 2025-12-11 16:52:30,990 - DEBUG - PING 108.25.79.5 (108.25.79.5): 56 data bytes 64 bytes from 108.25.79.5: seq=0 ttl=63 time=5.231 ms 64 bytes from 108.25.79.5: seq=1 ttl=63 time=0.940 ms 64 bytes from 108.25.79.5: seq=2 ttl=63 time=0.926 ms --- 108.25.79.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/2.365/5.231 ms 2025-12-11 16:52:30,990 - INFO - Ping to IP 108.25.79.5 from VM ctest-vn1-vm2-24257438 passed 2025-12-11 16:52:30,991 - INFO - Detaching port dc464575-6268-4cbe-9bc1-b08d4f1e9746 from VM ctest-vn1-vm2-24257438 2025-12-11 16:52:31,042 - INFO - Deleting VM ctest-vn1-vm2-24257438 2025-12-11 16:52:31,122 - INFO - Detaching port c69db0d2-c875-4a1e-a349-86610ca3dd7a from VM ctest-vn1-vm1-17514256 2025-12-11 16:52:31,167 - INFO - Deleting VM ctest-vn1-vm1-17514256 2025-12-11 16:52:31,438 - DEBUG - Response for delete_port : () 2025-12-11 16:52:31,611 - DEBUG - Response for delete_port : () 2025-12-11 16:52:31,611 - INFO - Deleting VN ctest-vn1-65993129 2025-12-11 16:52:31,761 - DEBUG - Response for deleting network () 2025-12-11 16:52:32,023 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 16:52:32,024 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-11 16:52:32,024 - INFO - -------------------------------------------------------------------------------- 2025-12-11 16:52:32,774 - INFO - Deleted project: ctest-TestPorts-11402382, ID : 147ab3e9-7343-4735-bef7-d908761eae8c