2025-10-31 14:45:24,357 - INFO - Domain Default found not creating 2025-10-31 14:45:24,530 - INFO - Project ctest-TestPorts-11078782 not found, creating it 2025-10-31 14:45:24,974 - INFO - Created Project:ctest-TestPorts-11078782, ID : 5a7d055f-f236-4fad-b8d5-dbce377539e4 2025-10-31 14:45:26,508 - INFO - ================================================================================ 2025-10-31 14:45:26,508 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 14:45:26,508 - 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-31 14:45:26,765 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-10-31 14:45:26,765 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:45:26,766 - INFO - 2025-10-31 14:45:27,374 - DEBUG - Response for create_network : {'network': {'id': 'd40ec161-413a-446b-ac4d-3563f7fa0096', 'name': 'ctest-vn-04406600', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'project_id': '5a7d055ff2364fadb8d5dbce377539e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11078782', 'ctest-vn-04406600'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:45:27,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '7599e8c0-be83-4274-a514-447b02e9d615', 'name': '', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': 'd40ec161-413a-446b-ac4d-3563f7fa0096', 'ip_version': 4, 'cidr': '132.108.67.128/26', 'allocation_pools': [{'start': '132.108.67.130', 'end': '132.108.67.190'}], 'gateway_ip': '132.108.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.108.67.130', 'tags': [], 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:27,587 - INFO - Created VN ctest-vn-04406600 2025-10-31 14:45:27,640 - DEBUG - VN ctest-vn-04406600 UUID is d40ec161-413a-446b-ac4d-3563f7fa0096 2025-10-31 14:45:27,759 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11078782', 'ctest-vmi-23825286']} 2025-10-31 14:45:28,036 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23825286', 'id': '96ba0733-936e-46b2-a411-395bfedfa196', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': 'd40ec161-413a-446b-ac4d-3563f7fa0096', 'mac_address': '02:96:ba:07:33:93', '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': '132.108.67.131', 'subnet_id': '7599e8c0-be83-4274-a514-447b02e9d615'}], 'security_groups': ['1a498841-288b-41e1-bf0d-427bd5b8fe2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:28,037 - DEBUG - Created port 96ba0733-936e-46b2-a411-395bfedfa196 2025-10-31 14:45:28,144 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96ba0733-936e-46b2-a411-395bfedfa196 2025-10-31 14:45:28,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96ba0733-936e-46b2-a411-395bfedfa196 2025-10-31 14:45:28,510 - INFO - VMI 96ba0733-936e-46b2-a411-395bfedfa196 verification in API Server passed 2025-10-31 14:45:28,614 - DEBUG - Response for delete_port : () 2025-10-31 14:45:28,615 - INFO - Deleted port 96ba0733-936e-46b2-a411-395bfedfa196 2025-10-31 14:45:28,615 - INFO - Deleting VN ctest-vn-04406600 2025-10-31 14:45:28,712 - DEBUG - Response for deleting network () 2025-10-31 14:45:28,977 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 14:45:28,977 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-31 14:45:28,977 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:45:28,980 - INFO - ================================================================================ 2025-10-31 14:45:28,980 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 14:45:28,980 - 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-31 14:45:29,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-10-31 14:45:29,278 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:45:29,278 - INFO - 2025-10-31 14:45:29,488 - DEBUG - Response for create_network : {'network': {'id': '1c90ddde-27f9-44c4-9a1b-94f67662f509', 'name': 'ctest-vn1-37267261', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'project_id': '5a7d055ff2364fadb8d5dbce377539e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11078782', 'ctest-vn1-37267261'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:45:29,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '67d2a605-70d8-4ccc-ae4f-860b156907f7', 'name': '', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': '1c90ddde-27f9-44c4-9a1b-94f67662f509', 'ip_version': 4, 'cidr': '47.38.249.64/26', 'allocation_pools': [{'start': '47.38.249.66', 'end': '47.38.249.126'}], 'gateway_ip': '47.38.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.38.249.66', 'tags': [], 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:29,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '197c8c27-948c-412c-beea-6391ace69384', 'name': '', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': '1c90ddde-27f9-44c4-9a1b-94f67662f509', 'ip_version': 4, 'cidr': '21.88.111.128/26', 'allocation_pools': [{'start': '21.88.111.130', 'end': '21.88.111.190'}], 'gateway_ip': '21.88.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.88.111.130', 'tags': [], 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:29,937 - INFO - Created VN ctest-vn1-37267261 2025-10-31 14:45:29,992 - DEBUG - VN ctest-vn1-37267261 UUID is 1c90ddde-27f9-44c4-9a1b-94f67662f509 2025-10-31 14:45:30,299 - DEBUG - Response for create_port : {'port': {'name': 'cd35d3da-9e2c-4f12-8c16-4486e2117169', 'id': 'cd35d3da-9e2c-4f12-8c16-4486e2117169', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': '1c90ddde-27f9-44c4-9a1b-94f67662f509', 'mac_address': '02:cd:35:d3:da:9e', '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': '47.38.249.69', 'subnet_id': '67d2a605-70d8-4ccc-ae4f-860b156907f7'}], 'security_groups': ['1a498841-288b-41e1-bf0d-427bd5b8fe2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:30,473 - DEBUG - Response for create_port : {'port': {'name': '4af99aa3-2217-46e1-b804-7398b539c20d', 'id': '4af99aa3-2217-46e1-b804-7398b539c20d', 'tenant_id': '5a7d055ff2364fadb8d5dbce377539e4', 'network_id': '1c90ddde-27f9-44c4-9a1b-94f67662f509', 'mac_address': '02:4a:f9:9a:a3:22', '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': '21.88.111.133', 'subnet_id': '197c8c27-948c-412c-beea-6391ace69384'}], 'security_groups': ['1a498841-288b-41e1-bf0d-427bd5b8fe2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5a7d055ff2364fadb8d5dbce377539e4'}} 2025-10-31 14:45:30,534 - DEBUG - Services list from nova: [, , ] 2025-10-31 14:45:30,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1) 2025-10-31 14:45:31,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1) 2025-10-31 14:45:31,324 - INFO - Waiting for VM ctest-vn1-vm1-82160230 to be up.. 2025-10-31 14:45:31,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 14:45:36,446 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:45:36,446 - INFO - VM name : ctest-vn1-vm1-82160230 2025-10-31 14:45:36,527 - DEBUG - VM ctest-vn1-vm1-82160230 ID is dbbb5152-2132-4bbf-a65c-b22294cfe278 2025-10-31 14:45:36,548 - DEBUG - VM ctest-vn1-vm1-82160230 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1 2025-10-31 14:45:36,621 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dbbb5152-2132-4bbf-a65c-b22294cfe278 2025-10-31 14:45:36,629 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cd35d3da-9e2c-4f12-8c16-4486e2117169 2025-10-31 14:45:39,896 - 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 1035ms') 2025-10-31 14:45:39,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82160230 failed! 2025-10-31 14:45:39,952 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11078782:ctest-vn1-37267261 is 47.38.249.65 and allocation pool is NOT set 2025-10-31 14:45:39,952 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11078782:ctest-vn1-37267261 is 21.88.111.129 and allocation pool is NOT set 2025-10-31 14:45:44,018 - 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=8.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.227/8.227/8.227/0.000 ms') 2025-10-31 14:45:44,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82160230 passed 2025-10-31 14:45:44,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:45:44,172 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82160230, IP 47.38.249.69, Port 22 2025-10-31 14:45:44,327 - DEBUG - VM ctest-vn1-vm1-82160230 is ready for SSH connections 2025-10-31 14:45:44,327 - INFO - Waiting for VM ctest-vn1-vm2-34698701 to be up.. 2025-10-31 14:45:44,405 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:45:44,405 - INFO - VM name : ctest-vn1-vm2-34698701 2025-10-31 14:45:44,473 - DEBUG - VM ctest-vn1-vm2-34698701 ID is 0776ef7a-601c-4fb7-a8a8-5cfb28a1aecd 2025-10-31 14:45:44,473 - DEBUG - VM ctest-vn1-vm2-34698701 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1 2025-10-31 14:45:44,544 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0776ef7a-601c-4fb7-a8a8-5cfb28a1aecd 2025-10-31 14:45:44,551 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4af99aa3-2217-46e1-b804-7398b539c20d 2025-10-31 14:45:45,784 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.924/3.404/1.479 ms') 2025-10-31 14:45:45,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34698701 passed 2025-10-31 14:45:45,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:45:45,936 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34698701, IP 21.88.111.133, Port 22 2025-10-31 14:45:46,091 - DEBUG - VM ctest-vn1-vm2-34698701 is ready for SSH connections 2025-10-31 14:45:46,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:45:46,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:45:46,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:45:46,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.38.249.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-31 14:45:46,092 - DEBUG - ping -s 56 -c 3 -W 1 47.38.249.69 2025-10-31 14:45:48,811 - DEBUG - PING 47.38.249.69 (47.38.249.69): 56 data bytes 64 bytes from 47.38.249.69: seq=0 ttl=63 time=4.229 ms 64 bytes from 47.38.249.69: seq=1 ttl=63 time=0.766 ms 64 bytes from 47.38.249.69: seq=2 ttl=63 time=0.744 ms --- 47.38.249.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.913/4.229 ms 2025-10-31 14:45:48,811 - INFO - Ping to IP 47.38.249.69 from VM ctest-vn1-vm2-34698701 passed 2025-10-31 14:45:48,812 - INFO - Detaching port 4af99aa3-2217-46e1-b804-7398b539c20d from VM ctest-vn1-vm2-34698701 2025-10-31 14:45:48,864 - INFO - Deleting VM ctest-vn1-vm2-34698701 2025-10-31 14:45:48,936 - INFO - Detaching port cd35d3da-9e2c-4f12-8c16-4486e2117169 from VM ctest-vn1-vm1-82160230 2025-10-31 14:45:48,968 - INFO - Deleting VM ctest-vn1-vm1-82160230 2025-10-31 14:45:49,216 - DEBUG - Response for delete_port : () 2025-10-31 14:45:49,390 - DEBUG - Response for delete_port : () 2025-10-31 14:45:49,390 - INFO - Deleting VN ctest-vn1-37267261 2025-10-31 14:45:49,536 - DEBUG - Response for deleting network () 2025-10-31 14:45:49,808 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 14:45:49,808 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-31 14:45:49,808 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:45:50,534 - INFO - Deleted project: ctest-TestPorts-11078782, ID : 5a7d055f-f236-4fad-b8d5-dbce377539e4