2025-08-11 02:02:31,929 - INFO - Domain Default found not creating 2025-08-11 02:02:32,051 - INFO - Project ctest-TestPorts-94373920 not found, creating it 2025-08-11 02:02:32,488 - INFO - Created Project:ctest-TestPorts-94373920, ID : 26c0e47c-613a-4704-b2af-a06526e20599 2025-08-11 02:02:33,909 - INFO - ================================================================================ 2025-08-11 02:02:33,909 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 02:02:33,909 - 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-11 02:02:34,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-08-11 02:02:34,162 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:02:34,162 - INFO - 2025-08-11 02:02:34,684 - DEBUG - Response for create_network : {'network': {'id': '0c17fd45-9cf5-4b15-a672-ad8517ef30ba', 'name': 'ctest-vn-04385166', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'project_id': '26c0e47c613a4704b2afa06526e20599', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94373920', 'ctest-vn-04385166'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:02:34,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd94d2dbe-ffe5-4061-b95e-4d58f1b2b829', 'name': '', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': '0c17fd45-9cf5-4b15-a672-ad8517ef30ba', 'ip_version': 4, 'cidr': '178.53.34.0/26', 'allocation_pools': [{'start': '178.53.34.2', 'end': '178.53.34.62'}], 'gateway_ip': '178.53.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.53.34.2', 'tags': [], 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:34,853 - INFO - Created VN ctest-vn-04385166 2025-08-11 02:02:34,905 - DEBUG - VN ctest-vn-04385166 UUID is 0c17fd45-9cf5-4b15-a672-ad8517ef30ba 2025-08-11 02:02:35,000 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94373920', 'ctest-vmi-20028046']} 2025-08-11 02:02:35,272 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20028046', 'id': '9d204661-77eb-417f-9423-4786284de06d', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': '0c17fd45-9cf5-4b15-a672-ad8517ef30ba', 'mac_address': '02:9d:20:46:61:77', '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': '178.53.34.3', 'subnet_id': 'd94d2dbe-ffe5-4061-b95e-4d58f1b2b829'}], 'security_groups': ['40079ea6-51d9-4a83-8d06-55c60f3bca73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:35,272 - DEBUG - Created port 9d204661-77eb-417f-9423-4786284de06d 2025-08-11 02:02:35,377 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/9d204661-77eb-417f-9423-4786284de06d 2025-08-11 02:02:35,663 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/9d204661-77eb-417f-9423-4786284de06d 2025-08-11 02:02:35,692 - INFO - VMI 9d204661-77eb-417f-9423-4786284de06d verification in API Server passed 2025-08-11 02:02:35,773 - DEBUG - Response for delete_port : () 2025-08-11 02:02:35,774 - INFO - Deleted port 9d204661-77eb-417f-9423-4786284de06d 2025-08-11 02:02:35,774 - INFO - Deleting VN ctest-vn-04385166 2025-08-11 02:02:35,865 - DEBUG - Response for deleting network () 2025-08-11 02:02:36,122 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:02:36,122 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-11 02:02:36,123 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:02:36,125 - INFO - ================================================================================ 2025-08-11 02:02:36,125 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 02:02:36,125 - 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-11 02:02:36,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-08-11 02:02:36,406 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:02:36,406 - INFO - 2025-08-11 02:02:36,568 - DEBUG - Response for create_network : {'network': {'id': 'b7dcac1f-7abc-4a6f-a369-dc4ea5467607', 'name': 'ctest-vn1-80616022', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'project_id': '26c0e47c613a4704b2afa06526e20599', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94373920', 'ctest-vn1-80616022'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:02:36,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '9694b745-b44b-4fef-8e41-00abe5b32b29', 'name': '', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': 'b7dcac1f-7abc-4a6f-a369-dc4ea5467607', 'ip_version': 4, 'cidr': '58.45.232.64/26', 'allocation_pools': [{'start': '58.45.232.66', 'end': '58.45.232.126'}], 'gateway_ip': '58.45.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.45.232.66', 'tags': [], 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:36,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7f892d2-4cdd-4444-8211-d84ca251768f', 'name': '', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': 'b7dcac1f-7abc-4a6f-a369-dc4ea5467607', 'ip_version': 4, 'cidr': '197.97.95.128/26', 'allocation_pools': [{'start': '197.97.95.130', 'end': '197.97.95.190'}], 'gateway_ip': '197.97.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.97.95.130', 'tags': [], 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:36,969 - INFO - Created VN ctest-vn1-80616022 2025-08-11 02:02:37,021 - DEBUG - VN ctest-vn1-80616022 UUID is b7dcac1f-7abc-4a6f-a369-dc4ea5467607 2025-08-11 02:02:37,281 - DEBUG - Response for create_port : {'port': {'name': '55d5aeea-7bb6-4014-ac21-b82602375ad5', 'id': '55d5aeea-7bb6-4014-ac21-b82602375ad5', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': 'b7dcac1f-7abc-4a6f-a369-dc4ea5467607', 'mac_address': '02:55:d5:ae:ea:7b', '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': '58.45.232.69', 'subnet_id': '9694b745-b44b-4fef-8e41-00abe5b32b29'}], 'security_groups': ['40079ea6-51d9-4a83-8d06-55c60f3bca73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:37,436 - DEBUG - Response for create_port : {'port': {'name': 'acfd3deb-7fb1-476e-8c2d-8fcf9c0ae767', 'id': 'acfd3deb-7fb1-476e-8c2d-8fcf9c0ae767', 'tenant_id': '26c0e47c613a4704b2afa06526e20599', 'network_id': 'b7dcac1f-7abc-4a6f-a369-dc4ea5467607', 'mac_address': '02:ac:fd:3d:eb:7f', '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': '197.97.95.133', 'subnet_id': 'a7f892d2-4cdd-4444-8211-d84ca251768f'}], 'security_groups': ['40079ea6-51d9-4a83-8d06-55c60f3bca73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c0e47c613a4704b2afa06526e20599'}} 2025-08-11 02:02:37,485 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:02:37,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:02:38,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:02:38,074 - INFO - Waiting for VM ctest-vn1-vm1-43934267 to be up.. 2025-08-11 02:02:38,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:02:43,180 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:02:43,180 - INFO - VM name : ctest-vn1-vm1-43934267 2025-08-11 02:02:43,243 - DEBUG - VM ctest-vn1-vm1-43934267 ID is 6142f23a-5baa-4a8f-bff5-57114354105d 2025-08-11 02:02:43,259 - DEBUG - VM ctest-vn1-vm1-43934267 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:02:43,321 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6142f23a-5baa-4a8f-bff5-57114354105d 2025-08-11 02:02:43,329 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/55d5aeea-7bb6-4014-ac21-b82602375ad5 2025-08-11 02:02:46,588 - 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 1024ms') 2025-08-11 02:02:46,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43934267 failed! 2025-08-11 02:02:46,641 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94373920:ctest-vn1-80616022 is 58.45.232.65 and allocation pool is NOT set 2025-08-11 02:02:46,641 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94373920:ctest-vn1-80616022 is 197.97.95.129 and allocation pool is NOT set 2025-08-11 02:02:48,709 - 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=5.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/3.002/5.629/2.626 ms') 2025-08-11 02:02:48,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43934267 passed 2025-08-11 02:02:48,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:02:48,857 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43934267, IP 58.45.232.69, Port 22 2025-08-11 02:02:49,013 - DEBUG - VM ctest-vn1-vm1-43934267 is ready for SSH connections 2025-08-11 02:02:49,013 - INFO - Waiting for VM ctest-vn1-vm2-30485071 to be up.. 2025-08-11 02:02:49,089 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:02:49,089 - INFO - VM name : ctest-vn1-vm2-30485071 2025-08-11 02:02:49,159 - DEBUG - VM ctest-vn1-vm2-30485071 ID is 74f73feb-f026-4f84-b72e-800d73389b6f 2025-08-11 02:02:49,159 - DEBUG - VM ctest-vn1-vm2-30485071 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:02:49,237 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/74f73feb-f026-4f84-b72e-800d73389b6f 2025-08-11 02:02:49,245 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/acfd3deb-7fb1-476e-8c2d-8fcf9c0ae767 2025-08-11 02:02:50,492 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 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.343/1.503/2.664/1.160 ms') 2025-08-11 02:02:50,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30485071 passed 2025-08-11 02:02:50,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:02:50,641 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30485071, IP 197.97.95.133, Port 22 2025-08-11 02:02:50,796 - DEBUG - VM ctest-vn1-vm2-30485071 is ready for SSH connections 2025-08-11 02:02:50,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:02:50,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:02:50,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:02:50,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.45.232.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:02:50,797 - DEBUG - ping -s 56 -c 3 -W 1 58.45.232.69 2025-08-11 02:02:53,687 - DEBUG - PING 58.45.232.69 (58.45.232.69): 56 data bytes 64 bytes from 58.45.232.69: seq=0 ttl=63 time=3.479 ms 64 bytes from 58.45.232.69: seq=1 ttl=63 time=0.658 ms 64 bytes from 58.45.232.69: seq=2 ttl=63 time=0.690 ms --- 58.45.232.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.658/1.609/3.479 ms 2025-08-11 02:02:53,687 - INFO - Ping to IP 58.45.232.69 from VM ctest-vn1-vm2-30485071 passed 2025-08-11 02:02:53,687 - INFO - Detaching port acfd3deb-7fb1-476e-8c2d-8fcf9c0ae767 from VM ctest-vn1-vm2-30485071 2025-08-11 02:02:53,732 - INFO - Deleting VM ctest-vn1-vm2-30485071 2025-08-11 02:02:53,791 - INFO - Detaching port 55d5aeea-7bb6-4014-ac21-b82602375ad5 from VM ctest-vn1-vm1-43934267 2025-08-11 02:02:53,819 - INFO - Deleting VM ctest-vn1-vm1-43934267 2025-08-11 02:02:53,999 - DEBUG - Response for delete_port : () 2025-08-11 02:02:54,132 - DEBUG - Response for delete_port : () 2025-08-11 02:02:54,133 - INFO - Deleting VN ctest-vn1-80616022 2025-08-11 02:02:54,245 - DEBUG - Response for deleting network () 2025-08-11 02:02:54,503 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:02:54,503 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-11 02:02:54,503 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:02:55,165 - INFO - Deleted project: ctest-TestPorts-94373920, ID : 26c0e47c-613a-4704-b2af-a06526e20599