2025-11-01 03:42:01,957 - INFO - Domain Default found not creating 2025-11-01 03:42:02,093 - INFO - Project ctest-TestPorts-66285779 not found, creating it 2025-11-01 03:42:02,522 - INFO - Created Project:ctest-TestPorts-66285779, ID : 39fa6138-1465-4cdd-88c6-8b02779b4e26 2025-11-01 03:42:03,901 - INFO - ================================================================================ 2025-11-01 03:42:03,901 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 03:42:03,901 - 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-11-01 03:42:04,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 03:42:04,158 - INFO - Initial checks done. Running the testcase now 2025-11-01 03:42:04,158 - INFO - 2025-11-01 03:42:04,685 - DEBUG - Response for create_network : {'network': {'id': 'cd06fc9d-88f5-4cae-9427-36ab66299a6b', 'name': 'ctest-vn-58114258', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'project_id': '39fa613814654cdd88c68b02779b4e26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66285779', 'ctest-vn-58114258'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 03:42:04,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fb5aff8-a51e-4a11-afcb-5375cf52ca45', 'name': '', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': 'cd06fc9d-88f5-4cae-9427-36ab66299a6b', 'ip_version': 4, 'cidr': '218.249.125.64/26', 'allocation_pools': [{'start': '218.249.125.66', 'end': '218.249.125.126'}], 'gateway_ip': '218.249.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.249.125.66', 'tags': [], 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:04,936 - INFO - Created VN ctest-vn-58114258 2025-11-01 03:42:04,989 - DEBUG - VN ctest-vn-58114258 UUID is cd06fc9d-88f5-4cae-9427-36ab66299a6b 2025-11-01 03:42:05,091 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66285779', 'ctest-vmi-17780639']} 2025-11-01 03:42:05,348 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17780639', 'id': 'a871a1af-2687-4924-9642-91bb8adb8ce3', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': 'cd06fc9d-88f5-4cae-9427-36ab66299a6b', 'mac_address': '02:a8:71:a1:af: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': '218.249.125.67', 'subnet_id': '8fb5aff8-a51e-4a11-afcb-5375cf52ca45'}], 'security_groups': ['ed0d8dbc-89e6-422c-a33e-0762a99a8338'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:05,348 - DEBUG - Created port a871a1af-2687-4924-9642-91bb8adb8ce3 2025-11-01 03:42:05,449 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a871a1af-2687-4924-9642-91bb8adb8ce3 2025-11-01 03:42:05,736 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a871a1af-2687-4924-9642-91bb8adb8ce3 2025-11-01 03:42:05,767 - INFO - VMI a871a1af-2687-4924-9642-91bb8adb8ce3 verification in API Server passed 2025-11-01 03:42:05,846 - DEBUG - Response for delete_port : () 2025-11-01 03:42:05,846 - INFO - Deleted port a871a1af-2687-4924-9642-91bb8adb8ce3 2025-11-01 03:42:05,847 - INFO - Deleting VN ctest-vn-58114258 2025-11-01 03:42:05,942 - DEBUG - Response for deleting network () 2025-11-01 03:42:06,197 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 03:42:06,197 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-01 03:42:06,197 - INFO - -------------------------------------------------------------------------------- 2025-11-01 03:42:06,200 - INFO - ================================================================================ 2025-11-01 03:42:06,200 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 03:42:06,200 - 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-11-01 03:42:06,493 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-11-01 03:42:06,493 - INFO - Initial checks done. Running the testcase now 2025-11-01 03:42:06,493 - INFO - 2025-11-01 03:42:06,652 - DEBUG - Response for create_network : {'network': {'id': '1b854128-42e4-421f-b88e-ce5d7bdcbc85', 'name': 'ctest-vn1-83535707', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'project_id': '39fa613814654cdd88c68b02779b4e26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66285779', 'ctest-vn1-83535707'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 03:42:06,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '3645cd10-e562-4f5e-bff8-7a6706cfe3f1', 'name': '', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': '1b854128-42e4-421f-b88e-ce5d7bdcbc85', 'ip_version': 4, 'cidr': '18.22.61.192/26', 'allocation_pools': [{'start': '18.22.61.194', 'end': '18.22.61.254'}], 'gateway_ip': '18.22.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.22.61.194', 'tags': [], 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:06,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '82ddada9-6b76-456f-8379-583d83443640', 'name': '', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': '1b854128-42e4-421f-b88e-ce5d7bdcbc85', 'ip_version': 4, 'cidr': '211.254.67.192/26', 'allocation_pools': [{'start': '211.254.67.194', 'end': '211.254.67.254'}], 'gateway_ip': '211.254.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.254.67.194', 'tags': [], 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:06,965 - INFO - Created VN ctest-vn1-83535707 2025-11-01 03:42:07,017 - DEBUG - VN ctest-vn1-83535707 UUID is 1b854128-42e4-421f-b88e-ce5d7bdcbc85 2025-11-01 03:42:07,312 - DEBUG - Response for create_port : {'port': {'name': '1e8a1afe-28ca-46eb-a643-9299feec6245', 'id': '1e8a1afe-28ca-46eb-a643-9299feec6245', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': '1b854128-42e4-421f-b88e-ce5d7bdcbc85', 'mac_address': '02:1e:8a:1a:fe:28', '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': '18.22.61.197', 'subnet_id': '3645cd10-e562-4f5e-bff8-7a6706cfe3f1'}], 'security_groups': ['ed0d8dbc-89e6-422c-a33e-0762a99a8338'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:07,483 - DEBUG - Response for create_port : {'port': {'name': 'c186d9cd-0abe-4e3b-bbdb-265aa6c24549', 'id': 'c186d9cd-0abe-4e3b-bbdb-265aa6c24549', 'tenant_id': '39fa613814654cdd88c68b02779b4e26', 'network_id': '1b854128-42e4-421f-b88e-ce5d7bdcbc85', 'mac_address': '02:c1:86:d9:cd:0a', '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': '211.254.67.197', 'subnet_id': '82ddada9-6b76-456f-8379-583d83443640'}], 'security_groups': ['ed0d8dbc-89e6-422c-a33e-0762a99a8338'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '39fa613814654cdd88c68b02779b4e26'}} 2025-11-01 03:42:07,534 - DEBUG - Services list from nova: [, , ] 2025-11-01 03:42:07,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4584-1) 2025-11-01 03:42:08,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4584-1) 2025-11-01 03:42:08,178 - INFO - Waiting for VM ctest-vn1-vm1-52974800 to be up.. 2025-11-01 03:42:08,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 03:42:13,287 - DEBUG - VM is in ACTIVE state now 2025-11-01 03:42:13,287 - INFO - VM name : ctest-vn1-vm1-52974800 2025-11-01 03:42:13,355 - DEBUG - VM ctest-vn1-vm1-52974800 ID is b3748895-1fa2-446b-9f22-52cd8dd9cf8e 2025-11-01 03:42:13,372 - DEBUG - VM ctest-vn1-vm1-52974800 launched on Node cn-jenkins-deploy-platform-ansible-os-4584-1 2025-11-01 03:42:13,439 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b3748895-1fa2-446b-9f22-52cd8dd9cf8e 2025-11-01 03:42:13,446 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1e8a1afe-28ca-46eb-a643-9299feec6245 2025-11-01 03:42:16,712 - 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 1031ms') 2025-11-01 03:42:16,713 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52974800 failed! 2025-11-01 03:42:16,765 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66285779:ctest-vn1-83535707 is 18.22.61.193 and allocation pool is NOT set 2025-11-01 03:42:16,765 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66285779:ctest-vn1-83535707 is 211.254.67.193 and allocation pool is NOT set 2025-11-01 03:42:18,825 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.714 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.714/2.182/3.651/1.468 ms') 2025-11-01 03:42:18,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52974800 passed 2025-11-01 03:42:18,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:18,981 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52974800, IP 18.22.61.197, Port 22 2025-11-01 03:42:19,036 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-01 03:42:19,113 - DEBUG - VM ctest-vn1-vm1-52974800 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 03:42:24,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:24,113 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52974800, IP 18.22.61.197, Port 22 2025-11-01 03:42:24,269 - DEBUG - VM ctest-vn1-vm1-52974800 is ready for SSH connections 2025-11-01 03:42:24,269 - INFO - Waiting for VM ctest-vn1-vm2-28465922 to be up.. 2025-11-01 03:42:24,337 - DEBUG - VM is in ACTIVE state now 2025-11-01 03:42:24,337 - INFO - VM name : ctest-vn1-vm2-28465922 2025-11-01 03:42:24,405 - DEBUG - VM ctest-vn1-vm2-28465922 ID is f3f4db50-beb8-4a03-96a4-7ef3b78a1dd6 2025-11-01 03:42:24,406 - DEBUG - VM ctest-vn1-vm2-28465922 launched on Node cn-jenkins-deploy-platform-ansible-os-4584-1 2025-11-01 03:42:24,467 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f3f4db50-beb8-4a03-96a4-7ef3b78a1dd6 2025-11-01 03:42:24,474 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c186d9cd-0abe-4e3b-bbdb-265aa6c24549 2025-11-01 03:42:25,702 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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 = 0.359/1.493/2.627/1.134 ms') 2025-11-01 03:42:25,702 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28465922 passed 2025-11-01 03:42:25,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:25,849 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28465922, IP 211.254.67.197, Port 22 2025-11-01 03:42:26,004 - DEBUG - VM ctest-vn1-vm2-28465922 is ready for SSH connections 2025-11-01 03:42:26,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:26,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:26,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 03:42:26,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.22.61.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-01 03:42:26,005 - DEBUG - ping -s 56 -c 3 -W 1 18.22.61.197 2025-11-01 03:42:28,634 - DEBUG - PING 18.22.61.197 (18.22.61.197): 56 data bytes 64 bytes from 18.22.61.197: seq=0 ttl=63 time=3.681 ms 64 bytes from 18.22.61.197: seq=1 ttl=63 time=0.878 ms 64 bytes from 18.22.61.197: seq=2 ttl=63 time=0.859 ms --- 18.22.61.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.806/3.681 ms 2025-11-01 03:42:28,634 - INFO - Ping to IP 18.22.61.197 from VM ctest-vn1-vm2-28465922 passed 2025-11-01 03:42:28,634 - INFO - Detaching port c186d9cd-0abe-4e3b-bbdb-265aa6c24549 from VM ctest-vn1-vm2-28465922 2025-11-01 03:42:28,678 - INFO - Deleting VM ctest-vn1-vm2-28465922 2025-11-01 03:42:28,740 - INFO - Detaching port 1e8a1afe-28ca-46eb-a643-9299feec6245 from VM ctest-vn1-vm1-52974800 2025-11-01 03:42:28,773 - INFO - Deleting VM ctest-vn1-vm1-52974800 2025-11-01 03:42:28,963 - DEBUG - Response for delete_port : () 2025-11-01 03:42:29,113 - DEBUG - Response for delete_port : () 2025-11-01 03:42:29,113 - INFO - Deleting VN ctest-vn1-83535707 2025-11-01 03:42:29,261 - DEBUG - Response for deleting network () 2025-11-01 03:42:29,513 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 03:42:29,513 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-01 03:42:29,513 - INFO - -------------------------------------------------------------------------------- 2025-11-01 03:42:30,162 - INFO - Deleted project: ctest-TestPorts-66285779, ID : 39fa6138-1465-4cdd-88c6-8b02779b4e26