2025-09-04 02:07:05,235 - INFO - Domain Default found not creating 2025-09-04 02:07:05,385 - INFO - Project ctest-TestPorts-81306299 not found, creating it 2025-09-04 02:07:05,837 - INFO - Created Project:ctest-TestPorts-81306299, ID : fb14f54b-cb13-4319-ab12-41fd3719145a 2025-09-04 02:07:07,356 - INFO - ================================================================================ 2025-09-04 02:07:07,356 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 02:07:07,356 - 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-04 02:07:07,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-04 02:07:07,608 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:07:07,608 - INFO - 2025-09-04 02:07:08,164 - DEBUG - Response for create_network : {'network': {'id': 'cc4b26a9-4cb7-401d-afde-ae57e8073694', 'name': 'ctest-vn-73659138', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'project_id': 'fb14f54bcb134319ab1241fd3719145a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81306299', 'ctest-vn-73659138'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:07:08,385 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd56d87f0-b3dd-4cb3-ad30-1eade1ddef9c', 'name': '', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': 'cc4b26a9-4cb7-401d-afde-ae57e8073694', 'ip_version': 4, 'cidr': '55.1.219.192/26', 'allocation_pools': [{'start': '55.1.219.194', 'end': '55.1.219.254'}], 'gateway_ip': '55.1.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.1.219.194', 'tags': [], 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:08,401 - INFO - Created VN ctest-vn-73659138 2025-09-04 02:07:08,452 - DEBUG - VN ctest-vn-73659138 UUID is cc4b26a9-4cb7-401d-afde-ae57e8073694 2025-09-04 02:07:08,560 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81306299', 'ctest-vmi-45302898']} 2025-09-04 02:07:08,836 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45302898', 'id': '3aed2b23-2348-49f6-94ca-3c67971dacfb', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': 'cc4b26a9-4cb7-401d-afde-ae57e8073694', 'mac_address': '02:3a:ed:2b:23:23', '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': '55.1.219.195', 'subnet_id': 'd56d87f0-b3dd-4cb3-ad30-1eade1ddef9c'}], 'security_groups': ['be3e03d6-6ff2-409e-9b11-0ecf0ecadfb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:08,837 - DEBUG - Created port 3aed2b23-2348-49f6-94ca-3c67971dacfb 2025-09-04 02:07:08,940 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3aed2b23-2348-49f6-94ca-3c67971dacfb 2025-09-04 02:07:09,243 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3aed2b23-2348-49f6-94ca-3c67971dacfb 2025-09-04 02:07:09,278 - INFO - VMI 3aed2b23-2348-49f6-94ca-3c67971dacfb verification in API Server passed 2025-09-04 02:07:09,367 - DEBUG - Response for delete_port : () 2025-09-04 02:07:09,367 - INFO - Deleted port 3aed2b23-2348-49f6-94ca-3c67971dacfb 2025-09-04 02:07:09,368 - INFO - Deleting VN ctest-vn-73659138 2025-09-04 02:07:09,472 - DEBUG - Response for deleting network () 2025-09-04 02:07:09,733 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 02:07:09,733 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-04 02:07:09,733 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:07:09,735 - INFO - ================================================================================ 2025-09-04 02:07:09,736 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 02:07:09,736 - 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-04 02:07:10,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-04 02:07:10,024 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:07:10,024 - INFO - 2025-09-04 02:07:10,209 - DEBUG - Response for create_network : {'network': {'id': '66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6', 'name': 'ctest-vn1-14604846', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'project_id': 'fb14f54bcb134319ab1241fd3719145a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81306299', 'ctest-vn1-14604846'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:07:10,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aab83d9d-0c81-4685-a8c5-1b3459d16dbd', 'name': '', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': '66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6', 'ip_version': 4, 'cidr': '135.110.227.0/26', 'allocation_pools': [{'start': '135.110.227.2', 'end': '135.110.227.62'}], 'gateway_ip': '135.110.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.110.227.2', 'tags': [], 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:10,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aacd09a-a8af-4487-9fbf-5005871aa137', 'name': '', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': '66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6', 'ip_version': 4, 'cidr': '216.225.40.0/26', 'allocation_pools': [{'start': '216.225.40.2', 'end': '216.225.40.62'}], 'gateway_ip': '216.225.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.225.40.2', 'tags': [], 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:10,630 - INFO - Created VN ctest-vn1-14604846 2025-09-04 02:07:10,684 - DEBUG - VN ctest-vn1-14604846 UUID is 66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6 2025-09-04 02:07:11,029 - DEBUG - Response for create_port : {'port': {'name': '3c37ff46-23db-4331-bb60-8021b44b3a1c', 'id': '3c37ff46-23db-4331-bb60-8021b44b3a1c', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': '66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6', 'mac_address': '02:3c:37:ff:46:23', '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': '135.110.227.5', 'subnet_id': 'aab83d9d-0c81-4685-a8c5-1b3459d16dbd'}], 'security_groups': ['be3e03d6-6ff2-409e-9b11-0ecf0ecadfb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:11,206 - DEBUG - Response for create_port : {'port': {'name': 'c15ae790-c863-49b1-a60f-b4f3d52c9614', 'id': 'c15ae790-c863-49b1-a60f-b4f3d52c9614', 'tenant_id': 'fb14f54bcb134319ab1241fd3719145a', 'network_id': '66f75f92-12ef-4ae3-aa69-5e1b21dc3fa6', 'mac_address': '02:c1:5a:e7:90:c8', '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': '216.225.40.5', 'subnet_id': '9aacd09a-a8af-4487-9fbf-5005871aa137'}], 'security_groups': ['be3e03d6-6ff2-409e-9b11-0ecf0ecadfb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb14f54bcb134319ab1241fd3719145a'}} 2025-09-04 02:07:11,264 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:07:11,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:07:12,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:07:12,013 - INFO - Waiting for VM ctest-vn1-vm1-91419858 to be up.. 2025-09-04 02:07:12,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:07:17,125 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:07:17,125 - INFO - VM name : ctest-vn1-vm1-91419858 2025-09-04 02:07:17,321 - DEBUG - VM ctest-vn1-vm1-91419858 ID is d207c617-7292-4982-8a9e-bd1c30a0a569 2025-09-04 02:07:17,339 - DEBUG - VM ctest-vn1-vm1-91419858 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:07:17,407 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d207c617-7292-4982-8a9e-bd1c30a0a569 2025-09-04 02:07:17,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3c37ff46-23db-4331-bb60-8021b44b3a1c 2025-09-04 02:07:20,662 - 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 1010ms') 2025-09-04 02:07:20,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91419858 failed! 2025-09-04 02:07:20,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81306299:ctest-vn1-14604846 is 135.110.227.1 and allocation pool is NOT set 2025-09-04 02:07:20,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81306299:ctest-vn1-14604846 is 216.225.40.1 and allocation pool is NOT set 2025-09-04 02:07:22,783 - 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=4.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.467/4.167/4.868/0.700 ms') 2025-09-04 02:07:22,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91419858 passed 2025-09-04 02:07:22,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:22,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91419858, IP 135.110.227.5, Port 22 2025-09-04 02:07:23,091 - DEBUG - VM ctest-vn1-vm1-91419858 is ready for SSH connections 2025-09-04 02:07:23,091 - INFO - Waiting for VM ctest-vn1-vm2-07735887 to be up.. 2025-09-04 02:07:23,172 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:07:23,172 - INFO - VM name : ctest-vn1-vm2-07735887 2025-09-04 02:07:23,251 - DEBUG - VM ctest-vn1-vm2-07735887 ID is 7ea42253-70a4-4a19-87ee-94ac13a9cb1e 2025-09-04 02:07:23,251 - DEBUG - VM ctest-vn1-vm2-07735887 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:07:23,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7ea42253-70a4-4a19-87ee-94ac13a9cb1e 2025-09-04 02:07:23,333 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c15ae790-c863-49b1-a60f-b4f3d52c9614 2025-09-04 02:07:24,568 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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.267/2.735/4.203/1.468 ms') 2025-09-04 02:07:24,568 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07735887 passed 2025-09-04 02:07:24,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:24,716 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07735887, IP 216.225.40.5, Port 22 2025-09-04 02:07:24,871 - DEBUG - VM ctest-vn1-vm2-07735887 is ready for SSH connections 2025-09-04 02:07:24,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:24,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:24,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:24,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.110.227.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 02:07:24,872 - DEBUG - ping -s 56 -c 3 -W 1 135.110.227.5 2025-09-04 02:07:27,520 - DEBUG - PING 135.110.227.5 (135.110.227.5): 56 data bytes 64 bytes from 135.110.227.5: seq=0 ttl=63 time=3.633 ms 64 bytes from 135.110.227.5: seq=1 ttl=63 time=0.922 ms 64 bytes from 135.110.227.5: seq=2 ttl=63 time=0.888 ms --- 135.110.227.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.814/3.633 ms 2025-09-04 02:07:27,521 - INFO - Ping to IP 135.110.227.5 from VM ctest-vn1-vm2-07735887 passed 2025-09-04 02:07:27,521 - INFO - Detaching port c15ae790-c863-49b1-a60f-b4f3d52c9614 from VM ctest-vn1-vm2-07735887 2025-09-04 02:07:27,568 - INFO - Deleting VM ctest-vn1-vm2-07735887 2025-09-04 02:07:27,631 - INFO - Detaching port 3c37ff46-23db-4331-bb60-8021b44b3a1c from VM ctest-vn1-vm1-91419858 2025-09-04 02:07:27,666 - INFO - Deleting VM ctest-vn1-vm1-91419858 2025-09-04 02:07:27,880 - DEBUG - Response for delete_port : () 2025-09-04 02:07:28,063 - DEBUG - Response for delete_port : () 2025-09-04 02:07:28,063 - INFO - Deleting VN ctest-vn1-14604846 2025-09-04 02:07:28,220 - DEBUG - Response for deleting network () 2025-09-04 02:07:28,476 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 02:07:28,476 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-04 02:07:28,477 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:07:29,154 - INFO - Deleted project: ctest-TestPorts-81306299, ID : fb14f54b-cb13-4319-ab12-41fd3719145a