2025-09-08 09:44:07,644 - INFO - Domain Default found not creating 2025-09-08 09:44:07,776 - INFO - Project ctest-TestPorts-44291593 not found, creating it 2025-09-08 09:44:08,203 - INFO - Created Project:ctest-TestPorts-44291593, ID : 6cd1b24d-9202-4143-a5fa-c67933cabd0e 2025-09-08 09:44:09,695 - INFO - ================================================================================ 2025-09-08 09:44:09,695 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 09:44:09,695 - 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-09-08 09:44:09,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-08 09:44:09,952 - INFO - Initial checks done. Running the testcase now 2025-09-08 09:44:09,952 - INFO - 2025-09-08 09:44:10,585 - DEBUG - Response for create_network : {'network': {'id': '974aa34e-b0bb-492a-8fe5-96fa03328abf', 'name': 'ctest-vn-88713097', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'project_id': '6cd1b24d92024143a5fac67933cabd0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44291593', 'ctest-vn-88713097'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 09:44:10,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '001e593b-d5e5-4c7e-937f-820055748105', 'name': '', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': '974aa34e-b0bb-492a-8fe5-96fa03328abf', 'ip_version': 4, 'cidr': '40.189.13.64/26', 'allocation_pools': [{'start': '40.189.13.66', 'end': '40.189.13.126'}], 'gateway_ip': '40.189.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.189.13.66', 'tags': [], 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:10,777 - INFO - Created VN ctest-vn-88713097 2025-09-08 09:44:10,827 - DEBUG - VN ctest-vn-88713097 UUID is 974aa34e-b0bb-492a-8fe5-96fa03328abf 2025-09-08 09:44:10,923 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44291593', 'ctest-vmi-77817212']} 2025-09-08 09:44:11,196 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77817212', 'id': '78c61a75-ee8a-422d-93be-b708d9635bf4', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': '974aa34e-b0bb-492a-8fe5-96fa03328abf', 'mac_address': '02:78:c6:1a:75:ee', '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': '40.189.13.67', 'subnet_id': '001e593b-d5e5-4c7e-937f-820055748105'}], 'security_groups': ['bc6a7147-d411-4a87-bdcd-aed6ed392bed'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:11,196 - DEBUG - Created port 78c61a75-ee8a-422d-93be-b708d9635bf4 2025-09-08 09:44:11,303 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/78c61a75-ee8a-422d-93be-b708d9635bf4 2025-09-08 09:44:11,592 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/78c61a75-ee8a-422d-93be-b708d9635bf4 2025-09-08 09:44:11,622 - INFO - VMI 78c61a75-ee8a-422d-93be-b708d9635bf4 verification in API Server passed 2025-09-08 09:44:11,727 - DEBUG - Response for delete_port : () 2025-09-08 09:44:11,727 - INFO - Deleted port 78c61a75-ee8a-422d-93be-b708d9635bf4 2025-09-08 09:44:11,727 - INFO - Deleting VN ctest-vn-88713097 2025-09-08 09:44:11,826 - DEBUG - Response for deleting network () 2025-09-08 09:44:12,080 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 09:44:12,080 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-08 09:44:12,080 - INFO - -------------------------------------------------------------------------------- 2025-09-08 09:44:12,083 - INFO - ================================================================================ 2025-09-08 09:44:12,083 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 09:44:12,083 - 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-09-08 09:44:12,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-08 09:44:12,367 - INFO - Initial checks done. Running the testcase now 2025-09-08 09:44:12,367 - INFO - 2025-09-08 09:44:12,520 - DEBUG - Response for create_network : {'network': {'id': 'a0c8bb12-34c2-478d-a676-8c63c1e95bd5', 'name': 'ctest-vn1-58702793', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'project_id': '6cd1b24d92024143a5fac67933cabd0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44291593', 'ctest-vn1-58702793'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 09:44:12,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '62a9b05a-2945-488a-a72c-4b836fdc4453', 'name': '', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': 'a0c8bb12-34c2-478d-a676-8c63c1e95bd5', 'ip_version': 4, 'cidr': '189.46.180.128/26', 'allocation_pools': [{'start': '189.46.180.130', 'end': '189.46.180.190'}], 'gateway_ip': '189.46.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.46.180.130', 'tags': [], 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:12,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cadb65af-5239-45cc-88b3-b5df6e764fd2', 'name': '', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': 'a0c8bb12-34c2-478d-a676-8c63c1e95bd5', 'ip_version': 4, 'cidr': '8.251.9.64/26', 'allocation_pools': [{'start': '8.251.9.66', 'end': '8.251.9.126'}], 'gateway_ip': '8.251.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.251.9.66', 'tags': [], 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:12,887 - INFO - Created VN ctest-vn1-58702793 2025-09-08 09:44:12,938 - DEBUG - VN ctest-vn1-58702793 UUID is a0c8bb12-34c2-478d-a676-8c63c1e95bd5 2025-09-08 09:44:13,223 - DEBUG - Response for create_port : {'port': {'name': '0eeb0054-99c6-4812-ada0-48702c3e1d96', 'id': '0eeb0054-99c6-4812-ada0-48702c3e1d96', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': 'a0c8bb12-34c2-478d-a676-8c63c1e95bd5', 'mac_address': '02:0e:eb:00:54:99', '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': '189.46.180.133', 'subnet_id': '62a9b05a-2945-488a-a72c-4b836fdc4453'}], 'security_groups': ['bc6a7147-d411-4a87-bdcd-aed6ed392bed'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:13,402 - DEBUG - Response for create_port : {'port': {'name': '364e8521-ac48-46eb-b167-7f8e63671433', 'id': '364e8521-ac48-46eb-b167-7f8e63671433', 'tenant_id': '6cd1b24d92024143a5fac67933cabd0e', 'network_id': 'a0c8bb12-34c2-478d-a676-8c63c1e95bd5', 'mac_address': '02:36:4e:85:21:ac', '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': '8.251.9.69', 'subnet_id': 'cadb65af-5239-45cc-88b3-b5df6e764fd2'}], 'security_groups': ['bc6a7147-d411-4a87-bdcd-aed6ed392bed'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6cd1b24d92024143a5fac67933cabd0e'}} 2025-09-08 09:44:13,460 - DEBUG - Services list from nova: [, , ] 2025-09-08 09:44:13,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4043-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4043-1) 2025-09-08 09:44:14,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4043-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4043-1) 2025-09-08 09:44:14,228 - INFO - Waiting for VM ctest-vn1-vm1-61612341 to be up.. 2025-09-08 09:44:14,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 09:44:19,327 - DEBUG - VM is in ACTIVE state now 2025-09-08 09:44:19,327 - INFO - VM name : ctest-vn1-vm1-61612341 2025-09-08 09:44:19,392 - DEBUG - VM ctest-vn1-vm1-61612341 ID is b5f674c3-0c31-491b-aeef-28f1d263c1c2 2025-09-08 09:44:19,410 - DEBUG - VM ctest-vn1-vm1-61612341 launched on Node cn-jenkins-deploy-platform-ansible-os-4043-1 2025-09-08 09:44:19,478 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b5f674c3-0c31-491b-aeef-28f1d263c1c2 2025-09-08 09:44:19,486 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0eeb0054-99c6-4812-ada0-48702c3e1d96 2025-09-08 09:44:22,731 - 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 1014ms') 2025-09-08 09:44:22,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61612341 failed! 2025-09-08 09:44:22,791 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44291593:ctest-vn1-58702793 is 189.46.180.129 and allocation pool is NOT set 2025-09-08 09:44:22,791 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44291593:ctest-vn1-58702793 is 8.251.9.65 and allocation pool is NOT set 2025-09-08 09:44:24,862 - 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=8.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.496/4.478/8.460/3.982 ms') 2025-09-08 09:44:24,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61612341 passed 2025-09-08 09:44:25,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:44:25,015 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61612341, IP 189.46.180.133, Port 22 2025-09-08 09:44:25,170 - DEBUG - VM ctest-vn1-vm1-61612341 is ready for SSH connections 2025-09-08 09:44:25,170 - INFO - Waiting for VM ctest-vn1-vm2-75918590 to be up.. 2025-09-08 09:44:25,243 - DEBUG - VM is in ACTIVE state now 2025-09-08 09:44:25,243 - INFO - VM name : ctest-vn1-vm2-75918590 2025-09-08 09:44:25,310 - DEBUG - VM ctest-vn1-vm2-75918590 ID is de7cc735-3ead-45a1-93ac-d0c38ef536c5 2025-09-08 09:44:25,311 - DEBUG - VM ctest-vn1-vm2-75918590 launched on Node cn-jenkins-deploy-platform-ansible-os-4043-1 2025-09-08 09:44:25,380 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/de7cc735-3ead-45a1-93ac-d0c38ef536c5 2025-09-08 09:44:25,393 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/364e8521-ac48-46eb-b167-7f8e63671433 2025-09-08 09:44:26,620 - 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=4.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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 = 1.324/3.005/4.686/1.681 ms') 2025-09-08 09:44:26,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75918590 passed 2025-09-08 09:44:26,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:44:26,771 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75918590, IP 8.251.9.69, Port 22 2025-09-08 09:44:26,926 - DEBUG - VM ctest-vn1-vm2-75918590 is ready for SSH connections 2025-09-08 09:44:26,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:44:26,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:44:26,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:44:26,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.46.180.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-08 09:44:26,926 - DEBUG - ping -s 56 -c 3 -W 1 189.46.180.133 2025-09-08 09:44:29,863 - DEBUG - PING 189.46.180.133 (189.46.180.133): 56 data bytes 64 bytes from 189.46.180.133: seq=0 ttl=63 time=4.379 ms 64 bytes from 189.46.180.133: seq=1 ttl=63 time=0.786 ms 64 bytes from 189.46.180.133: seq=2 ttl=63 time=1.317 ms --- 189.46.180.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/2.160/4.379 ms 2025-09-08 09:44:29,863 - INFO - Ping to IP 189.46.180.133 from VM ctest-vn1-vm2-75918590 passed 2025-09-08 09:44:29,863 - INFO - Detaching port 364e8521-ac48-46eb-b167-7f8e63671433 from VM ctest-vn1-vm2-75918590 2025-09-08 09:44:29,916 - INFO - Deleting VM ctest-vn1-vm2-75918590 2025-09-08 09:44:29,980 - INFO - Detaching port 0eeb0054-99c6-4812-ada0-48702c3e1d96 from VM ctest-vn1-vm1-61612341 2025-09-08 09:44:30,015 - INFO - Deleting VM ctest-vn1-vm1-61612341 2025-09-08 09:44:30,206 - DEBUG - Response for delete_port : () 2025-09-08 09:44:30,365 - DEBUG - Response for delete_port : () 2025-09-08 09:44:30,365 - INFO - Deleting VN ctest-vn1-58702793 2025-09-08 09:44:30,478 - DEBUG - Response for deleting network () 2025-09-08 09:44:30,735 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 09:44:30,735 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-08 09:44:30,735 - INFO - -------------------------------------------------------------------------------- 2025-09-08 09:44:31,374 - INFO - Deleted project: ctest-TestPorts-44291593, ID : 6cd1b24d-9202-4143-a5fa-c67933cabd0e