2025-08-20 11:28:01,310 - INFO - Domain Default found not creating 2025-08-20 11:28:01,440 - INFO - Project ctest-TestPorts-36945979 not found, creating it 2025-08-20 11:28:01,874 - INFO - Created Project:ctest-TestPorts-36945979, ID : c607e87d-3604-4ffc-accc-326a61e8b542 2025-08-20 11:28:03,262 - INFO - ================================================================================ 2025-08-20 11:28:03,262 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 11:28:03,263 - 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-08-20 11:28:03,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-20 11:28:03,514 - INFO - Initial checks done. Running the testcase now 2025-08-20 11:28:03,514 - INFO - 2025-08-20 11:28:04,016 - DEBUG - Response for create_network : {'network': {'id': 'd3bbe035-89d9-41f8-b52f-066e81543d68', 'name': 'ctest-vn-29175092', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'project_id': 'c607e87d36044ffcaccc326a61e8b542', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36945979', 'ctest-vn-29175092'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:28:04,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '71298542-3f9a-4d04-b93f-1e3dbf282f18', 'name': '', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd3bbe035-89d9-41f8-b52f-066e81543d68', 'ip_version': 4, 'cidr': '218.167.242.64/26', 'allocation_pools': [{'start': '218.167.242.66', 'end': '218.167.242.126'}], 'gateway_ip': '218.167.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.167.242.66', 'tags': [], 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:04,226 - INFO - Created VN ctest-vn-29175092 2025-08-20 11:28:04,280 - DEBUG - VN ctest-vn-29175092 UUID is d3bbe035-89d9-41f8-b52f-066e81543d68 2025-08-20 11:28:04,378 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36945979', 'ctest-vmi-01217346']} 2025-08-20 11:28:04,644 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01217346', 'id': 'e19c818d-e6ae-4ac9-acba-32fde923b8ca', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd3bbe035-89d9-41f8-b52f-066e81543d68', 'mac_address': '02:e1:9c:81:8d:e6', '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': '218.167.242.67', 'subnet_id': '71298542-3f9a-4d04-b93f-1e3dbf282f18'}], 'security_groups': ['f208a625-3f4e-4cf8-b8e1-750596e2719f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:04,644 - DEBUG - Created port e19c818d-e6ae-4ac9-acba-32fde923b8ca 2025-08-20 11:28:04,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e19c818d-e6ae-4ac9-acba-32fde923b8ca 2025-08-20 11:28:05,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e19c818d-e6ae-4ac9-acba-32fde923b8ca 2025-08-20 11:28:05,065 - INFO - VMI e19c818d-e6ae-4ac9-acba-32fde923b8ca verification in API Server passed 2025-08-20 11:28:05,136 - DEBUG - Response for delete_port : () 2025-08-20 11:28:05,136 - INFO - Deleted port e19c818d-e6ae-4ac9-acba-32fde923b8ca 2025-08-20 11:28:05,136 - INFO - Deleting VN ctest-vn-29175092 2025-08-20 11:28:05,227 - DEBUG - Response for deleting network () 2025-08-20 11:28:05,482 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 11:28:05,482 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 11:28:05,482 - INFO - -------------------------------------------------------------------------------- 2025-08-20 11:28:05,484 - INFO - ================================================================================ 2025-08-20 11:28:05,484 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 11:28:05,484 - 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-08-20 11:28:05,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-20 11:28:05,777 - INFO - Initial checks done. Running the testcase now 2025-08-20 11:28:05,777 - INFO - 2025-08-20 11:28:05,938 - DEBUG - Response for create_network : {'network': {'id': 'd7e0ead1-989b-4bda-ab9d-075f98467a96', 'name': 'ctest-vn1-77386892', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'project_id': 'c607e87d36044ffcaccc326a61e8b542', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36945979', 'ctest-vn1-77386892'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:28:06,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '098ea911-dbbf-4532-b42c-2cd07661ff07', 'name': '', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd7e0ead1-989b-4bda-ab9d-075f98467a96', 'ip_version': 4, 'cidr': '22.148.7.64/26', 'allocation_pools': [{'start': '22.148.7.66', 'end': '22.148.7.126'}], 'gateway_ip': '22.148.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.148.7.66', 'tags': [], 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:06,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d1c419-b798-4c19-831a-22549b9d760e', 'name': '', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd7e0ead1-989b-4bda-ab9d-075f98467a96', 'ip_version': 4, 'cidr': '22.127.18.0/26', 'allocation_pools': [{'start': '22.127.18.2', 'end': '22.127.18.62'}], 'gateway_ip': '22.127.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.127.18.2', 'tags': [], 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:06,292 - INFO - Created VN ctest-vn1-77386892 2025-08-20 11:28:06,344 - DEBUG - VN ctest-vn1-77386892 UUID is d7e0ead1-989b-4bda-ab9d-075f98467a96 2025-08-20 11:28:06,622 - DEBUG - Response for create_port : {'port': {'name': '16849a16-3837-4052-b487-3a55d269c0a6', 'id': '16849a16-3837-4052-b487-3a55d269c0a6', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd7e0ead1-989b-4bda-ab9d-075f98467a96', 'mac_address': '02:16:84:9a:16:38', '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': '22.148.7.69', 'subnet_id': '098ea911-dbbf-4532-b42c-2cd07661ff07'}], 'security_groups': ['f208a625-3f4e-4cf8-b8e1-750596e2719f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:06,784 - DEBUG - Response for create_port : {'port': {'name': '7a4714ef-46d6-46b6-b444-1df27a1ff021', 'id': '7a4714ef-46d6-46b6-b444-1df27a1ff021', 'tenant_id': 'c607e87d36044ffcaccc326a61e8b542', 'network_id': 'd7e0ead1-989b-4bda-ab9d-075f98467a96', 'mac_address': '02:7a:47:14:ef:46', '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': '22.127.18.5', 'subnet_id': '30d1c419-b798-4c19-831a-22549b9d760e'}], 'security_groups': ['f208a625-3f4e-4cf8-b8e1-750596e2719f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c607e87d36044ffcaccc326a61e8b542'}} 2025-08-20 11:28:06,832 - DEBUG - Services list from nova: [, , ] 2025-08-20 11:28:07,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:28:07,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:28:07,452 - INFO - Waiting for VM ctest-vn1-vm1-59761351 to be up.. 2025-08-20 11:28:07,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 11:28:12,549 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:28:12,549 - INFO - VM name : ctest-vn1-vm1-59761351 2025-08-20 11:28:12,611 - DEBUG - VM ctest-vn1-vm1-59761351 ID is 739adb32-de13-4b30-bb69-773bc9f9d837 2025-08-20 11:28:12,631 - DEBUG - VM ctest-vn1-vm1-59761351 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:28:12,701 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/739adb32-de13-4b30-bb69-773bc9f9d837 2025-08-20 11:28:12,709 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/16849a16-3837-4052-b487-3a55d269c0a6 2025-08-20 11:28:15,962 - 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 1016ms') 2025-08-20 11:28:15,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59761351 failed! 2025-08-20 11:28:16,016 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36945979:ctest-vn1-77386892 is 22.148.7.65 and allocation pool is NOT set 2025-08-20 11:28:16,016 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36945979:ctest-vn1-77386892 is 22.127.18.1 and allocation pool is NOT set 2025-08-20 11:28:18,077 - 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=4.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.721 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.721/2.398/4.076/1.677 ms') 2025-08-20 11:28:18,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59761351 passed 2025-08-20 11:28:18,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:18,224 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59761351, IP 22.148.7.69, Port 22 2025-08-20 11:28:18,379 - DEBUG - VM ctest-vn1-vm1-59761351 is ready for SSH connections 2025-08-20 11:28:18,379 - INFO - Waiting for VM ctest-vn1-vm2-49061072 to be up.. 2025-08-20 11:28:18,445 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:28:18,445 - INFO - VM name : ctest-vn1-vm2-49061072 2025-08-20 11:28:18,509 - DEBUG - VM ctest-vn1-vm2-49061072 ID is c99312a3-f222-4372-81d6-ac59472cd665 2025-08-20 11:28:18,509 - DEBUG - VM ctest-vn1-vm2-49061072 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:28:18,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c99312a3-f222-4372-81d6-ac59472cd665 2025-08-20 11:28:18,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7a4714ef-46d6-46b6-b444-1df27a1ff021 2025-08-20 11:28:19,815 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 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.911/2.049/3.187/1.138 ms') 2025-08-20 11:28:19,815 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49061072 passed 2025-08-20 11:28:19,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:19,964 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49061072, IP 22.127.18.5, Port 22 2025-08-20 11:28:20,115 - DEBUG - VM ctest-vn1-vm2-49061072 is ready for SSH connections 2025-08-20 11:28:20,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:20,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:20,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:20,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.148.7.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:28:20,116 - DEBUG - ping -s 56 -c 3 -W 1 22.148.7.69 2025-08-20 11:28:22,721 - DEBUG - PING 22.148.7.69 (22.148.7.69): 56 data bytes 64 bytes from 22.148.7.69: seq=0 ttl=63 time=3.194 ms 64 bytes from 22.148.7.69: seq=1 ttl=63 time=0.796 ms 64 bytes from 22.148.7.69: seq=2 ttl=63 time=0.653 ms --- 22.148.7.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.653/1.547/3.194 ms 2025-08-20 11:28:22,721 - INFO - Ping to IP 22.148.7.69 from VM ctest-vn1-vm2-49061072 passed 2025-08-20 11:28:22,721 - INFO - Detaching port 7a4714ef-46d6-46b6-b444-1df27a1ff021 from VM ctest-vn1-vm2-49061072 2025-08-20 11:28:22,764 - INFO - Deleting VM ctest-vn1-vm2-49061072 2025-08-20 11:28:22,819 - INFO - Detaching port 16849a16-3837-4052-b487-3a55d269c0a6 from VM ctest-vn1-vm1-59761351 2025-08-20 11:28:22,850 - INFO - Deleting VM ctest-vn1-vm1-59761351 2025-08-20 11:28:23,050 - DEBUG - Response for delete_port : () 2025-08-20 11:28:23,217 - DEBUG - Response for delete_port : () 2025-08-20 11:28:23,218 - INFO - Deleting VN ctest-vn1-77386892 2025-08-20 11:28:23,352 - DEBUG - Response for deleting network () 2025-08-20 11:28:23,617 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 11:28:23,618 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-20 11:28:23,619 - INFO - -------------------------------------------------------------------------------- 2025-08-20 11:28:24,274 - INFO - Deleted project: ctest-TestPorts-36945979, ID : c607e87d-3604-4ffc-accc-326a61e8b542