2025-08-28 02:15:51,305 - INFO - Domain Default found not creating 2025-08-28 02:15:51,425 - INFO - Project ctest-TestPorts-87317798 not found, creating it 2025-08-28 02:15:51,827 - INFO - Created Project:ctest-TestPorts-87317798, ID : 1a859445-b6f9-47c0-a28a-d2cd1d2d8aab 2025-08-28 02:15:53,206 - INFO - ================================================================================ 2025-08-28 02:15:53,206 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 02:15:53,207 - 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-08-28 02:15:53,460 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-28 02:15:53,460 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:15:53,461 - INFO - 2025-08-28 02:15:53,981 - DEBUG - Response for create_network : {'network': {'id': '4738f9b0-d387-446b-9b40-6e719f73cace', 'name': 'ctest-vn-40240154', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87317798', 'ctest-vn-40240154'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:15:54,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '946c4a38-e470-4225-96b5-5e225292956a', 'name': '', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '4738f9b0-d387-446b-9b40-6e719f73cace', 'ip_version': 4, 'cidr': '143.51.101.128/26', 'allocation_pools': [{'start': '143.51.101.130', 'end': '143.51.101.190'}], 'gateway_ip': '143.51.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.51.101.130', 'tags': [], 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:54,167 - INFO - Created VN ctest-vn-40240154 2025-08-28 02:15:54,219 - DEBUG - VN ctest-vn-40240154 UUID is 4738f9b0-d387-446b-9b40-6e719f73cace 2025-08-28 02:15:54,313 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87317798', 'ctest-vmi-63737052']} 2025-08-28 02:15:54,560 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63737052', 'id': '43442d71-7610-45a2-b957-2498e0bb4cfc', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '4738f9b0-d387-446b-9b40-6e719f73cace', 'mac_address': '02:43:44:2d:71:76', '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.51.101.131', 'subnet_id': '946c4a38-e470-4225-96b5-5e225292956a'}], 'security_groups': ['000d152c-5a90-47a8-b120-f3475531db02'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:54,560 - DEBUG - Created port 43442d71-7610-45a2-b957-2498e0bb4cfc 2025-08-28 02:15:54,663 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/43442d71-7610-45a2-b957-2498e0bb4cfc 2025-08-28 02:15:54,950 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/43442d71-7610-45a2-b957-2498e0bb4cfc 2025-08-28 02:15:54,979 - INFO - VMI 43442d71-7610-45a2-b957-2498e0bb4cfc verification in API Server passed 2025-08-28 02:15:55,055 - DEBUG - Response for delete_port : () 2025-08-28 02:15:55,055 - INFO - Deleted port 43442d71-7610-45a2-b957-2498e0bb4cfc 2025-08-28 02:15:55,055 - INFO - Deleting VN ctest-vn-40240154 2025-08-28 02:15:55,160 - DEBUG - Response for deleting network () 2025-08-28 02:15:55,415 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:15:55,415 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-28 02:15:55,415 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:15:55,417 - INFO - ================================================================================ 2025-08-28 02:15:55,417 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 02:15:55,418 - 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-08-28 02:15:55,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-28 02:15:55,707 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:15:55,707 - INFO - 2025-08-28 02:15:55,869 - DEBUG - Response for create_network : {'network': {'id': '1d88e4a5-1117-44ee-aa32-48a41d3a912f', 'name': 'ctest-vn1-19485306', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87317798', 'ctest-vn1-19485306'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:15:56,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbfc1b93-7df5-42d9-bec0-19d6debbe769', 'name': '', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '1d88e4a5-1117-44ee-aa32-48a41d3a912f', 'ip_version': 4, 'cidr': '199.140.80.0/26', 'allocation_pools': [{'start': '199.140.80.2', 'end': '199.140.80.62'}], 'gateway_ip': '199.140.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.140.80.2', 'tags': [], 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:56,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '739b1961-bec4-42dc-a4d9-9f308ac9fefb', 'name': '', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '1d88e4a5-1117-44ee-aa32-48a41d3a912f', 'ip_version': 4, 'cidr': '52.87.105.0/26', 'allocation_pools': [{'start': '52.87.105.2', 'end': '52.87.105.62'}], 'gateway_ip': '52.87.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.87.105.2', 'tags': [], 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:56,217 - INFO - Created VN ctest-vn1-19485306 2025-08-28 02:15:56,267 - DEBUG - VN ctest-vn1-19485306 UUID is 1d88e4a5-1117-44ee-aa32-48a41d3a912f 2025-08-28 02:15:56,528 - DEBUG - Response for create_port : {'port': {'name': 'f2037195-d116-452b-ab1e-d4ed5ebb84d4', 'id': 'f2037195-d116-452b-ab1e-d4ed5ebb84d4', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '1d88e4a5-1117-44ee-aa32-48a41d3a912f', 'mac_address': '02:f2:03:71:95:d1', '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': '199.140.80.5', 'subnet_id': 'fbfc1b93-7df5-42d9-bec0-19d6debbe769'}], 'security_groups': ['000d152c-5a90-47a8-b120-f3475531db02'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:56,696 - DEBUG - Response for create_port : {'port': {'name': '9d900f7d-9ffe-4444-be5e-beed3c53e230', 'id': '9d900f7d-9ffe-4444-be5e-beed3c53e230', 'tenant_id': '1a859445b6f947c0a28ad2cd1d2d8aab', 'network_id': '1d88e4a5-1117-44ee-aa32-48a41d3a912f', 'mac_address': '02:9d:90:0f:7d:9f', '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': '52.87.105.5', 'subnet_id': '739b1961-bec4-42dc-a4d9-9f308ac9fefb'}], 'security_groups': ['000d152c-5a90-47a8-b120-f3475531db02'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a859445b6f947c0a28ad2cd1d2d8aab'}} 2025-08-28 02:15:56,750 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:15:57,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:15:57,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:15:57,373 - INFO - Waiting for VM ctest-vn1-vm1-46347772 to be up.. 2025-08-28 02:15:57,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:16:02,473 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:16:02,474 - INFO - VM name : ctest-vn1-vm1-46347772 2025-08-28 02:16:02,541 - DEBUG - VM ctest-vn1-vm1-46347772 ID is 749937e4-5236-4a03-91a0-8aa822e56105 2025-08-28 02:16:02,560 - DEBUG - VM ctest-vn1-vm1-46347772 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:16:02,631 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/749937e4-5236-4a03-91a0-8aa822e56105 2025-08-28 02:16:02,638 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f2037195-d116-452b-ab1e-d4ed5ebb84d4 2025-08-28 02:16:05,904 - 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 1032ms') 2025-08-28 02:16:05,904 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46347772 failed! 2025-08-28 02:16:05,959 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87317798:ctest-vn1-19485306 is 199.140.80.1 and allocation pool is NOT set 2025-08-28 02:16:05,959 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87317798:ctest-vn1-19485306 is 52.87.105.1 and allocation pool is NOT set 2025-08-28 02:16:08,020 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.792/3.172/1.380 ms') 2025-08-28 02:16:08,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46347772 passed 2025-08-28 02:16:08,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:16:08,167 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46347772, IP 199.140.80.5, Port 22 2025-08-28 02:16:08,318 - DEBUG - VM ctest-vn1-vm1-46347772 is ready for SSH connections 2025-08-28 02:16:08,318 - INFO - Waiting for VM ctest-vn1-vm2-43098956 to be up.. 2025-08-28 02:16:08,380 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:16:08,380 - INFO - VM name : ctest-vn1-vm2-43098956 2025-08-28 02:16:08,445 - DEBUG - VM ctest-vn1-vm2-43098956 ID is d90c88d8-0929-4d6c-8575-e5ba065d31e8 2025-08-28 02:16:08,445 - DEBUG - VM ctest-vn1-vm2-43098956 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:16:08,505 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d90c88d8-0929-4d6c-8575-e5ba065d31e8 2025-08-28 02:16:08,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9d900f7d-9ffe-4444-be5e-beed3c53e230 2025-08-28 02:16:09,735 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.463/2.554/1.090 ms') 2025-08-28 02:16:09,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43098956 passed 2025-08-28 02:16:09,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:16:09,887 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43098956, IP 52.87.105.5, Port 22 2025-08-28 02:16:10,038 - DEBUG - VM ctest-vn1-vm2-43098956 is ready for SSH connections 2025-08-28 02:16:10,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:16:10,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:16:10,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:16:10,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.140.80.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-28 02:16:10,038 - DEBUG - ping -s 56 -c 3 -W 1 199.140.80.5 2025-08-28 02:16:12,944 - DEBUG - PING 199.140.80.5 (199.140.80.5): 56 data bytes 64 bytes from 199.140.80.5: seq=0 ttl=63 time=3.169 ms 64 bytes from 199.140.80.5: seq=1 ttl=63 time=0.718 ms 64 bytes from 199.140.80.5: seq=2 ttl=63 time=0.830 ms --- 199.140.80.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.572/3.169 ms 2025-08-28 02:16:12,944 - INFO - Ping to IP 199.140.80.5 from VM ctest-vn1-vm2-43098956 passed 2025-08-28 02:16:12,944 - INFO - Detaching port 9d900f7d-9ffe-4444-be5e-beed3c53e230 from VM ctest-vn1-vm2-43098956 2025-08-28 02:16:12,990 - INFO - Deleting VM ctest-vn1-vm2-43098956 2025-08-28 02:16:13,045 - INFO - Detaching port f2037195-d116-452b-ab1e-d4ed5ebb84d4 from VM ctest-vn1-vm1-46347772 2025-08-28 02:16:13,075 - INFO - Deleting VM ctest-vn1-vm1-46347772 2025-08-28 02:16:13,268 - DEBUG - Response for delete_port : () 2025-08-28 02:16:13,422 - DEBUG - Response for delete_port : () 2025-08-28 02:16:13,422 - INFO - Deleting VN ctest-vn1-19485306 2025-08-28 02:16:13,536 - DEBUG - Response for deleting network () 2025-08-28 02:16:13,791 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:16:13,791 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-28 02:16:13,791 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:16:14,425 - INFO - Deleted project: ctest-TestPorts-87317798, ID : 1a859445-b6f9-47c0-a28a-d2cd1d2d8aab