2025-12-11 17:38:01,828 - INFO - Domain Default found not creating 2025-12-11 17:38:02,494 - INFO - Project ctest-TestPorts-37876646 not found, creating it 2025-12-11 17:38:03,020 - INFO - Created Project:ctest-TestPorts-37876646, ID : 25f557f5-bbd9-4d7d-b972-d80a7f2a19d5 2025-12-11 17:38:04,861 - INFO - ================================================================================ 2025-12-11 17:38:04,861 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 17:38:04,861 - 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-12-11 17:38:05,132 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with 2025-12-11 17:38:05,132 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:38:05,132 - INFO - 2025-12-11 17:38:05,796 - DEBUG - Response for create_network : {'network': {'id': 'ceba7c5b-9410-4ca6-b488-8ad52bc653e5', 'name': 'ctest-vn-99174595', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37876646', 'ctest-vn-99174595'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:38:05,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '20076d4a-ed59-4379-9dad-428204191767', 'name': '', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'ceba7c5b-9410-4ca6-b488-8ad52bc653e5', 'ip_version': 4, 'cidr': '206.8.49.64/26', 'allocation_pools': [{'start': '206.8.49.66', 'end': '206.8.49.126'}], 'gateway_ip': '206.8.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.8.49.66', 'tags': [], 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:05,992 - INFO - Created VN ctest-vn-99174595 2025-12-11 17:38:06,045 - DEBUG - VN ctest-vn-99174595 UUID is ceba7c5b-9410-4ca6-b488-8ad52bc653e5 2025-12-11 17:38:06,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37876646', 'ctest-vmi-67569492']} 2025-12-11 17:38:06,450 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67569492', 'id': '0995d1b5-964f-46ff-88b3-587930975e8f', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'ceba7c5b-9410-4ca6-b488-8ad52bc653e5', 'mac_address': '02:09:95:d1:b5:96', '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': '206.8.49.67', 'subnet_id': '20076d4a-ed59-4379-9dad-428204191767'}], 'security_groups': ['e4a534a1-3e34-4752-81e4-594b5bac18a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:06,451 - DEBUG - Created port 0995d1b5-964f-46ff-88b3-587930975e8f 2025-12-11 17:38:06,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0995d1b5-964f-46ff-88b3-587930975e8f 2025-12-11 17:38:06,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0995d1b5-964f-46ff-88b3-587930975e8f 2025-12-11 17:38:06,906 - INFO - VMI 0995d1b5-964f-46ff-88b3-587930975e8f verification in API Server passed 2025-12-11 17:38:07,016 - DEBUG - Response for delete_port : () 2025-12-11 17:38:07,016 - INFO - Deleted port 0995d1b5-964f-46ff-88b3-587930975e8f 2025-12-11 17:38:07,017 - INFO - Deleting VN ctest-vn-99174595 2025-12-11 17:38:07,139 - DEBUG - Response for deleting network () 2025-12-11 17:38:07,411 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:38:07,411 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-11 17:38:07,411 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:38:07,414 - INFO - ================================================================================ 2025-12-11 17:38:07,414 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 17:38:07,414 - 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-12-11 17:38:07,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with 2025-12-11 17:38:07,706 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:38:07,706 - INFO - 2025-12-11 17:38:07,920 - DEBUG - Response for create_network : {'network': {'id': 'b3da0763-402e-4819-8aa3-d5f98f401f0a', 'name': 'ctest-vn1-14558783', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37876646', 'ctest-vn1-14558783'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:38:08,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f5aaaaf-ca2a-4971-8cdb-008b41272609', 'name': '', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'b3da0763-402e-4819-8aa3-d5f98f401f0a', 'ip_version': 4, 'cidr': '148.168.149.64/26', 'allocation_pools': [{'start': '148.168.149.66', 'end': '148.168.149.126'}], 'gateway_ip': '148.168.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.168.149.66', 'tags': [], 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:08,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '74b1f729-a907-4042-8356-644a4e9a1663', 'name': '', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'b3da0763-402e-4819-8aa3-d5f98f401f0a', 'ip_version': 4, 'cidr': '194.189.137.0/26', 'allocation_pools': [{'start': '194.189.137.2', 'end': '194.189.137.62'}], 'gateway_ip': '194.189.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.189.137.2', 'tags': [], 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:08,329 - INFO - Created VN ctest-vn1-14558783 2025-12-11 17:38:08,381 - DEBUG - VN ctest-vn1-14558783 UUID is b3da0763-402e-4819-8aa3-d5f98f401f0a 2025-12-11 17:38:08,767 - DEBUG - Response for create_port : {'port': {'name': '862d050e-6286-4dc2-9b39-4881220d46df', 'id': '862d050e-6286-4dc2-9b39-4881220d46df', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'b3da0763-402e-4819-8aa3-d5f98f401f0a', 'mac_address': '02:86:2d:05:0e:62', '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': '148.168.149.69', 'subnet_id': '5f5aaaaf-ca2a-4971-8cdb-008b41272609'}], 'security_groups': ['e4a534a1-3e34-4752-81e4-594b5bac18a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:08,968 - DEBUG - Response for create_port : {'port': {'name': 'ca5f1d39-24ac-4721-a8d6-5a447aa37f44', 'id': 'ca5f1d39-24ac-4721-a8d6-5a447aa37f44', 'tenant_id': '25f557f5bbd94d7db972d80a7f2a19d5', 'network_id': 'b3da0763-402e-4819-8aa3-d5f98f401f0a', 'mac_address': '02:ca:5f:1d:39:24', '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': '194.189.137.5', 'subnet_id': '74b1f729-a907-4042-8356-644a4e9a1663'}], 'security_groups': ['e4a534a1-3e34-4752-81e4-594b5bac18a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25f557f5bbd94d7db972d80a7f2a19d5'}} 2025-12-11 17:38:09,049 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:38:09,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:38:10,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:38:10,051 - INFO - Waiting for VM ctest-vn1-vm1-39707495 to be up.. 2025-12-11 17:38:10,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:38:15,203 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:38:15,203 - INFO - VM name : ctest-vn1-vm1-39707495 2025-12-11 17:38:15,304 - DEBUG - VM ctest-vn1-vm1-39707495 ID is 5f7fe3f2-8bdd-40be-b5a9-fb31b1f1f04d 2025-12-11 17:38:15,328 - DEBUG - VM ctest-vn1-vm1-39707495 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:38:15,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5f7fe3f2-8bdd-40be-b5a9-fb31b1f1f04d 2025-12-11 17:38:15,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/862d050e-6286-4dc2-9b39-4881220d46df 2025-12-11 17:38:18,714 - 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-12-11 17:38:18,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39707495 failed! 2025-12-11 17:38:18,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37876646:ctest-vn1-14558783 is 148.168.149.65 and allocation pool is NOT set 2025-12-11 17:38:18,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37876646:ctest-vn1-14558783 is 194.189.137.1 and allocation pool is NOT set 2025-12-11 17:38:22,840 - 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 1001ms') 2025-12-11 17:38:22,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39707495 failed! 2025-12-11 17:38:22,905 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37876646:ctest-vn1-14558783 is 148.168.149.65 and allocation pool is NOT set 2025-12-11 17:38:22,906 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37876646:ctest-vn1-14558783 is 194.189.137.1 and allocation pool is NOT set 2025-12-11 17:38:24,972 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.771 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.771/2.393/4.016/1.622 ms') 2025-12-11 17:38:24,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39707495 passed 2025-12-11 17:38:25,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:25,130 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39707495, IP 148.168.149.69, Port 22 2025-12-11 17:38:25,308 - DEBUG - VM ctest-vn1-vm1-39707495 is ready for SSH connections 2025-12-11 17:38:25,308 - INFO - Waiting for VM ctest-vn1-vm2-93999830 to be up.. 2025-12-11 17:38:25,408 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:38:25,408 - INFO - VM name : ctest-vn1-vm2-93999830 2025-12-11 17:38:25,499 - DEBUG - VM ctest-vn1-vm2-93999830 ID is a61ae2a4-89fa-4200-9219-ac213b40bab7 2025-12-11 17:38:25,500 - DEBUG - VM ctest-vn1-vm2-93999830 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:38:25,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a61ae2a4-89fa-4200-9219-ac213b40bab7 2025-12-11 17:38:25,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca5f1d39-24ac-4721-a8d6-5a447aa37f44 2025-12-11 17:38:26,864 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 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.609/1.926/3.243/1.317 ms') 2025-12-11 17:38:26,864 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93999830 passed 2025-12-11 17:38:27,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:27,021 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93999830, IP 194.189.137.5, Port 22 2025-12-11 17:38:27,190 - DEBUG - VM ctest-vn1-vm2-93999830 is ready for SSH connections 2025-12-11 17:38:27,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:27,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:27,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:27,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.168.149.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 17:38:27,190 - DEBUG - ping -s 56 -c 3 -W 1 148.168.149.69 2025-12-11 17:38:29,942 - DEBUG - PING 148.168.149.69 (148.168.149.69): 56 data bytes 64 bytes from 148.168.149.69: seq=0 ttl=63 time=4.789 ms 64 bytes from 148.168.149.69: seq=1 ttl=63 time=1.224 ms 64 bytes from 148.168.149.69: seq=2 ttl=63 time=0.995 ms --- 148.168.149.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.336/4.789 ms 2025-12-11 17:38:29,942 - INFO - Ping to IP 148.168.149.69 from VM ctest-vn1-vm2-93999830 passed 2025-12-11 17:38:29,942 - INFO - Detaching port ca5f1d39-24ac-4721-a8d6-5a447aa37f44 from VM ctest-vn1-vm2-93999830 2025-12-11 17:38:30,016 - INFO - Deleting VM ctest-vn1-vm2-93999830 2025-12-11 17:38:30,114 - INFO - Detaching port 862d050e-6286-4dc2-9b39-4881220d46df from VM ctest-vn1-vm1-39707495 2025-12-11 17:38:30,158 - INFO - Deleting VM ctest-vn1-vm1-39707495 2025-12-11 17:38:30,504 - DEBUG - Response for delete_port : () 2025-12-11 17:38:30,722 - DEBUG - Response for delete_port : () 2025-12-11 17:38:30,722 - INFO - Deleting VN ctest-vn1-14558783 2025-12-11 17:38:30,899 - DEBUG - Response for deleting network () 2025-12-11 17:38:31,186 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:38:31,186 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-11 17:38:31,186 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:38:31,958 - INFO - Deleted project: ctest-TestPorts-37876646, ID : 25f557f5-bbd9-4d7d-b972-d80a7f2a19d5