2025-09-18 16:19:32,774 - INFO - Domain Default found not creating 2025-09-18 16:19:32,917 - INFO - Project ctest-TestPorts-27469749 not found, creating it 2025-09-18 16:19:33,353 - INFO - Created Project:ctest-TestPorts-27469749, ID : 845c4bf4-4d6f-4c8b-9ddd-468e96c4b482 2025-09-18 16:19:35,244 - INFO - ================================================================================ 2025-09-18 16:19:35,244 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 16:19:35,244 - 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-09-18 16:19:35,505 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 16:19:35,505 - INFO - Initial checks done. Running the testcase now 2025-09-18 16:19:35,505 - INFO - 2025-09-18 16:19:36,028 - DEBUG - Response for create_network : {'network': {'id': 'e65ccb1a-4b48-4f9a-965e-676e882ef3ce', 'name': 'ctest-vn-69896426', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27469749', 'ctest-vn-69896426'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:19:36,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a9348b7-cf9c-4075-aed3-e3c978eed878', 'name': '', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': 'e65ccb1a-4b48-4f9a-965e-676e882ef3ce', 'ip_version': 4, 'cidr': '162.200.99.64/26', 'allocation_pools': [{'start': '162.200.99.66', 'end': '162.200.99.126'}], 'gateway_ip': '162.200.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.200.99.66', 'tags': [], 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:36,242 - INFO - Created VN ctest-vn-69896426 2025-09-18 16:19:36,294 - DEBUG - VN ctest-vn-69896426 UUID is e65ccb1a-4b48-4f9a-965e-676e882ef3ce 2025-09-18 16:19:36,400 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27469749', 'ctest-vmi-19252974']} 2025-09-18 16:19:36,680 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19252974', 'id': '074d7b73-65b8-47f9-a2fb-8b250614645c', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': 'e65ccb1a-4b48-4f9a-965e-676e882ef3ce', 'mac_address': '02:07:4d:7b:73:65', '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': '162.200.99.67', 'subnet_id': '3a9348b7-cf9c-4075-aed3-e3c978eed878'}], 'security_groups': ['a416f80e-5377-45d4-8aea-3f6d782cd926'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:36,680 - DEBUG - Created port 074d7b73-65b8-47f9-a2fb-8b250614645c 2025-09-18 16:19:36,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/074d7b73-65b8-47f9-a2fb-8b250614645c 2025-09-18 16:19:37,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/074d7b73-65b8-47f9-a2fb-8b250614645c 2025-09-18 16:19:37,100 - INFO - VMI 074d7b73-65b8-47f9-a2fb-8b250614645c verification in API Server passed 2025-09-18 16:19:37,186 - DEBUG - Response for delete_port : () 2025-09-18 16:19:37,186 - INFO - Deleted port 074d7b73-65b8-47f9-a2fb-8b250614645c 2025-09-18 16:19:37,186 - INFO - Deleting VN ctest-vn-69896426 2025-09-18 16:19:37,278 - DEBUG - Response for deleting network () 2025-09-18 16:19:37,531 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 16:19:37,531 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 16:19:37,531 - INFO - -------------------------------------------------------------------------------- 2025-09-18 16:19:37,533 - INFO - ================================================================================ 2025-09-18 16:19:37,533 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 16:19:37,533 - 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-09-18 16:19:37,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 16:19:37,818 - INFO - Initial checks done. Running the testcase now 2025-09-18 16:19:37,818 - INFO - 2025-09-18 16:19:37,978 - DEBUG - Response for create_network : {'network': {'id': '72e9921d-44e8-4bc9-9240-0b7547bedb42', 'name': 'ctest-vn1-19488546', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27469749', 'ctest-vn1-19488546'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:19:38,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '86cb2c99-783c-45c3-a571-a6308f403afd', 'name': '', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': '72e9921d-44e8-4bc9-9240-0b7547bedb42', 'ip_version': 4, 'cidr': '151.17.26.192/26', 'allocation_pools': [{'start': '151.17.26.194', 'end': '151.17.26.254'}], 'gateway_ip': '151.17.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.17.26.194', 'tags': [], 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:38,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d04d203-e739-4ad5-8b1d-a1c36c2a6408', 'name': '', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': '72e9921d-44e8-4bc9-9240-0b7547bedb42', 'ip_version': 4, 'cidr': '41.119.251.192/26', 'allocation_pools': [{'start': '41.119.251.194', 'end': '41.119.251.254'}], 'gateway_ip': '41.119.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.119.251.194', 'tags': [], 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:38,415 - INFO - Created VN ctest-vn1-19488546 2025-09-18 16:19:38,466 - DEBUG - VN ctest-vn1-19488546 UUID is 72e9921d-44e8-4bc9-9240-0b7547bedb42 2025-09-18 16:19:38,755 - DEBUG - Response for create_port : {'port': {'name': '9b792658-47b7-4f26-a6d1-d89551236819', 'id': '9b792658-47b7-4f26-a6d1-d89551236819', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': '72e9921d-44e8-4bc9-9240-0b7547bedb42', 'mac_address': '02:9b:79:26:58:47', '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': '151.17.26.197', 'subnet_id': '86cb2c99-783c-45c3-a571-a6308f403afd'}], 'security_groups': ['a416f80e-5377-45d4-8aea-3f6d782cd926'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:38,920 - DEBUG - Response for create_port : {'port': {'name': '707382d2-cf2b-4a1d-a7be-d9ad65acaea0', 'id': '707382d2-cf2b-4a1d-a7be-d9ad65acaea0', 'tenant_id': '845c4bf44d6f4c8b9ddd468e96c4b482', 'network_id': '72e9921d-44e8-4bc9-9240-0b7547bedb42', 'mac_address': '02:70:73:82:d2:cf', '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': '41.119.251.197', 'subnet_id': '7d04d203-e739-4ad5-8b1d-a1c36c2a6408'}], 'security_groups': ['a416f80e-5377-45d4-8aea-3f6d782cd926'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '845c4bf44d6f4c8b9ddd468e96c4b482'}} 2025-09-18 16:19:38,975 - DEBUG - Services list from nova: [, , ] 2025-09-18 16:19:39,290 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:19:39,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:19:39,680 - INFO - Waiting for VM ctest-vn1-vm1-52805318 to be up.. 2025-09-18 16:19:39,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 16:19:44,795 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:19:44,795 - INFO - VM name : ctest-vn1-vm1-52805318 2025-09-18 16:19:44,869 - DEBUG - VM ctest-vn1-vm1-52805318 ID is f2c94791-a3a0-44c7-9fe8-6064f180edf5 2025-09-18 16:19:44,886 - DEBUG - VM ctest-vn1-vm1-52805318 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:19:44,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f2c94791-a3a0-44c7-9fe8-6064f180edf5 2025-09-18 16:19:44,964 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9b792658-47b7-4f26-a6d1-d89551236819 2025-09-18 16:19:48,224 - 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 1027ms') 2025-09-18 16:19:48,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52805318 failed! 2025-09-18 16:19:48,278 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27469749:ctest-vn1-19488546 is 151.17.26.193 and allocation pool is NOT set 2025-09-18 16:19:48,278 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27469749:ctest-vn1-19488546 is 41.119.251.193 and allocation pool is NOT set 2025-09-18 16:19:50,337 - 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=3.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/2.044/3.695/1.651 ms') 2025-09-18 16:19:50,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52805318 passed 2025-09-18 16:19:50,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:19:50,486 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52805318, IP 151.17.26.197, Port 22 2025-09-18 16:19:50,641 - DEBUG - VM ctest-vn1-vm1-52805318 is ready for SSH connections 2025-09-18 16:19:50,641 - INFO - Waiting for VM ctest-vn1-vm2-14527862 to be up.. 2025-09-18 16:19:50,725 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:19:50,725 - INFO - VM name : ctest-vn1-vm2-14527862 2025-09-18 16:19:50,791 - DEBUG - VM ctest-vn1-vm2-14527862 ID is 9cf0da62-3c3f-4c86-9dbd-1b3f2b32a158 2025-09-18 16:19:50,791 - DEBUG - VM ctest-vn1-vm2-14527862 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:19:50,855 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9cf0da62-3c3f-4c86-9dbd-1b3f2b32a158 2025-09-18 16:19:50,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/707382d2-cf2b-4a1d-a7be-d9ad65acaea0 2025-09-18 16:19:52,091 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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.508/1.590/2.673/1.082 ms') 2025-09-18 16:19:52,091 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14527862 passed 2025-09-18 16:19:52,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:19:52,238 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14527862, IP 41.119.251.197, Port 22 2025-09-18 16:19:52,390 - DEBUG - VM ctest-vn1-vm2-14527862 is ready for SSH connections 2025-09-18 16:19:52,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:19:52,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:19:52,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:19:52,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.17.26.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:19:52,390 - DEBUG - ping -s 56 -c 3 -W 1 151.17.26.197 2025-09-18 16:19:55,345 - DEBUG - PING 151.17.26.197 (151.17.26.197): 56 data bytes 64 bytes from 151.17.26.197: seq=0 ttl=63 time=3.422 ms 64 bytes from 151.17.26.197: seq=1 ttl=63 time=0.951 ms 64 bytes from 151.17.26.197: seq=2 ttl=63 time=1.050 ms --- 151.17.26.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.807/3.422 ms 2025-09-18 16:19:55,345 - INFO - Ping to IP 151.17.26.197 from VM ctest-vn1-vm2-14527862 passed 2025-09-18 16:19:55,345 - INFO - Detaching port 707382d2-cf2b-4a1d-a7be-d9ad65acaea0 from VM ctest-vn1-vm2-14527862 2025-09-18 16:19:55,400 - INFO - Deleting VM ctest-vn1-vm2-14527862 2025-09-18 16:19:55,485 - INFO - Detaching port 9b792658-47b7-4f26-a6d1-d89551236819 from VM ctest-vn1-vm1-52805318 2025-09-18 16:19:55,526 - INFO - Deleting VM ctest-vn1-vm1-52805318 2025-09-18 16:19:55,737 - DEBUG - Response for delete_port : () 2025-09-18 16:19:55,871 - DEBUG - Response for delete_port : () 2025-09-18 16:19:55,872 - INFO - Deleting VN ctest-vn1-19488546 2025-09-18 16:19:55,998 - DEBUG - Response for deleting network () 2025-09-18 16:19:56,251 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 16:19:56,251 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-18 16:19:56,251 - INFO - -------------------------------------------------------------------------------- 2025-09-18 16:19:56,901 - INFO - Deleted project: ctest-TestPorts-27469749, ID : 845c4bf4-4d6f-4c8b-9ddd-468e96c4b482