2025-11-20 13:41:39,893 - INFO - Domain Default found not creating 2025-11-20 13:41:40,258 - INFO - Project ctest-TestPorts-89206055 not found, creating it 2025-11-20 13:41:41,097 - INFO - Created Project:ctest-TestPorts-89206055, ID : 9a433241-256e-4d93-bbc1-aed6537fe691 2025-11-20 13:41:43,423 - INFO - ================================================================================ 2025-11-20 13:41:43,423 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 13:41:43,423 - 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-20 13:41:43,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2025-11-20 13:41:43,751 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:41:43,752 - INFO - 2025-11-20 13:41:44,558 - DEBUG - Response for create_network : {'network': {'id': 'c9110ab0-49e6-4ba0-a8e6-a800bbdaa36f', 'name': 'ctest-vn-98735555', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'project_id': '9a433241256e4d93bbc1aed6537fe691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89206055', 'ctest-vn-98735555'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:41:44,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '4974e758-775d-454c-bb4d-c20ac82c76ba', 'name': '', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': 'c9110ab0-49e6-4ba0-a8e6-a800bbdaa36f', 'ip_version': 4, 'cidr': '194.35.207.64/26', 'allocation_pools': [{'start': '194.35.207.66', 'end': '194.35.207.126'}], 'gateway_ip': '194.35.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.35.207.66', 'tags': [], 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:44,825 - INFO - Created VN ctest-vn-98735555 2025-11-20 13:41:44,879 - DEBUG - VN ctest-vn-98735555 UUID is c9110ab0-49e6-4ba0-a8e6-a800bbdaa36f 2025-11-20 13:41:45,031 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89206055', 'ctest-vmi-08404752']} 2025-11-20 13:41:45,412 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08404752', 'id': 'c4381cf0-dd59-4cbe-9d42-b71656e2f733', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': 'c9110ab0-49e6-4ba0-a8e6-a800bbdaa36f', 'mac_address': '02:c4:38:1c:f0:dd', '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': '194.35.207.67', 'subnet_id': '4974e758-775d-454c-bb4d-c20ac82c76ba'}], 'security_groups': ['712b6984-893a-4ff0-980b-ab00aef58356'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:45,412 - DEBUG - Created port c4381cf0-dd59-4cbe-9d42-b71656e2f733 2025-11-20 13:41:45,531 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c4381cf0-dd59-4cbe-9d42-b71656e2f733 2025-11-20 13:41:45,894 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c4381cf0-dd59-4cbe-9d42-b71656e2f733 2025-11-20 13:41:45,977 - INFO - VMI c4381cf0-dd59-4cbe-9d42-b71656e2f733 verification in API Server passed 2025-11-20 13:41:46,129 - DEBUG - Response for delete_port : () 2025-11-20 13:41:46,129 - INFO - Deleted port c4381cf0-dd59-4cbe-9d42-b71656e2f733 2025-11-20 13:41:46,130 - INFO - Deleting VN ctest-vn-98735555 2025-11-20 13:41:46,266 - DEBUG - Response for deleting network () 2025-11-20 13:41:46,560 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:41:46,561 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-20 13:41:46,561 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:41:46,568 - INFO - ================================================================================ 2025-11-20 13:41:46,569 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 13:41:46,569 - 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-20 13:41:46,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2025-11-20 13:41:46,909 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:41:46,909 - INFO - 2025-11-20 13:41:47,193 - DEBUG - Response for create_network : {'network': {'id': '6dc0fd57-c72f-4ca4-81e8-983f8eddab88', 'name': 'ctest-vn1-38643484', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'project_id': '9a433241256e4d93bbc1aed6537fe691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89206055', 'ctest-vn1-38643484'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:41:47,443 - DEBUG - Response for create_subnet : {'subnet': {'id': '916c468f-d09f-48e4-ad15-8fefbd0dbca8', 'name': '', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': '6dc0fd57-c72f-4ca4-81e8-983f8eddab88', 'ip_version': 4, 'cidr': '106.5.207.64/26', 'allocation_pools': [{'start': '106.5.207.66', 'end': '106.5.207.126'}], 'gateway_ip': '106.5.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.5.207.66', 'tags': [], 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:47,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca2cc76e-d29f-477e-9af8-bdee2877d77f', 'name': '', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': '6dc0fd57-c72f-4ca4-81e8-983f8eddab88', 'ip_version': 4, 'cidr': '19.66.223.64/26', 'allocation_pools': [{'start': '19.66.223.66', 'end': '19.66.223.126'}], 'gateway_ip': '19.66.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.66.223.66', 'tags': [], 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:47,660 - INFO - Created VN ctest-vn1-38643484 2025-11-20 13:41:47,715 - DEBUG - VN ctest-vn1-38643484 UUID is 6dc0fd57-c72f-4ca4-81e8-983f8eddab88 2025-11-20 13:41:48,117 - DEBUG - Response for create_port : {'port': {'name': '998adcc5-2605-420f-baf2-ea37635726c3', 'id': '998adcc5-2605-420f-baf2-ea37635726c3', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': '6dc0fd57-c72f-4ca4-81e8-983f8eddab88', 'mac_address': '02:99:8a:dc:c5:26', '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': '106.5.207.69', 'subnet_id': '916c468f-d09f-48e4-ad15-8fefbd0dbca8'}], 'security_groups': ['712b6984-893a-4ff0-980b-ab00aef58356'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:48,314 - DEBUG - Response for create_port : {'port': {'name': '985a4648-5e60-43ae-a652-b6f2cf11bf11', 'id': '985a4648-5e60-43ae-a652-b6f2cf11bf11', 'tenant_id': '9a433241256e4d93bbc1aed6537fe691', 'network_id': '6dc0fd57-c72f-4ca4-81e8-983f8eddab88', 'mac_address': '02:98:5a:46:48:5e', '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': '19.66.223.69', 'subnet_id': 'ca2cc76e-d29f-477e-9af8-bdee2877d77f'}], 'security_groups': ['712b6984-893a-4ff0-980b-ab00aef58356'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a433241256e4d93bbc1aed6537fe691'}} 2025-11-20 13:41:48,391 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:41:49,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:41:49,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:41:49,785 - INFO - Waiting for VM ctest-vn1-vm1-09095221 to be up.. 2025-11-20 13:41:49,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:41:55,007 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:41:55,007 - INFO - VM name : ctest-vn1-vm1-09095221 2025-11-20 13:41:55,139 - DEBUG - VM ctest-vn1-vm1-09095221 ID is 996a9f74-eecb-4bef-bc01-d4f366521f23 2025-11-20 13:41:55,179 - DEBUG - VM ctest-vn1-vm1-09095221 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:41:55,280 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/996a9f74-eecb-4bef-bc01-d4f366521f23 2025-11-20 13:41:55,296 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/998adcc5-2605-420f-baf2-ea37635726c3 2025-11-20 13:41:58,604 - 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 1029ms') 2025-11-20 13:41:58,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09095221 failed! 2025-11-20 13:41:58,663 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89206055:ctest-vn1-38643484 is 106.5.207.65 and allocation pool is NOT set 2025-11-20 13:41:58,663 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89206055:ctest-vn1-38643484 is 19.66.223.65 and allocation pool is NOT set 2025-11-20 13:42:02,764 - 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-20 13:42:02,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09095221 failed! 2025-11-20 13:42:02,819 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89206055:ctest-vn1-38643484 is 106.5.207.65 and allocation pool is NOT set 2025-11-20 13:42:02,819 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89206055:ctest-vn1-38643484 is 19.66.223.65 and allocation pool is NOT set 2025-11-20 13:42:04,894 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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.586/5.909/11.233/5.323 ms') 2025-11-20 13:42:04,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09095221 passed 2025-11-20 13:42:05,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:42:05,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09095221, IP 106.5.207.69, Port 22 2025-11-20 13:42:05,233 - DEBUG - VM ctest-vn1-vm1-09095221 is ready for SSH connections 2025-11-20 13:42:05,233 - INFO - Waiting for VM ctest-vn1-vm2-77546281 to be up.. 2025-11-20 13:42:05,365 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:42:05,365 - INFO - VM name : ctest-vn1-vm2-77546281 2025-11-20 13:42:05,459 - DEBUG - VM ctest-vn1-vm2-77546281 ID is 58d6d541-481b-4ecc-bacc-9df2b0c787ee 2025-11-20 13:42:05,459 - DEBUG - VM ctest-vn1-vm2-77546281 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:42:05,579 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/58d6d541-481b-4ecc-bacc-9df2b0c787ee 2025-11-20 13:42:05,595 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/985a4648-5e60-43ae-a652-b6f2cf11bf11 2025-11-20 13:42:06,885 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.709 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.709/1.961/3.213/1.252 ms') 2025-11-20 13:42:06,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77546281 passed 2025-11-20 13:42:07,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:42:07,063 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77546281, IP 19.66.223.69, Port 22 2025-11-20 13:42:07,223 - DEBUG - VM ctest-vn1-vm2-77546281 is ready for SSH connections 2025-11-20 13:42:07,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:42:07,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:42:07,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:42:07,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.5.207.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-20 13:42:07,224 - DEBUG - ping -s 56 -c 3 -W 1 106.5.207.69 2025-11-20 13:42:10,085 - DEBUG - PING 106.5.207.69 (106.5.207.69): 56 data bytes 64 bytes from 106.5.207.69: seq=0 ttl=63 time=6.135 ms 64 bytes from 106.5.207.69: seq=1 ttl=63 time=1.831 ms 64 bytes from 106.5.207.69: seq=2 ttl=63 time=1.359 ms --- 106.5.207.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.359/3.108/6.135 ms 2025-11-20 13:42:10,086 - INFO - Ping to IP 106.5.207.69 from VM ctest-vn1-vm2-77546281 passed 2025-11-20 13:42:10,086 - INFO - Detaching port 985a4648-5e60-43ae-a652-b6f2cf11bf11 from VM ctest-vn1-vm2-77546281 2025-11-20 13:42:10,173 - INFO - Deleting VM ctest-vn1-vm2-77546281 2025-11-20 13:42:10,284 - INFO - Detaching port 998adcc5-2605-420f-baf2-ea37635726c3 from VM ctest-vn1-vm1-09095221 2025-11-20 13:42:10,327 - INFO - Deleting VM ctest-vn1-vm1-09095221 2025-11-20 13:42:10,694 - DEBUG - Response for delete_port : () 2025-11-20 13:42:10,897 - DEBUG - Response for delete_port : () 2025-11-20 13:42:10,897 - INFO - Deleting VN ctest-vn1-38643484 2025-11-20 13:42:11,091 - DEBUG - Response for deleting network () 2025-11-20 13:42:11,368 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:42:11,368 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-11-20 13:42:11,368 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:42:12,223 - INFO - Deleted project: ctest-TestPorts-89206055, ID : 9a433241-256e-4d93-bbc1-aed6537fe691