2025-10-23 01:58:36,028 - INFO - Domain Default found not creating 2025-10-23 01:58:36,197 - INFO - Project ctest-TestPorts-35945498 not found, creating it 2025-10-23 01:58:36,678 - INFO - Created Project:ctest-TestPorts-35945498, ID : e0745a80-0ca0-4b6f-b755-230e9b8200d6 2025-10-23 01:58:38,195 - INFO - ================================================================================ 2025-10-23 01:58:38,196 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 01:58:38,196 - 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 01:58:38,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-10-23 01:58:38,461 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:58:38,461 - INFO - 2025-10-23 01:58:39,030 - DEBUG - Response for create_network : {'network': {'id': 'd42c9a9b-4f87-4580-969d-48faa66e8fd2', 'name': 'ctest-vn-63223848', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'project_id': 'e0745a800ca04b6fb755230e9b8200d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35945498', 'ctest-vn-63223848'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:58:39,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '36b68ab7-4074-447c-813c-f2c9654286bc', 'name': '', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'd42c9a9b-4f87-4580-969d-48faa66e8fd2', 'ip_version': 4, 'cidr': '123.6.223.192/26', 'allocation_pools': [{'start': '123.6.223.194', 'end': '123.6.223.254'}], 'gateway_ip': '123.6.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.6.223.194', 'tags': [], 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:39,294 - INFO - Created VN ctest-vn-63223848 2025-10-23 01:58:39,347 - DEBUG - VN ctest-vn-63223848 UUID is d42c9a9b-4f87-4580-969d-48faa66e8fd2 2025-10-23 01:58:39,467 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35945498', 'ctest-vmi-07584904']} 2025-10-23 01:58:39,730 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07584904', 'id': '7bb40f33-ec7a-4ede-8982-8e7e9ac88129', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'd42c9a9b-4f87-4580-969d-48faa66e8fd2', 'mac_address': '02:7b:b4:0f:33:ec', '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': '123.6.223.195', 'subnet_id': '36b68ab7-4074-447c-813c-f2c9654286bc'}], 'security_groups': ['ed834b19-e77a-4ca3-a7c1-efbef545f05c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:39,731 - DEBUG - Created port 7bb40f33-ec7a-4ede-8982-8e7e9ac88129 2025-10-23 01:58:39,839 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bb40f33-ec7a-4ede-8982-8e7e9ac88129 2025-10-23 01:58:40,140 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bb40f33-ec7a-4ede-8982-8e7e9ac88129 2025-10-23 01:58:40,172 - INFO - VMI 7bb40f33-ec7a-4ede-8982-8e7e9ac88129 verification in API Server passed 2025-10-23 01:58:40,275 - DEBUG - Response for delete_port : () 2025-10-23 01:58:40,275 - INFO - Deleted port 7bb40f33-ec7a-4ede-8982-8e7e9ac88129 2025-10-23 01:58:40,275 - INFO - Deleting VN ctest-vn-63223848 2025-10-23 01:58:40,393 - DEBUG - Response for deleting network () 2025-10-23 01:58:40,660 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 01:58:40,660 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 01:58:40,660 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:58:40,662 - INFO - ================================================================================ 2025-10-23 01:58:40,662 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 01:58:40,662 - 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 01:58:40,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-10-23 01:58:40,953 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:58:40,954 - INFO - 2025-10-23 01:58:41,157 - DEBUG - Response for create_network : {'network': {'id': 'ca1199b1-68ae-4b65-81ed-28a446c3aa69', 'name': 'ctest-vn1-82063656', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'project_id': 'e0745a800ca04b6fb755230e9b8200d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35945498', 'ctest-vn1-82063656'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:58:41,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dc3864d-1708-41ad-bb39-ab22efdcb542', 'name': '', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'ca1199b1-68ae-4b65-81ed-28a446c3aa69', 'ip_version': 4, 'cidr': '26.56.223.192/26', 'allocation_pools': [{'start': '26.56.223.194', 'end': '26.56.223.254'}], 'gateway_ip': '26.56.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.56.223.194', 'tags': [], 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:41,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7672a54-0365-4a66-a143-f3747cc14946', 'name': '', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'ca1199b1-68ae-4b65-81ed-28a446c3aa69', 'ip_version': 4, 'cidr': '51.177.2.0/26', 'allocation_pools': [{'start': '51.177.2.2', 'end': '51.177.2.62'}], 'gateway_ip': '51.177.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.177.2.2', 'tags': [], 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:41,564 - INFO - Created VN ctest-vn1-82063656 2025-10-23 01:58:41,615 - DEBUG - VN ctest-vn1-82063656 UUID is ca1199b1-68ae-4b65-81ed-28a446c3aa69 2025-10-23 01:58:41,925 - DEBUG - Response for create_port : {'port': {'name': 'dbe10ce3-9872-41e4-8201-c8c4cc51353a', 'id': 'dbe10ce3-9872-41e4-8201-c8c4cc51353a', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'ca1199b1-68ae-4b65-81ed-28a446c3aa69', 'mac_address': '02:db:e1:0c:e3:98', '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': '26.56.223.197', 'subnet_id': '2dc3864d-1708-41ad-bb39-ab22efdcb542'}], 'security_groups': ['ed834b19-e77a-4ca3-a7c1-efbef545f05c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:42,116 - DEBUG - Response for create_port : {'port': {'name': '18688497-50bf-43e5-92c4-b8dfa8fc500c', 'id': '18688497-50bf-43e5-92c4-b8dfa8fc500c', 'tenant_id': 'e0745a800ca04b6fb755230e9b8200d6', 'network_id': 'ca1199b1-68ae-4b65-81ed-28a446c3aa69', 'mac_address': '02:18:68:84:97:50', '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': '51.177.2.5', 'subnet_id': 'b7672a54-0365-4a66-a143-f3747cc14946'}], 'security_groups': ['ed834b19-e77a-4ca3-a7c1-efbef545f05c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0745a800ca04b6fb755230e9b8200d6'}} 2025-10-23 01:58:42,179 - DEBUG - Services list from nova: [, , ] 2025-10-23 01:58:42,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 01:58:42,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 01:58:42,970 - INFO - Waiting for VM ctest-vn1-vm1-95913040 to be up.. 2025-10-23 01:58:43,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 01:58:48,092 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:58:48,092 - INFO - VM name : ctest-vn1-vm1-95913040 2025-10-23 01:58:48,174 - DEBUG - VM ctest-vn1-vm1-95913040 ID is 35854064-f76d-4ae3-8322-f8d461afbcc4 2025-10-23 01:58:48,195 - DEBUG - VM ctest-vn1-vm1-95913040 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 01:58:48,279 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/35854064-f76d-4ae3-8322-f8d461afbcc4 2025-10-23 01:58:48,288 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/dbe10ce3-9872-41e4-8201-c8c4cc51353a 2025-10-23 01:58:51,542 - 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 1015ms') 2025-10-23 01:58:51,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95913040 failed! 2025-10-23 01:58:51,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35945498:ctest-vn1-82063656 is 26.56.223.193 and allocation pool is NOT set 2025-10-23 01:58:51,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35945498:ctest-vn1-82063656 is 51.177.2.1 and allocation pool is NOT set 2025-10-23 01:58:55,668 - 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=6.14 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 6.139/6.139/6.139/0.000 ms') 2025-10-23 01:58:55,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95913040 passed 2025-10-23 01:58:55,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:58:55,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95913040, IP 26.56.223.197, Port 22 2025-10-23 01:58:55,978 - DEBUG - VM ctest-vn1-vm1-95913040 is ready for SSH connections 2025-10-23 01:58:55,978 - INFO - Waiting for VM ctest-vn1-vm2-53779918 to be up.. 2025-10-23 01:58:56,063 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:58:56,063 - INFO - VM name : ctest-vn1-vm2-53779918 2025-10-23 01:58:56,150 - DEBUG - VM ctest-vn1-vm2-53779918 ID is 53deb578-f59a-4418-ad9b-ae40ec4a795c 2025-10-23 01:58:56,150 - DEBUG - VM ctest-vn1-vm2-53779918 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 01:58:56,246 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/53deb578-f59a-4418-ad9b-ae40ec4a795c 2025-10-23 01:58:56,255 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/18688497-50bf-43e5-92c4-b8dfa8fc500c 2025-10-23 01:58:57,502 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.547 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.547/1.770/2.994/1.223 ms') 2025-10-23 01:58:57,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53779918 passed 2025-10-23 01:58:57,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:58:57,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53779918, IP 51.177.2.5, Port 22 2025-10-23 01:58:57,824 - DEBUG - VM ctest-vn1-vm2-53779918 is ready for SSH connections 2025-10-23 01:58:57,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:58:57,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:58:57,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:58:57,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.56.223.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-23 01:58:57,825 - DEBUG - ping -s 56 -c 3 -W 1 26.56.223.197 2025-10-23 01:59:00,502 - DEBUG - PING 26.56.223.197 (26.56.223.197): 56 data bytes 64 bytes from 26.56.223.197: seq=0 ttl=63 time=5.137 ms 64 bytes from 26.56.223.197: seq=1 ttl=63 time=1.014 ms 64 bytes from 26.56.223.197: seq=2 ttl=63 time=1.116 ms --- 26.56.223.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.422/5.137 ms 2025-10-23 01:59:00,502 - INFO - Ping to IP 26.56.223.197 from VM ctest-vn1-vm2-53779918 passed 2025-10-23 01:59:00,502 - INFO - Detaching port 18688497-50bf-43e5-92c4-b8dfa8fc500c from VM ctest-vn1-vm2-53779918 2025-10-23 01:59:00,560 - INFO - Deleting VM ctest-vn1-vm2-53779918 2025-10-23 01:59:00,648 - INFO - Detaching port dbe10ce3-9872-41e4-8201-c8c4cc51353a from VM ctest-vn1-vm1-95913040 2025-10-23 01:59:00,687 - INFO - Deleting VM ctest-vn1-vm1-95913040 2025-10-23 01:59:00,960 - DEBUG - Response for delete_port : () 2025-10-23 01:59:01,129 - DEBUG - Response for delete_port : () 2025-10-23 01:59:01,129 - INFO - Deleting VN ctest-vn1-82063656 2025-10-23 01:59:01,274 - DEBUG - Response for deleting network () 2025-10-23 01:59:01,533 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 01:59:01,533 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-23 01:59:01,533 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:59:02,252 - INFO - Deleted project: ctest-TestPorts-35945498, ID : e0745a80-0ca0-4b6f-b755-230e9b8200d6