2025-08-12 18:38:59,201 - INFO - Domain Default found not creating 2025-08-12 18:38:59,331 - INFO - Project ctest-TestPorts-53339790 not found, creating it 2025-08-12 18:38:59,783 - INFO - Created Project:ctest-TestPorts-53339790, ID : 2eb7e1c6-a8ea-4e37-ab8a-e3b9c54acdcf 2025-08-12 18:39:01,225 - INFO - ================================================================================ 2025-08-12 18:39:01,225 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 18:39:01,226 - 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-12 18:39:01,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-12 18:39:01,486 - INFO - Initial checks done. Running the testcase now 2025-08-12 18:39:01,486 - INFO - 2025-08-12 18:39:02,036 - DEBUG - Response for create_network : {'network': {'id': '5573eddb-e785-415a-8d7b-af7c8d7859e4', 'name': 'ctest-vn-01072909', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53339790', 'ctest-vn-01072909'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:39:02,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd25ed7bd-f027-40f9-a3a0-7cef2cffdb82', 'name': '', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '5573eddb-e785-415a-8d7b-af7c8d7859e4', 'ip_version': 4, 'cidr': '120.188.197.192/26', 'allocation_pools': [{'start': '120.188.197.194', 'end': '120.188.197.254'}], 'gateway_ip': '120.188.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.188.197.194', 'tags': [], 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:02,258 - INFO - Created VN ctest-vn-01072909 2025-08-12 18:39:02,308 - DEBUG - VN ctest-vn-01072909 UUID is 5573eddb-e785-415a-8d7b-af7c8d7859e4 2025-08-12 18:39:02,402 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53339790', 'ctest-vmi-34528329']} 2025-08-12 18:39:02,677 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34528329', 'id': '0654c693-0510-44e6-9975-0bab9d8cabb3', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '5573eddb-e785-415a-8d7b-af7c8d7859e4', 'mac_address': '02:06:54:c6:93:05', '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': '120.188.197.195', 'subnet_id': 'd25ed7bd-f027-40f9-a3a0-7cef2cffdb82'}], 'security_groups': ['ed500367-e5a8-43d1-a735-869c1e4a28f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:02,677 - DEBUG - Created port 0654c693-0510-44e6-9975-0bab9d8cabb3 2025-08-12 18:39:02,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0654c693-0510-44e6-9975-0bab9d8cabb3 2025-08-12 18:39:03,067 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0654c693-0510-44e6-9975-0bab9d8cabb3 2025-08-12 18:39:03,097 - INFO - VMI 0654c693-0510-44e6-9975-0bab9d8cabb3 verification in API Server passed 2025-08-12 18:39:03,174 - DEBUG - Response for delete_port : () 2025-08-12 18:39:03,174 - INFO - Deleted port 0654c693-0510-44e6-9975-0bab9d8cabb3 2025-08-12 18:39:03,174 - INFO - Deleting VN ctest-vn-01072909 2025-08-12 18:39:03,261 - DEBUG - Response for deleting network () 2025-08-12 18:39:03,520 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 18:39:03,520 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 18:39:03,520 - INFO - -------------------------------------------------------------------------------- 2025-08-12 18:39:03,523 - INFO - ================================================================================ 2025-08-12 18:39:03,523 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 18:39:03,523 - 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-12 18:39:03,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-12 18:39:03,804 - INFO - Initial checks done. Running the testcase now 2025-08-12 18:39:03,804 - INFO - 2025-08-12 18:39:03,961 - DEBUG - Response for create_network : {'network': {'id': '3e1e539b-3230-413d-abfd-b9d9fd395feb', 'name': 'ctest-vn1-33891266', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53339790', 'ctest-vn1-33891266'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:39:04,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a1f9323-3a74-425e-83b1-39a5ef2bbc0d', 'name': '', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '3e1e539b-3230-413d-abfd-b9d9fd395feb', 'ip_version': 4, 'cidr': '61.139.67.64/26', 'allocation_pools': [{'start': '61.139.67.66', 'end': '61.139.67.126'}], 'gateway_ip': '61.139.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.139.67.66', 'tags': [], 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:04,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd817f4e-0810-49ab-91a1-811bbb0d8a50', 'name': '', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '3e1e539b-3230-413d-abfd-b9d9fd395feb', 'ip_version': 4, 'cidr': '70.236.195.64/26', 'allocation_pools': [{'start': '70.236.195.66', 'end': '70.236.195.126'}], 'gateway_ip': '70.236.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.236.195.66', 'tags': [], 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:04,320 - INFO - Created VN ctest-vn1-33891266 2025-08-12 18:39:04,372 - DEBUG - VN ctest-vn1-33891266 UUID is 3e1e539b-3230-413d-abfd-b9d9fd395feb 2025-08-12 18:39:04,657 - DEBUG - Response for create_port : {'port': {'name': '67b6058c-d20f-4339-b98c-31d4c97e7b1e', 'id': '67b6058c-d20f-4339-b98c-31d4c97e7b1e', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '3e1e539b-3230-413d-abfd-b9d9fd395feb', 'mac_address': '02:67:b6:05:8c:d2', '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': '61.139.67.69', 'subnet_id': '1a1f9323-3a74-425e-83b1-39a5ef2bbc0d'}], 'security_groups': ['ed500367-e5a8-43d1-a735-869c1e4a28f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:04,827 - DEBUG - Response for create_port : {'port': {'name': 'ca38c4ca-ada6-4b78-b3ee-32111b1abbc6', 'id': 'ca38c4ca-ada6-4b78-b3ee-32111b1abbc6', 'tenant_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf', 'network_id': '3e1e539b-3230-413d-abfd-b9d9fd395feb', 'mac_address': '02:ca:38:c4:ca:ad', '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': '70.236.195.69', 'subnet_id': 'fd817f4e-0810-49ab-91a1-811bbb0d8a50'}], 'security_groups': ['ed500367-e5a8-43d1-a735-869c1e4a28f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2eb7e1c6a8ea4e37ab8ae3b9c54acdcf'}} 2025-08-12 18:39:04,875 - DEBUG - Services list from nova: [, , ] 2025-08-12 18:39:05,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:39:05,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:39:05,463 - INFO - Waiting for VM ctest-vn1-vm1-52713872 to be up.. 2025-08-12 18:39:05,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 18:39:10,570 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:39:10,570 - INFO - VM name : ctest-vn1-vm1-52713872 2025-08-12 18:39:10,640 - DEBUG - VM ctest-vn1-vm1-52713872 ID is 53cf3f35-a093-42a3-91dc-2e280b98df7d 2025-08-12 18:39:10,658 - DEBUG - VM ctest-vn1-vm1-52713872 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:39:10,722 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/53cf3f35-a093-42a3-91dc-2e280b98df7d 2025-08-12 18:39:10,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/67b6058c-d20f-4339-b98c-31d4c97e7b1e 2025-08-12 18:39:13,980 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-08-12 18:39:13,980 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52713872 failed! 2025-08-12 18:39:14,040 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53339790:ctest-vn1-33891266 is 61.139.67.65 and allocation pool is NOT set 2025-08-12 18:39:14,040 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53339790:ctest-vn1-33891266 is 70.236.195.65 and allocation pool is NOT set 2025-08-12 18:39:16,094 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.795/3.180/1.385 ms') 2025-08-12 18:39:16,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52713872 passed 2025-08-12 18:39:16,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:16,252 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52713872, IP 61.139.67.69, Port 22 2025-08-12 18:39:16,411 - DEBUG - VM ctest-vn1-vm1-52713872 is ready for SSH connections 2025-08-12 18:39:16,412 - INFO - Waiting for VM ctest-vn1-vm2-58545417 to be up.. 2025-08-12 18:39:16,490 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:39:16,490 - INFO - VM name : ctest-vn1-vm2-58545417 2025-08-12 18:39:16,553 - DEBUG - VM ctest-vn1-vm2-58545417 ID is e897ca6c-76b1-4fdd-a33f-fbc1fbce46a0 2025-08-12 18:39:16,553 - DEBUG - VM ctest-vn1-vm2-58545417 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:39:16,615 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e897ca6c-76b1-4fdd-a33f-fbc1fbce46a0 2025-08-12 18:39:16,622 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ca38c4ca-ada6-4b78-b3ee-32111b1abbc6 2025-08-12 18:39:17,864 - 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=2.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.459/2.540/1.080 ms') 2025-08-12 18:39:17,864 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-58545417 passed 2025-08-12 18:39:18,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:18,016 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58545417, IP 70.236.195.69, Port 22 2025-08-12 18:39:18,167 - DEBUG - VM ctest-vn1-vm2-58545417 is ready for SSH connections 2025-08-12 18:39:18,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:18,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:18,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:18,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.67.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:18,167 - DEBUG - ping -s 56 -c 3 -W 1 61.139.67.69 2025-08-12 18:39:21,814 - DEBUG - PING 61.139.67.69 (61.139.67.69): 56 data bytes 64 bytes from 61.139.67.69: seq=0 ttl=63 time=3.993 ms 64 bytes from 61.139.67.69: seq=1 ttl=63 time=0.719 ms 64 bytes from 61.139.67.69: seq=2 ttl=63 time=0.847 ms --- 61.139.67.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.853/3.993 ms 2025-08-12 18:39:21,814 - INFO - Ping to IP 61.139.67.69 from VM ctest-vn1-vm2-58545417 passed 2025-08-12 18:39:21,814 - INFO - Detaching port ca38c4ca-ada6-4b78-b3ee-32111b1abbc6 from VM ctest-vn1-vm2-58545417 2025-08-12 18:39:21,865 - INFO - Deleting VM ctest-vn1-vm2-58545417 2025-08-12 18:39:21,926 - INFO - Detaching port 67b6058c-d20f-4339-b98c-31d4c97e7b1e from VM ctest-vn1-vm1-52713872 2025-08-12 18:39:21,954 - INFO - Deleting VM ctest-vn1-vm1-52713872 2025-08-12 18:39:22,167 - DEBUG - Response for delete_port : () 2025-08-12 18:39:22,340 - DEBUG - Response for delete_port : () 2025-08-12 18:39:22,340 - INFO - Deleting VN ctest-vn1-33891266 2025-08-12 18:39:22,490 - DEBUG - Response for deleting network () 2025-08-12 18:39:22,749 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 18:39:22,749 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-12 18:39:22,749 - INFO - -------------------------------------------------------------------------------- 2025-08-12 18:39:23,437 - INFO - Deleted project: ctest-TestPorts-53339790, ID : 2eb7e1c6-a8ea-4e37-ab8a-e3b9c54acdcf