2025-10-29 23:06:16,815 - INFO - Domain Default found not creating 2025-10-29 23:06:16,951 - INFO - Project ctest-TestPorts-70285259 not found, creating it 2025-10-29 23:06:17,375 - INFO - Created Project:ctest-TestPorts-70285259, ID : ee5ff3e8-8bdd-434c-8ca1-24936bf9341e 2025-10-29 23:06:19,079 - INFO - ================================================================================ 2025-10-29 23:06:19,079 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 23:06:19,079 - 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-10-29 23:06:19,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-29 23:06:19,333 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:06:19,333 - INFO - 2025-10-29 23:06:19,888 - DEBUG - Response for create_network : {'network': {'id': '43d46236-807f-4878-9362-faaf243207ac', 'name': 'ctest-vn-65888626', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70285259', 'ctest-vn-65888626'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:06:20,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f2ba938-5285-4210-aea4-6421ac78307b', 'name': '', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '43d46236-807f-4878-9362-faaf243207ac', 'ip_version': 4, 'cidr': '173.255.41.192/26', 'allocation_pools': [{'start': '173.255.41.194', 'end': '173.255.41.254'}], 'gateway_ip': '173.255.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.255.41.194', 'tags': [], 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:20,068 - INFO - Created VN ctest-vn-65888626 2025-10-29 23:06:20,119 - DEBUG - VN ctest-vn-65888626 UUID is 43d46236-807f-4878-9362-faaf243207ac 2025-10-29 23:06:20,219 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70285259', 'ctest-vmi-20936550']} 2025-10-29 23:06:20,486 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20936550', 'id': '7527c7c5-69ff-4ea8-a65b-15879032e1d6', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '43d46236-807f-4878-9362-faaf243207ac', 'mac_address': '02:75:27:c7:c5:69', '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': '173.255.41.195', 'subnet_id': '4f2ba938-5285-4210-aea4-6421ac78307b'}], 'security_groups': ['c032d6f8-48b8-48e2-885b-502c6969a15c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:20,486 - DEBUG - Created port 7527c7c5-69ff-4ea8-a65b-15879032e1d6 2025-10-29 23:06:20,587 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7527c7c5-69ff-4ea8-a65b-15879032e1d6 2025-10-29 23:06:20,875 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7527c7c5-69ff-4ea8-a65b-15879032e1d6 2025-10-29 23:06:20,905 - INFO - VMI 7527c7c5-69ff-4ea8-a65b-15879032e1d6 verification in API Server passed 2025-10-29 23:06:20,995 - DEBUG - Response for delete_port : () 2025-10-29 23:06:20,995 - INFO - Deleted port 7527c7c5-69ff-4ea8-a65b-15879032e1d6 2025-10-29 23:06:20,995 - INFO - Deleting VN ctest-vn-65888626 2025-10-29 23:06:21,092 - DEBUG - Response for deleting network () 2025-10-29 23:06:21,344 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 23:06:21,344 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-29 23:06:21,344 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:06:21,346 - INFO - ================================================================================ 2025-10-29 23:06:21,346 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 23:06:21,346 - 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-10-29 23:06:21,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-29 23:06:21,632 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:06:21,632 - INFO - 2025-10-29 23:06:21,787 - DEBUG - Response for create_network : {'network': {'id': '626d26e6-273a-415b-b590-0dc47889494a', 'name': 'ctest-vn1-89635793', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70285259', 'ctest-vn1-89635793'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:06:21,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '272dbbc9-ee61-4562-bb27-264b763270d9', 'name': '', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '626d26e6-273a-415b-b590-0dc47889494a', 'ip_version': 4, 'cidr': '48.241.195.64/26', 'allocation_pools': [{'start': '48.241.195.66', 'end': '48.241.195.126'}], 'gateway_ip': '48.241.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.241.195.66', 'tags': [], 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:22,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e39d2798-9586-4520-8e47-61045cf5f6fa', 'name': '', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '626d26e6-273a-415b-b590-0dc47889494a', 'ip_version': 4, 'cidr': '119.162.87.64/26', 'allocation_pools': [{'start': '119.162.87.66', 'end': '119.162.87.126'}], 'gateway_ip': '119.162.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.162.87.66', 'tags': [], 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:22,161 - INFO - Created VN ctest-vn1-89635793 2025-10-29 23:06:22,211 - DEBUG - VN ctest-vn1-89635793 UUID is 626d26e6-273a-415b-b590-0dc47889494a 2025-10-29 23:06:22,480 - DEBUG - Response for create_port : {'port': {'name': 'd41b72b3-aaf7-4b82-b0e5-530c8cde665f', 'id': 'd41b72b3-aaf7-4b82-b0e5-530c8cde665f', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '626d26e6-273a-415b-b590-0dc47889494a', 'mac_address': '02:d4:1b:72:b3:aa', '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': '48.241.195.69', 'subnet_id': '272dbbc9-ee61-4562-bb27-264b763270d9'}], 'security_groups': ['c032d6f8-48b8-48e2-885b-502c6969a15c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:22,632 - DEBUG - Response for create_port : {'port': {'name': '9b1628bd-90a2-4d0d-ba8a-adcdd34f2300', 'id': '9b1628bd-90a2-4d0d-ba8a-adcdd34f2300', 'tenant_id': 'ee5ff3e88bdd434c8ca124936bf9341e', 'network_id': '626d26e6-273a-415b-b590-0dc47889494a', 'mac_address': '02:9b:16:28:bd:90', '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': '119.162.87.69', 'subnet_id': 'e39d2798-9586-4520-8e47-61045cf5f6fa'}], 'security_groups': ['c032d6f8-48b8-48e2-885b-502c6969a15c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee5ff3e88bdd434c8ca124936bf9341e'}} 2025-10-29 23:06:22,682 - DEBUG - Services list from nova: [, , ] 2025-10-29 23:06:22,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:06:23,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:06:23,316 - INFO - Waiting for VM ctest-vn1-vm1-08154104 to be up.. 2025-10-29 23:06:23,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 23:06:28,431 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:06:28,431 - INFO - VM name : ctest-vn1-vm1-08154104 2025-10-29 23:06:28,513 - DEBUG - VM ctest-vn1-vm1-08154104 ID is 280c7c6c-7c1a-424b-99c4-44894d922911 2025-10-29 23:06:28,531 - DEBUG - VM ctest-vn1-vm1-08154104 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:06:28,600 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/280c7c6c-7c1a-424b-99c4-44894d922911 2025-10-29 23:06:28,607 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d41b72b3-aaf7-4b82-b0e5-530c8cde665f 2025-10-29 23:06:31,858 - 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 1024ms') 2025-10-29 23:06:31,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08154104 failed! 2025-10-29 23:06:31,912 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70285259:ctest-vn1-89635793 is 48.241.195.65 and allocation pool is NOT set 2025-10-29 23:06:31,912 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70285259:ctest-vn1-89635793 is 119.162.87.65 and allocation pool is NOT set 2025-10-29 23:06:33,974 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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 = 2.397/3.092/3.787/0.695 ms') 2025-10-29 23:06:33,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08154104 passed 2025-10-29 23:06:34,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:06:34,128 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08154104, IP 48.241.195.69, Port 22 2025-10-29 23:06:34,296 - DEBUG - VM ctest-vn1-vm1-08154104 is ready for SSH connections 2025-10-29 23:06:34,297 - INFO - Waiting for VM ctest-vn1-vm2-12650184 to be up.. 2025-10-29 23:06:34,377 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:06:34,377 - INFO - VM name : ctest-vn1-vm2-12650184 2025-10-29 23:06:34,585 - DEBUG - VM ctest-vn1-vm2-12650184 ID is 3bb01b66-aced-4553-a487-a0c03e7ec2e4 2025-10-29 23:06:34,585 - DEBUG - VM ctest-vn1-vm2-12650184 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:06:34,655 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3bb01b66-aced-4553-a487-a0c03e7ec2e4 2025-10-29 23:06:34,662 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9b1628bd-90a2-4d0d-ba8a-adcdd34f2300 2025-10-29 23:06:35,890 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.626 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.626/2.241/3.857/1.615 ms') 2025-10-29 23:06:35,890 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12650184 passed 2025-10-29 23:06:36,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:06:36,048 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12650184, IP 119.162.87.69, Port 22 2025-10-29 23:06:36,213 - DEBUG - VM ctest-vn1-vm2-12650184 is ready for SSH connections 2025-10-29 23:06:36,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:06:36,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:06:36,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:06:36,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.241.195.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-29 23:06:36,213 - DEBUG - ping -s 56 -c 3 -W 1 48.241.195.69 2025-10-29 23:06:39,129 - DEBUG - PING 48.241.195.69 (48.241.195.69): 56 data bytes 64 bytes from 48.241.195.69: seq=0 ttl=63 time=3.845 ms 64 bytes from 48.241.195.69: seq=1 ttl=63 time=0.912 ms 64 bytes from 48.241.195.69: seq=2 ttl=63 time=0.835 ms --- 48.241.195.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.864/3.845 ms 2025-10-29 23:06:39,129 - INFO - Ping to IP 48.241.195.69 from VM ctest-vn1-vm2-12650184 passed 2025-10-29 23:06:39,129 - INFO - Detaching port 9b1628bd-90a2-4d0d-ba8a-adcdd34f2300 from VM ctest-vn1-vm2-12650184 2025-10-29 23:06:39,181 - INFO - Deleting VM ctest-vn1-vm2-12650184 2025-10-29 23:06:39,240 - INFO - Detaching port d41b72b3-aaf7-4b82-b0e5-530c8cde665f from VM ctest-vn1-vm1-08154104 2025-10-29 23:06:39,271 - INFO - Deleting VM ctest-vn1-vm1-08154104 2025-10-29 23:06:39,489 - DEBUG - Response for delete_port : () 2025-10-29 23:06:39,636 - DEBUG - Response for delete_port : () 2025-10-29 23:06:39,636 - INFO - Deleting VN ctest-vn1-89635793 2025-10-29 23:06:39,764 - DEBUG - Response for deleting network () 2025-10-29 23:06:40,017 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 23:06:40,017 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-29 23:06:40,017 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:06:40,704 - INFO - Deleted project: ctest-TestPorts-70285259, ID : ee5ff3e8-8bdd-434c-8ca1-24936bf9341e