2025-10-31 10:17:13,000 - INFO - Domain Default found not creating 2025-10-31 10:17:13,181 - INFO - Project ctest-TestPorts-34655213 not found, creating it 2025-10-31 10:17:13,646 - INFO - Created Project:ctest-TestPorts-34655213, ID : 1bc20b1d-6e5f-464d-8a69-ad719c8a4331 2025-10-31 10:17:15,177 - INFO - ================================================================================ 2025-10-31 10:17:15,178 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 10:17:15,178 - 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-31 10:17:15,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 10:17:15,441 - INFO - Initial checks done. Running the testcase now 2025-10-31 10:17:15,441 - INFO - 2025-10-31 10:17:16,054 - DEBUG - Response for create_network : {'network': {'id': 'cc9e506a-feee-4009-aff2-62e03929ca45', 'name': 'ctest-vn-18809316', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34655213', 'ctest-vn-18809316'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:17:16,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac043b18-d381-4449-a2cc-b82d1a48e665', 'name': '', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': 'cc9e506a-feee-4009-aff2-62e03929ca45', 'ip_version': 4, 'cidr': '46.59.131.128/26', 'allocation_pools': [{'start': '46.59.131.130', 'end': '46.59.131.190'}], 'gateway_ip': '46.59.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.59.131.130', 'tags': [], 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:16,251 - INFO - Created VN ctest-vn-18809316 2025-10-31 10:17:16,302 - DEBUG - VN ctest-vn-18809316 UUID is cc9e506a-feee-4009-aff2-62e03929ca45 2025-10-31 10:17:16,416 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34655213', 'ctest-vmi-68072581']} 2025-10-31 10:17:16,648 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68072581', 'id': '0a4fa226-10e1-4bb0-9995-ed6bc738ffbd', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': 'cc9e506a-feee-4009-aff2-62e03929ca45', 'mac_address': '02:0a:4f:a2:26:10', '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': '46.59.131.131', 'subnet_id': 'ac043b18-d381-4449-a2cc-b82d1a48e665'}], 'security_groups': ['877d0708-5bbd-4c7f-8edf-237843473ba8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:16,648 - DEBUG - Created port 0a4fa226-10e1-4bb0-9995-ed6bc738ffbd 2025-10-31 10:17:16,754 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a4fa226-10e1-4bb0-9995-ed6bc738ffbd 2025-10-31 10:17:17,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a4fa226-10e1-4bb0-9995-ed6bc738ffbd 2025-10-31 10:17:17,096 - INFO - VMI 0a4fa226-10e1-4bb0-9995-ed6bc738ffbd verification in API Server passed 2025-10-31 10:17:17,188 - DEBUG - Response for delete_port : () 2025-10-31 10:17:17,188 - INFO - Deleted port 0a4fa226-10e1-4bb0-9995-ed6bc738ffbd 2025-10-31 10:17:17,188 - INFO - Deleting VN ctest-vn-18809316 2025-10-31 10:17:17,292 - DEBUG - Response for deleting network () 2025-10-31 10:17:17,547 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 10:17:17,548 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-31 10:17:17,548 - INFO - -------------------------------------------------------------------------------- 2025-10-31 10:17:17,550 - INFO - ================================================================================ 2025-10-31 10:17:17,550 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 10:17:17,550 - 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-31 10:17:17,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 10:17:17,845 - INFO - Initial checks done. Running the testcase now 2025-10-31 10:17:17,846 - INFO - 2025-10-31 10:17:18,026 - DEBUG - Response for create_network : {'network': {'id': '084ac8dc-516e-4ce9-bde3-c11e0d0e0f40', 'name': 'ctest-vn1-65031944', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34655213', 'ctest-vn1-65031944'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 10:17:18,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd824294-4535-4ac1-8e43-08bf18ae6176', 'name': '', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': '084ac8dc-516e-4ce9-bde3-c11e0d0e0f40', 'ip_version': 4, 'cidr': '189.90.64.128/26', 'allocation_pools': [{'start': '189.90.64.130', 'end': '189.90.64.190'}], 'gateway_ip': '189.90.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.90.64.130', 'tags': [], 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:18,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ace46c51-96b6-4532-ac79-8027bb971024', 'name': '', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': '084ac8dc-516e-4ce9-bde3-c11e0d0e0f40', 'ip_version': 4, 'cidr': '20.209.171.64/26', 'allocation_pools': [{'start': '20.209.171.66', 'end': '20.209.171.126'}], 'gateway_ip': '20.209.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.209.171.66', 'tags': [], 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:18,389 - INFO - Created VN ctest-vn1-65031944 2025-10-31 10:17:18,442 - DEBUG - VN ctest-vn1-65031944 UUID is 084ac8dc-516e-4ce9-bde3-c11e0d0e0f40 2025-10-31 10:17:18,745 - DEBUG - Response for create_port : {'port': {'name': 'c839c9d6-eeb1-4bd9-8298-54e6886dd644', 'id': 'c839c9d6-eeb1-4bd9-8298-54e6886dd644', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': '084ac8dc-516e-4ce9-bde3-c11e0d0e0f40', 'mac_address': '02:c8:39:c9:d6:ee', '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.90.64.133', 'subnet_id': 'dd824294-4535-4ac1-8e43-08bf18ae6176'}], 'security_groups': ['877d0708-5bbd-4c7f-8edf-237843473ba8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:18,915 - DEBUG - Response for create_port : {'port': {'name': '6ae3172c-044e-4f6f-b47d-e412fccf4bd8', 'id': '6ae3172c-044e-4f6f-b47d-e412fccf4bd8', 'tenant_id': '1bc20b1d6e5f464d8a69ad719c8a4331', 'network_id': '084ac8dc-516e-4ce9-bde3-c11e0d0e0f40', 'mac_address': '02:6a:e3:17:2c:04', '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': '20.209.171.69', 'subnet_id': 'ace46c51-96b6-4532-ac79-8027bb971024'}], 'security_groups': ['877d0708-5bbd-4c7f-8edf-237843473ba8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1bc20b1d6e5f464d8a69ad719c8a4331'}} 2025-10-31 10:17:18,977 - DEBUG - Services list from nova: [, , ] 2025-10-31 10:17:19,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4574-1) 2025-10-31 10:17:19,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4574-1) 2025-10-31 10:17:19,734 - INFO - Waiting for VM ctest-vn1-vm1-15791292 to be up.. 2025-10-31 10:17:19,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 10:17:24,855 - DEBUG - VM is in ACTIVE state now 2025-10-31 10:17:24,855 - INFO - VM name : ctest-vn1-vm1-15791292 2025-10-31 10:17:24,948 - DEBUG - VM ctest-vn1-vm1-15791292 ID is e1fa60ae-8f26-4fc6-be6c-cf6c450dae2f 2025-10-31 10:17:24,970 - DEBUG - VM ctest-vn1-vm1-15791292 launched on Node cn-jenkins-deploy-platform-ansible-os-4574-1 2025-10-31 10:17:25,050 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e1fa60ae-8f26-4fc6-be6c-cf6c450dae2f 2025-10-31 10:17:25,060 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c839c9d6-eeb1-4bd9-8298-54e6886dd644 2025-10-31 10:17:28,351 - 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 1032ms') 2025-10-31 10:17:28,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15791292 failed! 2025-10-31 10:17:28,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34655213:ctest-vn1-65031944 is 189.90.64.129 and allocation pool is NOT set 2025-10-31 10:17:28,414 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34655213:ctest-vn1-65031944 is 20.209.171.65 and allocation pool is NOT set 2025-10-31 10:17:32,475 - 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=2 ttl=63 time=9.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 9.160/9.160/9.160/0.000 ms') 2025-10-31 10:17:32,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15791292 passed 2025-10-31 10:17:32,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:17:32,627 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15791292, IP 189.90.64.133, Port 22 2025-10-31 10:17:32,782 - DEBUG - VM ctest-vn1-vm1-15791292 is ready for SSH connections 2025-10-31 10:17:32,782 - INFO - Waiting for VM ctest-vn1-vm2-97867512 to be up.. 2025-10-31 10:17:32,861 - DEBUG - VM is in ACTIVE state now 2025-10-31 10:17:32,861 - INFO - VM name : ctest-vn1-vm2-97867512 2025-10-31 10:17:32,933 - DEBUG - VM ctest-vn1-vm2-97867512 ID is c4bec6cc-1488-4d05-9b6f-5465b7c60708 2025-10-31 10:17:32,933 - DEBUG - VM ctest-vn1-vm2-97867512 launched on Node cn-jenkins-deploy-platform-ansible-os-4574-1 2025-10-31 10:17:33,007 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c4bec6cc-1488-4d05-9b6f-5465b7c60708 2025-10-31 10:17:33,016 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ae3172c-044e-4f6f-b47d-e412fccf4bd8 2025-10-31 10:17:34,257 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/1.719/2.948/1.229 ms') 2025-10-31 10:17:34,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97867512 passed 2025-10-31 10:17:34,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:17:34,407 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97867512, IP 20.209.171.69, Port 22 2025-10-31 10:17:34,562 - DEBUG - VM ctest-vn1-vm2-97867512 is ready for SSH connections 2025-10-31 10:17:34,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:17:34,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:17:34,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 10:17:34,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.90.64.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 10:17:34,563 - DEBUG - ping -s 56 -c 3 -W 1 189.90.64.133 2025-10-31 10:17:37,231 - DEBUG - PING 189.90.64.133 (189.90.64.133): 56 data bytes 64 bytes from 189.90.64.133: seq=0 ttl=63 time=4.072 ms 64 bytes from 189.90.64.133: seq=1 ttl=63 time=1.054 ms 64 bytes from 189.90.64.133: seq=2 ttl=63 time=0.932 ms --- 189.90.64.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.019/4.072 ms 2025-10-31 10:17:37,231 - INFO - Ping to IP 189.90.64.133 from VM ctest-vn1-vm2-97867512 passed 2025-10-31 10:17:37,231 - INFO - Detaching port 6ae3172c-044e-4f6f-b47d-e412fccf4bd8 from VM ctest-vn1-vm2-97867512 2025-10-31 10:17:37,280 - INFO - Deleting VM ctest-vn1-vm2-97867512 2025-10-31 10:17:37,349 - INFO - Detaching port c839c9d6-eeb1-4bd9-8298-54e6886dd644 from VM ctest-vn1-vm1-15791292 2025-10-31 10:17:37,381 - INFO - Deleting VM ctest-vn1-vm1-15791292 2025-10-31 10:17:37,609 - DEBUG - Response for delete_port : () 2025-10-31 10:17:37,778 - DEBUG - Response for delete_port : () 2025-10-31 10:17:37,778 - INFO - Deleting VN ctest-vn1-65031944 2025-10-31 10:17:37,906 - DEBUG - Response for deleting network () 2025-10-31 10:17:38,167 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 10:17:38,168 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-31 10:17:38,168 - INFO - -------------------------------------------------------------------------------- 2025-10-31 10:17:38,878 - INFO - Deleted project: ctest-TestPorts-34655213, ID : 1bc20b1d-6e5f-464d-8a69-ad719c8a4331