2025-08-19 21:01:53,962 - INFO - Domain Default found not creating 2025-08-19 21:01:54,085 - INFO - Project ctest-TestPorts-47299737 not found, creating it 2025-08-19 21:01:54,527 - INFO - Created Project:ctest-TestPorts-47299737, ID : f1615f9a-96e7-4b18-bdc8-ce153feaad52 2025-08-19 21:01:55,884 - INFO - ================================================================================ 2025-08-19 21:01:55,884 - INFO - STARTING TEST : test_ports_bindings 2025-08-19 21:01:55,884 - 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-19 21:01:56,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-19 21:01:56,135 - INFO - Initial checks done. Running the testcase now 2025-08-19 21:01:56,135 - INFO - 2025-08-19 21:01:56,635 - DEBUG - Response for create_network : {'network': {'id': 'd8d66c75-c7c7-4b9d-845d-1e2dd8e4647b', 'name': 'ctest-vn-82084642', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47299737', 'ctest-vn-82084642'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:01:56,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd24d82bf-cdc6-49e9-87f5-44fc7095857c', 'name': '', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': 'd8d66c75-c7c7-4b9d-845d-1e2dd8e4647b', 'ip_version': 4, 'cidr': '68.40.37.64/26', 'allocation_pools': [{'start': '68.40.37.66', 'end': '68.40.37.126'}], 'gateway_ip': '68.40.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.40.37.66', 'tags': [], 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:56,878 - INFO - Created VN ctest-vn-82084642 2025-08-19 21:01:56,935 - DEBUG - VN ctest-vn-82084642 UUID is d8d66c75-c7c7-4b9d-845d-1e2dd8e4647b 2025-08-19 21:01:57,039 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47299737', 'ctest-vmi-62971219']} 2025-08-19 21:01:57,312 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62971219', 'id': '07b81f56-262c-4296-bbcb-f5ed95efb2a8', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': 'd8d66c75-c7c7-4b9d-845d-1e2dd8e4647b', 'mac_address': '02:07:b8:1f:56:26', '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.40.37.67', 'subnet_id': 'd24d82bf-cdc6-49e9-87f5-44fc7095857c'}], 'security_groups': ['aaaae259-b651-4db9-acb7-45ab510982f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:57,312 - DEBUG - Created port 07b81f56-262c-4296-bbcb-f5ed95efb2a8 2025-08-19 21:01:57,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07b81f56-262c-4296-bbcb-f5ed95efb2a8 2025-08-19 21:01:57,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07b81f56-262c-4296-bbcb-f5ed95efb2a8 2025-08-19 21:01:57,744 - INFO - VMI 07b81f56-262c-4296-bbcb-f5ed95efb2a8 verification in API Server passed 2025-08-19 21:01:57,830 - DEBUG - Response for delete_port : () 2025-08-19 21:01:57,830 - INFO - Deleted port 07b81f56-262c-4296-bbcb-f5ed95efb2a8 2025-08-19 21:01:57,830 - INFO - Deleting VN ctest-vn-82084642 2025-08-19 21:01:57,928 - DEBUG - Response for deleting network () 2025-08-19 21:01:58,182 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 21:01:58,183 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-19 21:01:58,183 - INFO - -------------------------------------------------------------------------------- 2025-08-19 21:01:58,185 - INFO - ================================================================================ 2025-08-19 21:01:58,185 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-19 21:01:58,185 - 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-19 21:01:58,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-19 21:01:58,474 - INFO - Initial checks done. Running the testcase now 2025-08-19 21:01:58,475 - INFO - 2025-08-19 21:01:58,645 - DEBUG - Response for create_network : {'network': {'id': '58eab0bd-2453-4a89-87e5-2a630349d757', 'name': 'ctest-vn1-09609252', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47299737', 'ctest-vn1-09609252'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:01:58,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '4012735d-8a10-410a-90bc-52a3967bc9fa', 'name': '', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': '58eab0bd-2453-4a89-87e5-2a630349d757', 'ip_version': 4, 'cidr': '13.191.226.192/26', 'allocation_pools': [{'start': '13.191.226.194', 'end': '13.191.226.254'}], 'gateway_ip': '13.191.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.191.226.194', 'tags': [], 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:58,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f5b61f-46bd-4f7e-8ecb-e672935ef0b7', 'name': '', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': '58eab0bd-2453-4a89-87e5-2a630349d757', 'ip_version': 4, 'cidr': '115.189.219.64/26', 'allocation_pools': [{'start': '115.189.219.66', 'end': '115.189.219.126'}], 'gateway_ip': '115.189.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.189.219.66', 'tags': [], 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:58,973 - INFO - Created VN ctest-vn1-09609252 2025-08-19 21:01:59,023 - DEBUG - VN ctest-vn1-09609252 UUID is 58eab0bd-2453-4a89-87e5-2a630349d757 2025-08-19 21:01:59,315 - DEBUG - Response for create_port : {'port': {'name': 'cf9e6dac-a45b-4269-9874-e304eb4caabd', 'id': 'cf9e6dac-a45b-4269-9874-e304eb4caabd', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': '58eab0bd-2453-4a89-87e5-2a630349d757', 'mac_address': '02:cf:9e:6d:ac:a4', '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': '13.191.226.197', 'subnet_id': '4012735d-8a10-410a-90bc-52a3967bc9fa'}], 'security_groups': ['aaaae259-b651-4db9-acb7-45ab510982f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:59,468 - DEBUG - Response for create_port : {'port': {'name': 'd53d4758-8357-4b28-a484-e682f86c101c', 'id': 'd53d4758-8357-4b28-a484-e682f86c101c', 'tenant_id': 'f1615f9a96e74b18bdc8ce153feaad52', 'network_id': '58eab0bd-2453-4a89-87e5-2a630349d757', 'mac_address': '02:d5:3d:47:58:83', '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': '115.189.219.69', 'subnet_id': '52f5b61f-46bd-4f7e-8ecb-e672935ef0b7'}], 'security_groups': ['aaaae259-b651-4db9-acb7-45ab510982f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1615f9a96e74b18bdc8ce153feaad52'}} 2025-08-19 21:01:59,526 - DEBUG - Services list from nova: [, , ] 2025-08-19 21:01:59,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:02:00,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:02:00,162 - INFO - Waiting for VM ctest-vn1-vm1-44407501 to be up.. 2025-08-19 21:02:00,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 21:02:05,272 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:02:05,272 - INFO - VM name : ctest-vn1-vm1-44407501 2025-08-19 21:02:05,454 - DEBUG - VM ctest-vn1-vm1-44407501 ID is 62c210d1-9918-4cb3-9d16-781e40f82150 2025-08-19 21:02:05,470 - DEBUG - VM ctest-vn1-vm1-44407501 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:02:05,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/62c210d1-9918-4cb3-9d16-781e40f82150 2025-08-19 21:02:05,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf9e6dac-a45b-4269-9874-e304eb4caabd 2025-08-19 21:02:08,785 - 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-08-19 21:02:08,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44407501 failed! 2025-08-19 21:02:08,839 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47299737:ctest-vn1-09609252 is 13.191.226.193 and allocation pool is NOT set 2025-08-19 21:02:08,839 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47299737:ctest-vn1-09609252 is 115.189.219.65 and allocation pool is NOT set 2025-08-19 21:02:10,895 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.379/1.773/3.168/1.394 ms') 2025-08-19 21:02:10,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44407501 passed 2025-08-19 21:02:11,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:11,043 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44407501, IP 13.191.226.197, Port 22 2025-08-19 21:02:11,194 - DEBUG - VM ctest-vn1-vm1-44407501 is ready for SSH connections 2025-08-19 21:02:11,194 - INFO - Waiting for VM ctest-vn1-vm2-97926584 to be up.. 2025-08-19 21:02:11,256 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:02:11,256 - INFO - VM name : ctest-vn1-vm2-97926584 2025-08-19 21:02:11,316 - DEBUG - VM ctest-vn1-vm2-97926584 ID is d2fa4714-81b4-448e-90a5-d96560440b05 2025-08-19 21:02:11,316 - DEBUG - VM ctest-vn1-vm2-97926584 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:02:11,378 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d2fa4714-81b4-448e-90a5-d96560440b05 2025-08-19 21:02:11,384 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d53d4758-8357-4b28-a484-e682f86c101c 2025-08-19 21:02:12,612 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.506/2.589/1.082 ms') 2025-08-19 21:02:12,613 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97926584 passed 2025-08-19 21:02:12,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:12,763 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97926584, IP 115.189.219.69, Port 22 2025-08-19 21:02:12,921 - DEBUG - VM ctest-vn1-vm2-97926584 is ready for SSH connections 2025-08-19 21:02:12,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:12,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:12,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:12,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.191.226.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:02:12,922 - DEBUG - ping -s 56 -c 3 -W 1 13.191.226.197 2025-08-19 21:02:15,544 - DEBUG - PING 13.191.226.197 (13.191.226.197): 56 data bytes 64 bytes from 13.191.226.197: seq=0 ttl=63 time=3.115 ms 64 bytes from 13.191.226.197: seq=1 ttl=63 time=0.736 ms 64 bytes from 13.191.226.197: seq=2 ttl=63 time=0.713 ms --- 13.191.226.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.521/3.115 ms 2025-08-19 21:02:15,544 - INFO - Ping to IP 13.191.226.197 from VM ctest-vn1-vm2-97926584 passed 2025-08-19 21:02:15,544 - INFO - Detaching port d53d4758-8357-4b28-a484-e682f86c101c from VM ctest-vn1-vm2-97926584 2025-08-19 21:02:15,587 - INFO - Deleting VM ctest-vn1-vm2-97926584 2025-08-19 21:02:15,645 - INFO - Detaching port cf9e6dac-a45b-4269-9874-e304eb4caabd from VM ctest-vn1-vm1-44407501 2025-08-19 21:02:15,680 - INFO - Deleting VM ctest-vn1-vm1-44407501 2025-08-19 21:02:15,857 - DEBUG - Response for delete_port : () 2025-08-19 21:02:15,987 - DEBUG - Response for delete_port : () 2025-08-19 21:02:15,988 - INFO - Deleting VN ctest-vn1-09609252 2025-08-19 21:02:16,116 - DEBUG - Response for deleting network () 2025-08-19 21:02:16,372 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 21:02:16,372 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-19 21:02:16,373 - INFO - -------------------------------------------------------------------------------- 2025-08-19 21:02:17,029 - INFO - Deleted project: ctest-TestPorts-47299737, ID : f1615f9a-96e7-4b18-bdc8-ce153feaad52