2025-10-27 07:51:54,569 - INFO - Domain Default found not creating 2025-10-27 07:51:54,716 - INFO - Project ctest-TestPorts-50773612 not found, creating it 2025-10-27 07:51:55,171 - INFO - Created Project:ctest-TestPorts-50773612, ID : 22804249-1d28-48fd-8d90-b6e1ee54e401 2025-10-27 07:51:56,795 - INFO - ================================================================================ 2025-10-27 07:51:56,795 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 07:51:56,795 - 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-27 07:51:57,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 07:51:57,055 - INFO - Initial checks done. Running the testcase now 2025-10-27 07:51:57,055 - INFO - 2025-10-27 07:51:57,662 - DEBUG - Response for create_network : {'network': {'id': '36540bcd-ece1-4642-9101-5dd2d23e3f99', 'name': 'ctest-vn-84733782', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'project_id': '228042491d2848fd8d90b6e1ee54e401', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50773612', 'ctest-vn-84733782'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:51:57,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '8798a16c-68e5-48c2-839d-9475236c0bc2', 'name': '', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '36540bcd-ece1-4642-9101-5dd2d23e3f99', 'ip_version': 4, 'cidr': '18.24.111.64/26', 'allocation_pools': [{'start': '18.24.111.66', 'end': '18.24.111.126'}], 'gateway_ip': '18.24.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.24.111.66', 'tags': [], 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:51:57,825 - INFO - Created VN ctest-vn-84733782 2025-10-27 07:51:57,878 - DEBUG - VN ctest-vn-84733782 UUID is 36540bcd-ece1-4642-9101-5dd2d23e3f99 2025-10-27 07:51:57,992 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50773612', 'ctest-vmi-85974376']} 2025-10-27 07:51:58,260 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85974376', 'id': 'b071342b-9618-4b99-bec7-a179aeccd2c8', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '36540bcd-ece1-4642-9101-5dd2d23e3f99', 'mac_address': '02:b0:71:34:2b: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': '18.24.111.67', 'subnet_id': '8798a16c-68e5-48c2-839d-9475236c0bc2'}], 'security_groups': ['b025d502-daf1-4cdc-b4a5-8310f040b8fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:51:58,260 - DEBUG - Created port b071342b-9618-4b99-bec7-a179aeccd2c8 2025-10-27 07:51:58,366 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b071342b-9618-4b99-bec7-a179aeccd2c8 2025-10-27 07:51:58,697 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b071342b-9618-4b99-bec7-a179aeccd2c8 2025-10-27 07:51:58,728 - INFO - VMI b071342b-9618-4b99-bec7-a179aeccd2c8 verification in API Server passed 2025-10-27 07:51:58,829 - DEBUG - Response for delete_port : () 2025-10-27 07:51:58,829 - INFO - Deleted port b071342b-9618-4b99-bec7-a179aeccd2c8 2025-10-27 07:51:58,830 - INFO - Deleting VN ctest-vn-84733782 2025-10-27 07:51:58,934 - DEBUG - Response for deleting network () 2025-10-27 07:51:59,187 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 07:51:59,187 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-27 07:51:59,188 - INFO - -------------------------------------------------------------------------------- 2025-10-27 07:51:59,190 - INFO - ================================================================================ 2025-10-27 07:51:59,190 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 07:51:59,190 - 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-27 07:51:59,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 07:51:59,474 - INFO - Initial checks done. Running the testcase now 2025-10-27 07:51:59,474 - INFO - 2025-10-27 07:51:59,652 - DEBUG - Response for create_network : {'network': {'id': '34879700-0edc-457f-8c64-ffb22c46ebe6', 'name': 'ctest-vn1-78758049', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'project_id': '228042491d2848fd8d90b6e1ee54e401', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50773612', 'ctest-vn1-78758049'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:51:59,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '46674881-7cb1-48ed-b49b-da17fa809f1d', 'name': '', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '34879700-0edc-457f-8c64-ffb22c46ebe6', 'ip_version': 4, 'cidr': '188.184.42.128/26', 'allocation_pools': [{'start': '188.184.42.130', 'end': '188.184.42.190'}], 'gateway_ip': '188.184.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.184.42.130', 'tags': [], 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:51:59,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a94743d8-6b89-489a-8b8d-ab8141514b15', 'name': '', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '34879700-0edc-457f-8c64-ffb22c46ebe6', 'ip_version': 4, 'cidr': '63.151.190.0/26', 'allocation_pools': [{'start': '63.151.190.2', 'end': '63.151.190.62'}], 'gateway_ip': '63.151.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.151.190.2', 'tags': [], 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:51:59,993 - INFO - Created VN ctest-vn1-78758049 2025-10-27 07:52:00,046 - DEBUG - VN ctest-vn1-78758049 UUID is 34879700-0edc-457f-8c64-ffb22c46ebe6 2025-10-27 07:52:00,359 - DEBUG - Response for create_port : {'port': {'name': '8843e4a2-5abc-4e3e-a94b-b5c1419e3e23', 'id': '8843e4a2-5abc-4e3e-a94b-b5c1419e3e23', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '34879700-0edc-457f-8c64-ffb22c46ebe6', 'mac_address': '02:88:43:e4:a2:5a', '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': '188.184.42.133', 'subnet_id': '46674881-7cb1-48ed-b49b-da17fa809f1d'}], 'security_groups': ['b025d502-daf1-4cdc-b4a5-8310f040b8fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:52:00,549 - DEBUG - Response for create_port : {'port': {'name': 'e62fe63d-fdd4-4fdd-83df-72e31c11941e', 'id': 'e62fe63d-fdd4-4fdd-83df-72e31c11941e', 'tenant_id': '228042491d2848fd8d90b6e1ee54e401', 'network_id': '34879700-0edc-457f-8c64-ffb22c46ebe6', 'mac_address': '02:e6:2f:e6:3d:fd', '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': '63.151.190.5', 'subnet_id': 'a94743d8-6b89-489a-8b8d-ab8141514b15'}], 'security_groups': ['b025d502-daf1-4cdc-b4a5-8310f040b8fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '228042491d2848fd8d90b6e1ee54e401'}} 2025-10-27 07:52:00,610 - DEBUG - Services list from nova: [, , ] 2025-10-27 07:52:00,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:52:01,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:52:01,337 - INFO - Waiting for VM ctest-vn1-vm1-35748080 to be up.. 2025-10-27 07:52:01,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 07:52:06,451 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:52:06,451 - INFO - VM name : ctest-vn1-vm1-35748080 2025-10-27 07:52:06,526 - DEBUG - VM ctest-vn1-vm1-35748080 ID is 52a0592a-ce79-46fa-91e2-1b57e1df4d71 2025-10-27 07:52:06,547 - DEBUG - VM ctest-vn1-vm1-35748080 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:52:06,620 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/52a0592a-ce79-46fa-91e2-1b57e1df4d71 2025-10-27 07:52:06,629 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8843e4a2-5abc-4e3e-a94b-b5c1419e3e23 2025-10-27 07:52:09,865 - 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 1002ms') 2025-10-27 07:52:09,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35748080 failed! 2025-10-27 07:52:09,918 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50773612:ctest-vn1-78758049 is 188.184.42.129 and allocation pool is NOT set 2025-10-27 07:52:09,918 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50773612:ctest-vn1-78758049 is 63.151.190.1 and allocation pool is NOT set 2025-10-27 07:52:13,998 - 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=2 ttl=63 time=6.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 6.653/6.653/6.653/0.000 ms') 2025-10-27 07:52:13,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35748080 passed 2025-10-27 07:52:14,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:14,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35748080, IP 188.184.42.133, Port 22 2025-10-27 07:52:14,316 - DEBUG - VM ctest-vn1-vm1-35748080 is ready for SSH connections 2025-10-27 07:52:14,316 - INFO - Waiting for VM ctest-vn1-vm2-79694269 to be up.. 2025-10-27 07:52:14,415 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:52:14,415 - INFO - VM name : ctest-vn1-vm2-79694269 2025-10-27 07:52:14,495 - DEBUG - VM ctest-vn1-vm2-79694269 ID is dc66fee3-7a55-4811-99e2-749967a708ee 2025-10-27 07:52:14,495 - DEBUG - VM ctest-vn1-vm2-79694269 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:52:14,577 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dc66fee3-7a55-4811-99e2-749967a708ee 2025-10-27 07:52:14,586 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e62fe63d-fdd4-4fdd-83df-72e31c11941e 2025-10-27 07:52:15,846 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.954/3.448/1.493 ms') 2025-10-27 07:52:15,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79694269 passed 2025-10-27 07:52:15,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:15,998 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79694269, IP 63.151.190.5, Port 22 2025-10-27 07:52:16,153 - DEBUG - VM ctest-vn1-vm2-79694269 is ready for SSH connections 2025-10-27 07:52:16,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:16,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:16,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:16,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.184.42.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:16,153 - DEBUG - ping -s 56 -c 3 -W 1 188.184.42.133 2025-10-27 07:52:18,890 - DEBUG - PING 188.184.42.133 (188.184.42.133): 56 data bytes 64 bytes from 188.184.42.133: seq=0 ttl=63 time=3.897 ms 64 bytes from 188.184.42.133: seq=1 ttl=63 time=0.935 ms 64 bytes from 188.184.42.133: seq=2 ttl=63 time=0.711 ms --- 188.184.42.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.711/1.847/3.897 ms 2025-10-27 07:52:18,890 - INFO - Ping to IP 188.184.42.133 from VM ctest-vn1-vm2-79694269 passed 2025-10-27 07:52:18,891 - INFO - Detaching port e62fe63d-fdd4-4fdd-83df-72e31c11941e from VM ctest-vn1-vm2-79694269 2025-10-27 07:52:18,942 - INFO - Deleting VM ctest-vn1-vm2-79694269 2025-10-27 07:52:19,022 - INFO - Detaching port 8843e4a2-5abc-4e3e-a94b-b5c1419e3e23 from VM ctest-vn1-vm1-35748080 2025-10-27 07:52:19,057 - INFO - Deleting VM ctest-vn1-vm1-35748080 2025-10-27 07:52:19,281 - DEBUG - Response for delete_port : () 2025-10-27 07:52:19,443 - DEBUG - Response for delete_port : () 2025-10-27 07:52:19,444 - INFO - Deleting VN ctest-vn1-78758049 2025-10-27 07:52:19,573 - DEBUG - Response for deleting network () 2025-10-27 07:52:19,835 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 07:52:19,835 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-27 07:52:19,835 - INFO - -------------------------------------------------------------------------------- 2025-10-27 07:52:20,556 - INFO - Deleted project: ctest-TestPorts-50773612, ID : 22804249-1d28-48fd-8d90-b6e1ee54e401