2025-10-24 01:49:59,654 - INFO - Domain Default found not creating 2025-10-24 01:49:59,772 - INFO - Project ctest-TestPorts-60445963 not found, creating it 2025-10-24 01:50:00,267 - INFO - Created Project:ctest-TestPorts-60445963, ID : 8cf9ade3-656f-4f12-bab3-035393cfb991 2025-10-24 01:50:01,624 - INFO - ================================================================================ 2025-10-24 01:50:01,625 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 01:50:01,625 - 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-24 01:50:01,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 01:50:01,884 - INFO - Initial checks done. Running the testcase now 2025-10-24 01:50:01,884 - INFO - 2025-10-24 01:50:02,404 - DEBUG - Response for create_network : {'network': {'id': 'fef1098d-1423-4121-b51e-a6b57266c871', 'name': 'ctest-vn-95812410', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'project_id': '8cf9ade3656f4f12bab3035393cfb991', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60445963', 'ctest-vn-95812410'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:50:02,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f371f2d-6782-4a6c-8e2a-ee6ba7ad108e', 'name': '', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'fef1098d-1423-4121-b51e-a6b57266c871', 'ip_version': 4, 'cidr': '30.100.219.0/26', 'allocation_pools': [{'start': '30.100.219.2', 'end': '30.100.219.62'}], 'gateway_ip': '30.100.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.100.219.2', 'tags': [], 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:02,573 - INFO - Created VN ctest-vn-95812410 2025-10-24 01:50:02,623 - DEBUG - VN ctest-vn-95812410 UUID is fef1098d-1423-4121-b51e-a6b57266c871 2025-10-24 01:50:02,723 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60445963', 'ctest-vmi-07182539']} 2025-10-24 01:50:03,000 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07182539', 'id': 'ac1244ce-66af-43d8-98ce-0e96a71a9339', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'fef1098d-1423-4121-b51e-a6b57266c871', 'mac_address': '02:ac:12:44:ce:66', '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': '30.100.219.3', 'subnet_id': '7f371f2d-6782-4a6c-8e2a-ee6ba7ad108e'}], 'security_groups': ['cba81a82-869c-4ba3-80dc-26eb5b6a1300'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:03,000 - DEBUG - Created port ac1244ce-66af-43d8-98ce-0e96a71a9339 2025-10-24 01:50:03,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ac1244ce-66af-43d8-98ce-0e96a71a9339 2025-10-24 01:50:03,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ac1244ce-66af-43d8-98ce-0e96a71a9339 2025-10-24 01:50:03,420 - INFO - VMI ac1244ce-66af-43d8-98ce-0e96a71a9339 verification in API Server passed 2025-10-24 01:50:03,499 - DEBUG - Response for delete_port : () 2025-10-24 01:50:03,499 - INFO - Deleted port ac1244ce-66af-43d8-98ce-0e96a71a9339 2025-10-24 01:50:03,499 - INFO - Deleting VN ctest-vn-95812410 2025-10-24 01:50:03,594 - DEBUG - Response for deleting network () 2025-10-24 01:50:03,847 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 01:50:03,848 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-24 01:50:03,848 - INFO - -------------------------------------------------------------------------------- 2025-10-24 01:50:03,850 - INFO - ================================================================================ 2025-10-24 01:50:03,850 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 01:50:03,850 - 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-24 01:50:04,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 01:50:04,135 - INFO - Initial checks done. Running the testcase now 2025-10-24 01:50:04,135 - INFO - 2025-10-24 01:50:04,300 - DEBUG - Response for create_network : {'network': {'id': 'bff9dc3c-e852-42ba-99fe-ea7a8a66c570', 'name': 'ctest-vn1-05098663', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'project_id': '8cf9ade3656f4f12bab3035393cfb991', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60445963', 'ctest-vn1-05098663'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:50:04,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '188c79c5-1d4c-461c-b791-bb7705759ce6', 'name': '', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'bff9dc3c-e852-42ba-99fe-ea7a8a66c570', 'ip_version': 4, 'cidr': '30.221.173.0/26', 'allocation_pools': [{'start': '30.221.173.2', 'end': '30.221.173.62'}], 'gateway_ip': '30.221.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.221.173.2', 'tags': [], 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:04,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '3637d30a-ce0f-476e-91a6-30c80c9005d9', 'name': '', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'bff9dc3c-e852-42ba-99fe-ea7a8a66c570', 'ip_version': 4, 'cidr': '115.43.175.0/26', 'allocation_pools': [{'start': '115.43.175.2', 'end': '115.43.175.62'}], 'gateway_ip': '115.43.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.43.175.2', 'tags': [], 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:04,706 - INFO - Created VN ctest-vn1-05098663 2025-10-24 01:50:04,755 - DEBUG - VN ctest-vn1-05098663 UUID is bff9dc3c-e852-42ba-99fe-ea7a8a66c570 2025-10-24 01:50:05,020 - DEBUG - Response for create_port : {'port': {'name': '64129ff4-6dae-4051-9108-27bbe951b1d5', 'id': '64129ff4-6dae-4051-9108-27bbe951b1d5', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'bff9dc3c-e852-42ba-99fe-ea7a8a66c570', 'mac_address': '02:64:12:9f:f4:6d', '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': '30.221.173.5', 'subnet_id': '188c79c5-1d4c-461c-b791-bb7705759ce6'}], 'security_groups': ['cba81a82-869c-4ba3-80dc-26eb5b6a1300'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:05,162 - DEBUG - Response for create_port : {'port': {'name': 'be6aa628-fbe7-45f6-a2f3-e971a46cfbe2', 'id': 'be6aa628-fbe7-45f6-a2f3-e971a46cfbe2', 'tenant_id': '8cf9ade3656f4f12bab3035393cfb991', 'network_id': 'bff9dc3c-e852-42ba-99fe-ea7a8a66c570', 'mac_address': '02:be:6a:a6:28:fb', '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': '115.43.175.5', 'subnet_id': '3637d30a-ce0f-476e-91a6-30c80c9005d9'}], 'security_groups': ['cba81a82-869c-4ba3-80dc-26eb5b6a1300'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8cf9ade3656f4f12bab3035393cfb991'}} 2025-10-24 01:50:05,209 - DEBUG - Services list from nova: [, , ] 2025-10-24 01:50:05,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:50:05,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:50:05,821 - INFO - Waiting for VM ctest-vn1-vm1-03797278 to be up.. 2025-10-24 01:50:05,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 01:50:10,918 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:50:10,918 - INFO - VM name : ctest-vn1-vm1-03797278 2025-10-24 01:50:10,985 - DEBUG - VM ctest-vn1-vm1-03797278 ID is 1c3a4dab-446c-4ac4-9d4f-7a5901ee9a96 2025-10-24 01:50:11,003 - DEBUG - VM ctest-vn1-vm1-03797278 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:50:11,064 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1c3a4dab-446c-4ac4-9d4f-7a5901ee9a96 2025-10-24 01:50:11,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/64129ff4-6dae-4051-9108-27bbe951b1d5 2025-10-24 01:50:14,333 - 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-10-24 01:50:14,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03797278 failed! 2025-10-24 01:50:14,387 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60445963:ctest-vn1-05098663 is 30.221.173.1 and allocation pool is NOT set 2025-10-24 01:50:14,387 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60445963:ctest-vn1-05098663 is 115.43.175.1 and allocation pool is NOT set 2025-10-24 01:50:16,443 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.620 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.620/2.080/3.540/1.460 ms') 2025-10-24 01:50:16,443 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03797278 passed 2025-10-24 01:50:16,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:50:16,595 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03797278, IP 30.221.173.5, Port 22 2025-10-24 01:50:16,750 - DEBUG - VM ctest-vn1-vm1-03797278 is ready for SSH connections 2025-10-24 01:50:16,750 - INFO - Waiting for VM ctest-vn1-vm2-99303092 to be up.. 2025-10-24 01:50:16,823 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:50:16,823 - INFO - VM name : ctest-vn1-vm2-99303092 2025-10-24 01:50:16,885 - DEBUG - VM ctest-vn1-vm2-99303092 ID is 97e208f0-3e9f-49ce-8aa3-5bd84f252432 2025-10-24 01:50:16,885 - DEBUG - VM ctest-vn1-vm2-99303092 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:50:16,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/97e208f0-3e9f-49ce-8aa3-5bd84f252432 2025-10-24 01:50:16,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/be6aa628-fbe7-45f6-a2f3-e971a46cfbe2 2025-10-24 01:50:18,181 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.768/3.199/1.430 ms') 2025-10-24 01:50:18,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-99303092 passed 2025-10-24 01:50:18,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:50:18,331 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99303092, IP 115.43.175.5, Port 22 2025-10-24 01:50:18,482 - DEBUG - VM ctest-vn1-vm2-99303092 is ready for SSH connections 2025-10-24 01:50:18,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:50:18,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:50:18,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:50:18,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.221.173.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 01:50:18,482 - DEBUG - ping -s 56 -c 3 -W 1 30.221.173.5 2025-10-24 01:50:21,406 - DEBUG - PING 30.221.173.5 (30.221.173.5): 56 data bytes 64 bytes from 30.221.173.5: seq=0 ttl=63 time=3.530 ms 64 bytes from 30.221.173.5: seq=1 ttl=63 time=0.773 ms 64 bytes from 30.221.173.5: seq=2 ttl=63 time=0.802 ms --- 30.221.173.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.701/3.530 ms 2025-10-24 01:50:21,406 - INFO - Ping to IP 30.221.173.5 from VM ctest-vn1-vm2-99303092 passed 2025-10-24 01:50:21,406 - INFO - Detaching port be6aa628-fbe7-45f6-a2f3-e971a46cfbe2 from VM ctest-vn1-vm2-99303092 2025-10-24 01:50:21,455 - INFO - Deleting VM ctest-vn1-vm2-99303092 2025-10-24 01:50:21,528 - INFO - Detaching port 64129ff4-6dae-4051-9108-27bbe951b1d5 from VM ctest-vn1-vm1-03797278 2025-10-24 01:50:21,561 - INFO - Deleting VM ctest-vn1-vm1-03797278 2025-10-24 01:50:21,799 - DEBUG - Response for delete_port : () 2025-10-24 01:50:21,963 - DEBUG - Response for delete_port : () 2025-10-24 01:50:21,963 - INFO - Deleting VN ctest-vn1-05098663 2025-10-24 01:50:22,105 - DEBUG - Response for deleting network () 2025-10-24 01:50:22,367 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 01:50:22,367 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-24 01:50:22,367 - INFO - -------------------------------------------------------------------------------- 2025-10-24 01:50:23,129 - INFO - Deleted project: ctest-TestPorts-60445963, ID : 8cf9ade3-656f-4f12-bab3-035393cfb991