2025-12-03 12:38:56,882 - INFO - Domain Default found not creating 2025-12-03 12:38:57,144 - INFO - Project ctest-TestPorts-04984883 not found, creating it 2025-12-03 12:38:57,629 - INFO - Created Project:ctest-TestPorts-04984883, ID : ddd52a95-3104-4c30-b464-002591b23282 2025-12-03 12:38:59,321 - INFO - ================================================================================ 2025-12-03 12:38:59,321 - INFO - STARTING TEST : test_ports_bindings 2025-12-03 12:38:59,322 - 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-12-03 12:38:59,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 12:38:59,577 - INFO - Initial checks done. Running the testcase now 2025-12-03 12:38:59,577 - INFO - 2025-12-03 12:39:00,203 - DEBUG - Response for create_network : {'network': {'id': 'd1f4db79-e771-499b-ab3d-d9b94ff5194d', 'name': 'ctest-vn-89105352', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'project_id': 'ddd52a9531044c30b464002591b23282', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04984883', 'ctest-vn-89105352'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:39:00,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '3256e600-11b4-4d28-882b-9c68dfe45763', 'name': '', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': 'd1f4db79-e771-499b-ab3d-d9b94ff5194d', 'ip_version': 4, 'cidr': '49.204.69.64/26', 'allocation_pools': [{'start': '49.204.69.66', 'end': '49.204.69.126'}], 'gateway_ip': '49.204.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.204.69.66', 'tags': [], 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:00,411 - INFO - Created VN ctest-vn-89105352 2025-12-03 12:39:00,463 - DEBUG - VN ctest-vn-89105352 UUID is d1f4db79-e771-499b-ab3d-d9b94ff5194d 2025-12-03 12:39:00,577 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04984883', 'ctest-vmi-00211298']} 2025-12-03 12:39:00,864 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00211298', 'id': '8045d3ef-b42d-4bc0-b323-fa1591acdaeb', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': 'd1f4db79-e771-499b-ab3d-d9b94ff5194d', 'mac_address': '02:80:45:d3:ef:b4', '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': '49.204.69.67', 'subnet_id': '3256e600-11b4-4d28-882b-9c68dfe45763'}], 'security_groups': ['933ced8c-e3ab-4278-9a29-39414a033188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:00,864 - DEBUG - Created port 8045d3ef-b42d-4bc0-b323-fa1591acdaeb 2025-12-03 12:39:00,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8045d3ef-b42d-4bc0-b323-fa1591acdaeb 2025-12-03 12:39:01,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8045d3ef-b42d-4bc0-b323-fa1591acdaeb 2025-12-03 12:39:01,345 - INFO - VMI 8045d3ef-b42d-4bc0-b323-fa1591acdaeb verification in API Server passed 2025-12-03 12:39:01,442 - DEBUG - Response for delete_port : () 2025-12-03 12:39:01,443 - INFO - Deleted port 8045d3ef-b42d-4bc0-b323-fa1591acdaeb 2025-12-03 12:39:01,443 - INFO - Deleting VN ctest-vn-89105352 2025-12-03 12:39:01,551 - DEBUG - Response for deleting network () 2025-12-03 12:39:01,805 - DEBUG - No XMPP flaps were noticed during the test 2025-12-03 12:39:01,805 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-12-03 12:39:01,805 - INFO - -------------------------------------------------------------------------------- 2025-12-03 12:39:01,807 - INFO - ================================================================================ 2025-12-03 12:39:01,807 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-03 12:39:01,807 - 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-12-03 12:39:02,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 12:39:02,112 - INFO - Initial checks done. Running the testcase now 2025-12-03 12:39:02,113 - INFO - 2025-12-03 12:39:02,306 - DEBUG - Response for create_network : {'network': {'id': '77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79', 'name': 'ctest-vn1-65549318', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'project_id': 'ddd52a9531044c30b464002591b23282', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04984883', 'ctest-vn1-65549318'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:39:02,510 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf77e57b-2f8a-43b8-abde-ff47217d8943', 'name': '', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': '77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79', 'ip_version': 4, 'cidr': '124.135.27.192/26', 'allocation_pools': [{'start': '124.135.27.194', 'end': '124.135.27.254'}], 'gateway_ip': '124.135.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.135.27.194', 'tags': [], 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:02,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '797d01a8-34c2-44a9-bfa0-c4efa3490be8', 'name': '', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': '77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79', 'ip_version': 4, 'cidr': '150.203.251.192/26', 'allocation_pools': [{'start': '150.203.251.194', 'end': '150.203.251.254'}], 'gateway_ip': '150.203.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.203.251.194', 'tags': [], 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:02,724 - INFO - Created VN ctest-vn1-65549318 2025-12-03 12:39:02,775 - DEBUG - VN ctest-vn1-65549318 UUID is 77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79 2025-12-03 12:39:03,140 - DEBUG - Response for create_port : {'port': {'name': '5b84b1c0-d55e-420e-be2c-e3709651041c', 'id': '5b84b1c0-d55e-420e-be2c-e3709651041c', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': '77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79', 'mac_address': '02:5b:84:b1:c0:d5', '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': '124.135.27.197', 'subnet_id': 'bf77e57b-2f8a-43b8-abde-ff47217d8943'}], 'security_groups': ['933ced8c-e3ab-4278-9a29-39414a033188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:03,319 - DEBUG - Response for create_port : {'port': {'name': 'de7bde33-ea49-4e10-b149-65c123f81eed', 'id': 'de7bde33-ea49-4e10-b149-65c123f81eed', 'tenant_id': 'ddd52a9531044c30b464002591b23282', 'network_id': '77bb5ae4-0c6e-45e3-b53c-6b6e69d4fb79', 'mac_address': '02:de:7b:de:33:ea', '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': '150.203.251.197', 'subnet_id': '797d01a8-34c2-44a9-bfa0-c4efa3490be8'}], 'security_groups': ['933ced8c-e3ab-4278-9a29-39414a033188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddd52a9531044c30b464002591b23282'}} 2025-12-03 12:39:03,407 - DEBUG - Services list from nova: [, , ] 2025-12-03 12:39:03,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:39:04,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:39:04,269 - INFO - Waiting for VM ctest-vn1-vm1-94046058 to be up.. 2025-12-03 12:39:04,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 12:39:09,386 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:39:09,386 - INFO - VM name : ctest-vn1-vm1-94046058 2025-12-03 12:39:09,477 - DEBUG - VM ctest-vn1-vm1-94046058 ID is e19080fa-7cf1-46d9-bd31-75d030189c08 2025-12-03 12:39:09,502 - DEBUG - VM ctest-vn1-vm1-94046058 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:39:09,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e19080fa-7cf1-46d9-bd31-75d030189c08 2025-12-03 12:39:09,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b84b1c0-d55e-420e-be2c-e3709651041c 2025-12-03 12:39:12,857 - 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 1018ms') 2025-12-03 12:39:12,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94046058 failed! 2025-12-03 12:39:12,915 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04984883:ctest-vn1-65549318 is 124.135.27.193 and allocation pool is NOT set 2025-12-03 12:39:12,915 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04984883:ctest-vn1-65549318 is 150.203.251.193 and allocation pool is NOT set 2025-12-03 12:39:16,983 - 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=2 ttl=63 time=8.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.191/8.191/8.191/0.000 ms') 2025-12-03 12:39:16,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94046058 passed 2025-12-03 12:39:17,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:39:17,135 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94046058, IP 124.135.27.197, Port 22 2025-12-03 12:39:17,290 - DEBUG - VM ctest-vn1-vm1-94046058 is ready for SSH connections 2025-12-03 12:39:17,290 - INFO - Waiting for VM ctest-vn1-vm2-14429041 to be up.. 2025-12-03 12:39:17,373 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:39:17,373 - INFO - VM name : ctest-vn1-vm2-14429041 2025-12-03 12:39:17,449 - DEBUG - VM ctest-vn1-vm2-14429041 ID is af4bd0ea-b1a6-4b19-a055-035aa9c3a498 2025-12-03 12:39:17,449 - DEBUG - VM ctest-vn1-vm2-14429041 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:39:17,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af4bd0ea-b1a6-4b19-a055-035aa9c3a498 2025-12-03 12:39:17,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/de7bde33-ea49-4e10-b149-65c123f81eed 2025-12-03 12:39:18,786 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.864/3.270/1.406 ms') 2025-12-03 12:39:18,786 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14429041 passed 2025-12-03 12:39:18,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:39:18,939 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14429041, IP 150.203.251.197, Port 22 2025-12-03 12:39:19,098 - DEBUG - VM ctest-vn1-vm2-14429041 is ready for SSH connections 2025-12-03 12:39:19,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:39:19,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:39:19,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:39:19,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.135.27.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 12:39:19,099 - DEBUG - ping -s 56 -c 3 -W 1 124.135.27.197 2025-12-03 12:39:21,846 - DEBUG - PING 124.135.27.197 (124.135.27.197): 56 data bytes 64 bytes from 124.135.27.197: seq=0 ttl=63 time=4.354 ms 64 bytes from 124.135.27.197: seq=1 ttl=63 time=0.930 ms 64 bytes from 124.135.27.197: seq=2 ttl=63 time=0.949 ms --- 124.135.27.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.077/4.354 ms 2025-12-03 12:39:21,846 - INFO - Ping to IP 124.135.27.197 from VM ctest-vn1-vm2-14429041 passed 2025-12-03 12:39:21,846 - INFO - Detaching port de7bde33-ea49-4e10-b149-65c123f81eed from VM ctest-vn1-vm2-14429041 2025-12-03 12:39:21,923 - INFO - Deleting VM ctest-vn1-vm2-14429041 2025-12-03 12:39:22,013 - INFO - Detaching port 5b84b1c0-d55e-420e-be2c-e3709651041c from VM ctest-vn1-vm1-94046058 2025-12-03 12:39:22,051 - INFO - Deleting VM ctest-vn1-vm1-94046058 2025-12-03 12:39:22,293 - DEBUG - Response for delete_port : () 2025-12-03 12:39:22,459 - DEBUG - Response for delete_port : () 2025-12-03 12:39:22,459 - INFO - Deleting VN ctest-vn1-65549318 2025-12-03 12:39:22,607 - DEBUG - Response for deleting network () 2025-12-03 12:39:22,879 - DEBUG - No XMPP flaps were noticed during the test 2025-12-03 12:39:22,880 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-03 12:39:22,880 - INFO - -------------------------------------------------------------------------------- 2025-12-03 12:39:23,646 - INFO - Deleted project: ctest-TestPorts-04984883, ID : ddd52a95-3104-4c30-b464-002591b23282