2025-10-23 11:32:33,464 - INFO - Domain Default found not creating 2025-10-23 11:32:33,625 - INFO - Project ctest-TestPorts-38525294 not found, creating it 2025-10-23 11:32:34,138 - INFO - Created Project:ctest-TestPorts-38525294, ID : 85c0b2f5-eb8c-4069-a69b-2379e9b52e45 2025-10-23 11:32:35,663 - INFO - ================================================================================ 2025-10-23 11:32:35,663 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 11:32:35,663 - 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-23 11:32:35,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-23 11:32:35,929 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:32:35,929 - INFO - 2025-10-23 11:32:36,551 - DEBUG - Response for create_network : {'network': {'id': 'b133e57a-5a7a-4640-a604-90e6d409d76b', 'name': 'ctest-vn-91644018', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38525294', 'ctest-vn-91644018'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:32:36,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b8afedd-3919-4326-b14e-4d4992a5f1b3', 'name': '', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': 'b133e57a-5a7a-4640-a604-90e6d409d76b', 'ip_version': 4, 'cidr': '148.224.108.64/26', 'allocation_pools': [{'start': '148.224.108.66', 'end': '148.224.108.126'}], 'gateway_ip': '148.224.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.224.108.66', 'tags': [], 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:36,763 - INFO - Created VN ctest-vn-91644018 2025-10-23 11:32:36,818 - DEBUG - VN ctest-vn-91644018 UUID is b133e57a-5a7a-4640-a604-90e6d409d76b 2025-10-23 11:32:36,926 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38525294', 'ctest-vmi-55608475']} 2025-10-23 11:32:37,173 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55608475', 'id': '35e5ca6a-ea40-4dde-98fb-32e9e2d72a71', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': 'b133e57a-5a7a-4640-a604-90e6d409d76b', 'mac_address': '02:35:e5:ca:6a:ea', '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': '148.224.108.67', 'subnet_id': '5b8afedd-3919-4326-b14e-4d4992a5f1b3'}], 'security_groups': ['cc1a457c-c360-4af2-aa35-15eeefaf82c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:37,174 - DEBUG - Created port 35e5ca6a-ea40-4dde-98fb-32e9e2d72a71 2025-10-23 11:32:37,286 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/35e5ca6a-ea40-4dde-98fb-32e9e2d72a71 2025-10-23 11:32:37,595 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/35e5ca6a-ea40-4dde-98fb-32e9e2d72a71 2025-10-23 11:32:37,632 - INFO - VMI 35e5ca6a-ea40-4dde-98fb-32e9e2d72a71 verification in API Server passed 2025-10-23 11:32:37,733 - DEBUG - Response for delete_port : () 2025-10-23 11:32:37,733 - INFO - Deleted port 35e5ca6a-ea40-4dde-98fb-32e9e2d72a71 2025-10-23 11:32:37,733 - INFO - Deleting VN ctest-vn-91644018 2025-10-23 11:32:37,848 - DEBUG - Response for deleting network () 2025-10-23 11:32:38,111 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 11:32:38,111 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-23 11:32:38,111 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:32:38,114 - INFO - ================================================================================ 2025-10-23 11:32:38,114 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 11:32:38,114 - 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-23 11:32:38,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-23 11:32:38,416 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:32:38,416 - INFO - 2025-10-23 11:32:38,617 - DEBUG - Response for create_network : {'network': {'id': '4ea53a4f-26a4-4550-8e32-dca77c4dfcd2', 'name': 'ctest-vn1-59114113', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38525294', 'ctest-vn1-59114113'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:32:38,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4a61b06-3a40-43a5-b247-493e5fbe8f88', 'name': '', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': '4ea53a4f-26a4-4550-8e32-dca77c4dfcd2', 'ip_version': 4, 'cidr': '203.131.217.128/26', 'allocation_pools': [{'start': '203.131.217.130', 'end': '203.131.217.190'}], 'gateway_ip': '203.131.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.131.217.130', 'tags': [], 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:39,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '956bc6c5-39e1-4512-97de-300893fc9574', 'name': '', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': '4ea53a4f-26a4-4550-8e32-dca77c4dfcd2', 'ip_version': 4, 'cidr': '89.44.16.0/26', 'allocation_pools': [{'start': '89.44.16.2', 'end': '89.44.16.62'}], 'gateway_ip': '89.44.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.44.16.2', 'tags': [], 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:39,036 - INFO - Created VN ctest-vn1-59114113 2025-10-23 11:32:39,090 - DEBUG - VN ctest-vn1-59114113 UUID is 4ea53a4f-26a4-4550-8e32-dca77c4dfcd2 2025-10-23 11:32:39,411 - DEBUG - Response for create_port : {'port': {'name': '538da828-e164-4531-a051-f901e8593f93', 'id': '538da828-e164-4531-a051-f901e8593f93', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': '4ea53a4f-26a4-4550-8e32-dca77c4dfcd2', 'mac_address': '02:53:8d:a8:28:e1', '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': '203.131.217.133', 'subnet_id': 'f4a61b06-3a40-43a5-b247-493e5fbe8f88'}], 'security_groups': ['cc1a457c-c360-4af2-aa35-15eeefaf82c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:39,590 - DEBUG - Response for create_port : {'port': {'name': 'a2e3d054-2c90-4209-b455-22dc615f89ea', 'id': 'a2e3d054-2c90-4209-b455-22dc615f89ea', 'tenant_id': '85c0b2f5eb8c4069a69b2379e9b52e45', 'network_id': '4ea53a4f-26a4-4550-8e32-dca77c4dfcd2', 'mac_address': '02:a2:e3:d0:54:2c', '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': '89.44.16.5', 'subnet_id': '956bc6c5-39e1-4512-97de-300893fc9574'}], 'security_groups': ['cc1a457c-c360-4af2-aa35-15eeefaf82c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85c0b2f5eb8c4069a69b2379e9b52e45'}} 2025-10-23 11:32:39,660 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:32:40,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:32:40,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:32:40,500 - INFO - Waiting for VM ctest-vn1-vm1-19924961 to be up.. 2025-10-23 11:32:40,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:32:45,639 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:32:45,639 - INFO - VM name : ctest-vn1-vm1-19924961 2025-10-23 11:32:45,718 - DEBUG - VM ctest-vn1-vm1-19924961 ID is 7afbff19-ad53-4c30-9dee-1b1065115cbb 2025-10-23 11:32:45,740 - DEBUG - VM ctest-vn1-vm1-19924961 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:32:45,830 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7afbff19-ad53-4c30-9dee-1b1065115cbb 2025-10-23 11:32:45,839 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/538da828-e164-4531-a051-f901e8593f93 2025-10-23 11:32:49,088 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1001ms') 2025-10-23 11:32:49,088 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19924961 failed! 2025-10-23 11:32:49,142 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38525294:ctest-vn1-59114113 is 203.131.217.129 and allocation pool is NOT set 2025-10-23 11:32:49,142 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38525294:ctest-vn1-59114113 is 89.44.16.1 and allocation pool is NOT set 2025-10-23 11:32:53,215 - 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=2 ttl=63 time=4.50 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.497/4.497/4.497/0.000 ms') 2025-10-23 11:32:53,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19924961 passed 2025-10-23 11:32:53,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:32:53,382 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19924961, IP 203.131.217.133, Port 22 2025-10-23 11:32:53,552 - DEBUG - VM ctest-vn1-vm1-19924961 is ready for SSH connections 2025-10-23 11:32:53,552 - INFO - Waiting for VM ctest-vn1-vm2-94037800 to be up.. 2025-10-23 11:32:53,642 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:32:53,642 - INFO - VM name : ctest-vn1-vm2-94037800 2025-10-23 11:32:53,728 - DEBUG - VM ctest-vn1-vm2-94037800 ID is edcd2f0f-2cb8-4675-b0af-edd579a9065f 2025-10-23 11:32:53,728 - DEBUG - VM ctest-vn1-vm2-94037800 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:32:53,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/edcd2f0f-2cb8-4675-b0af-edd579a9065f 2025-10-23 11:32:53,848 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a2e3d054-2c90-4209-b455-22dc615f89ea 2025-10-23 11:32:55,103 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/1.742/2.975/1.232 ms') 2025-10-23 11:32:55,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-94037800 passed 2025-10-23 11:32:55,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:32:55,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94037800, IP 89.44.16.5, Port 22 2025-10-23 11:32:55,433 - DEBUG - VM ctest-vn1-vm2-94037800 is ready for SSH connections 2025-10-23 11:32:55,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:32:55,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:32:55,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:32:55,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.131.217.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:32:55,433 - DEBUG - ping -s 56 -c 3 -W 1 203.131.217.133 2025-10-23 11:32:59,182 - DEBUG - PING 203.131.217.133 (203.131.217.133): 56 data bytes 64 bytes from 203.131.217.133: seq=0 ttl=63 time=4.239 ms 64 bytes from 203.131.217.133: seq=1 ttl=63 time=1.104 ms 64 bytes from 203.131.217.133: seq=2 ttl=63 time=1.308 ms --- 203.131.217.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.217/4.239 ms 2025-10-23 11:32:59,182 - INFO - Ping to IP 203.131.217.133 from VM ctest-vn1-vm2-94037800 passed 2025-10-23 11:32:59,182 - INFO - Detaching port a2e3d054-2c90-4209-b455-22dc615f89ea from VM ctest-vn1-vm2-94037800 2025-10-23 11:32:59,239 - INFO - Deleting VM ctest-vn1-vm2-94037800 2025-10-23 11:32:59,317 - INFO - Detaching port 538da828-e164-4531-a051-f901e8593f93 from VM ctest-vn1-vm1-19924961 2025-10-23 11:32:59,354 - INFO - Deleting VM ctest-vn1-vm1-19924961 2025-10-23 11:32:59,598 - DEBUG - Response for delete_port : () 2025-10-23 11:32:59,796 - DEBUG - Response for delete_port : () 2025-10-23 11:32:59,797 - INFO - Deleting VN ctest-vn1-59114113 2025-10-23 11:32:59,933 - DEBUG - Response for deleting network () 2025-10-23 11:33:00,202 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 11:33:00,202 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-23 11:33:00,202 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:33:00,910 - INFO - Deleted project: ctest-TestPorts-38525294, ID : 85c0b2f5-eb8c-4069-a69b-2379e9b52e45