2025-11-06 02:02:38,170 - INFO - Domain Default found not creating 2025-11-06 02:02:38,316 - INFO - Project ctest-TestPorts-71156810 not found, creating it 2025-11-06 02:02:38,757 - INFO - Created Project:ctest-TestPorts-71156810, ID : 3058dc41-a5cf-4ee2-aa5d-4a913a998da8 2025-11-06 02:02:40,777 - INFO - ================================================================================ 2025-11-06 02:02:40,777 - INFO - STARTING TEST : test_ports_bindings 2025-11-06 02:02:40,777 - 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-06 02:02:41,033 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-06 02:02:41,033 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:02:41,033 - INFO - 2025-11-06 02:02:41,557 - DEBUG - Response for create_network : {'network': {'id': 'a3462ff1-b12d-4390-be0b-4643d64d810e', 'name': 'ctest-vn-15765594', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71156810', 'ctest-vn-15765594'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:02:41,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a22484f-a4ca-4a1f-b929-13d65048c314', 'name': '', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'a3462ff1-b12d-4390-be0b-4643d64d810e', 'ip_version': 4, 'cidr': '183.207.116.128/26', 'allocation_pools': [{'start': '183.207.116.130', 'end': '183.207.116.190'}], 'gateway_ip': '183.207.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.207.116.130', 'tags': [], 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:41,719 - INFO - Created VN ctest-vn-15765594 2025-11-06 02:02:41,768 - DEBUG - VN ctest-vn-15765594 UUID is a3462ff1-b12d-4390-be0b-4643d64d810e 2025-11-06 02:02:41,880 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71156810', 'ctest-vmi-37213609']} 2025-11-06 02:02:42,101 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37213609', 'id': '333b5d37-bd80-4f3b-b5b1-1092c3c1a382', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'a3462ff1-b12d-4390-be0b-4643d64d810e', 'mac_address': '02:33:3b:5d:37:bd', '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': '183.207.116.131', 'subnet_id': '3a22484f-a4ca-4a1f-b929-13d65048c314'}], 'security_groups': ['c41fde02-a6d9-4e98-a4b1-68258cb7716a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:42,101 - DEBUG - Created port 333b5d37-bd80-4f3b-b5b1-1092c3c1a382 2025-11-06 02:02:42,204 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/333b5d37-bd80-4f3b-b5b1-1092c3c1a382 2025-11-06 02:02:42,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/333b5d37-bd80-4f3b-b5b1-1092c3c1a382 2025-11-06 02:02:42,521 - INFO - VMI 333b5d37-bd80-4f3b-b5b1-1092c3c1a382 verification in API Server passed 2025-11-06 02:02:42,604 - DEBUG - Response for delete_port : () 2025-11-06 02:02:42,604 - INFO - Deleted port 333b5d37-bd80-4f3b-b5b1-1092c3c1a382 2025-11-06 02:02:42,605 - INFO - Deleting VN ctest-vn-15765594 2025-11-06 02:02:42,695 - DEBUG - Response for deleting network () 2025-11-06 02:02:42,948 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 02:02:42,948 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-06 02:02:42,948 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:02:42,951 - INFO - ================================================================================ 2025-11-06 02:02:42,951 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-06 02:02:42,951 - 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-06 02:02:43,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-06 02:02:43,237 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:02:43,237 - INFO - 2025-11-06 02:02:43,393 - DEBUG - Response for create_network : {'network': {'id': 'd4042dd5-2703-4130-93de-7dfa2d670623', 'name': 'ctest-vn1-19624067', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71156810', 'ctest-vn1-19624067'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:02:43,599 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7db8331-5833-4022-87bd-0467166be8c7', 'name': '', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'd4042dd5-2703-4130-93de-7dfa2d670623', 'ip_version': 4, 'cidr': '161.2.236.64/26', 'allocation_pools': [{'start': '161.2.236.66', 'end': '161.2.236.126'}], 'gateway_ip': '161.2.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.2.236.66', 'tags': [], 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:43,794 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf38dd5d-e808-41a3-a895-9ae0b2d89ec8', 'name': '', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'd4042dd5-2703-4130-93de-7dfa2d670623', 'ip_version': 4, 'cidr': '11.223.55.0/26', 'allocation_pools': [{'start': '11.223.55.2', 'end': '11.223.55.62'}], 'gateway_ip': '11.223.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.223.55.2', 'tags': [], 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:43,811 - INFO - Created VN ctest-vn1-19624067 2025-11-06 02:02:43,860 - DEBUG - VN ctest-vn1-19624067 UUID is d4042dd5-2703-4130-93de-7dfa2d670623 2025-11-06 02:02:44,158 - DEBUG - Response for create_port : {'port': {'name': '444de60e-f1a5-4b1e-87e4-b3bc7861863f', 'id': '444de60e-f1a5-4b1e-87e4-b3bc7861863f', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'd4042dd5-2703-4130-93de-7dfa2d670623', 'mac_address': '02:44:4d:e6:0e:f1', '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': '161.2.236.69', 'subnet_id': 'a7db8331-5833-4022-87bd-0467166be8c7'}], 'security_groups': ['c41fde02-a6d9-4e98-a4b1-68258cb7716a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:44,325 - DEBUG - Response for create_port : {'port': {'name': '06dc2779-76c2-4ac9-b1df-79ef8c9b7853', 'id': '06dc2779-76c2-4ac9-b1df-79ef8c9b7853', 'tenant_id': '3058dc41a5cf4ee2aa5d4a913a998da8', 'network_id': 'd4042dd5-2703-4130-93de-7dfa2d670623', 'mac_address': '02:06:dc:27:79:76', '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': '11.223.55.5', 'subnet_id': 'bf38dd5d-e808-41a3-a895-9ae0b2d89ec8'}], 'security_groups': ['c41fde02-a6d9-4e98-a4b1-68258cb7716a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3058dc41a5cf4ee2aa5d4a913a998da8'}} 2025-11-06 02:02:44,380 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:02:44,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:02:45,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:02:45,107 - INFO - Waiting for VM ctest-vn1-vm1-71969558 to be up.. 2025-11-06 02:02:45,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:02:50,219 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:02:50,219 - INFO - VM name : ctest-vn1-vm1-71969558 2025-11-06 02:02:50,295 - DEBUG - VM ctest-vn1-vm1-71969558 ID is 2c8391a8-39f8-4cba-af37-f5e825d46a52 2025-11-06 02:02:50,312 - DEBUG - VM ctest-vn1-vm1-71969558 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:02:50,388 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2c8391a8-39f8-4cba-af37-f5e825d46a52 2025-11-06 02:02:50,400 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/444de60e-f1a5-4b1e-87e4-b3bc7861863f 2025-11-06 02:02:53,635 - 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 1003ms') 2025-11-06 02:02:53,636 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-71969558 failed! 2025-11-06 02:02:53,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71156810:ctest-vn1-19624067 is 161.2.236.65 and allocation pool is NOT set 2025-11-06 02:02:53,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71156810:ctest-vn1-19624067 is 11.223.55.1 and allocation pool is NOT set 2025-11-06 02:02:55,756 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.135/2.393/3.652/1.258 ms') 2025-11-06 02:02:55,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-71969558 passed 2025-11-06 02:02:55,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:02:55,908 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71969558, IP 161.2.236.69, Port 22 2025-11-06 02:02:56,082 - DEBUG - VM ctest-vn1-vm1-71969558 is ready for SSH connections 2025-11-06 02:02:56,082 - INFO - Waiting for VM ctest-vn1-vm2-27026245 to be up.. 2025-11-06 02:02:56,159 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:02:56,159 - INFO - VM name : ctest-vn1-vm2-27026245 2025-11-06 02:02:56,231 - DEBUG - VM ctest-vn1-vm2-27026245 ID is fc1b8828-221e-46e0-aacc-6a3aca7c9a33 2025-11-06 02:02:56,231 - DEBUG - VM ctest-vn1-vm2-27026245 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:02:56,297 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fc1b8828-221e-46e0-aacc-6a3aca7c9a33 2025-11-06 02:02:56,305 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/06dc2779-76c2-4ac9-b1df-79ef8c9b7853 2025-11-06 02:02:57,538 - 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.606 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.606/1.717/2.829/1.111 ms') 2025-11-06 02:02:57,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-27026245 passed 2025-11-06 02:02:57,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:02:57,684 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27026245, IP 11.223.55.5, Port 22 2025-11-06 02:02:57,839 - DEBUG - VM ctest-vn1-vm2-27026245 is ready for SSH connections 2025-11-06 02:02:57,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:02:57,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:02:57,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:02:57,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.2.236.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 02:02:57,839 - DEBUG - ping -s 56 -c 3 -W 1 161.2.236.69 2025-11-06 02:03:01,835 - DEBUG - PING 161.2.236.69 (161.2.236.69): 56 data bytes 64 bytes from 161.2.236.69: seq=0 ttl=63 time=3.537 ms 64 bytes from 161.2.236.69: seq=1 ttl=63 time=0.807 ms 64 bytes from 161.2.236.69: seq=2 ttl=63 time=0.710 ms --- 161.2.236.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/1.684/3.537 ms 2025-11-06 02:03:01,836 - INFO - Ping to IP 161.2.236.69 from VM ctest-vn1-vm2-27026245 passed 2025-11-06 02:03:01,836 - INFO - Detaching port 06dc2779-76c2-4ac9-b1df-79ef8c9b7853 from VM ctest-vn1-vm2-27026245 2025-11-06 02:03:01,880 - INFO - Deleting VM ctest-vn1-vm2-27026245 2025-11-06 02:03:01,950 - INFO - Detaching port 444de60e-f1a5-4b1e-87e4-b3bc7861863f from VM ctest-vn1-vm1-71969558 2025-11-06 02:03:01,986 - INFO - Deleting VM ctest-vn1-vm1-71969558 2025-11-06 02:03:02,202 - DEBUG - Response for delete_port : () 2025-11-06 02:03:02,346 - DEBUG - Response for delete_port : () 2025-11-06 02:03:02,347 - INFO - Deleting VN ctest-vn1-19624067 2025-11-06 02:03:02,467 - DEBUG - Response for deleting network () 2025-11-06 02:03:02,729 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 02:03:02,729 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-11-06 02:03:02,729 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:03:03,414 - INFO - Deleted project: ctest-TestPorts-71156810, ID : 3058dc41-a5cf-4ee2-aa5d-4a913a998da8