2025-10-07 19:10:59,655 - INFO - Domain Default found not creating 2025-10-07 19:10:59,784 - INFO - Project ctest-TestPorts-85036116 not found, creating it 2025-10-07 19:11:00,207 - INFO - Created Project:ctest-TestPorts-85036116, ID : de880679-59c1-47fb-acf5-a34b2b7e9030 2025-10-07 19:11:01,601 - INFO - ================================================================================ 2025-10-07 19:11:01,604 - INFO - STARTING TEST : test_ports_bindings 2025-10-07 19:11:01,604 - 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-07 19:11:01,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-07 19:11:01,856 - INFO - Initial checks done. Running the testcase now 2025-10-07 19:11:01,856 - INFO - 2025-10-07 19:11:02,392 - DEBUG - Response for create_network : {'network': {'id': '4d9dc255-abb3-457a-9cb2-2335ee7a4906', 'name': 'ctest-vn-59893837', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'project_id': 'de88067959c147fbacf5a34b2b7e9030', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85036116', 'ctest-vn-59893837'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:11:02,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2ea383a-86ee-4cb0-9eff-9d212cadbab4', 'name': '', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '4d9dc255-abb3-457a-9cb2-2335ee7a4906', 'ip_version': 4, 'cidr': '68.123.4.64/26', 'allocation_pools': [{'start': '68.123.4.66', 'end': '68.123.4.126'}], 'gateway_ip': '68.123.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.123.4.66', 'tags': [], 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:02,585 - INFO - Created VN ctest-vn-59893837 2025-10-07 19:11:02,636 - DEBUG - VN ctest-vn-59893837 UUID is 4d9dc255-abb3-457a-9cb2-2335ee7a4906 2025-10-07 19:11:02,737 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85036116', 'ctest-vmi-35901152']} 2025-10-07 19:11:03,007 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35901152', 'id': '13532a81-1b52-4002-a709-88aaf5170d9a', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '4d9dc255-abb3-457a-9cb2-2335ee7a4906', 'mac_address': '02:13:53:2a:81:1b', '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': '68.123.4.67', 'subnet_id': 'a2ea383a-86ee-4cb0-9eff-9d212cadbab4'}], 'security_groups': ['e6bff3f1-70c4-4bfa-992a-4136b2914d12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:03,007 - DEBUG - Created port 13532a81-1b52-4002-a709-88aaf5170d9a 2025-10-07 19:11:03,112 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/13532a81-1b52-4002-a709-88aaf5170d9a 2025-10-07 19:11:03,407 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/13532a81-1b52-4002-a709-88aaf5170d9a 2025-10-07 19:11:03,436 - INFO - VMI 13532a81-1b52-4002-a709-88aaf5170d9a verification in API Server passed 2025-10-07 19:11:03,519 - DEBUG - Response for delete_port : () 2025-10-07 19:11:03,520 - INFO - Deleted port 13532a81-1b52-4002-a709-88aaf5170d9a 2025-10-07 19:11:03,520 - INFO - Deleting VN ctest-vn-59893837 2025-10-07 19:11:03,613 - DEBUG - Response for deleting network () 2025-10-07 19:11:03,868 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 19:11:03,868 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-07 19:11:03,868 - INFO - -------------------------------------------------------------------------------- 2025-10-07 19:11:03,870 - INFO - ================================================================================ 2025-10-07 19:11:03,870 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-07 19:11:03,870 - 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-07 19:11:04,156 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-07 19:11:04,156 - INFO - Initial checks done. Running the testcase now 2025-10-07 19:11:04,156 - INFO - 2025-10-07 19:11:04,324 - DEBUG - Response for create_network : {'network': {'id': '7e555c63-ccca-4ec2-b526-1610571e0fa7', 'name': 'ctest-vn1-55310843', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'project_id': 'de88067959c147fbacf5a34b2b7e9030', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85036116', 'ctest-vn1-55310843'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:11:04,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '478e1eb0-4ce9-4ac1-be43-b78a8bb4da4b', 'name': '', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '7e555c63-ccca-4ec2-b526-1610571e0fa7', 'ip_version': 4, 'cidr': '110.119.141.192/26', 'allocation_pools': [{'start': '110.119.141.194', 'end': '110.119.141.254'}], 'gateway_ip': '110.119.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.119.141.194', 'tags': [], 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:04,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f8a8da2-e6bf-4e1b-a73c-13f8e028ed37', 'name': '', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '7e555c63-ccca-4ec2-b526-1610571e0fa7', 'ip_version': 4, 'cidr': '208.9.60.192/26', 'allocation_pools': [{'start': '208.9.60.194', 'end': '208.9.60.254'}], 'gateway_ip': '208.9.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.9.60.194', 'tags': [], 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:04,661 - INFO - Created VN ctest-vn1-55310843 2025-10-07 19:11:04,712 - DEBUG - VN ctest-vn1-55310843 UUID is 7e555c63-ccca-4ec2-b526-1610571e0fa7 2025-10-07 19:11:05,004 - DEBUG - Response for create_port : {'port': {'name': 'd9cad4b5-c4e2-4163-b9c8-394d545d78f0', 'id': 'd9cad4b5-c4e2-4163-b9c8-394d545d78f0', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '7e555c63-ccca-4ec2-b526-1610571e0fa7', 'mac_address': '02:d9:ca:d4:b5:c4', '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': '110.119.141.197', 'subnet_id': '478e1eb0-4ce9-4ac1-be43-b78a8bb4da4b'}], 'security_groups': ['e6bff3f1-70c4-4bfa-992a-4136b2914d12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:05,165 - DEBUG - Response for create_port : {'port': {'name': '4e4ab632-7558-4a41-9235-1112127b8c44', 'id': '4e4ab632-7558-4a41-9235-1112127b8c44', 'tenant_id': 'de88067959c147fbacf5a34b2b7e9030', 'network_id': '7e555c63-ccca-4ec2-b526-1610571e0fa7', 'mac_address': '02:4e:4a:b6:32:75', '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': '208.9.60.197', 'subnet_id': '9f8a8da2-e6bf-4e1b-a73c-13f8e028ed37'}], 'security_groups': ['e6bff3f1-70c4-4bfa-992a-4136b2914d12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de88067959c147fbacf5a34b2b7e9030'}} 2025-10-07 19:11:05,214 - DEBUG - Services list from nova: [, , ] 2025-10-07 19:11:05,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1) 2025-10-07 19:11:05,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1) 2025-10-07 19:11:05,874 - INFO - Waiting for VM ctest-vn1-vm1-18437824 to be up.. 2025-10-07 19:11:05,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 19:11:10,980 - DEBUG - VM is in ACTIVE state now 2025-10-07 19:11:10,980 - INFO - VM name : ctest-vn1-vm1-18437824 2025-10-07 19:11:11,047 - DEBUG - VM ctest-vn1-vm1-18437824 ID is 3a731973-9aea-401c-b753-7081518ddec5 2025-10-07 19:11:11,065 - DEBUG - VM ctest-vn1-vm1-18437824 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1 2025-10-07 19:11:11,134 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3a731973-9aea-401c-b753-7081518ddec5 2025-10-07 19:11:11,141 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d9cad4b5-c4e2-4163-b9c8-394d545d78f0 2025-10-07 19:11:14,377 - 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 1008ms') 2025-10-07 19:11:14,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18437824 failed! 2025-10-07 19:11:14,436 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85036116:ctest-vn1-55310843 is 110.119.141.193 and allocation pool is NOT set 2025-10-07 19:11:14,436 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85036116:ctest-vn1-55310843 is 208.9.60.193 and allocation pool is NOT set 2025-10-07 19:11:16,498 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.506/3.030/3.555/0.524 ms') 2025-10-07 19:11:16,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18437824 passed 2025-10-07 19:11:16,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:11:16,648 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18437824, IP 110.119.141.197, Port 22 2025-10-07 19:11:16,807 - DEBUG - VM ctest-vn1-vm1-18437824 is ready for SSH connections 2025-10-07 19:11:16,807 - INFO - Waiting for VM ctest-vn1-vm2-42658865 to be up.. 2025-10-07 19:11:16,879 - DEBUG - VM is in ACTIVE state now 2025-10-07 19:11:16,879 - INFO - VM name : ctest-vn1-vm2-42658865 2025-10-07 19:11:16,943 - DEBUG - VM ctest-vn1-vm2-42658865 ID is 7ae4e35e-1e04-4f64-9868-31d4db2b63c9 2025-10-07 19:11:16,944 - DEBUG - VM ctest-vn1-vm2-42658865 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1 2025-10-07 19:11:17,010 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7ae4e35e-1e04-4f64-9868-31d4db2b63c9 2025-10-07 19:11:17,017 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4e4ab632-7558-4a41-9235-1112127b8c44 2025-10-07 19:11:18,252 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.545/2.684/1.139 ms') 2025-10-07 19:11:18,252 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42658865 passed 2025-10-07 19:11:18,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:11:18,404 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42658865, IP 208.9.60.197, Port 22 2025-10-07 19:11:18,555 - DEBUG - VM ctest-vn1-vm2-42658865 is ready for SSH connections 2025-10-07 19:11:18,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:11:18,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:11:18,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:11:18,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.119.141.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-07 19:11:18,556 - DEBUG - ping -s 56 -c 3 -W 1 110.119.141.197 2025-10-07 19:11:21,170 - DEBUG - PING 110.119.141.197 (110.119.141.197): 56 data bytes 64 bytes from 110.119.141.197: seq=0 ttl=63 time=3.944 ms 64 bytes from 110.119.141.197: seq=1 ttl=63 time=0.784 ms 64 bytes from 110.119.141.197: seq=2 ttl=63 time=0.694 ms --- 110.119.141.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.694/1.807/3.944 ms 2025-10-07 19:11:21,170 - INFO - Ping to IP 110.119.141.197 from VM ctest-vn1-vm2-42658865 passed 2025-10-07 19:11:21,170 - INFO - Detaching port 4e4ab632-7558-4a41-9235-1112127b8c44 from VM ctest-vn1-vm2-42658865 2025-10-07 19:11:21,220 - INFO - Deleting VM ctest-vn1-vm2-42658865 2025-10-07 19:11:21,289 - INFO - Detaching port d9cad4b5-c4e2-4163-b9c8-394d545d78f0 from VM ctest-vn1-vm1-18437824 2025-10-07 19:11:21,328 - INFO - Deleting VM ctest-vn1-vm1-18437824 2025-10-07 19:11:21,567 - DEBUG - Response for delete_port : () 2025-10-07 19:11:21,728 - DEBUG - Response for delete_port : () 2025-10-07 19:11:21,728 - INFO - Deleting VN ctest-vn1-55310843 2025-10-07 19:11:21,860 - DEBUG - Response for deleting network () 2025-10-07 19:11:22,116 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 19:11:22,116 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-07 19:11:22,116 - INFO - -------------------------------------------------------------------------------- 2025-10-07 19:11:22,780 - INFO - Deleted project: ctest-TestPorts-85036116, ID : de880679-59c1-47fb-acf5-a34b2b7e9030