2025-11-12 18:10:34,660 - INFO - Domain Default found not creating 2025-11-12 18:10:34,801 - INFO - Project ctest-TestPorts-01580650 not found, creating it 2025-11-12 18:10:35,270 - INFO - Created Project:ctest-TestPorts-01580650, ID : ff27a4ea-eb3e-4d42-905a-6f6634d4a03f 2025-11-12 18:10:36,763 - INFO - ================================================================================ 2025-11-12 18:10:36,763 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 18:10:36,763 - 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-11-12 18:10:37,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-12 18:10:37,026 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:10:37,026 - INFO - 2025-11-12 18:10:37,598 - DEBUG - Response for create_network : {'network': {'id': 'bcdc3332-fa74-4f23-9f31-c72671679d2b', 'name': 'ctest-vn-16772924', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01580650', 'ctest-vn-16772924'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:10:37,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c69e24b-d80e-4c74-8e1b-6ad067aaf764', 'name': '', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': 'bcdc3332-fa74-4f23-9f31-c72671679d2b', 'ip_version': 4, 'cidr': '11.195.78.192/26', 'allocation_pools': [{'start': '11.195.78.194', 'end': '11.195.78.254'}], 'gateway_ip': '11.195.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.195.78.194', 'tags': [], 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:37,817 - INFO - Created VN ctest-vn-16772924 2025-11-12 18:10:37,871 - DEBUG - VN ctest-vn-16772924 UUID is bcdc3332-fa74-4f23-9f31-c72671679d2b 2025-11-12 18:10:37,992 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01580650', 'ctest-vmi-26009198']} 2025-11-12 18:10:38,256 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26009198', 'id': '6548cb52-88f7-4412-8c03-ed3a347a1737', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': 'bcdc3332-fa74-4f23-9f31-c72671679d2b', 'mac_address': '02:65:48:cb:52:88', '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': '11.195.78.195', 'subnet_id': '8c69e24b-d80e-4c74-8e1b-6ad067aaf764'}], 'security_groups': ['e5757840-b91c-4351-9ee7-70b2b48800f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:38,256 - DEBUG - Created port 6548cb52-88f7-4412-8c03-ed3a347a1737 2025-11-12 18:10:38,362 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6548cb52-88f7-4412-8c03-ed3a347a1737 2025-11-12 18:10:38,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6548cb52-88f7-4412-8c03-ed3a347a1737 2025-11-12 18:10:38,719 - INFO - VMI 6548cb52-88f7-4412-8c03-ed3a347a1737 verification in API Server passed 2025-11-12 18:10:38,831 - DEBUG - Response for delete_port : () 2025-11-12 18:10:38,831 - INFO - Deleted port 6548cb52-88f7-4412-8c03-ed3a347a1737 2025-11-12 18:10:38,831 - INFO - Deleting VN ctest-vn-16772924 2025-11-12 18:10:38,944 - DEBUG - Response for deleting network () 2025-11-12 18:10:39,199 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 18:10:39,199 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-12 18:10:39,199 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:10:39,203 - INFO - ================================================================================ 2025-11-12 18:10:39,203 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 18:10:39,203 - 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-11-12 18:10:39,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-12 18:10:39,487 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:10:39,487 - INFO - 2025-11-12 18:10:39,670 - DEBUG - Response for create_network : {'network': {'id': '582bd4da-5c37-493e-8760-3ab5d1a399b7', 'name': 'ctest-vn1-32154659', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01580650', 'ctest-vn1-32154659'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:10:39,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5085a00-018a-464f-aa51-729dcf0dc71e', 'name': '', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': '582bd4da-5c37-493e-8760-3ab5d1a399b7', 'ip_version': 4, 'cidr': '149.47.61.0/26', 'allocation_pools': [{'start': '149.47.61.2', 'end': '149.47.61.62'}], 'gateway_ip': '149.47.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.47.61.2', 'tags': [], 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:40,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '53d65ac6-aa6e-4d56-8ed9-83ef4a1112a8', 'name': '', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': '582bd4da-5c37-493e-8760-3ab5d1a399b7', 'ip_version': 4, 'cidr': '175.255.9.0/26', 'allocation_pools': [{'start': '175.255.9.2', 'end': '175.255.9.62'}], 'gateway_ip': '175.255.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.255.9.2', 'tags': [], 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:40,035 - INFO - Created VN ctest-vn1-32154659 2025-11-12 18:10:40,086 - DEBUG - VN ctest-vn1-32154659 UUID is 582bd4da-5c37-493e-8760-3ab5d1a399b7 2025-11-12 18:10:40,370 - DEBUG - Response for create_port : {'port': {'name': '0c88c726-9c76-49bf-9e96-8ceb94408a53', 'id': '0c88c726-9c76-49bf-9e96-8ceb94408a53', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': '582bd4da-5c37-493e-8760-3ab5d1a399b7', 'mac_address': '02:0c:88:c7:26:9c', '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': '149.47.61.5', 'subnet_id': 'e5085a00-018a-464f-aa51-729dcf0dc71e'}], 'security_groups': ['e5757840-b91c-4351-9ee7-70b2b48800f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:40,526 - DEBUG - Response for create_port : {'port': {'name': '7aac05e8-6cd9-42fb-b782-f9eec0d51344', 'id': '7aac05e8-6cd9-42fb-b782-f9eec0d51344', 'tenant_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f', 'network_id': '582bd4da-5c37-493e-8760-3ab5d1a399b7', 'mac_address': '02:7a:ac:05:e8:6c', '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': '175.255.9.5', 'subnet_id': '53d65ac6-aa6e-4d56-8ed9-83ef4a1112a8'}], 'security_groups': ['e5757840-b91c-4351-9ee7-70b2b48800f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff27a4eaeb3e4d42905a6f6634d4a03f'}} 2025-11-12 18:10:40,579 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:10:40,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:10:41,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:10:41,237 - INFO - Waiting for VM ctest-vn1-vm1-79522030 to be up.. 2025-11-12 18:10:41,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:10:46,342 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:10:46,342 - INFO - VM name : ctest-vn1-vm1-79522030 2025-11-12 18:10:46,410 - DEBUG - VM ctest-vn1-vm1-79522030 ID is b0d48673-6c28-4764-880e-7f6ae83af0d8 2025-11-12 18:10:46,435 - DEBUG - VM ctest-vn1-vm1-79522030 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:10:46,501 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b0d48673-6c28-4764-880e-7f6ae83af0d8 2025-11-12 18:10:46,508 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0c88c726-9c76-49bf-9e96-8ceb94408a53 2025-11-12 18:10:49,761 - 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-11-12 18:10:49,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79522030 failed! 2025-11-12 18:10:49,814 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01580650:ctest-vn1-32154659 is 149.47.61.1 and allocation pool is NOT set 2025-11-12 18:10:49,814 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01580650:ctest-vn1-32154659 is 175.255.9.1 and allocation pool is NOT set 2025-11-12 18:10:51,879 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/1.959/3.409/1.449 ms') 2025-11-12 18:10:51,879 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79522030 passed 2025-11-12 18:10:52,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:10:52,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79522030, IP 149.47.61.5, Port 22 2025-11-12 18:10:52,182 - DEBUG - VM ctest-vn1-vm1-79522030 is ready for SSH connections 2025-11-12 18:10:52,182 - INFO - Waiting for VM ctest-vn1-vm2-69810082 to be up.. 2025-11-12 18:10:52,251 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:10:52,251 - INFO - VM name : ctest-vn1-vm2-69810082 2025-11-12 18:10:52,317 - DEBUG - VM ctest-vn1-vm2-69810082 ID is ba20a5cb-a775-4993-a8be-26487182cf6c 2025-11-12 18:10:52,317 - DEBUG - VM ctest-vn1-vm2-69810082 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:10:52,383 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba20a5cb-a775-4993-a8be-26487182cf6c 2025-11-12 18:10:52,391 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7aac05e8-6cd9-42fb-b782-f9eec0d51344 2025-11-12 18:10:53,627 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.305 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.305/2.051/3.798/1.746 ms') 2025-11-12 18:10:53,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69810082 passed 2025-11-12 18:10:53,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:10:53,782 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69810082, IP 175.255.9.5, Port 22 2025-11-12 18:10:53,948 - DEBUG - VM ctest-vn1-vm2-69810082 is ready for SSH connections 2025-11-12 18:10:53,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:10:53,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:10:53,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:10:53,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.47.61.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:10:53,949 - DEBUG - ping -s 56 -c 3 -W 1 149.47.61.5 2025-11-12 18:10:56,533 - DEBUG - PING 149.47.61.5 (149.47.61.5): 56 data bytes 64 bytes from 149.47.61.5: seq=0 ttl=63 time=3.343 ms 64 bytes from 149.47.61.5: seq=1 ttl=63 time=0.888 ms 64 bytes from 149.47.61.5: seq=2 ttl=63 time=0.983 ms --- 149.47.61.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.738/3.343 ms 2025-11-12 18:10:56,533 - INFO - Ping to IP 149.47.61.5 from VM ctest-vn1-vm2-69810082 passed 2025-11-12 18:10:56,533 - INFO - Detaching port 7aac05e8-6cd9-42fb-b782-f9eec0d51344 from VM ctest-vn1-vm2-69810082 2025-11-12 18:10:56,578 - INFO - Deleting VM ctest-vn1-vm2-69810082 2025-11-12 18:10:56,648 - INFO - Detaching port 0c88c726-9c76-49bf-9e96-8ceb94408a53 from VM ctest-vn1-vm1-79522030 2025-11-12 18:10:56,680 - INFO - Deleting VM ctest-vn1-vm1-79522030 2025-11-12 18:10:56,879 - DEBUG - Response for delete_port : () 2025-11-12 18:10:57,094 - DEBUG - Response for delete_port : () 2025-11-12 18:10:57,095 - INFO - Deleting VN ctest-vn1-32154659 2025-11-12 18:10:57,265 - DEBUG - Response for deleting network () 2025-11-12 18:10:57,535 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 18:10:57,535 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-11-12 18:10:57,535 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:10:58,241 - INFO - Deleted project: ctest-TestPorts-01580650, ID : ff27a4ea-eb3e-4d42-905a-6f6634d4a03f