2025-07-31 15:27:50,258 - INFO - Domain Default found not creating 2025-07-31 15:27:50,441 - INFO - Project ctest-TestPorts-96989825 not found, creating it 2025-07-31 15:27:50,934 - INFO - Created Project:ctest-TestPorts-96989825, ID : 94d7bca3-4c7d-406c-ab69-1068ec4fe055 2025-07-31 15:27:52,467 - INFO - ================================================================================ 2025-07-31 15:27:52,467 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 15:27:52,467 - 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-31 15:27:52,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-31 15:27:52,723 - INFO - Initial checks done. Running the testcase now 2025-07-31 15:27:52,723 - INFO - 2025-07-31 15:27:53,300 - DEBUG - Response for create_network : {'network': {'id': '38b2125d-7358-4089-beb8-06f0871135d3', 'name': 'ctest-vn-95031099', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'project_id': '94d7bca34c7d406cab691068ec4fe055', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96989825', 'ctest-vn-95031099'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 15:27:53,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '4801a867-a912-456b-b82b-5f41bc869ff1', 'name': '', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '38b2125d-7358-4089-beb8-06f0871135d3', 'ip_version': 4, 'cidr': '19.35.20.64/26', 'allocation_pools': [{'start': '19.35.20.66', 'end': '19.35.20.126'}], 'gateway_ip': '19.35.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.35.20.66', 'tags': [], 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:53,540 - INFO - Created VN ctest-vn-95031099 2025-07-31 15:27:53,592 - DEBUG - VN ctest-vn-95031099 UUID is 38b2125d-7358-4089-beb8-06f0871135d3 2025-07-31 15:27:53,705 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96989825', 'ctest-vmi-79702084']} 2025-07-31 15:27:54,006 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79702084', 'id': 'e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '38b2125d-7358-4089-beb8-06f0871135d3', 'mac_address': '02:e6:af:2a:5a:e5', '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': '19.35.20.67', 'subnet_id': '4801a867-a912-456b-b82b-5f41bc869ff1'}], 'security_groups': ['0094c70d-b4e4-4029-a4eb-dfd4d4b6073c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:54,006 - DEBUG - Created port e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba 2025-07-31 15:27:54,112 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba 2025-07-31 15:27:54,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba 2025-07-31 15:27:54,451 - INFO - VMI e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba verification in API Server passed 2025-07-31 15:27:54,567 - DEBUG - Response for delete_port : () 2025-07-31 15:27:54,567 - INFO - Deleted port e6af2a5a-e5f4-4fc8-8ecc-ce0b68a6c5ba 2025-07-31 15:27:54,567 - INFO - Deleting VN ctest-vn-95031099 2025-07-31 15:27:54,688 - DEBUG - Response for deleting network () 2025-07-31 15:27:54,947 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 15:27:54,947 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-31 15:27:54,947 - INFO - -------------------------------------------------------------------------------- 2025-07-31 15:27:54,950 - INFO - ================================================================================ 2025-07-31 15:27:54,950 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 15:27:54,950 - 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-31 15:27:55,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-31 15:27:55,237 - INFO - Initial checks done. Running the testcase now 2025-07-31 15:27:55,237 - INFO - 2025-07-31 15:27:55,439 - DEBUG - Response for create_network : {'network': {'id': '7e0dbb5d-a582-468b-9e43-be63b73599b6', 'name': 'ctest-vn1-92291543', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'project_id': '94d7bca34c7d406cab691068ec4fe055', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96989825', 'ctest-vn1-92291543'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 15:27:55,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '30816dcb-b0ab-42ff-98e4-1502cee30427', 'name': '', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '7e0dbb5d-a582-468b-9e43-be63b73599b6', 'ip_version': 4, 'cidr': '136.47.13.0/26', 'allocation_pools': [{'start': '136.47.13.2', 'end': '136.47.13.62'}], 'gateway_ip': '136.47.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.47.13.2', 'tags': [], 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:55,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '92fddd66-2d6f-4937-9ab8-c056d7bd01f0', 'name': '', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '7e0dbb5d-a582-468b-9e43-be63b73599b6', 'ip_version': 4, 'cidr': '27.183.23.192/26', 'allocation_pools': [{'start': '27.183.23.194', 'end': '27.183.23.254'}], 'gateway_ip': '27.183.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.183.23.194', 'tags': [], 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:55,843 - INFO - Created VN ctest-vn1-92291543 2025-07-31 15:27:55,896 - DEBUG - VN ctest-vn1-92291543 UUID is 7e0dbb5d-a582-468b-9e43-be63b73599b6 2025-07-31 15:27:56,250 - DEBUG - Response for create_port : {'port': {'name': '48cb7d18-b3b2-43e1-b69e-6684ece7f2d2', 'id': '48cb7d18-b3b2-43e1-b69e-6684ece7f2d2', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '7e0dbb5d-a582-468b-9e43-be63b73599b6', 'mac_address': '02:48:cb:7d:18:b3', '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.47.13.5', 'subnet_id': '30816dcb-b0ab-42ff-98e4-1502cee30427'}], 'security_groups': ['0094c70d-b4e4-4029-a4eb-dfd4d4b6073c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:56,438 - DEBUG - Response for create_port : {'port': {'name': '630a2b75-6f71-422c-b399-6e00cadbf79d', 'id': '630a2b75-6f71-422c-b399-6e00cadbf79d', 'tenant_id': '94d7bca34c7d406cab691068ec4fe055', 'network_id': '7e0dbb5d-a582-468b-9e43-be63b73599b6', 'mac_address': '02:63:0a:2b:75:6f', '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': '27.183.23.197', 'subnet_id': '92fddd66-2d6f-4937-9ab8-c056d7bd01f0'}], 'security_groups': ['0094c70d-b4e4-4029-a4eb-dfd4d4b6073c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d7bca34c7d406cab691068ec4fe055'}} 2025-07-31 15:27:56,497 - DEBUG - Services list from nova: [, , ] 2025-07-31 15:27:56,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1) 2025-07-31 15:27:57,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1) 2025-07-31 15:27:57,387 - INFO - Waiting for VM ctest-vn1-vm1-72957412 to be up.. 2025-07-31 15:27:57,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 15:28:02,529 - DEBUG - VM is in ACTIVE state now 2025-07-31 15:28:02,530 - INFO - VM name : ctest-vn1-vm1-72957412 2025-07-31 15:28:02,605 - DEBUG - VM ctest-vn1-vm1-72957412 ID is 4b8b07e8-4a07-4796-b659-6a678dcbafaf 2025-07-31 15:28:02,625 - DEBUG - VM ctest-vn1-vm1-72957412 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1 2025-07-31 15:28:02,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4b8b07e8-4a07-4796-b659-6a678dcbafaf 2025-07-31 15:28:02,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48cb7d18-b3b2-43e1-b69e-6684ece7f2d2 2025-07-31 15:28:05,997 - 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 1027ms') 2025-07-31 15:28:05,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72957412 failed! 2025-07-31 15:28:06,064 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96989825:ctest-vn1-92291543 is 136.47.13.1 and allocation pool is NOT set 2025-07-31 15:28:06,065 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96989825:ctest-vn1-92291543 is 27.183.23.193 and allocation pool is NOT set 2025-07-31 15:28:10,155 - 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.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 7.891/7.891/7.891/0.000 ms') 2025-07-31 15:28:10,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72957412 passed 2025-07-31 15:28:10,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:28:10,313 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72957412, IP 136.47.13.5, Port 22 2025-07-31 15:28:10,468 - DEBUG - VM ctest-vn1-vm1-72957412 is ready for SSH connections 2025-07-31 15:28:10,468 - INFO - Waiting for VM ctest-vn1-vm2-70259191 to be up.. 2025-07-31 15:28:10,556 - DEBUG - VM is in ACTIVE state now 2025-07-31 15:28:10,556 - INFO - VM name : ctest-vn1-vm2-70259191 2025-07-31 15:28:10,638 - DEBUG - VM ctest-vn1-vm2-70259191 ID is f3a2831b-36cf-45b0-89ae-8e98735bc055 2025-07-31 15:28:10,638 - DEBUG - VM ctest-vn1-vm2-70259191 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1 2025-07-31 15:28:10,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f3a2831b-36cf-45b0-89ae-8e98735bc055 2025-07-31 15:28:10,731 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/630a2b75-6f71-422c-b399-6e00cadbf79d 2025-07-31 15:28:11,980 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.843/3.228/1.385 ms') 2025-07-31 15:28:11,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70259191 passed 2025-07-31 15:28:12,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:28:12,137 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70259191, IP 27.183.23.197, Port 22 2025-07-31 15:28:12,292 - DEBUG - VM ctest-vn1-vm2-70259191 is ready for SSH connections 2025-07-31 15:28:12,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:28:12,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:28:12,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 15:28:12,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.47.13.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-31 15:28:12,293 - DEBUG - ping -s 56 -c 3 -W 1 136.47.13.5 2025-07-31 15:28:15,070 - DEBUG - PING 136.47.13.5 (136.47.13.5): 56 data bytes 64 bytes from 136.47.13.5: seq=0 ttl=63 time=5.150 ms 64 bytes from 136.47.13.5: seq=1 ttl=63 time=1.003 ms 64 bytes from 136.47.13.5: seq=2 ttl=63 time=0.985 ms --- 136.47.13.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/2.379/5.150 ms 2025-07-31 15:28:15,071 - INFO - Ping to IP 136.47.13.5 from VM ctest-vn1-vm2-70259191 passed 2025-07-31 15:28:15,071 - INFO - Detaching port 630a2b75-6f71-422c-b399-6e00cadbf79d from VM ctest-vn1-vm2-70259191 2025-07-31 15:28:15,124 - INFO - Deleting VM ctest-vn1-vm2-70259191 2025-07-31 15:28:15,207 - INFO - Detaching port 48cb7d18-b3b2-43e1-b69e-6684ece7f2d2 from VM ctest-vn1-vm1-72957412 2025-07-31 15:28:15,244 - INFO - Deleting VM ctest-vn1-vm1-72957412 2025-07-31 15:28:15,520 - DEBUG - Response for delete_port : () 2025-07-31 15:28:15,715 - DEBUG - Response for delete_port : () 2025-07-31 15:28:15,716 - INFO - Deleting VN ctest-vn1-92291543 2025-07-31 15:28:15,889 - DEBUG - Response for deleting network () 2025-07-31 15:28:16,151 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 15:28:16,151 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-07-31 15:28:16,151 - INFO - -------------------------------------------------------------------------------- 2025-07-31 15:28:16,897 - INFO - Deleted project: ctest-TestPorts-96989825, ID : 94d7bca3-4c7d-406c-ab69-1068ec4fe055