2025-08-21 11:21:05,568 - INFO - Domain Default found not creating 2025-08-21 11:21:05,725 - INFO - Project ctest-TestPorts-28355495 not found, creating it 2025-08-21 11:21:06,252 - INFO - Created Project:ctest-TestPorts-28355495, ID : f1a0feb6-30fc-43de-a9cb-a8ca8bb0f117 2025-08-21 11:21:07,846 - INFO - ================================================================================ 2025-08-21 11:21:07,846 - INFO - STARTING TEST : test_ports_bindings 2025-08-21 11:21:07,846 - 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-21 11:21:08,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-21 11:21:08,106 - INFO - Initial checks done. Running the testcase now 2025-08-21 11:21:08,106 - INFO - 2025-08-21 11:21:08,720 - DEBUG - Response for create_network : {'network': {'id': '8c30bb46-f8dd-408b-a730-f1a878a9e57f', 'name': 'ctest-vn-74954200', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28355495', 'ctest-vn-74954200'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:21:08,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '1418afe3-4fb0-4397-a32d-61c0d7c3117b', 'name': '', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8c30bb46-f8dd-408b-a730-f1a878a9e57f', 'ip_version': 4, 'cidr': '5.125.68.64/26', 'allocation_pools': [{'start': '5.125.68.66', 'end': '5.125.68.126'}], 'gateway_ip': '5.125.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.125.68.66', 'tags': [], 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:09,012 - INFO - Created VN ctest-vn-74954200 2025-08-21 11:21:09,074 - DEBUG - VN ctest-vn-74954200 UUID is 8c30bb46-f8dd-408b-a730-f1a878a9e57f 2025-08-21 11:21:09,196 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28355495', 'ctest-vmi-63140853']} 2025-08-21 11:21:09,481 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63140853', 'id': '88adc578-5672-4451-a561-c1d70d8bcd32', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8c30bb46-f8dd-408b-a730-f1a878a9e57f', 'mac_address': '02:88:ad:c5:78:56', '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': '5.125.68.67', 'subnet_id': '1418afe3-4fb0-4397-a32d-61c0d7c3117b'}], 'security_groups': ['39fd5e32-a048-4f33-9eee-974ea450d092'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:09,481 - DEBUG - Created port 88adc578-5672-4451-a561-c1d70d8bcd32 2025-08-21 11:21:09,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/88adc578-5672-4451-a561-c1d70d8bcd32 2025-08-21 11:21:09,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/88adc578-5672-4451-a561-c1d70d8bcd32 2025-08-21 11:21:09,961 - INFO - VMI 88adc578-5672-4451-a561-c1d70d8bcd32 verification in API Server passed 2025-08-21 11:21:10,073 - DEBUG - Response for delete_port : () 2025-08-21 11:21:10,073 - INFO - Deleted port 88adc578-5672-4451-a561-c1d70d8bcd32 2025-08-21 11:21:10,073 - INFO - Deleting VN ctest-vn-74954200 2025-08-21 11:21:10,197 - DEBUG - Response for deleting network () 2025-08-21 11:21:10,452 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 11:21:10,452 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-21 11:21:10,452 - INFO - -------------------------------------------------------------------------------- 2025-08-21 11:21:10,455 - INFO - ================================================================================ 2025-08-21 11:21:10,455 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-21 11:21:10,455 - 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-21 11:21:10,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-21 11:21:10,749 - INFO - Initial checks done. Running the testcase now 2025-08-21 11:21:10,750 - INFO - 2025-08-21 11:21:10,962 - DEBUG - Response for create_network : {'network': {'id': '8532e286-f452-4581-be6a-2ba92343f977', 'name': 'ctest-vn1-11149156', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28355495', 'ctest-vn1-11149156'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:21:11,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb3dea01-e3f6-428a-bf12-8032c0b8abb1', 'name': '', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8532e286-f452-4581-be6a-2ba92343f977', 'ip_version': 4, 'cidr': '146.132.217.64/26', 'allocation_pools': [{'start': '146.132.217.66', 'end': '146.132.217.126'}], 'gateway_ip': '146.132.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.132.217.66', 'tags': [], 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:11,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bccb491d-17f9-4307-a38c-b53b267c4706', 'name': '', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8532e286-f452-4581-be6a-2ba92343f977', 'ip_version': 4, 'cidr': '102.113.22.64/26', 'allocation_pools': [{'start': '102.113.22.66', 'end': '102.113.22.126'}], 'gateway_ip': '102.113.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.113.22.66', 'tags': [], 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:11,373 - INFO - Created VN ctest-vn1-11149156 2025-08-21 11:21:11,430 - DEBUG - VN ctest-vn1-11149156 UUID is 8532e286-f452-4581-be6a-2ba92343f977 2025-08-21 11:21:11,833 - DEBUG - Response for create_port : {'port': {'name': '5f59cb89-efb0-4214-9b6f-258bd53d9f9c', 'id': '5f59cb89-efb0-4214-9b6f-258bd53d9f9c', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8532e286-f452-4581-be6a-2ba92343f977', 'mac_address': '02:5f:59:cb:89:ef', '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': '146.132.217.69', 'subnet_id': 'cb3dea01-e3f6-428a-bf12-8032c0b8abb1'}], 'security_groups': ['39fd5e32-a048-4f33-9eee-974ea450d092'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:12,069 - DEBUG - Response for create_port : {'port': {'name': '7cb944b1-5ddb-413e-a7c9-fe1a7aea9bee', 'id': '7cb944b1-5ddb-413e-a7c9-fe1a7aea9bee', 'tenant_id': 'f1a0feb630fc43dea9cba8ca8bb0f117', 'network_id': '8532e286-f452-4581-be6a-2ba92343f977', 'mac_address': '02:7c:b9:44:b1:5d', '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.113.22.69', 'subnet_id': 'bccb491d-17f9-4307-a38c-b53b267c4706'}], 'security_groups': ['39fd5e32-a048-4f33-9eee-974ea450d092'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1a0feb630fc43dea9cba8ca8bb0f117'}} 2025-08-21 11:21:12,133 - DEBUG - Services list from nova: [, , ] 2025-08-21 11:21:12,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:21:12,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:21:12,996 - INFO - Waiting for VM ctest-vn1-vm1-72254813 to be up.. 2025-08-21 11:21:13,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 11:21:18,128 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:21:18,128 - INFO - VM name : ctest-vn1-vm1-72254813 2025-08-21 11:21:18,210 - DEBUG - VM ctest-vn1-vm1-72254813 ID is b5b2f48f-f04e-4941-9a64-f99cfa6efc6d 2025-08-21 11:21:18,232 - DEBUG - VM ctest-vn1-vm1-72254813 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:21:18,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b5b2f48f-f04e-4941-9a64-f99cfa6efc6d 2025-08-21 11:21:18,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f59cb89-efb0-4214-9b6f-258bd53d9f9c 2025-08-21 11:21:21,598 - 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 1014ms') 2025-08-21 11:21:21,598 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72254813 failed! 2025-08-21 11:21:21,658 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28355495:ctest-vn1-11149156 is 146.132.217.65 and allocation pool is NOT set 2025-08-21 11:21:21,658 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28355495:ctest-vn1-11149156 is 102.113.22.65 and allocation pool is NOT set 2025-08-21 11:21:25,723 - 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 1005ms') 2025-08-21 11:21:25,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72254813 failed! 2025-08-21 11:21:25,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28355495:ctest-vn1-11149156 is 146.132.217.65 and allocation pool is NOT set 2025-08-21 11:21:25,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28355495:ctest-vn1-11149156 is 102.113.22.65 and allocation pool is NOT set 2025-08-21 11:21:27,844 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/2.068/3.674/1.605 ms') 2025-08-21 11:21:27,845 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72254813 passed 2025-08-21 11:21:28,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:28,002 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72254813, IP 146.132.217.69, Port 22 2025-08-21 11:21:28,171 - DEBUG - VM ctest-vn1-vm1-72254813 is ready for SSH connections 2025-08-21 11:21:28,171 - INFO - Waiting for VM ctest-vn1-vm2-37505696 to be up.. 2025-08-21 11:21:28,254 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:21:28,254 - INFO - VM name : ctest-vn1-vm2-37505696 2025-08-21 11:21:28,333 - DEBUG - VM ctest-vn1-vm2-37505696 ID is 91a5a37b-e399-437e-90a3-4652c1c34c7d 2025-08-21 11:21:28,333 - DEBUG - VM ctest-vn1-vm2-37505696 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:21:28,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91a5a37b-e399-437e-90a3-4652c1c34c7d 2025-08-21 11:21:28,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7cb944b1-5ddb-413e-a7c9-fe1a7aea9bee 2025-08-21 11:21:29,666 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.926/3.424/1.497 ms') 2025-08-21 11:21:29,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37505696 passed 2025-08-21 11:21:29,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:29,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37505696, IP 102.113.22.69, Port 22 2025-08-21 11:21:29,978 - DEBUG - VM ctest-vn1-vm2-37505696 is ready for SSH connections 2025-08-21 11:21:29,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:29,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:29,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:29,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.132.217.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:21:29,978 - DEBUG - ping -s 56 -c 3 -W 1 146.132.217.69 2025-08-21 11:21:33,055 - DEBUG - PING 146.132.217.69 (146.132.217.69): 56 data bytes 64 bytes from 146.132.217.69: seq=0 ttl=63 time=3.905 ms 64 bytes from 146.132.217.69: seq=1 ttl=63 time=0.993 ms 64 bytes from 146.132.217.69: seq=2 ttl=63 time=1.015 ms --- 146.132.217.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/1.971/3.905 ms 2025-08-21 11:21:33,055 - INFO - Ping to IP 146.132.217.69 from VM ctest-vn1-vm2-37505696 passed 2025-08-21 11:21:33,055 - INFO - Detaching port 7cb944b1-5ddb-413e-a7c9-fe1a7aea9bee from VM ctest-vn1-vm2-37505696 2025-08-21 11:21:33,109 - INFO - Deleting VM ctest-vn1-vm2-37505696 2025-08-21 11:21:33,195 - INFO - Detaching port 5f59cb89-efb0-4214-9b6f-258bd53d9f9c from VM ctest-vn1-vm1-72254813 2025-08-21 11:21:33,239 - INFO - Deleting VM ctest-vn1-vm1-72254813 2025-08-21 11:21:33,518 - DEBUG - Response for delete_port : () 2025-08-21 11:21:33,732 - DEBUG - Response for delete_port : () 2025-08-21 11:21:33,732 - INFO - Deleting VN ctest-vn1-11149156 2025-08-21 11:21:33,890 - DEBUG - Response for deleting network () 2025-08-21 11:21:34,161 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 11:21:34,161 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-21 11:21:34,162 - INFO - -------------------------------------------------------------------------------- 2025-08-21 11:21:35,064 - INFO - Deleted project: ctest-TestPorts-28355495, ID : f1a0feb6-30fc-43de-a9cb-a8ca8bb0f117