2025-09-25 06:50:07,554 - INFO - Domain Default found not creating 2025-09-25 06:50:07,702 - INFO - Project ctest-TestPorts-36286996 not found, creating it 2025-09-25 06:50:08,148 - INFO - Created Project:ctest-TestPorts-36286996, ID : 0868a261-c32b-4eb8-bf54-1c6d77d1267f 2025-09-25 06:50:09,653 - INFO - ================================================================================ 2025-09-25 06:50:09,653 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 06:50:09,654 - 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-09-25 06:50:09,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 06:50:09,907 - INFO - Initial checks done. Running the testcase now 2025-09-25 06:50:09,907 - INFO - 2025-09-25 06:50:10,469 - DEBUG - Response for create_network : {'network': {'id': 'ea716936-24e2-422c-86e2-f2b320c1afed', 'name': 'ctest-vn-51074968', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'project_id': '0868a261c32b4eb8bf541c6d77d1267f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36286996', 'ctest-vn-51074968'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:50:10,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '14e29622-ada6-4566-8a8f-d71f29a0207b', 'name': '', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': 'ea716936-24e2-422c-86e2-f2b320c1afed', 'ip_version': 4, 'cidr': '139.139.212.192/26', 'allocation_pools': [{'start': '139.139.212.194', 'end': '139.139.212.254'}], 'gateway_ip': '139.139.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.139.212.194', 'tags': [], 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:10,681 - INFO - Created VN ctest-vn-51074968 2025-09-25 06:50:10,733 - DEBUG - VN ctest-vn-51074968 UUID is ea716936-24e2-422c-86e2-f2b320c1afed 2025-09-25 06:50:10,844 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36286996', 'ctest-vmi-38035540']} 2025-09-25 06:50:11,106 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38035540', 'id': '1f1769b9-3cd7-4b35-964b-db1f4c2072a5', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': 'ea716936-24e2-422c-86e2-f2b320c1afed', 'mac_address': '02:1f:17:69:b9:3c', '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': '139.139.212.195', 'subnet_id': '14e29622-ada6-4566-8a8f-d71f29a0207b'}], 'security_groups': ['da026f12-031d-49d4-9911-59cba9e278c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:11,106 - DEBUG - Created port 1f1769b9-3cd7-4b35-964b-db1f4c2072a5 2025-09-25 06:50:11,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1f1769b9-3cd7-4b35-964b-db1f4c2072a5 2025-09-25 06:50:11,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1f1769b9-3cd7-4b35-964b-db1f4c2072a5 2025-09-25 06:50:11,545 - INFO - VMI 1f1769b9-3cd7-4b35-964b-db1f4c2072a5 verification in API Server passed 2025-09-25 06:50:11,654 - DEBUG - Response for delete_port : () 2025-09-25 06:50:11,654 - INFO - Deleted port 1f1769b9-3cd7-4b35-964b-db1f4c2072a5 2025-09-25 06:50:11,654 - INFO - Deleting VN ctest-vn-51074968 2025-09-25 06:50:11,773 - DEBUG - Response for deleting network () 2025-09-25 06:50:12,026 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 06:50:12,026 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-25 06:50:12,026 - INFO - -------------------------------------------------------------------------------- 2025-09-25 06:50:12,029 - INFO - ================================================================================ 2025-09-25 06:50:12,029 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 06:50:12,029 - 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-09-25 06:50:12,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 06:50:12,325 - INFO - Initial checks done. Running the testcase now 2025-09-25 06:50:12,325 - INFO - 2025-09-25 06:50:12,500 - DEBUG - Response for create_network : {'network': {'id': '55f56666-30e5-46a7-b856-5bb190d0a9d0', 'name': 'ctest-vn1-39788200', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'project_id': '0868a261c32b4eb8bf541c6d77d1267f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36286996', 'ctest-vn1-39788200'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:50:12,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5f20335-ffa9-42bb-9a33-a853a2226f22', 'name': '', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': '55f56666-30e5-46a7-b856-5bb190d0a9d0', 'ip_version': 4, 'cidr': '32.31.76.64/26', 'allocation_pools': [{'start': '32.31.76.66', 'end': '32.31.76.126'}], 'gateway_ip': '32.31.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.31.76.66', 'tags': [], 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:12,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ca1b8d8-f01d-4350-a5ec-6b1f7f397ba5', 'name': '', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': '55f56666-30e5-46a7-b856-5bb190d0a9d0', 'ip_version': 4, 'cidr': '114.6.88.64/26', 'allocation_pools': [{'start': '114.6.88.66', 'end': '114.6.88.126'}], 'gateway_ip': '114.6.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.6.88.66', 'tags': [], 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:12,881 - INFO - Created VN ctest-vn1-39788200 2025-09-25 06:50:12,934 - DEBUG - VN ctest-vn1-39788200 UUID is 55f56666-30e5-46a7-b856-5bb190d0a9d0 2025-09-25 06:50:13,226 - DEBUG - Response for create_port : {'port': {'name': 'e67cf856-889b-481f-b2b5-54a690203654', 'id': 'e67cf856-889b-481f-b2b5-54a690203654', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': '55f56666-30e5-46a7-b856-5bb190d0a9d0', 'mac_address': '02:e6:7c:f8:56:88', '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': '32.31.76.69', 'subnet_id': 'a5f20335-ffa9-42bb-9a33-a853a2226f22'}], 'security_groups': ['da026f12-031d-49d4-9911-59cba9e278c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:13,393 - DEBUG - Response for create_port : {'port': {'name': '5fb49491-219d-4d60-9610-89a470ace50b', 'id': '5fb49491-219d-4d60-9610-89a470ace50b', 'tenant_id': '0868a261c32b4eb8bf541c6d77d1267f', 'network_id': '55f56666-30e5-46a7-b856-5bb190d0a9d0', 'mac_address': '02:5f:b4:94:91:21', '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': '114.6.88.69', 'subnet_id': '1ca1b8d8-f01d-4350-a5ec-6b1f7f397ba5'}], 'security_groups': ['da026f12-031d-49d4-9911-59cba9e278c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0868a261c32b4eb8bf541c6d77d1267f'}} 2025-09-25 06:50:13,450 - DEBUG - Services list from nova: [, , ] 2025-09-25 06:50:13,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4190-1) 2025-09-25 06:50:14,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4190-1) 2025-09-25 06:50:14,340 - INFO - Waiting for VM ctest-vn1-vm1-95044558 to be up.. 2025-09-25 06:50:14,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 06:50:19,469 - DEBUG - VM is in ACTIVE state now 2025-09-25 06:50:19,469 - INFO - VM name : ctest-vn1-vm1-95044558 2025-09-25 06:50:19,551 - DEBUG - VM ctest-vn1-vm1-95044558 ID is 3c3539c2-ad2c-4eb0-a2a6-062daf11c254 2025-09-25 06:50:19,574 - DEBUG - VM ctest-vn1-vm1-95044558 launched on Node cn-jenkins-deploy-platform-ansible-os-4190-1 2025-09-25 06:50:19,650 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c3539c2-ad2c-4eb0-a2a6-062daf11c254 2025-09-25 06:50:19,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e67cf856-889b-481f-b2b5-54a690203654 2025-09-25 06:50:22,930 - 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-09-25 06:50:22,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95044558 failed! 2025-09-25 06:50:22,989 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36286996:ctest-vn1-39788200 is 32.31.76.65 and allocation pool is NOT set 2025-09-25 06:50:22,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36286996:ctest-vn1-39788200 is 114.6.88.65 and allocation pool is NOT set 2025-09-25 06:50:25,056 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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.305/3.303/5.302/1.998 ms') 2025-09-25 06:50:25,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95044558 passed 2025-09-25 06:50:25,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:25,206 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95044558, IP 32.31.76.69, Port 22 2025-09-25 06:50:25,271 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-25 06:50:25,354 - DEBUG - VM ctest-vn1-vm1-95044558 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-25 06:50:30,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:30,355 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95044558, IP 32.31.76.69, Port 22 2025-09-25 06:50:30,513 - DEBUG - VM ctest-vn1-vm1-95044558 is ready for SSH connections 2025-09-25 06:50:30,513 - INFO - Waiting for VM ctest-vn1-vm2-08649350 to be up.. 2025-09-25 06:50:30,591 - DEBUG - VM is in ACTIVE state now 2025-09-25 06:50:30,591 - INFO - VM name : ctest-vn1-vm2-08649350 2025-09-25 06:50:30,666 - DEBUG - VM ctest-vn1-vm2-08649350 ID is d7be932c-36d8-4722-aac4-3dbdf87000c3 2025-09-25 06:50:30,667 - DEBUG - VM ctest-vn1-vm2-08649350 launched on Node cn-jenkins-deploy-platform-ansible-os-4190-1 2025-09-25 06:50:30,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7be932c-36d8-4722-aac4-3dbdf87000c3 2025-09-25 06:50:30,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5fb49491-219d-4d60-9610-89a470ace50b 2025-09-25 06:50:31,990 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/2.133/3.711/1.577 ms') 2025-09-25 06:50:31,990 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08649350 passed 2025-09-25 06:50:32,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:32,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08649350, IP 114.6.88.69, Port 22 2025-09-25 06:50:32,293 - DEBUG - VM ctest-vn1-vm2-08649350 is ready for SSH connections 2025-09-25 06:50:32,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:32,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:32,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:50:32,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.31.76.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 06:50:32,294 - DEBUG - ping -s 56 -c 3 -W 1 32.31.76.69 2025-09-25 06:50:35,016 - DEBUG - PING 32.31.76.69 (32.31.76.69): 56 data bytes 64 bytes from 32.31.76.69: seq=0 ttl=63 time=3.820 ms 64 bytes from 32.31.76.69: seq=1 ttl=63 time=0.956 ms 64 bytes from 32.31.76.69: seq=2 ttl=63 time=1.053 ms --- 32.31.76.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/1.943/3.820 ms 2025-09-25 06:50:35,016 - INFO - Ping to IP 32.31.76.69 from VM ctest-vn1-vm2-08649350 passed 2025-09-25 06:50:35,016 - INFO - Detaching port 5fb49491-219d-4d60-9610-89a470ace50b from VM ctest-vn1-vm2-08649350 2025-09-25 06:50:35,071 - INFO - Deleting VM ctest-vn1-vm2-08649350 2025-09-25 06:50:35,139 - INFO - Detaching port e67cf856-889b-481f-b2b5-54a690203654 from VM ctest-vn1-vm1-95044558 2025-09-25 06:50:35,169 - INFO - Deleting VM ctest-vn1-vm1-95044558 2025-09-25 06:50:35,392 - DEBUG - Response for delete_port : () 2025-09-25 06:50:35,577 - DEBUG - Response for delete_port : () 2025-09-25 06:50:35,577 - INFO - Deleting VN ctest-vn1-39788200 2025-09-25 06:50:35,745 - DEBUG - Response for deleting network () 2025-09-25 06:50:36,000 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 06:50:36,000 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-25 06:50:36,000 - INFO - -------------------------------------------------------------------------------- 2025-09-25 06:50:36,673 - INFO - Deleted project: ctest-TestPorts-36286996, ID : 0868a261-c32b-4eb8-bf54-1c6d77d1267f