2025-10-09 08:25:51,164 - INFO - Domain Default found not creating 2025-10-09 08:25:51,346 - INFO - Project ctest-TestPorts-18430478 not found, creating it 2025-10-09 08:25:51,815 - INFO - Created Project:ctest-TestPorts-18430478, ID : b6e0e658-c01f-48bb-99cd-d0489468756f 2025-10-09 08:25:53,221 - INFO - ================================================================================ 2025-10-09 08:25:53,221 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 08:25:53,221 - 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-09 08:25:53,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 08:25:53,488 - INFO - Initial checks done. Running the testcase now 2025-10-09 08:25:53,488 - INFO - 2025-10-09 08:25:54,001 - DEBUG - Response for create_network : {'network': {'id': 'fd6af3f7-ebab-4d9e-97b1-caa2ba25d49a', 'name': 'ctest-vn-87400355', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'project_id': 'b6e0e658c01f48bb99cdd0489468756f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18430478', 'ctest-vn-87400355'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:25:54,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '91433c35-f6bb-449b-ae94-6fa0085c252f', 'name': '', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'fd6af3f7-ebab-4d9e-97b1-caa2ba25d49a', 'ip_version': 4, 'cidr': '201.187.136.192/26', 'allocation_pools': [{'start': '201.187.136.194', 'end': '201.187.136.254'}], 'gateway_ip': '201.187.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.187.136.194', 'tags': [], 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:54,178 - INFO - Created VN ctest-vn-87400355 2025-10-09 08:25:54,227 - DEBUG - VN ctest-vn-87400355 UUID is fd6af3f7-ebab-4d9e-97b1-caa2ba25d49a 2025-10-09 08:25:54,327 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18430478', 'ctest-vmi-93003063']} 2025-10-09 08:25:54,592 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93003063', 'id': 'dd93ffdd-386d-4681-b277-ffbbd33903d9', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'fd6af3f7-ebab-4d9e-97b1-caa2ba25d49a', 'mac_address': '02:dd:93:ff:dd:38', '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': '201.187.136.195', 'subnet_id': '91433c35-f6bb-449b-ae94-6fa0085c252f'}], 'security_groups': ['40c0fe9b-f7e4-444f-8457-4bea1392d72b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:54,592 - DEBUG - Created port dd93ffdd-386d-4681-b277-ffbbd33903d9 2025-10-09 08:25:54,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dd93ffdd-386d-4681-b277-ffbbd33903d9 2025-10-09 08:25:54,986 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dd93ffdd-386d-4681-b277-ffbbd33903d9 2025-10-09 08:25:55,015 - INFO - VMI dd93ffdd-386d-4681-b277-ffbbd33903d9 verification in API Server passed 2025-10-09 08:25:55,117 - DEBUG - Response for delete_port : () 2025-10-09 08:25:55,117 - INFO - Deleted port dd93ffdd-386d-4681-b277-ffbbd33903d9 2025-10-09 08:25:55,117 - INFO - Deleting VN ctest-vn-87400355 2025-10-09 08:25:55,213 - DEBUG - Response for deleting network () 2025-10-09 08:25:55,467 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 08:25:55,467 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-09 08:25:55,468 - INFO - -------------------------------------------------------------------------------- 2025-10-09 08:25:55,470 - INFO - ================================================================================ 2025-10-09 08:25:55,470 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 08:25:55,470 - 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-09 08:25:55,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 08:25:55,756 - INFO - Initial checks done. Running the testcase now 2025-10-09 08:25:55,756 - INFO - 2025-10-09 08:25:55,911 - DEBUG - Response for create_network : {'network': {'id': 'f127fc54-4ea8-4b7c-8c0d-b280968a97a7', 'name': 'ctest-vn1-68059048', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'project_id': 'b6e0e658c01f48bb99cdd0489468756f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18430478', 'ctest-vn1-68059048'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:25:56,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '198ce479-8f80-424a-a633-dbecacc47ff5', 'name': '', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'f127fc54-4ea8-4b7c-8c0d-b280968a97a7', 'ip_version': 4, 'cidr': '99.9.171.128/26', 'allocation_pools': [{'start': '99.9.171.130', 'end': '99.9.171.190'}], 'gateway_ip': '99.9.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.9.171.130', 'tags': [], 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:56,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be3ddf7e-24df-4371-ab02-da061834ee0e', 'name': '', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'f127fc54-4ea8-4b7c-8c0d-b280968a97a7', 'ip_version': 4, 'cidr': '17.206.209.128/26', 'allocation_pools': [{'start': '17.206.209.130', 'end': '17.206.209.190'}], 'gateway_ip': '17.206.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.206.209.130', 'tags': [], 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:56,298 - INFO - Created VN ctest-vn1-68059048 2025-10-09 08:25:56,348 - DEBUG - VN ctest-vn1-68059048 UUID is f127fc54-4ea8-4b7c-8c0d-b280968a97a7 2025-10-09 08:25:56,646 - DEBUG - Response for create_port : {'port': {'name': 'f9e04408-52d4-4f95-9cab-bbbe41547ab1', 'id': 'f9e04408-52d4-4f95-9cab-bbbe41547ab1', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'f127fc54-4ea8-4b7c-8c0d-b280968a97a7', 'mac_address': '02:f9:e0:44:08:52', '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': '99.9.171.133', 'subnet_id': '198ce479-8f80-424a-a633-dbecacc47ff5'}], 'security_groups': ['40c0fe9b-f7e4-444f-8457-4bea1392d72b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:56,841 - DEBUG - Response for create_port : {'port': {'name': '9bca7f58-420c-4429-b2cf-a39151ecfb4f', 'id': '9bca7f58-420c-4429-b2cf-a39151ecfb4f', 'tenant_id': 'b6e0e658c01f48bb99cdd0489468756f', 'network_id': 'f127fc54-4ea8-4b7c-8c0d-b280968a97a7', 'mac_address': '02:9b:ca:7f:58:42', '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': '17.206.209.133', 'subnet_id': 'be3ddf7e-24df-4371-ab02-da061834ee0e'}], 'security_groups': ['40c0fe9b-f7e4-444f-8457-4bea1392d72b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b6e0e658c01f48bb99cdd0489468756f'}} 2025-10-09 08:25:56,903 - DEBUG - Services list from nova: [, , ] 2025-10-09 08:25:57,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:25:57,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:25:57,652 - INFO - Waiting for VM ctest-vn1-vm1-08422866 to be up.. 2025-10-09 08:25:57,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 08:26:02,763 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:26:02,764 - INFO - VM name : ctest-vn1-vm1-08422866 2025-10-09 08:26:02,833 - DEBUG - VM ctest-vn1-vm1-08422866 ID is 28fc4047-4083-489a-b4c3-dff17cb5435f 2025-10-09 08:26:02,851 - DEBUG - VM ctest-vn1-vm1-08422866 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:26:03,043 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/28fc4047-4083-489a-b4c3-dff17cb5435f 2025-10-09 08:26:03,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f9e04408-52d4-4f95-9cab-bbbe41547ab1 2025-10-09 08:26:06,309 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-09 08:26:06,309 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-08422866 failed! 2025-10-09 08:26:06,367 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18430478:ctest-vn1-68059048 is 99.9.171.129 and allocation pool is NOT set 2025-10-09 08:26:06,368 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18430478:ctest-vn1-68059048 is 17.206.209.129 and allocation pool is NOT set 2025-10-09 08:26:08,434 - 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=9.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 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 = 1.505/5.694/9.883/4.189 ms') 2025-10-09 08:26:08,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-08422866 passed 2025-10-09 08:26:08,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:26:08,588 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08422866, IP 99.9.171.133, Port 22 2025-10-09 08:26:08,744 - DEBUG - VM ctest-vn1-vm1-08422866 is ready for SSH connections 2025-10-09 08:26:08,744 - INFO - Waiting for VM ctest-vn1-vm2-04954125 to be up.. 2025-10-09 08:26:08,821 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:26:08,821 - INFO - VM name : ctest-vn1-vm2-04954125 2025-10-09 08:26:08,894 - DEBUG - VM ctest-vn1-vm2-04954125 ID is 6ad40a87-468b-4376-9fa3-a9d2f2838612 2025-10-09 08:26:08,894 - DEBUG - VM ctest-vn1-vm2-04954125 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:26:08,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ad40a87-468b-4376-9fa3-a9d2f2838612 2025-10-09 08:26:08,976 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9bca7f58-420c-4429-b2cf-a39151ecfb4f 2025-10-09 08:26:10,209 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 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 = 0.493/1.661/2.829/1.168 ms') 2025-10-09 08:26:10,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-04954125 passed 2025-10-09 08:26:10,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:26:10,364 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04954125, IP 17.206.209.133, Port 22 2025-10-09 08:26:10,519 - DEBUG - VM ctest-vn1-vm2-04954125 is ready for SSH connections 2025-10-09 08:26:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:26:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:26:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:26:10,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.9.171.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 08:26:10,519 - DEBUG - ping -s 56 -c 3 -W 1 99.9.171.133 2025-10-09 08:26:14,533 - DEBUG - PING 99.9.171.133 (99.9.171.133): 56 data bytes 64 bytes from 99.9.171.133: seq=0 ttl=63 time=4.140 ms 64 bytes from 99.9.171.133: seq=1 ttl=63 time=0.852 ms 64 bytes from 99.9.171.133: seq=2 ttl=63 time=1.018 ms --- 99.9.171.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/2.003/4.140 ms 2025-10-09 08:26:14,533 - INFO - Ping to IP 99.9.171.133 from VM ctest-vn1-vm2-04954125 passed 2025-10-09 08:26:14,533 - INFO - Detaching port 9bca7f58-420c-4429-b2cf-a39151ecfb4f from VM ctest-vn1-vm2-04954125 2025-10-09 08:26:14,594 - INFO - Deleting VM ctest-vn1-vm2-04954125 2025-10-09 08:26:14,667 - INFO - Detaching port f9e04408-52d4-4f95-9cab-bbbe41547ab1 from VM ctest-vn1-vm1-08422866 2025-10-09 08:26:14,700 - INFO - Deleting VM ctest-vn1-vm1-08422866 2025-10-09 08:26:14,910 - DEBUG - Response for delete_port : () 2025-10-09 08:26:15,088 - DEBUG - Response for delete_port : () 2025-10-09 08:26:15,089 - INFO - Deleting VN ctest-vn1-68059048 2025-10-09 08:26:15,195 - DEBUG - Response for deleting network () 2025-10-09 08:26:15,452 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 08:26:15,452 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-09 08:26:15,452 - INFO - -------------------------------------------------------------------------------- 2025-10-09 08:26:16,111 - INFO - Deleted project: ctest-TestPorts-18430478, ID : b6e0e658-c01f-48bb-99cd-d0489468756f