2025-10-22 15:04:42,977 - INFO - Domain Default found not creating 2025-10-22 15:04:43,118 - INFO - Project ctest-TestPorts-11081698 not found, creating it 2025-10-22 15:04:43,560 - INFO - Created Project:ctest-TestPorts-11081698, ID : 4bf0b342-79f4-4629-b7b7-e4958516d496 2025-10-22 15:04:44,969 - INFO - ================================================================================ 2025-10-22 15:04:44,969 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 15:04:44,969 - 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-22 15:04:45,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-22 15:04:45,236 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:04:45,236 - INFO - 2025-10-22 15:04:45,812 - DEBUG - Response for create_network : {'network': {'id': 'eec28a22-c1e6-4bef-bf85-ff4f8b2d659b', 'name': 'ctest-vn-79406551', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'project_id': '4bf0b34279f44629b7b7e4958516d496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11081698', 'ctest-vn-79406551'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:04:46,008 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7dd6280-d644-413d-add4-12b05fc250dd', 'name': '', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': 'eec28a22-c1e6-4bef-bf85-ff4f8b2d659b', 'ip_version': 4, 'cidr': '181.202.161.128/26', 'allocation_pools': [{'start': '181.202.161.130', 'end': '181.202.161.190'}], 'gateway_ip': '181.202.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.202.161.130', 'tags': [], 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:46,024 - INFO - Created VN ctest-vn-79406551 2025-10-22 15:04:46,077 - DEBUG - VN ctest-vn-79406551 UUID is eec28a22-c1e6-4bef-bf85-ff4f8b2d659b 2025-10-22 15:04:46,185 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11081698', 'ctest-vmi-23241276']} 2025-10-22 15:04:46,423 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23241276', 'id': '438b4835-6c95-48cb-a938-c4fee5af56f3', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': 'eec28a22-c1e6-4bef-bf85-ff4f8b2d659b', 'mac_address': '02:43:8b:48:35:6c', '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': '181.202.161.131', 'subnet_id': 'f7dd6280-d644-413d-add4-12b05fc250dd'}], 'security_groups': ['0c4b5066-15cc-4635-875c-a3eb6b08e13d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:46,424 - DEBUG - Created port 438b4835-6c95-48cb-a938-c4fee5af56f3 2025-10-22 15:04:46,533 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/438b4835-6c95-48cb-a938-c4fee5af56f3 2025-10-22 15:04:46,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/438b4835-6c95-48cb-a938-c4fee5af56f3 2025-10-22 15:04:46,855 - INFO - VMI 438b4835-6c95-48cb-a938-c4fee5af56f3 verification in API Server passed 2025-10-22 15:04:46,937 - DEBUG - Response for delete_port : () 2025-10-22 15:04:46,937 - INFO - Deleted port 438b4835-6c95-48cb-a938-c4fee5af56f3 2025-10-22 15:04:46,937 - INFO - Deleting VN ctest-vn-79406551 2025-10-22 15:04:47,033 - DEBUG - Response for deleting network () 2025-10-22 15:04:47,285 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:04:47,285 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-22 15:04:47,285 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:04:47,287 - INFO - ================================================================================ 2025-10-22 15:04:47,288 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 15:04:47,288 - 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-22 15:04:47,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-22 15:04:47,574 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:04:47,574 - INFO - 2025-10-22 15:04:47,740 - DEBUG - Response for create_network : {'network': {'id': '1c02935d-ab4d-423b-9c2b-dcde12a7622c', 'name': 'ctest-vn1-69522194', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'project_id': '4bf0b34279f44629b7b7e4958516d496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11081698', 'ctest-vn1-69522194'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:04:47,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '5edc274e-6580-423c-820e-f3cb281ae047', 'name': '', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': '1c02935d-ab4d-423b-9c2b-dcde12a7622c', 'ip_version': 4, 'cidr': '6.172.161.64/26', 'allocation_pools': [{'start': '6.172.161.66', 'end': '6.172.161.126'}], 'gateway_ip': '6.172.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.172.161.66', 'tags': [], 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:48,110 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc9be819-b0e6-4578-8357-6f03d9a7b013', 'name': '', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': '1c02935d-ab4d-423b-9c2b-dcde12a7622c', 'ip_version': 4, 'cidr': '130.218.171.128/26', 'allocation_pools': [{'start': '130.218.171.130', 'end': '130.218.171.190'}], 'gateway_ip': '130.218.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.218.171.130', 'tags': [], 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:48,129 - INFO - Created VN ctest-vn1-69522194 2025-10-22 15:04:48,181 - DEBUG - VN ctest-vn1-69522194 UUID is 1c02935d-ab4d-423b-9c2b-dcde12a7622c 2025-10-22 15:04:48,468 - DEBUG - Response for create_port : {'port': {'name': 'ea41beaa-4d75-4afb-b5b1-e955f29afa26', 'id': 'ea41beaa-4d75-4afb-b5b1-e955f29afa26', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': '1c02935d-ab4d-423b-9c2b-dcde12a7622c', 'mac_address': '02:ea:41:be:aa:4d', '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': '6.172.161.69', 'subnet_id': '5edc274e-6580-423c-820e-f3cb281ae047'}], 'security_groups': ['0c4b5066-15cc-4635-875c-a3eb6b08e13d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:48,642 - DEBUG - Response for create_port : {'port': {'name': 'ea75f8fa-ba04-4c21-ba2e-9565e5d9faab', 'id': 'ea75f8fa-ba04-4c21-ba2e-9565e5d9faab', 'tenant_id': '4bf0b34279f44629b7b7e4958516d496', 'network_id': '1c02935d-ab4d-423b-9c2b-dcde12a7622c', 'mac_address': '02:ea:75:f8:fa:ba', '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': '130.218.171.133', 'subnet_id': 'fc9be819-b0e6-4578-8357-6f03d9a7b013'}], 'security_groups': ['0c4b5066-15cc-4635-875c-a3eb6b08e13d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4bf0b34279f44629b7b7e4958516d496'}} 2025-10-22 15:04:48,702 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:04:49,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:04:49,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:04:49,425 - INFO - Waiting for VM ctest-vn1-vm1-84579216 to be up.. 2025-10-22 15:04:49,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:04:54,669 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:04:54,669 - INFO - VM name : ctest-vn1-vm1-84579216 2025-10-22 15:04:54,753 - DEBUG - VM ctest-vn1-vm1-84579216 ID is 3da6225e-f296-4fce-95b5-53597478ffa4 2025-10-22 15:04:54,774 - DEBUG - VM ctest-vn1-vm1-84579216 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:04:54,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3da6225e-f296-4fce-95b5-53597478ffa4 2025-10-22 15:04:54,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ea41beaa-4d75-4afb-b5b1-e955f29afa26 2025-10-22 15:04:58,116 - 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 1023ms') 2025-10-22 15:04:58,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84579216 failed! 2025-10-22 15:04:58,169 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11081698:ctest-vn1-69522194 is 6.172.161.65 and allocation pool is NOT set 2025-10-22 15:04:58,169 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11081698:ctest-vn1-69522194 is 130.218.171.129 and allocation pool is NOT set 2025-10-22 15:05:00,227 - 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=7.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.758 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.758/4.024/7.291/3.266 ms') 2025-10-22 15:05:00,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84579216 passed 2025-10-22 15:05:00,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:00,373 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84579216, IP 6.172.161.69, Port 22 2025-10-22 15:05:00,528 - DEBUG - VM ctest-vn1-vm1-84579216 is ready for SSH connections 2025-10-22 15:05:00,528 - INFO - Waiting for VM ctest-vn1-vm2-36269621 to be up.. 2025-10-22 15:05:00,607 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:05:00,607 - INFO - VM name : ctest-vn1-vm2-36269621 2025-10-22 15:05:00,682 - DEBUG - VM ctest-vn1-vm2-36269621 ID is d5878d94-795a-4729-94de-847d120f0ca7 2025-10-22 15:05:00,682 - DEBUG - VM ctest-vn1-vm2-36269621 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:05:00,758 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d5878d94-795a-4729-94de-847d120f0ca7 2025-10-22 15:05:00,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ea75f8fa-ba04-4c21-ba2e-9565e5d9faab 2025-10-22 15:05:02,000 - 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=4.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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 = 1.437/3.171/4.905/1.734 ms') 2025-10-22 15:05:02,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36269621 passed 2025-10-22 15:05:02,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:02,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36269621, IP 130.218.171.133, Port 22 2025-10-22 15:05:02,308 - DEBUG - VM ctest-vn1-vm2-36269621 is ready for SSH connections 2025-10-22 15:05:02,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:02,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:02,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:02,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.172.161.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:02,308 - DEBUG - ping -s 56 -c 3 -W 1 6.172.161.69 2025-10-22 15:05:05,321 - DEBUG - PING 6.172.161.69 (6.172.161.69): 56 data bytes 64 bytes from 6.172.161.69: seq=0 ttl=63 time=4.101 ms 64 bytes from 6.172.161.69: seq=1 ttl=63 time=0.956 ms 64 bytes from 6.172.161.69: seq=2 ttl=63 time=2.025 ms --- 6.172.161.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/2.360/4.101 ms 2025-10-22 15:05:05,321 - INFO - Ping to IP 6.172.161.69 from VM ctest-vn1-vm2-36269621 passed 2025-10-22 15:05:05,322 - INFO - Detaching port ea75f8fa-ba04-4c21-ba2e-9565e5d9faab from VM ctest-vn1-vm2-36269621 2025-10-22 15:05:05,375 - INFO - Deleting VM ctest-vn1-vm2-36269621 2025-10-22 15:05:05,449 - INFO - Detaching port ea41beaa-4d75-4afb-b5b1-e955f29afa26 from VM ctest-vn1-vm1-84579216 2025-10-22 15:05:05,483 - INFO - Deleting VM ctest-vn1-vm1-84579216 2025-10-22 15:05:05,723 - DEBUG - Response for delete_port : () 2025-10-22 15:05:05,920 - DEBUG - Response for delete_port : () 2025-10-22 15:05:05,920 - INFO - Deleting VN ctest-vn1-69522194 2025-10-22 15:05:06,063 - DEBUG - Response for deleting network () 2025-10-22 15:05:06,337 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:05:06,338 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-22 15:05:06,338 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:05:07,006 - INFO - Deleted project: ctest-TestPorts-11081698, ID : 4bf0b342-79f4-4629-b7b7-e4958516d496