2025-08-20 13:23:36,193 - INFO - Domain Default found not creating 2025-08-20 13:23:36,323 - INFO - Project ctest-TestPorts-22934901 not found, creating it 2025-08-20 13:23:36,764 - INFO - Created Project:ctest-TestPorts-22934901, ID : 7defb653-81f0-4d71-b6e2-88850f581551 2025-08-20 13:23:38,111 - INFO - ================================================================================ 2025-08-20 13:23:38,111 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 13:23:38,111 - 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 13:23:38,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 13:23:38,367 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:23:38,367 - INFO - 2025-08-20 13:23:38,976 - DEBUG - Response for create_network : {'network': {'id': '9f0bb1be-8349-4d8e-b593-0636ea5257a9', 'name': 'ctest-vn-89133143', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'project_id': '7defb65381f04d71b6e288850f581551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22934901', 'ctest-vn-89133143'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:23:39,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd864ae64-1302-43db-8796-c849e9c876e0', 'name': '', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': '9f0bb1be-8349-4d8e-b593-0636ea5257a9', 'ip_version': 4, 'cidr': '130.131.210.0/26', 'allocation_pools': [{'start': '130.131.210.2', 'end': '130.131.210.62'}], 'gateway_ip': '130.131.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.131.210.2', 'tags': [], 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:39,147 - INFO - Created VN ctest-vn-89133143 2025-08-20 13:23:39,201 - DEBUG - VN ctest-vn-89133143 UUID is 9f0bb1be-8349-4d8e-b593-0636ea5257a9 2025-08-20 13:23:39,306 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22934901', 'ctest-vmi-29665108']} 2025-08-20 13:23:39,573 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29665108', 'id': 'ef519fa0-d784-46a0-9d5f-25f6590ea297', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': '9f0bb1be-8349-4d8e-b593-0636ea5257a9', 'mac_address': '02:ef:51:9f:a0:d7', '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': '130.131.210.3', 'subnet_id': 'd864ae64-1302-43db-8796-c849e9c876e0'}], 'security_groups': ['473ccc26-5f3c-4b1b-b130-44481b9fe8e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:39,573 - DEBUG - Created port ef519fa0-d784-46a0-9d5f-25f6590ea297 2025-08-20 13:23:39,677 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ef519fa0-d784-46a0-9d5f-25f6590ea297 2025-08-20 13:23:39,968 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ef519fa0-d784-46a0-9d5f-25f6590ea297 2025-08-20 13:23:40,000 - INFO - VMI ef519fa0-d784-46a0-9d5f-25f6590ea297 verification in API Server passed 2025-08-20 13:23:40,093 - DEBUG - Response for delete_port : () 2025-08-20 13:23:40,093 - INFO - Deleted port ef519fa0-d784-46a0-9d5f-25f6590ea297 2025-08-20 13:23:40,093 - INFO - Deleting VN ctest-vn-89133143 2025-08-20 13:23:40,184 - DEBUG - Response for deleting network () 2025-08-20 13:23:40,448 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:23:40,448 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 13:23:40,448 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:23:40,452 - INFO - ================================================================================ 2025-08-20 13:23:40,452 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 13:23:40,452 - 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 13:23:40,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 13:23:40,732 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:23:40,732 - INFO - 2025-08-20 13:23:40,907 - DEBUG - Response for create_network : {'network': {'id': 'b0989f09-2476-46ca-bab5-f704c30f8e57', 'name': 'ctest-vn1-93775814', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'project_id': '7defb65381f04d71b6e288850f581551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22934901', 'ctest-vn1-93775814'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:23:41,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d412f68-03ad-4d88-b819-45bb5e871180', 'name': '', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': 'b0989f09-2476-46ca-bab5-f704c30f8e57', 'ip_version': 4, 'cidr': '111.159.248.64/26', 'allocation_pools': [{'start': '111.159.248.66', 'end': '111.159.248.126'}], 'gateway_ip': '111.159.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.159.248.66', 'tags': [], 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:41,299 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e573194f-fb0f-4a27-83da-7244ba435346', 'name': '', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': 'b0989f09-2476-46ca-bab5-f704c30f8e57', 'ip_version': 4, 'cidr': '133.54.35.128/26', 'allocation_pools': [{'start': '133.54.35.130', 'end': '133.54.35.190'}], 'gateway_ip': '133.54.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.54.35.130', 'tags': [], 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:41,319 - INFO - Created VN ctest-vn1-93775814 2025-08-20 13:23:41,377 - DEBUG - VN ctest-vn1-93775814 UUID is b0989f09-2476-46ca-bab5-f704c30f8e57 2025-08-20 13:23:41,662 - DEBUG - Response for create_port : {'port': {'name': '2189a56d-537b-4b77-84ef-1e8dfb25a482', 'id': '2189a56d-537b-4b77-84ef-1e8dfb25a482', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': 'b0989f09-2476-46ca-bab5-f704c30f8e57', 'mac_address': '02:21:89:a5:6d:53', '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': '111.159.248.69', 'subnet_id': '4d412f68-03ad-4d88-b819-45bb5e871180'}], 'security_groups': ['473ccc26-5f3c-4b1b-b130-44481b9fe8e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:41,826 - DEBUG - Response for create_port : {'port': {'name': '28f9e3b3-d825-48e8-95ea-5e2bdc5d1b34', 'id': '28f9e3b3-d825-48e8-95ea-5e2bdc5d1b34', 'tenant_id': '7defb65381f04d71b6e288850f581551', 'network_id': 'b0989f09-2476-46ca-bab5-f704c30f8e57', 'mac_address': '02:28:f9:e3:b3:d8', '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': '133.54.35.133', 'subnet_id': 'e573194f-fb0f-4a27-83da-7244ba435346'}], 'security_groups': ['473ccc26-5f3c-4b1b-b130-44481b9fe8e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7defb65381f04d71b6e288850f581551'}} 2025-08-20 13:23:41,878 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:23:42,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3895-1) 2025-08-20 13:23:42,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3895-1) 2025-08-20 13:23:42,540 - INFO - Waiting for VM ctest-vn1-vm1-74566194 to be up.. 2025-08-20 13:23:42,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:23:47,658 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:23:47,658 - INFO - VM name : ctest-vn1-vm1-74566194 2025-08-20 13:23:47,730 - DEBUG - VM ctest-vn1-vm1-74566194 ID is 79cc5d6f-253e-4346-9438-80fe0a577410 2025-08-20 13:23:47,748 - DEBUG - VM ctest-vn1-vm1-74566194 launched on Node cn-jenkins-deploy-platform-ansible-os-3895-1 2025-08-20 13:23:47,817 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/79cc5d6f-253e-4346-9438-80fe0a577410 2025-08-20 13:23:47,826 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2189a56d-537b-4b77-84ef-1e8dfb25a482 2025-08-20 13:23:51,074 - 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 1005ms') 2025-08-20 13:23:51,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74566194 failed! 2025-08-20 13:23:51,129 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22934901:ctest-vn1-93775814 is 111.159.248.65 and allocation pool is NOT set 2025-08-20 13:23:51,130 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22934901:ctest-vn1-93775814 is 133.54.35.129 and allocation pool is NOT set 2025-08-20 13:23:53,194 - 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=9.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.637/5.850/9.064/3.213 ms') 2025-08-20 13:23:53,195 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74566194 passed 2025-08-20 13:23:53,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:23:53,358 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74566194, IP 111.159.248.69, Port 22 2025-08-20 13:23:53,518 - DEBUG - VM ctest-vn1-vm1-74566194 is ready for SSH connections 2025-08-20 13:23:53,518 - INFO - Waiting for VM ctest-vn1-vm2-07535616 to be up.. 2025-08-20 13:23:53,646 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:23:53,646 - INFO - VM name : ctest-vn1-vm2-07535616 2025-08-20 13:23:53,715 - DEBUG - VM ctest-vn1-vm2-07535616 ID is 126586fe-5862-4ba1-a7eb-78144d87ca75 2025-08-20 13:23:53,715 - DEBUG - VM ctest-vn1-vm2-07535616 launched on Node cn-jenkins-deploy-platform-ansible-os-3895-1 2025-08-20 13:23:53,785 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/126586fe-5862-4ba1-a7eb-78144d87ca75 2025-08-20 13:23:53,794 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/28f9e3b3-d825-48e8-95ea-5e2bdc5d1b34 2025-08-20 13:23:55,035 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/1.650/2.760/1.110 ms') 2025-08-20 13:23:55,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07535616 passed 2025-08-20 13:23:55,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:23:55,186 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07535616, IP 133.54.35.133, Port 22 2025-08-20 13:23:55,341 - DEBUG - VM ctest-vn1-vm2-07535616 is ready for SSH connections 2025-08-20 13:23:55,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:23:55,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:23:55,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:23:55,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.159.248.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 13:23:55,342 - DEBUG - ping -s 56 -c 3 -W 1 111.159.248.69 2025-08-20 13:23:57,974 - DEBUG - PING 111.159.248.69 (111.159.248.69): 56 data bytes 64 bytes from 111.159.248.69: seq=0 ttl=63 time=3.568 ms 64 bytes from 111.159.248.69: seq=1 ttl=63 time=0.673 ms 64 bytes from 111.159.248.69: seq=2 ttl=63 time=0.740 ms --- 111.159.248.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.673/1.660/3.568 ms 2025-08-20 13:23:57,974 - INFO - Ping to IP 111.159.248.69 from VM ctest-vn1-vm2-07535616 passed 2025-08-20 13:23:57,974 - INFO - Detaching port 28f9e3b3-d825-48e8-95ea-5e2bdc5d1b34 from VM ctest-vn1-vm2-07535616 2025-08-20 13:23:58,020 - INFO - Deleting VM ctest-vn1-vm2-07535616 2025-08-20 13:23:58,080 - INFO - Detaching port 2189a56d-537b-4b77-84ef-1e8dfb25a482 from VM ctest-vn1-vm1-74566194 2025-08-20 13:23:58,111 - INFO - Deleting VM ctest-vn1-vm1-74566194 2025-08-20 13:23:58,329 - DEBUG - Response for delete_port : () 2025-08-20 13:23:58,470 - DEBUG - Response for delete_port : () 2025-08-20 13:23:58,470 - INFO - Deleting VN ctest-vn1-93775814 2025-08-20 13:23:58,599 - DEBUG - Response for deleting network () 2025-08-20 13:23:58,851 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:23:58,851 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-20 13:23:58,851 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:23:59,514 - INFO - Deleted project: ctest-TestPorts-22934901, ID : 7defb653-81f0-4d71-b6e2-88850f581551