2025-07-22 11:27:37,672 - INFO - Domain Default found not creating 2025-07-22 11:27:37,827 - INFO - Project ctest-TestPorts-47413152 not found, creating it 2025-07-22 11:27:38,320 - INFO - Created Project:ctest-TestPorts-47413152, ID : 58d4bfee-4acc-4bf3-a78d-8d2069be3437 2025-07-22 11:27:40,448 - INFO - ================================================================================ 2025-07-22 11:27:40,448 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 11:27:40,448 - 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-07-22 11:27:40,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with 2025-07-22 11:27:40,711 - INFO - Initial checks done. Running the testcase now 2025-07-22 11:27:40,711 - INFO - 2025-07-22 11:27:41,283 - DEBUG - Response for create_network : {'network': {'id': '12187ec4-2943-45ac-9bc5-331da6ce0eeb', 'name': 'ctest-vn-05239270', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47413152', 'ctest-vn-05239270'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:27:41,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6e8e625-7bb1-485b-98c6-873e65e76fe8', 'name': '', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': '12187ec4-2943-45ac-9bc5-331da6ce0eeb', 'ip_version': 4, 'cidr': '90.143.148.0/26', 'allocation_pools': [{'start': '90.143.148.2', 'end': '90.143.148.62'}], 'gateway_ip': '90.143.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.143.148.2', 'tags': [], 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:41,516 - INFO - Created VN ctest-vn-05239270 2025-07-22 11:27:41,569 - DEBUG - VN ctest-vn-05239270 UUID is 12187ec4-2943-45ac-9bc5-331da6ce0eeb 2025-07-22 11:27:41,683 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47413152', 'ctest-vmi-04222180']} 2025-07-22 11:27:41,928 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04222180', 'id': 'c6762c89-7f8d-474d-9ae8-a895b9b99c02', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': '12187ec4-2943-45ac-9bc5-331da6ce0eeb', 'mac_address': '02:c6:76:2c:89:7f', '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': '90.143.148.3', 'subnet_id': 'c6e8e625-7bb1-485b-98c6-873e65e76fe8'}], 'security_groups': ['50b31af4-0507-476c-9803-4d2919989836'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:41,928 - DEBUG - Created port c6762c89-7f8d-474d-9ae8-a895b9b99c02 2025-07-22 11:27:42,037 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c6762c89-7f8d-474d-9ae8-a895b9b99c02 2025-07-22 11:27:42,332 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c6762c89-7f8d-474d-9ae8-a895b9b99c02 2025-07-22 11:27:42,367 - INFO - VMI c6762c89-7f8d-474d-9ae8-a895b9b99c02 verification in API Server passed 2025-07-22 11:27:42,470 - DEBUG - Response for delete_port : () 2025-07-22 11:27:42,470 - INFO - Deleted port c6762c89-7f8d-474d-9ae8-a895b9b99c02 2025-07-22 11:27:42,470 - INFO - Deleting VN ctest-vn-05239270 2025-07-22 11:27:42,590 - DEBUG - Response for deleting network () 2025-07-22 11:27:42,848 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 11:27:42,848 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-22 11:27:42,848 - INFO - -------------------------------------------------------------------------------- 2025-07-22 11:27:42,851 - INFO - ================================================================================ 2025-07-22 11:27:42,851 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 11:27:42,851 - 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-07-22 11:27:43,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with 2025-07-22 11:27:43,135 - INFO - Initial checks done. Running the testcase now 2025-07-22 11:27:43,135 - INFO - 2025-07-22 11:27:43,318 - DEBUG - Response for create_network : {'network': {'id': 'fce61631-5489-4e1e-b541-cd8af645946b', 'name': 'ctest-vn1-74610358', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47413152', 'ctest-vn1-74610358'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:27:43,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f4d5ce7-bc12-4301-af74-2ec8f7dac7d1', 'name': '', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': 'fce61631-5489-4e1e-b541-cd8af645946b', 'ip_version': 4, 'cidr': '35.243.106.128/26', 'allocation_pools': [{'start': '35.243.106.130', 'end': '35.243.106.190'}], 'gateway_ip': '35.243.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.243.106.130', 'tags': [], 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:43,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8c487aa-516e-4d24-81e2-fa96d0ae0a84', 'name': '', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': 'fce61631-5489-4e1e-b541-cd8af645946b', 'ip_version': 4, 'cidr': '116.106.213.64/26', 'allocation_pools': [{'start': '116.106.213.66', 'end': '116.106.213.126'}], 'gateway_ip': '116.106.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.106.213.66', 'tags': [], 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:43,789 - INFO - Created VN ctest-vn1-74610358 2025-07-22 11:27:43,845 - DEBUG - VN ctest-vn1-74610358 UUID is fce61631-5489-4e1e-b541-cd8af645946b 2025-07-22 11:27:44,174 - DEBUG - Response for create_port : {'port': {'name': '7b80f2b4-dfb8-49ff-a5ff-2cfdf28aa9a1', 'id': '7b80f2b4-dfb8-49ff-a5ff-2cfdf28aa9a1', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': 'fce61631-5489-4e1e-b541-cd8af645946b', 'mac_address': '02:7b:80:f2:b4: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': '35.243.106.133', 'subnet_id': '1f4d5ce7-bc12-4301-af74-2ec8f7dac7d1'}], 'security_groups': ['50b31af4-0507-476c-9803-4d2919989836'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:44,353 - DEBUG - Response for create_port : {'port': {'name': '9267d811-9a92-4adc-a174-68ba6a02d5cb', 'id': '9267d811-9a92-4adc-a174-68ba6a02d5cb', 'tenant_id': '58d4bfee4acc4bf3a78d8d2069be3437', 'network_id': 'fce61631-5489-4e1e-b541-cd8af645946b', 'mac_address': '02:92:67:d8:11:9a', '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': '116.106.213.69', 'subnet_id': 'a8c487aa-516e-4d24-81e2-fa96d0ae0a84'}], 'security_groups': ['50b31af4-0507-476c-9803-4d2919989836'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d4bfee4acc4bf3a78d8d2069be3437'}} 2025-07-22 11:27:44,415 - DEBUG - Services list from nova: [, , ] 2025-07-22 11:27:44,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:27:45,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:27:45,170 - INFO - Waiting for VM ctest-vn1-vm1-03784052 to be up.. 2025-07-22 11:27:45,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 11:27:50,297 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:27:50,297 - INFO - VM name : ctest-vn1-vm1-03784052 2025-07-22 11:27:50,373 - DEBUG - VM ctest-vn1-vm1-03784052 ID is 372295f6-1334-4d84-9dd0-88ac3881544f 2025-07-22 11:27:50,393 - DEBUG - VM ctest-vn1-vm1-03784052 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:27:50,475 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/372295f6-1334-4d84-9dd0-88ac3881544f 2025-07-22 11:27:50,487 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7b80f2b4-dfb8-49ff-a5ff-2cfdf28aa9a1 2025-07-22 11:27:53,743 - 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 1015ms') 2025-07-22 11:27:53,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03784052 failed! 2025-07-22 11:27:53,801 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47413152:ctest-vn1-74610358 is 35.243.106.129 and allocation pool is NOT set 2025-07-22 11:27:53,801 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47413152:ctest-vn1-74610358 is 116.106.213.65 and allocation pool is NOT set 2025-07-22 11:27:57,879 - 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=7.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.723/7.723/7.723/0.000 ms') 2025-07-22 11:27:57,879 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03784052 passed 2025-07-22 11:27:58,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:27:58,037 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03784052, IP 35.243.106.133, Port 22 2025-07-22 11:27:58,192 - DEBUG - VM ctest-vn1-vm1-03784052 is ready for SSH connections 2025-07-22 11:27:58,192 - INFO - Waiting for VM ctest-vn1-vm2-95076329 to be up.. 2025-07-22 11:27:58,277 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:27:58,277 - INFO - VM name : ctest-vn1-vm2-95076329 2025-07-22 11:27:58,355 - DEBUG - VM ctest-vn1-vm2-95076329 ID is 47b2e3a8-07b6-4bca-927b-871099cf4b0c 2025-07-22 11:27:58,355 - DEBUG - VM ctest-vn1-vm2-95076329 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:27:58,439 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/47b2e3a8-07b6-4bca-927b-871099cf4b0c 2025-07-22 11:27:58,450 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9267d811-9a92-4adc-a174-68ba6a02d5cb 2025-07-22 11:27:59,699 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.597 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 = 0.597/1.698/2.800/1.101 ms') 2025-07-22 11:27:59,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95076329 passed 2025-07-22 11:27:59,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:27:59,857 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95076329, IP 116.106.213.69, Port 22 2025-07-22 11:28:00,013 - DEBUG - VM ctest-vn1-vm2-95076329 is ready for SSH connections 2025-07-22 11:28:00,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:00,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:00,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:00,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.243.106.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:00,014 - DEBUG - ping -s 56 -c 3 -W 1 35.243.106.133 2025-07-22 11:28:03,032 - DEBUG - PING 35.243.106.133 (35.243.106.133): 56 data bytes 64 bytes from 35.243.106.133: seq=0 ttl=63 time=4.132 ms 64 bytes from 35.243.106.133: seq=1 ttl=63 time=1.149 ms 64 bytes from 35.243.106.133: seq=2 ttl=63 time=1.034 ms --- 35.243.106.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/2.105/4.132 ms 2025-07-22 11:28:03,032 - INFO - Ping to IP 35.243.106.133 from VM ctest-vn1-vm2-95076329 passed 2025-07-22 11:28:03,032 - INFO - Detaching port 9267d811-9a92-4adc-a174-68ba6a02d5cb from VM ctest-vn1-vm2-95076329 2025-07-22 11:28:03,082 - INFO - Deleting VM ctest-vn1-vm2-95076329 2025-07-22 11:28:03,155 - INFO - Detaching port 7b80f2b4-dfb8-49ff-a5ff-2cfdf28aa9a1 from VM ctest-vn1-vm1-03784052 2025-07-22 11:28:03,192 - INFO - Deleting VM ctest-vn1-vm1-03784052 2025-07-22 11:28:03,458 - DEBUG - Response for delete_port : () 2025-07-22 11:28:03,635 - DEBUG - Response for delete_port : () 2025-07-22 11:28:03,635 - INFO - Deleting VN ctest-vn1-74610358 2025-07-22 11:28:03,791 - DEBUG - Response for deleting network () 2025-07-22 11:28:04,052 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 11:28:04,052 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-07-22 11:28:04,052 - INFO - -------------------------------------------------------------------------------- 2025-07-22 11:28:04,790 - INFO - Deleted project: ctest-TestPorts-47413152, ID : 58d4bfee-4acc-4bf3-a78d-8d2069be3437