2025-08-12 01:42:36,589 - INFO - Domain Default found not creating 2025-08-12 01:42:36,712 - INFO - Project ctest-TestPorts-48777099 not found, creating it 2025-08-12 01:42:37,131 - INFO - Created Project:ctest-TestPorts-48777099, ID : 6f9589a5-55ce-40b3-82d2-7b1e0c55f233 2025-08-12 01:42:38,567 - INFO - ================================================================================ 2025-08-12 01:42:38,568 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 01:42:38,568 - 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-12 01:42:38,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-12 01:42:38,827 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:42:38,827 - INFO - 2025-08-12 01:42:39,360 - DEBUG - Response for create_network : {'network': {'id': '3a8ee8e0-ae5a-46c4-a1d7-4008d76e05ea', 'name': 'ctest-vn-63231739', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'project_id': '6f9589a555ce40b382d27b1e0c55f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48777099', 'ctest-vn-63231739'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:42:39,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '33cf3561-53aa-446a-9a90-c70371a9c6df', 'name': '', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '3a8ee8e0-ae5a-46c4-a1d7-4008d76e05ea', 'ip_version': 4, 'cidr': '181.201.213.192/26', 'allocation_pools': [{'start': '181.201.213.194', 'end': '181.201.213.254'}], 'gateway_ip': '181.201.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.201.213.194', 'tags': [], 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:39,545 - INFO - Created VN ctest-vn-63231739 2025-08-12 01:42:39,596 - DEBUG - VN ctest-vn-63231739 UUID is 3a8ee8e0-ae5a-46c4-a1d7-4008d76e05ea 2025-08-12 01:42:39,706 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48777099', 'ctest-vmi-40225121']} 2025-08-12 01:42:39,968 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40225121', 'id': '825f71be-5f07-4cf9-83da-35375c266651', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '3a8ee8e0-ae5a-46c4-a1d7-4008d76e05ea', 'mac_address': '02:82:5f:71:be:5f', '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': '181.201.213.195', 'subnet_id': '33cf3561-53aa-446a-9a90-c70371a9c6df'}], 'security_groups': ['6736e258-fc09-4f63-b24b-0d4cac03e9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:39,969 - DEBUG - Created port 825f71be-5f07-4cf9-83da-35375c266651 2025-08-12 01:42:40,072 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/825f71be-5f07-4cf9-83da-35375c266651 2025-08-12 01:42:40,360 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/825f71be-5f07-4cf9-83da-35375c266651 2025-08-12 01:42:40,390 - INFO - VMI 825f71be-5f07-4cf9-83da-35375c266651 verification in API Server passed 2025-08-12 01:42:40,488 - DEBUG - Response for delete_port : () 2025-08-12 01:42:40,488 - INFO - Deleted port 825f71be-5f07-4cf9-83da-35375c266651 2025-08-12 01:42:40,488 - INFO - Deleting VN ctest-vn-63231739 2025-08-12 01:42:40,595 - DEBUG - Response for deleting network () 2025-08-12 01:42:40,862 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:42:40,862 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-12 01:42:40,862 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:42:40,865 - INFO - ================================================================================ 2025-08-12 01:42:40,865 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 01:42:40,865 - 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-12 01:42:41,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-12 01:42:41,150 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:42:41,150 - INFO - 2025-08-12 01:42:41,326 - DEBUG - Response for create_network : {'network': {'id': '4952d840-ac6d-45a6-804f-8ff43dcb2f3a', 'name': 'ctest-vn1-90174727', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'project_id': '6f9589a555ce40b382d27b1e0c55f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48777099', 'ctest-vn1-90174727'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:42:41,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '97c12863-15e8-460d-b69f-8b3f655b4e29', 'name': '', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '4952d840-ac6d-45a6-804f-8ff43dcb2f3a', 'ip_version': 4, 'cidr': '65.27.68.192/26', 'allocation_pools': [{'start': '65.27.68.194', 'end': '65.27.68.254'}], 'gateway_ip': '65.27.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.27.68.194', 'tags': [], 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:41,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '5872c49b-5e72-4305-b54a-31fe0b9185a2', 'name': '', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '4952d840-ac6d-45a6-804f-8ff43dcb2f3a', 'ip_version': 4, 'cidr': '34.216.175.64/26', 'allocation_pools': [{'start': '34.216.175.66', 'end': '34.216.175.126'}], 'gateway_ip': '34.216.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.216.175.66', 'tags': [], 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:41,704 - INFO - Created VN ctest-vn1-90174727 2025-08-12 01:42:41,756 - DEBUG - VN ctest-vn1-90174727 UUID is 4952d840-ac6d-45a6-804f-8ff43dcb2f3a 2025-08-12 01:42:42,041 - DEBUG - Response for create_port : {'port': {'name': '4e6218a7-4918-45ac-963c-61885749c35b', 'id': '4e6218a7-4918-45ac-963c-61885749c35b', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '4952d840-ac6d-45a6-804f-8ff43dcb2f3a', 'mac_address': '02:4e:62:18:a7:49', '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': '65.27.68.197', 'subnet_id': '97c12863-15e8-460d-b69f-8b3f655b4e29'}], 'security_groups': ['6736e258-fc09-4f63-b24b-0d4cac03e9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:42,200 - DEBUG - Response for create_port : {'port': {'name': 'b359b579-d939-47c6-baaa-818edd02bf23', 'id': 'b359b579-d939-47c6-baaa-818edd02bf23', 'tenant_id': '6f9589a555ce40b382d27b1e0c55f233', 'network_id': '4952d840-ac6d-45a6-804f-8ff43dcb2f3a', 'mac_address': '02:b3:59:b5:79:d9', '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': '34.216.175.69', 'subnet_id': '5872c49b-5e72-4305-b54a-31fe0b9185a2'}], 'security_groups': ['6736e258-fc09-4f63-b24b-0d4cac03e9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f9589a555ce40b382d27b1e0c55f233'}} 2025-08-12 01:42:42,249 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:42:42,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:42:42,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:42:42,952 - INFO - Waiting for VM ctest-vn1-vm1-09409901 to be up.. 2025-08-12 01:42:42,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:42:48,055 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:42:48,056 - INFO - VM name : ctest-vn1-vm1-09409901 2025-08-12 01:42:48,123 - DEBUG - VM ctest-vn1-vm1-09409901 ID is e372a377-ef18-4eef-a022-beb9ff20fac2 2025-08-12 01:42:48,140 - DEBUG - VM ctest-vn1-vm1-09409901 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:42:48,209 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e372a377-ef18-4eef-a022-beb9ff20fac2 2025-08-12 01:42:48,219 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4e6218a7-4918-45ac-963c-61885749c35b 2025-08-12 01:42:51,458 - 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 1008ms') 2025-08-12 01:42:51,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09409901 failed! 2025-08-12 01:42:51,512 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48777099:ctest-vn1-90174727 is 65.27.68.193 and allocation pool is NOT set 2025-08-12 01:42:51,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48777099:ctest-vn1-90174727 is 34.216.175.65 and allocation pool is NOT set 2025-08-12 01:42:53,576 - 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=4.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.719 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.719/2.597/4.476/1.878 ms') 2025-08-12 01:42:53,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09409901 passed 2025-08-12 01:42:53,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:53,728 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09409901, IP 65.27.68.197, Port 22 2025-08-12 01:42:53,888 - DEBUG - VM ctest-vn1-vm1-09409901 is ready for SSH connections 2025-08-12 01:42:53,888 - INFO - Waiting for VM ctest-vn1-vm2-60967641 to be up.. 2025-08-12 01:42:53,952 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:42:53,952 - INFO - VM name : ctest-vn1-vm2-60967641 2025-08-12 01:42:54,016 - DEBUG - VM ctest-vn1-vm2-60967641 ID is ace846bc-d8bc-4457-8b8b-7655b0626916 2025-08-12 01:42:54,016 - DEBUG - VM ctest-vn1-vm2-60967641 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:42:54,077 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ace846bc-d8bc-4457-8b8b-7655b0626916 2025-08-12 01:42:54,085 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b359b579-d939-47c6-baaa-818edd02bf23 2025-08-12 01:42:55,319 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.564/2.686/1.121 ms') 2025-08-12 01:42:55,320 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60967641 passed 2025-08-12 01:42:55,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:55,468 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60967641, IP 34.216.175.69, Port 22 2025-08-12 01:42:55,623 - DEBUG - VM ctest-vn1-vm2-60967641 is ready for SSH connections 2025-08-12 01:42:55,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:55,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:55,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:55,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.27.68.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:42:55,624 - DEBUG - ping -s 56 -c 3 -W 1 65.27.68.197 2025-08-12 01:42:58,525 - DEBUG - PING 65.27.68.197 (65.27.68.197): 56 data bytes 64 bytes from 65.27.68.197: seq=0 ttl=63 time=3.202 ms 64 bytes from 65.27.68.197: seq=1 ttl=63 time=0.692 ms 64 bytes from 65.27.68.197: seq=2 ttl=63 time=0.641 ms --- 65.27.68.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.641/1.511/3.202 ms 2025-08-12 01:42:58,525 - INFO - Ping to IP 65.27.68.197 from VM ctest-vn1-vm2-60967641 passed 2025-08-12 01:42:58,525 - INFO - Detaching port b359b579-d939-47c6-baaa-818edd02bf23 from VM ctest-vn1-vm2-60967641 2025-08-12 01:42:58,567 - INFO - Deleting VM ctest-vn1-vm2-60967641 2025-08-12 01:42:58,628 - INFO - Detaching port 4e6218a7-4918-45ac-963c-61885749c35b from VM ctest-vn1-vm1-09409901 2025-08-12 01:42:58,660 - INFO - Deleting VM ctest-vn1-vm1-09409901 2025-08-12 01:42:58,856 - DEBUG - Response for delete_port : () 2025-08-12 01:42:58,983 - DEBUG - Response for delete_port : () 2025-08-12 01:42:58,983 - INFO - Deleting VN ctest-vn1-90174727 2025-08-12 01:42:59,142 - DEBUG - Response for deleting network () 2025-08-12 01:42:59,396 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:42:59,397 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-12 01:42:59,397 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:43:00,057 - INFO - Deleted project: ctest-TestPorts-48777099, ID : 6f9589a5-55ce-40b3-82d2-7b1e0c55f233