2025-09-15 11:44:21,882 - INFO - Domain Default found not creating 2025-09-15 11:44:22,035 - INFO - Project ctest-TestPorts-48545987 not found, creating it 2025-09-15 11:44:22,487 - INFO - Created Project:ctest-TestPorts-48545987, ID : 7159335a-e590-4b21-88d5-9600f6e43608 2025-09-15 11:44:23,924 - INFO - ================================================================================ 2025-09-15 11:44:23,924 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 11:44:23,924 - 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-15 11:44:24,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-09-15 11:44:24,183 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:44:24,184 - INFO - 2025-09-15 11:44:24,758 - DEBUG - Response for create_network : {'network': {'id': 'efa68bf9-27a7-408d-95bc-82ad545bc99d', 'name': 'ctest-vn-57164464', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'project_id': '7159335ae5904b2188d59600f6e43608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48545987', 'ctest-vn-57164464'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:44:24,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '07f84fa9-41a7-47a4-b728-4e67b1ff1928', 'name': '', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'efa68bf9-27a7-408d-95bc-82ad545bc99d', 'ip_version': 4, 'cidr': '50.198.249.0/26', 'allocation_pools': [{'start': '50.198.249.2', 'end': '50.198.249.62'}], 'gateway_ip': '50.198.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.198.249.2', 'tags': [], 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:24,987 - INFO - Created VN ctest-vn-57164464 2025-09-15 11:44:25,037 - DEBUG - VN ctest-vn-57164464 UUID is efa68bf9-27a7-408d-95bc-82ad545bc99d 2025-09-15 11:44:25,158 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48545987', 'ctest-vmi-37698258']} 2025-09-15 11:44:25,406 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37698258', 'id': '3890548b-c5cd-427a-94d9-72db38da1edb', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'efa68bf9-27a7-408d-95bc-82ad545bc99d', 'mac_address': '02:38:90:54:8b:c5', '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': '50.198.249.3', 'subnet_id': '07f84fa9-41a7-47a4-b728-4e67b1ff1928'}], 'security_groups': ['2f4d1098-5028-4822-b4e8-e8e76846eb79'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:25,406 - DEBUG - Created port 3890548b-c5cd-427a-94d9-72db38da1edb 2025-09-15 11:44:25,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3890548b-c5cd-427a-94d9-72db38da1edb 2025-09-15 11:44:25,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3890548b-c5cd-427a-94d9-72db38da1edb 2025-09-15 11:44:25,844 - INFO - VMI 3890548b-c5cd-427a-94d9-72db38da1edb verification in API Server passed 2025-09-15 11:44:25,940 - DEBUG - Response for delete_port : () 2025-09-15 11:44:25,940 - INFO - Deleted port 3890548b-c5cd-427a-94d9-72db38da1edb 2025-09-15 11:44:25,940 - INFO - Deleting VN ctest-vn-57164464 2025-09-15 11:44:26,047 - DEBUG - Response for deleting network () 2025-09-15 11:44:26,303 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:44:26,303 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-15 11:44:26,303 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:44:26,306 - INFO - ================================================================================ 2025-09-15 11:44:26,307 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 11:44:26,307 - 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-15 11:44:26,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-09-15 11:44:26,595 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:44:26,595 - INFO - 2025-09-15 11:44:26,764 - DEBUG - Response for create_network : {'network': {'id': 'e515b6ce-cb0c-42ed-9c06-a8a25f00f423', 'name': 'ctest-vn1-57963276', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'project_id': '7159335ae5904b2188d59600f6e43608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48545987', 'ctest-vn1-57963276'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:44:26,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba1a461f-e64a-48ec-9508-a7dc5bc922aa', 'name': '', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'e515b6ce-cb0c-42ed-9c06-a8a25f00f423', 'ip_version': 4, 'cidr': '33.188.40.0/26', 'allocation_pools': [{'start': '33.188.40.2', 'end': '33.188.40.62'}], 'gateway_ip': '33.188.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.188.40.2', 'tags': [], 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:27,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '91f2f8cd-32d0-4d8e-8b94-8f78babcfc94', 'name': '', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'e515b6ce-cb0c-42ed-9c06-a8a25f00f423', 'ip_version': 4, 'cidr': '124.64.210.192/26', 'allocation_pools': [{'start': '124.64.210.194', 'end': '124.64.210.254'}], 'gateway_ip': '124.64.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.64.210.194', 'tags': [], 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:27,123 - INFO - Created VN ctest-vn1-57963276 2025-09-15 11:44:27,173 - DEBUG - VN ctest-vn1-57963276 UUID is e515b6ce-cb0c-42ed-9c06-a8a25f00f423 2025-09-15 11:44:27,470 - DEBUG - Response for create_port : {'port': {'name': '3e079060-4b2b-43c2-9778-f47aadf4670c', 'id': '3e079060-4b2b-43c2-9778-f47aadf4670c', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'e515b6ce-cb0c-42ed-9c06-a8a25f00f423', 'mac_address': '02:3e:07:90:60:4b', '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': '33.188.40.5', 'subnet_id': 'ba1a461f-e64a-48ec-9508-a7dc5bc922aa'}], 'security_groups': ['2f4d1098-5028-4822-b4e8-e8e76846eb79'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:27,660 - DEBUG - Response for create_port : {'port': {'name': '6b7fd9ce-a69d-45e4-b6dd-dfe73fc89cf3', 'id': '6b7fd9ce-a69d-45e4-b6dd-dfe73fc89cf3', 'tenant_id': '7159335ae5904b2188d59600f6e43608', 'network_id': 'e515b6ce-cb0c-42ed-9c06-a8a25f00f423', 'mac_address': '02:6b:7f:d9:ce:a6', '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': '124.64.210.197', 'subnet_id': '91f2f8cd-32d0-4d8e-8b94-8f78babcfc94'}], 'security_groups': ['2f4d1098-5028-4822-b4e8-e8e76846eb79'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7159335ae5904b2188d59600f6e43608'}} 2025-09-15 11:44:27,723 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:44:28,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:44:28,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:44:28,580 - INFO - Waiting for VM ctest-vn1-vm1-79015457 to be up.. 2025-09-15 11:44:28,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:44:33,709 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:44:33,710 - INFO - VM name : ctest-vn1-vm1-79015457 2025-09-15 11:44:33,799 - DEBUG - VM ctest-vn1-vm1-79015457 ID is e8084e81-48bb-4af7-a609-fd721be8e86e 2025-09-15 11:44:33,817 - DEBUG - VM ctest-vn1-vm1-79015457 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:44:33,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e8084e81-48bb-4af7-a609-fd721be8e86e 2025-09-15 11:44:33,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e079060-4b2b-43c2-9778-f47aadf4670c 2025-09-15 11:44:37,136 - 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 1007ms') 2025-09-15 11:44:37,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79015457 failed! 2025-09-15 11:44:37,189 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48545987:ctest-vn1-57963276 is 33.188.40.1 and allocation pool is NOT set 2025-09-15 11:44:37,189 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48545987:ctest-vn1-57963276 is 124.64.210.193 and allocation pool is NOT set 2025-09-15 11:44:39,255 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.789 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.789/5.642/10.496/4.853 ms') 2025-09-15 11:44:39,255 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79015457 passed 2025-09-15 11:44:39,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:44:39,401 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79015457, IP 33.188.40.5, Port 22 2025-09-15 11:44:39,561 - DEBUG - VM ctest-vn1-vm1-79015457 is ready for SSH connections 2025-09-15 11:44:39,561 - INFO - Waiting for VM ctest-vn1-vm2-17756923 to be up.. 2025-09-15 11:44:39,633 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:44:39,633 - INFO - VM name : ctest-vn1-vm2-17756923 2025-09-15 11:44:39,708 - DEBUG - VM ctest-vn1-vm2-17756923 ID is 84c82e73-966d-4f5c-9c63-cceab125fa08 2025-09-15 11:44:39,708 - DEBUG - VM ctest-vn1-vm2-17756923 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:44:39,780 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/84c82e73-966d-4f5c-9c63-cceab125fa08 2025-09-15 11:44:39,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6b7fd9ce-a69d-45e4-b6dd-dfe73fc89cf3 2025-09-15 11:44:41,027 - 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=3.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/2.078/3.568/1.489 ms') 2025-09-15 11:44:41,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17756923 passed 2025-09-15 11:44:41,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:44:41,177 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17756923, IP 124.64.210.197, Port 22 2025-09-15 11:44:41,332 - DEBUG - VM ctest-vn1-vm2-17756923 is ready for SSH connections 2025-09-15 11:44:41,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:44:41,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:44:41,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:44:41,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.188.40.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:44:41,333 - DEBUG - ping -s 56 -c 3 -W 1 33.188.40.5 2025-09-15 11:44:44,009 - DEBUG - PING 33.188.40.5 (33.188.40.5): 56 data bytes 64 bytes from 33.188.40.5: seq=0 ttl=63 time=5.442 ms 64 bytes from 33.188.40.5: seq=1 ttl=63 time=0.884 ms 64 bytes from 33.188.40.5: seq=2 ttl=63 time=0.769 ms --- 33.188.40.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/2.365/5.442 ms 2025-09-15 11:44:44,009 - INFO - Ping to IP 33.188.40.5 from VM ctest-vn1-vm2-17756923 passed 2025-09-15 11:44:44,009 - INFO - Detaching port 6b7fd9ce-a69d-45e4-b6dd-dfe73fc89cf3 from VM ctest-vn1-vm2-17756923 2025-09-15 11:44:44,079 - INFO - Deleting VM ctest-vn1-vm2-17756923 2025-09-15 11:44:44,146 - INFO - Detaching port 3e079060-4b2b-43c2-9778-f47aadf4670c from VM ctest-vn1-vm1-79015457 2025-09-15 11:44:44,183 - INFO - Deleting VM ctest-vn1-vm1-79015457 2025-09-15 11:44:44,426 - DEBUG - Response for delete_port : () 2025-09-15 11:44:44,587 - DEBUG - Response for delete_port : () 2025-09-15 11:44:44,587 - INFO - Deleting VN ctest-vn1-57963276 2025-09-15 11:44:44,732 - DEBUG - Response for deleting network () 2025-09-15 11:44:44,994 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:44:44,994 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-15 11:44:44,994 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:44:45,657 - INFO - Deleted project: ctest-TestPorts-48545987, ID : 7159335a-e590-4b21-88d5-9600f6e43608