2025-10-14 12:05:26,059 - INFO - Domain Default found not creating 2025-10-14 12:05:26,189 - INFO - Project ctest-TestPorts-33664315 not found, creating it 2025-10-14 12:05:26,634 - INFO - Created Project:ctest-TestPorts-33664315, ID : b49f3e09-c65b-452c-a650-ddf5cbdaa7b5 2025-10-14 12:05:28,039 - INFO - ================================================================================ 2025-10-14 12:05:28,039 - INFO - STARTING TEST : test_ports_bindings 2025-10-14 12:05:28,040 - 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-14 12:05:28,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-10-14 12:05:28,294 - INFO - Initial checks done. Running the testcase now 2025-10-14 12:05:28,294 - INFO - 2025-10-14 12:05:28,802 - DEBUG - Response for create_network : {'network': {'id': '29eb1d89-cf6c-44e2-b1bf-1049e2141fdb', 'name': 'ctest-vn-14845387', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33664315', 'ctest-vn-14845387'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:05:28,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8c80495-22d6-4646-9065-767ab2385467', 'name': '', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '29eb1d89-cf6c-44e2-b1bf-1049e2141fdb', 'ip_version': 4, 'cidr': '143.98.130.0/26', 'allocation_pools': [{'start': '143.98.130.2', 'end': '143.98.130.62'}], 'gateway_ip': '143.98.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.98.130.2', 'tags': [], 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:28,997 - INFO - Created VN ctest-vn-14845387 2025-10-14 12:05:29,050 - DEBUG - VN ctest-vn-14845387 UUID is 29eb1d89-cf6c-44e2-b1bf-1049e2141fdb 2025-10-14 12:05:29,151 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33664315', 'ctest-vmi-43607672']} 2025-10-14 12:05:29,427 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43607672', 'id': 'c31dadd2-5e96-418f-a5e8-4644a014b6ca', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '29eb1d89-cf6c-44e2-b1bf-1049e2141fdb', 'mac_address': '02:c3:1d:ad:d2:5e', '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': '143.98.130.3', 'subnet_id': 'f8c80495-22d6-4646-9065-767ab2385467'}], 'security_groups': ['1dd75e86-9dce-4c8d-9c24-b3d18d19709c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:29,428 - DEBUG - Created port c31dadd2-5e96-418f-a5e8-4644a014b6ca 2025-10-14 12:05:29,529 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c31dadd2-5e96-418f-a5e8-4644a014b6ca 2025-10-14 12:05:29,821 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c31dadd2-5e96-418f-a5e8-4644a014b6ca 2025-10-14 12:05:29,850 - INFO - VMI c31dadd2-5e96-418f-a5e8-4644a014b6ca verification in API Server passed 2025-10-14 12:05:29,935 - DEBUG - Response for delete_port : () 2025-10-14 12:05:29,935 - INFO - Deleted port c31dadd2-5e96-418f-a5e8-4644a014b6ca 2025-10-14 12:05:29,936 - INFO - Deleting VN ctest-vn-14845387 2025-10-14 12:05:30,031 - DEBUG - Response for deleting network () 2025-10-14 12:05:30,291 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 12:05:30,291 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-14 12:05:30,291 - INFO - -------------------------------------------------------------------------------- 2025-10-14 12:05:30,294 - INFO - ================================================================================ 2025-10-14 12:05:30,294 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-14 12:05:30,295 - 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-14 12:05:30,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-10-14 12:05:30,582 - INFO - Initial checks done. Running the testcase now 2025-10-14 12:05:30,582 - INFO - 2025-10-14 12:05:30,757 - DEBUG - Response for create_network : {'network': {'id': '7550a7b2-18e7-4be0-bc2c-cd87624f4af5', 'name': 'ctest-vn1-71000333', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33664315', 'ctest-vn1-71000333'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:05:30,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '167f3a49-0833-47ec-b9cb-4bed074f3017', 'name': '', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '7550a7b2-18e7-4be0-bc2c-cd87624f4af5', 'ip_version': 4, 'cidr': '173.161.91.0/26', 'allocation_pools': [{'start': '173.161.91.2', 'end': '173.161.91.62'}], 'gateway_ip': '173.161.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.161.91.2', 'tags': [], 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:31,101 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac411a62-7506-430e-9363-e07b410e6b6c', 'name': '', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '7550a7b2-18e7-4be0-bc2c-cd87624f4af5', 'ip_version': 4, 'cidr': '102.3.181.0/26', 'allocation_pools': [{'start': '102.3.181.2', 'end': '102.3.181.62'}], 'gateway_ip': '102.3.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.3.181.2', 'tags': [], 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:31,118 - INFO - Created VN ctest-vn1-71000333 2025-10-14 12:05:31,169 - DEBUG - VN ctest-vn1-71000333 UUID is 7550a7b2-18e7-4be0-bc2c-cd87624f4af5 2025-10-14 12:05:31,450 - DEBUG - Response for create_port : {'port': {'name': 'c184cc0e-0122-4006-b1b1-36252c6c0f28', 'id': 'c184cc0e-0122-4006-b1b1-36252c6c0f28', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '7550a7b2-18e7-4be0-bc2c-cd87624f4af5', 'mac_address': '02:c1:84:cc:0e:01', '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': '173.161.91.5', 'subnet_id': '167f3a49-0833-47ec-b9cb-4bed074f3017'}], 'security_groups': ['1dd75e86-9dce-4c8d-9c24-b3d18d19709c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:31,615 - DEBUG - Response for create_port : {'port': {'name': '5ccfaf15-0317-47d1-9971-efba433ce379', 'id': '5ccfaf15-0317-47d1-9971-efba433ce379', 'tenant_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5', 'network_id': '7550a7b2-18e7-4be0-bc2c-cd87624f4af5', 'mac_address': '02:5c:cf:af:15:03', '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': '102.3.181.5', 'subnet_id': 'ac411a62-7506-430e-9363-e07b410e6b6c'}], 'security_groups': ['1dd75e86-9dce-4c8d-9c24-b3d18d19709c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b49f3e09c65b452ca650ddf5cbdaa7b5'}} 2025-10-14 12:05:31,667 - DEBUG - Services list from nova: [, , ] 2025-10-14 12:05:31,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:05:32,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:05:32,391 - INFO - Waiting for VM ctest-vn1-vm1-77316044 to be up.. 2025-10-14 12:05:32,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 12:05:37,498 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:05:37,498 - INFO - VM name : ctest-vn1-vm1-77316044 2025-10-14 12:05:37,567 - DEBUG - VM ctest-vn1-vm1-77316044 ID is 2964d6c2-fd92-439a-b511-d55a19242e00 2025-10-14 12:05:37,586 - DEBUG - VM ctest-vn1-vm1-77316044 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:05:37,655 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2964d6c2-fd92-439a-b511-d55a19242e00 2025-10-14 12:05:37,663 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c184cc0e-0122-4006-b1b1-36252c6c0f28 2025-10-14 12:05:40,918 - 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-14 12:05:40,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77316044 failed! 2025-10-14 12:05:40,969 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33664315:ctest-vn1-71000333 is 173.161.91.1 and allocation pool is NOT set 2025-10-14 12:05:40,970 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33664315:ctest-vn1-71000333 is 102.3.181.1 and allocation pool is NOT set 2025-10-14 12:05:43,036 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.506/8.990/15.474/6.484 ms') 2025-10-14 12:05:43,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77316044 passed 2025-10-14 12:05:43,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:05:43,186 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77316044, IP 173.161.91.5, Port 22 2025-10-14 12:05:43,341 - DEBUG - VM ctest-vn1-vm1-77316044 is ready for SSH connections 2025-10-14 12:05:43,341 - INFO - Waiting for VM ctest-vn1-vm2-31825536 to be up.. 2025-10-14 12:05:43,420 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:05:43,420 - INFO - VM name : ctest-vn1-vm2-31825536 2025-10-14 12:05:43,487 - DEBUG - VM ctest-vn1-vm2-31825536 ID is 644802ef-7335-49e7-88ca-dad63e971d65 2025-10-14 12:05:43,487 - DEBUG - VM ctest-vn1-vm2-31825536 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:05:43,555 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/644802ef-7335-49e7-88ca-dad63e971d65 2025-10-14 12:05:43,563 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5ccfaf15-0317-47d1-9971-efba433ce379 2025-10-14 12:05:44,801 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/1.872/3.361/1.489 ms') 2025-10-14 12:05:44,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31825536 passed 2025-10-14 12:05:44,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:05:44,950 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31825536, IP 102.3.181.5, Port 22 2025-10-14 12:05:45,101 - DEBUG - VM ctest-vn1-vm2-31825536 is ready for SSH connections 2025-10-14 12:05:45,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:05:45,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:05:45,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:05:45,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.161.91.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-14 12:05:45,101 - DEBUG - ping -s 56 -c 3 -W 1 173.161.91.5 2025-10-14 12:05:47,772 - DEBUG - PING 173.161.91.5 (173.161.91.5): 56 data bytes 64 bytes from 173.161.91.5: seq=0 ttl=63 time=3.538 ms 64 bytes from 173.161.91.5: seq=1 ttl=63 time=0.863 ms 64 bytes from 173.161.91.5: seq=2 ttl=63 time=0.857 ms --- 173.161.91.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.752/3.538 ms 2025-10-14 12:05:47,772 - INFO - Ping to IP 173.161.91.5 from VM ctest-vn1-vm2-31825536 passed 2025-10-14 12:05:47,772 - INFO - Detaching port 5ccfaf15-0317-47d1-9971-efba433ce379 from VM ctest-vn1-vm2-31825536 2025-10-14 12:05:47,824 - INFO - Deleting VM ctest-vn1-vm2-31825536 2025-10-14 12:05:47,892 - INFO - Detaching port c184cc0e-0122-4006-b1b1-36252c6c0f28 from VM ctest-vn1-vm1-77316044 2025-10-14 12:05:47,923 - INFO - Deleting VM ctest-vn1-vm1-77316044 2025-10-14 12:05:48,129 - DEBUG - Response for delete_port : () 2025-10-14 12:05:48,262 - DEBUG - Response for delete_port : () 2025-10-14 12:05:48,262 - INFO - Deleting VN ctest-vn1-71000333 2025-10-14 12:05:48,423 - DEBUG - Response for deleting network () 2025-10-14 12:05:48,678 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 12:05:48,678 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-14 12:05:48,678 - INFO - -------------------------------------------------------------------------------- 2025-10-14 12:05:49,344 - INFO - Deleted project: ctest-TestPorts-33664315, ID : b49f3e09-c65b-452c-a650-ddf5cbdaa7b5