2025-12-17 19:01:49,344 - INFO - Domain Default found not creating 2025-12-17 19:01:49,543 - INFO - Project ctest-TestPorts-67343706 not found, creating it 2025-12-17 19:01:50,051 - INFO - Created Project:ctest-TestPorts-67343706, ID : 1694982c-21c9-4d9b-81cd-5e96d94bd3a9 2025-12-17 19:01:51,744 - INFO - ================================================================================ 2025-12-17 19:01:51,744 - INFO - STARTING TEST : test_ports_bindings 2025-12-17 19:01:51,744 - 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-17 19:01:52,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-17 19:01:52,016 - INFO - Initial checks done. Running the testcase now 2025-12-17 19:01:52,016 - INFO - 2025-12-17 19:01:52,680 - DEBUG - Response for create_network : {'network': {'id': '3b16af34-f312-43fe-8150-77e942e838b7', 'name': 'ctest-vn-15091970', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67343706', 'ctest-vn-15091970'], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:01:52,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '86c229d6-434c-49e4-9002-a1d8d19303e2', 'name': '', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3b16af34-f312-43fe-8150-77e942e838b7', 'ip_version': 4, 'cidr': '169.250.195.128/26', 'allocation_pools': [{'start': '169.250.195.130', 'end': '169.250.195.190'}], 'gateway_ip': '169.250.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.250.195.130', 'tags': [], 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:52,902 - INFO - Created VN ctest-vn-15091970 2025-12-17 19:01:52,963 - DEBUG - VN ctest-vn-15091970 UUID is 3b16af34-f312-43fe-8150-77e942e838b7 2025-12-17 19:01:53,077 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67343706', 'ctest-vmi-94258423']} 2025-12-17 19:01:53,349 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94258423', 'id': '35668de7-411f-45f7-90cb-fbfeeee7b37e', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3b16af34-f312-43fe-8150-77e942e838b7', 'mac_address': '02:35:66:8d:e7:41', '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': '169.250.195.131', 'subnet_id': '86c229d6-434c-49e4-9002-a1d8d19303e2'}], 'security_groups': ['099bab58-809c-495e-8a98-af21ec33624b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:53,349 - DEBUG - Created port 35668de7-411f-45f7-90cb-fbfeeee7b37e 2025-12-17 19:01:53,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/35668de7-411f-45f7-90cb-fbfeeee7b37e 2025-12-17 19:01:53,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/35668de7-411f-45f7-90cb-fbfeeee7b37e 2025-12-17 19:01:53,814 - INFO - VMI 35668de7-411f-45f7-90cb-fbfeeee7b37e verification in API Server passed 2025-12-17 19:01:53,913 - DEBUG - Response for delete_port : () 2025-12-17 19:01:53,913 - INFO - Deleted port 35668de7-411f-45f7-90cb-fbfeeee7b37e 2025-12-17 19:01:53,913 - INFO - Deleting VN ctest-vn-15091970 2025-12-17 19:01:54,024 - DEBUG - Response for deleting network () 2025-12-17 19:01:54,292 - DEBUG - No XMPP flaps were noticed during the test 2025-12-17 19:01:54,292 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-17 19:01:54,292 - INFO - -------------------------------------------------------------------------------- 2025-12-17 19:01:54,295 - INFO - ================================================================================ 2025-12-17 19:01:54,295 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-17 19:01:54,295 - 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-17 19:01:54,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-17 19:01:54,599 - INFO - Initial checks done. Running the testcase now 2025-12-17 19:01:54,599 - INFO - 2025-12-17 19:01:54,813 - DEBUG - Response for create_network : {'network': {'id': '3ce95ef8-0ec4-496f-a2a1-b71568aaba86', 'name': 'ctest-vn1-97783941', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67343706', 'ctest-vn1-97783941'], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:01:55,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ba908ef-2287-4548-bda4-391912c85efd', 'name': '', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3ce95ef8-0ec4-496f-a2a1-b71568aaba86', 'ip_version': 4, 'cidr': '74.165.210.192/26', 'allocation_pools': [{'start': '74.165.210.194', 'end': '74.165.210.254'}], 'gateway_ip': '74.165.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.165.210.194', 'tags': [], 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:55,209 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7b5dca9-0d5a-4968-8774-c27a98546597', 'name': '', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3ce95ef8-0ec4-496f-a2a1-b71568aaba86', 'ip_version': 4, 'cidr': '177.116.31.0/26', 'allocation_pools': [{'start': '177.116.31.2', 'end': '177.116.31.62'}], 'gateway_ip': '177.116.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.116.31.2', 'tags': [], 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:55,242 - INFO - Created VN ctest-vn1-97783941 2025-12-17 19:01:55,299 - DEBUG - VN ctest-vn1-97783941 UUID is 3ce95ef8-0ec4-496f-a2a1-b71568aaba86 2025-12-17 19:01:55,684 - DEBUG - Response for create_port : {'port': {'name': 'ccd6560b-fb0f-4f68-9bf7-c17d1d2b5e97', 'id': 'ccd6560b-fb0f-4f68-9bf7-c17d1d2b5e97', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3ce95ef8-0ec4-496f-a2a1-b71568aaba86', 'mac_address': '02:cc:d6:56:0b:fb', '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': '74.165.210.197', 'subnet_id': '5ba908ef-2287-4548-bda4-391912c85efd'}], 'security_groups': ['099bab58-809c-495e-8a98-af21ec33624b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:55,938 - DEBUG - Response for create_port : {'port': {'name': 'adb9fb49-4000-4a08-bb28-521787ee7078', 'id': 'adb9fb49-4000-4a08-bb28-521787ee7078', 'tenant_id': '1694982c21c94d9b81cd5e96d94bd3a9', 'network_id': '3ce95ef8-0ec4-496f-a2a1-b71568aaba86', 'mac_address': '02:ad:b9:fb:49:40', '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': '177.116.31.5', 'subnet_id': 'e7b5dca9-0d5a-4968-8774-c27a98546597'}], 'security_groups': ['099bab58-809c-495e-8a98-af21ec33624b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1694982c21c94d9b81cd5e96d94bd3a9'}} 2025-12-17 19:01:56,021 - DEBUG - Services list from nova: [, , ] 2025-12-17 19:01:56,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4898-1) 2025-12-17 19:01:56,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4898-1) 2025-12-17 19:01:56,925 - INFO - Waiting for VM ctest-vn1-vm1-84841641 to be up.. 2025-12-17 19:01:56,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-17 19:02:02,067 - DEBUG - VM is in ACTIVE state now 2025-12-17 19:02:02,067 - INFO - VM name : ctest-vn1-vm1-84841641 2025-12-17 19:02:02,158 - DEBUG - VM ctest-vn1-vm1-84841641 ID is d0e59ac7-342a-436d-b3b7-d421e35060ed 2025-12-17 19:02:02,183 - DEBUG - VM ctest-vn1-vm1-84841641 launched on Node cn-jenkins-deploy-platform-ansible-os-4898-1 2025-12-17 19:02:02,435 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0e59ac7-342a-436d-b3b7-d421e35060ed 2025-12-17 19:02:02,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ccd6560b-fb0f-4f68-9bf7-c17d1d2b5e97 2025-12-17 19:02:05,714 - 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 1004ms') 2025-12-17 19:02:05,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84841641 failed! 2025-12-17 19:02:05,771 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67343706:ctest-vn1-97783941 is 74.165.210.193 and allocation pool is NOT set 2025-12-17 19:02:05,771 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67343706:ctest-vn1-97783941 is 177.116.31.1 and allocation pool is NOT set 2025-12-17 19:02:09,870 - 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=9.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 9.490/9.490/9.490/0.000 ms') 2025-12-17 19:02:09,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84841641 passed 2025-12-17 19:02:10,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:02:10,023 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84841641, IP 74.165.210.197, Port 22 2025-12-17 19:02:10,179 - DEBUG - VM ctest-vn1-vm1-84841641 is ready for SSH connections 2025-12-17 19:02:10,179 - INFO - Waiting for VM ctest-vn1-vm2-38645822 to be up.. 2025-12-17 19:02:10,260 - DEBUG - VM is in ACTIVE state now 2025-12-17 19:02:10,260 - INFO - VM name : ctest-vn1-vm2-38645822 2025-12-17 19:02:10,340 - DEBUG - VM ctest-vn1-vm2-38645822 ID is 5a958008-d685-4687-a800-56a7a5ab7adf 2025-12-17 19:02:10,340 - DEBUG - VM ctest-vn1-vm2-38645822 launched on Node cn-jenkins-deploy-platform-ansible-os-4898-1 2025-12-17 19:02:10,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5a958008-d685-4687-a800-56a7a5ab7adf 2025-12-17 19:02:10,433 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/adb9fb49-4000-4a08-bb28-521787ee7078 2025-12-17 19:02:11,682 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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.731/2.364/3.998/1.633 ms') 2025-12-17 19:02:11,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38645822 passed 2025-12-17 19:02:11,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:02:11,835 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38645822, IP 177.116.31.5, Port 22 2025-12-17 19:02:11,991 - DEBUG - VM ctest-vn1-vm2-38645822 is ready for SSH connections 2025-12-17 19:02:11,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:02:11,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:02:11,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:02:11,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.165.210.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-17 19:02:11,991 - DEBUG - ping -s 56 -c 3 -W 1 74.165.210.197 2025-12-17 19:02:15,067 - DEBUG - PING 74.165.210.197 (74.165.210.197): 56 data bytes 64 bytes from 74.165.210.197: seq=0 ttl=63 time=5.476 ms 64 bytes from 74.165.210.197: seq=1 ttl=63 time=1.004 ms 64 bytes from 74.165.210.197: seq=2 ttl=63 time=1.038 ms --- 74.165.210.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.004/2.506/5.476 ms 2025-12-17 19:02:15,067 - INFO - Ping to IP 74.165.210.197 from VM ctest-vn1-vm2-38645822 passed 2025-12-17 19:02:15,067 - INFO - Detaching port adb9fb49-4000-4a08-bb28-521787ee7078 from VM ctest-vn1-vm2-38645822 2025-12-17 19:02:15,129 - INFO - Deleting VM ctest-vn1-vm2-38645822 2025-12-17 19:02:15,214 - INFO - Detaching port ccd6560b-fb0f-4f68-9bf7-c17d1d2b5e97 from VM ctest-vn1-vm1-84841641 2025-12-17 19:02:15,248 - INFO - Deleting VM ctest-vn1-vm1-84841641 2025-12-17 19:02:15,505 - DEBUG - Response for delete_port : () 2025-12-17 19:02:15,693 - DEBUG - Response for delete_port : () 2025-12-17 19:02:15,693 - INFO - Deleting VN ctest-vn1-97783941 2025-12-17 19:02:15,858 - DEBUG - Response for deleting network () 2025-12-17 19:02:16,128 - DEBUG - No XMPP flaps were noticed during the test 2025-12-17 19:02:16,128 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-12-17 19:02:16,128 - INFO - -------------------------------------------------------------------------------- 2025-12-17 19:02:16,874 - INFO - Deleted project: ctest-TestPorts-67343706, ID : 1694982c-21c9-4d9b-81cd-5e96d94bd3a9