2025-08-13 17:01:29,124 - INFO - Domain Default found not creating 2025-08-13 17:01:29,257 - INFO - Project ctest-TestPorts-74467288 not found, creating it 2025-08-13 17:01:29,718 - INFO - Created Project:ctest-TestPorts-74467288, ID : a6a60a53-e463-404d-8026-47231ab99736 2025-08-13 17:01:31,079 - INFO - ================================================================================ 2025-08-13 17:01:31,079 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 17:01:31,079 - 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-08-13 17:01:31,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-13 17:01:31,344 - INFO - Initial checks done. Running the testcase now 2025-08-13 17:01:31,344 - INFO - 2025-08-13 17:01:31,863 - DEBUG - Response for create_network : {'network': {'id': 'b41da593-0340-4c2f-acb2-be54b1d73f68', 'name': 'ctest-vn-88984296', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'project_id': 'a6a60a53e463404d802647231ab99736', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74467288', 'ctest-vn-88984296'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:01:32,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '8187be31-eb6c-4e2a-b84f-d109b066239d', 'name': '', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': 'b41da593-0340-4c2f-acb2-be54b1d73f68', 'ip_version': 4, 'cidr': '109.42.212.128/26', 'allocation_pools': [{'start': '109.42.212.130', 'end': '109.42.212.190'}], 'gateway_ip': '109.42.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.42.212.130', 'tags': [], 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:32,031 - INFO - Created VN ctest-vn-88984296 2025-08-13 17:01:32,084 - DEBUG - VN ctest-vn-88984296 UUID is b41da593-0340-4c2f-acb2-be54b1d73f68 2025-08-13 17:01:32,186 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74467288', 'ctest-vmi-83923531']} 2025-08-13 17:01:32,463 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83923531', 'id': 'e62986cd-5279-46e6-8f63-e8f079d9b8f0', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': 'b41da593-0340-4c2f-acb2-be54b1d73f68', 'mac_address': '02:e6:29:86:cd:52', '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': '109.42.212.131', 'subnet_id': '8187be31-eb6c-4e2a-b84f-d109b066239d'}], 'security_groups': ['b3a96421-11b4-4c4f-81fc-55482974ba30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:32,463 - DEBUG - Created port e62986cd-5279-46e6-8f63-e8f079d9b8f0 2025-08-13 17:01:32,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e62986cd-5279-46e6-8f63-e8f079d9b8f0 2025-08-13 17:01:32,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e62986cd-5279-46e6-8f63-e8f079d9b8f0 2025-08-13 17:01:32,891 - INFO - VMI e62986cd-5279-46e6-8f63-e8f079d9b8f0 verification in API Server passed 2025-08-13 17:01:32,988 - DEBUG - Response for delete_port : () 2025-08-13 17:01:32,988 - INFO - Deleted port e62986cd-5279-46e6-8f63-e8f079d9b8f0 2025-08-13 17:01:32,988 - INFO - Deleting VN ctest-vn-88984296 2025-08-13 17:01:33,085 - DEBUG - Response for deleting network () 2025-08-13 17:01:33,340 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 17:01:33,340 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-13 17:01:33,340 - INFO - -------------------------------------------------------------------------------- 2025-08-13 17:01:33,343 - INFO - ================================================================================ 2025-08-13 17:01:33,343 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 17:01:33,343 - 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-08-13 17:01:33,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-13 17:01:33,628 - INFO - Initial checks done. Running the testcase now 2025-08-13 17:01:33,629 - INFO - 2025-08-13 17:01:33,813 - DEBUG - Response for create_network : {'network': {'id': '3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1', 'name': 'ctest-vn1-32535101', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'project_id': 'a6a60a53e463404d802647231ab99736', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74467288', 'ctest-vn1-32535101'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:01:34,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '98abbe30-377b-4372-90a7-406f3f2fe7bb', 'name': '', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': '3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1', 'ip_version': 4, 'cidr': '136.125.170.64/26', 'allocation_pools': [{'start': '136.125.170.66', 'end': '136.125.170.126'}], 'gateway_ip': '136.125.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.125.170.66', 'tags': [], 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:34,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddcc74a3-1f95-4682-8c8d-8da215acb704', 'name': '', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': '3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1', 'ip_version': 4, 'cidr': '172.208.237.192/26', 'allocation_pools': [{'start': '172.208.237.194', 'end': '172.208.237.254'}], 'gateway_ip': '172.208.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.208.237.194', 'tags': [], 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:34,244 - INFO - Created VN ctest-vn1-32535101 2025-08-13 17:01:34,296 - DEBUG - VN ctest-vn1-32535101 UUID is 3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1 2025-08-13 17:01:34,600 - DEBUG - Response for create_port : {'port': {'name': '632bb0b3-cf89-4f92-af26-6e48f1b6a0c7', 'id': '632bb0b3-cf89-4f92-af26-6e48f1b6a0c7', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': '3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1', 'mac_address': '02:63:2b:b0:b3:cf', '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': '136.125.170.69', 'subnet_id': '98abbe30-377b-4372-90a7-406f3f2fe7bb'}], 'security_groups': ['b3a96421-11b4-4c4f-81fc-55482974ba30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:34,790 - DEBUG - Response for create_port : {'port': {'name': '5aebda90-c309-417f-a3ae-0eaccbd25fea', 'id': '5aebda90-c309-417f-a3ae-0eaccbd25fea', 'tenant_id': 'a6a60a53e463404d802647231ab99736', 'network_id': '3ceb8ca2-c3f9-4c93-b856-f7bf883dc6c1', 'mac_address': '02:5a:eb:da:90:c3', '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': '172.208.237.197', 'subnet_id': 'ddcc74a3-1f95-4682-8c8d-8da215acb704'}], 'security_groups': ['b3a96421-11b4-4c4f-81fc-55482974ba30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6a60a53e463404d802647231ab99736'}} 2025-08-13 17:01:34,845 - DEBUG - Services list from nova: [, , ] 2025-08-13 17:01:35,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1) 2025-08-13 17:01:35,521 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1) 2025-08-13 17:01:35,521 - INFO - Waiting for VM ctest-vn1-vm1-63646067 to be up.. 2025-08-13 17:01:35,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 17:01:40,625 - DEBUG - VM is in ACTIVE state now 2025-08-13 17:01:40,626 - INFO - VM name : ctest-vn1-vm1-63646067 2025-08-13 17:01:40,708 - DEBUG - VM ctest-vn1-vm1-63646067 ID is f8ca6022-b70f-4964-8ed5-a0a6754f2b93 2025-08-13 17:01:40,730 - DEBUG - VM ctest-vn1-vm1-63646067 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1 2025-08-13 17:01:40,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8ca6022-b70f-4964-8ed5-a0a6754f2b93 2025-08-13 17:01:40,808 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/632bb0b3-cf89-4f92-af26-6e48f1b6a0c7 2025-08-13 17:01:44,055 - 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 1003ms') 2025-08-13 17:01:44,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63646067 failed! 2025-08-13 17:01:44,116 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74467288:ctest-vn1-32535101 is 136.125.170.65 and allocation pool is NOT set 2025-08-13 17:01:44,116 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74467288:ctest-vn1-32535101 is 172.208.237.193 and allocation pool is NOT set 2025-08-13 17:01:46,175 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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.411/2.941/4.472/1.530 ms') 2025-08-13 17:01:46,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63646067 passed 2025-08-13 17:01:46,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:01:46,328 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63646067, IP 136.125.170.69, Port 22 2025-08-13 17:01:46,491 - DEBUG - VM ctest-vn1-vm1-63646067 is ready for SSH connections 2025-08-13 17:01:46,492 - INFO - Waiting for VM ctest-vn1-vm2-03885743 to be up.. 2025-08-13 17:01:46,581 - DEBUG - VM is in ACTIVE state now 2025-08-13 17:01:46,581 - INFO - VM name : ctest-vn1-vm2-03885743 2025-08-13 17:01:46,651 - DEBUG - VM ctest-vn1-vm2-03885743 ID is 9297a43f-265b-4c75-b5b1-bf558d76c1b2 2025-08-13 17:01:46,651 - DEBUG - VM ctest-vn1-vm2-03885743 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1 2025-08-13 17:01:46,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9297a43f-265b-4c75-b5b1-bf558d76c1b2 2025-08-13 17:01:46,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5aebda90-c309-417f-a3ae-0eaccbd25fea 2025-08-13 17:01:47,959 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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.341/2.464/3.587/1.123 ms') 2025-08-13 17:01:47,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03885743 passed 2025-08-13 17:01:48,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:01:48,112 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03885743, IP 172.208.237.197, Port 22 2025-08-13 17:01:48,271 - DEBUG - VM ctest-vn1-vm2-03885743 is ready for SSH connections 2025-08-13 17:01:48,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:01:48,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:01:48,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:01:48,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.125.170.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-13 17:01:48,271 - DEBUG - ping -s 56 -c 3 -W 1 136.125.170.69 2025-08-13 17:01:50,881 - DEBUG - PING 136.125.170.69 (136.125.170.69): 56 data bytes 64 bytes from 136.125.170.69: seq=0 ttl=63 time=3.645 ms 64 bytes from 136.125.170.69: seq=1 ttl=63 time=2.348 ms 64 bytes from 136.125.170.69: seq=2 ttl=63 time=0.731 ms --- 136.125.170.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/2.241/3.645 ms 2025-08-13 17:01:50,882 - INFO - Ping to IP 136.125.170.69 from VM ctest-vn1-vm2-03885743 passed 2025-08-13 17:01:50,882 - INFO - Detaching port 5aebda90-c309-417f-a3ae-0eaccbd25fea from VM ctest-vn1-vm2-03885743 2025-08-13 17:01:50,924 - INFO - Deleting VM ctest-vn1-vm2-03885743 2025-08-13 17:01:50,995 - INFO - Detaching port 632bb0b3-cf89-4f92-af26-6e48f1b6a0c7 from VM ctest-vn1-vm1-63646067 2025-08-13 17:01:51,033 - INFO - Deleting VM ctest-vn1-vm1-63646067 2025-08-13 17:01:51,291 - DEBUG - Response for delete_port : () 2025-08-13 17:01:51,467 - DEBUG - Response for delete_port : () 2025-08-13 17:01:51,467 - INFO - Deleting VN ctest-vn1-32535101 2025-08-13 17:01:51,601 - DEBUG - Response for deleting network () 2025-08-13 17:01:51,860 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 17:01:51,860 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-13 17:01:51,861 - INFO - -------------------------------------------------------------------------------- 2025-08-13 17:01:52,565 - INFO - Deleted project: ctest-TestPorts-74467288, ID : a6a60a53-e463-404d-8026-47231ab99736