2025-10-09 21:03:59,205 - INFO - Domain Default found not creating 2025-10-09 21:03:59,356 - INFO - Project ctest-TestPorts-74052731 not found, creating it 2025-10-09 21:03:59,830 - INFO - Created Project:ctest-TestPorts-74052731, ID : fd99392d-90f3-49ae-ab68-300152f1ff3d 2025-10-09 21:04:01,508 - INFO - ================================================================================ 2025-10-09 21:04:01,508 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 21:04:01,508 - 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-10-09 21:04:01,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with 2025-10-09 21:04:01,775 - INFO - Initial checks done. Running the testcase now 2025-10-09 21:04:01,775 - INFO - 2025-10-09 21:04:02,399 - DEBUG - Response for create_network : {'network': {'id': '8fc8906e-de52-4a7f-b2ef-8d178ac30f4c', 'name': 'ctest-vn-44438690', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'project_id': 'fd99392d90f349aeab68300152f1ff3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74052731', 'ctest-vn-44438690'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:04:02,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e7d769c-83c3-42be-b753-84451a6135b6', 'name': '', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '8fc8906e-de52-4a7f-b2ef-8d178ac30f4c', 'ip_version': 4, 'cidr': '136.116.135.0/26', 'allocation_pools': [{'start': '136.116.135.2', 'end': '136.116.135.62'}], 'gateway_ip': '136.116.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.116.135.2', 'tags': [], 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:02,605 - INFO - Created VN ctest-vn-44438690 2025-10-09 21:04:02,658 - DEBUG - VN ctest-vn-44438690 UUID is 8fc8906e-de52-4a7f-b2ef-8d178ac30f4c 2025-10-09 21:04:02,774 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74052731', 'ctest-vmi-04990443']} 2025-10-09 21:04:03,033 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04990443', 'id': '7f01c2ef-159f-41ad-bd47-d0ac67631fc5', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '8fc8906e-de52-4a7f-b2ef-8d178ac30f4c', 'mac_address': '02:7f:01:c2:ef:15', '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': '136.116.135.3', 'subnet_id': '2e7d769c-83c3-42be-b753-84451a6135b6'}], 'security_groups': ['95561afb-7a4b-4083-8558-42c7f4bf0611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:03,033 - DEBUG - Created port 7f01c2ef-159f-41ad-bd47-d0ac67631fc5 2025-10-09 21:04:03,145 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f01c2ef-159f-41ad-bd47-d0ac67631fc5 2025-10-09 21:04:03,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f01c2ef-159f-41ad-bd47-d0ac67631fc5 2025-10-09 21:04:03,517 - INFO - VMI 7f01c2ef-159f-41ad-bd47-d0ac67631fc5 verification in API Server passed 2025-10-09 21:04:03,611 - DEBUG - Response for delete_port : () 2025-10-09 21:04:03,611 - INFO - Deleted port 7f01c2ef-159f-41ad-bd47-d0ac67631fc5 2025-10-09 21:04:03,611 - INFO - Deleting VN ctest-vn-44438690 2025-10-09 21:04:03,726 - DEBUG - Response for deleting network () 2025-10-09 21:04:03,997 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 21:04:03,997 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-09 21:04:03,997 - INFO - -------------------------------------------------------------------------------- 2025-10-09 21:04:03,999 - INFO - ================================================================================ 2025-10-09 21:04:03,999 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 21:04:03,999 - 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-10-09 21:04:04,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with 2025-10-09 21:04:04,284 - INFO - Initial checks done. Running the testcase now 2025-10-09 21:04:04,284 - INFO - 2025-10-09 21:04:04,474 - DEBUG - Response for create_network : {'network': {'id': '2258a90d-339f-45d7-9d47-5902b73358f3', 'name': 'ctest-vn1-91664542', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'project_id': 'fd99392d90f349aeab68300152f1ff3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74052731', 'ctest-vn1-91664542'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:04:04,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '70603182-dff0-46bd-a507-f7439868ee31', 'name': '', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '2258a90d-339f-45d7-9d47-5902b73358f3', 'ip_version': 4, 'cidr': '39.205.99.128/26', 'allocation_pools': [{'start': '39.205.99.130', 'end': '39.205.99.190'}], 'gateway_ip': '39.205.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.205.99.130', 'tags': [], 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:04,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b09b62d-6553-47ad-b0db-5ec2508638c8', 'name': '', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '2258a90d-339f-45d7-9d47-5902b73358f3', 'ip_version': 4, 'cidr': '143.101.191.0/26', 'allocation_pools': [{'start': '143.101.191.2', 'end': '143.101.191.62'}], 'gateway_ip': '143.101.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.101.191.2', 'tags': [], 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:04,894 - INFO - Created VN ctest-vn1-91664542 2025-10-09 21:04:04,949 - DEBUG - VN ctest-vn1-91664542 UUID is 2258a90d-339f-45d7-9d47-5902b73358f3 2025-10-09 21:04:05,257 - DEBUG - Response for create_port : {'port': {'name': '696701a9-e9be-427f-b747-6c8e63ebe991', 'id': '696701a9-e9be-427f-b747-6c8e63ebe991', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '2258a90d-339f-45d7-9d47-5902b73358f3', 'mac_address': '02:69:67:01:a9:e9', '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': '39.205.99.133', 'subnet_id': '70603182-dff0-46bd-a507-f7439868ee31'}], 'security_groups': ['95561afb-7a4b-4083-8558-42c7f4bf0611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:05,440 - DEBUG - Response for create_port : {'port': {'name': 'd1560aa2-9b99-4945-809e-c6c585dce60b', 'id': 'd1560aa2-9b99-4945-809e-c6c585dce60b', 'tenant_id': 'fd99392d90f349aeab68300152f1ff3d', 'network_id': '2258a90d-339f-45d7-9d47-5902b73358f3', 'mac_address': '02:d1:56:0a:a2:9b', '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.101.191.5', 'subnet_id': '0b09b62d-6553-47ad-b0db-5ec2508638c8'}], 'security_groups': ['95561afb-7a4b-4083-8558-42c7f4bf0611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fd99392d90f349aeab68300152f1ff3d'}} 2025-10-09 21:04:05,504 - DEBUG - Services list from nova: [, , ] 2025-10-09 21:04:05,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:04:06,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:04:06,270 - INFO - Waiting for VM ctest-vn1-vm1-52472029 to be up.. 2025-10-09 21:04:06,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 21:04:11,396 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:04:11,396 - INFO - VM name : ctest-vn1-vm1-52472029 2025-10-09 21:04:11,478 - DEBUG - VM ctest-vn1-vm1-52472029 ID is 37a46aec-7649-43c2-8095-5c544490ef69 2025-10-09 21:04:11,498 - DEBUG - VM ctest-vn1-vm1-52472029 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:04:11,574 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/37a46aec-7649-43c2-8095-5c544490ef69 2025-10-09 21:04:11,584 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/696701a9-e9be-427f-b747-6c8e63ebe991 2025-10-09 21:04:14,838 - 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 1006ms') 2025-10-09 21:04:14,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52472029 failed! 2025-10-09 21:04:14,902 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74052731:ctest-vn1-91664542 is 39.205.99.129 and allocation pool is NOT set 2025-10-09 21:04:14,902 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74052731:ctest-vn1-91664542 is 143.101.191.1 and allocation pool is NOT set 2025-10-09 21:04:18,992 - 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=10.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 10.647/10.647/10.647/0.000 ms') 2025-10-09 21:04:18,992 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52472029 passed 2025-10-09 21:04:19,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:19,141 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52472029, IP 39.205.99.133, Port 22 2025-10-09 21:04:19,297 - DEBUG - VM ctest-vn1-vm1-52472029 is ready for SSH connections 2025-10-09 21:04:19,297 - INFO - Waiting for VM ctest-vn1-vm2-86324593 to be up.. 2025-10-09 21:04:19,385 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:04:19,385 - INFO - VM name : ctest-vn1-vm2-86324593 2025-10-09 21:04:19,460 - DEBUG - VM ctest-vn1-vm2-86324593 ID is be5bd6c7-4ff1-4179-96e5-fbf6bd2444f7 2025-10-09 21:04:19,460 - DEBUG - VM ctest-vn1-vm2-86324593 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:04:19,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/be5bd6c7-4ff1-4179-96e5-fbf6bd2444f7 2025-10-09 21:04:19,548 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d1560aa2-9b99-4945-809e-c6c585dce60b 2025-10-09 21:04:20,798 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.225/2.994/4.763/1.769 ms') 2025-10-09 21:04:20,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86324593 passed 2025-10-09 21:04:20,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:20,945 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86324593, IP 143.101.191.5, Port 22 2025-10-09 21:04:21,101 - DEBUG - VM ctest-vn1-vm2-86324593 is ready for SSH connections 2025-10-09 21:04:21,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:21,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:21,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:21,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.205.99.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:04:21,102 - DEBUG - ping -s 56 -c 3 -W 1 39.205.99.133 2025-10-09 21:04:23,810 - DEBUG - PING 39.205.99.133 (39.205.99.133): 56 data bytes 64 bytes from 39.205.99.133: seq=0 ttl=63 time=3.845 ms 64 bytes from 39.205.99.133: seq=1 ttl=63 time=0.946 ms 64 bytes from 39.205.99.133: seq=2 ttl=63 time=0.872 ms --- 39.205.99.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.887/3.845 ms 2025-10-09 21:04:23,810 - INFO - Ping to IP 39.205.99.133 from VM ctest-vn1-vm2-86324593 passed 2025-10-09 21:04:23,810 - INFO - Detaching port d1560aa2-9b99-4945-809e-c6c585dce60b from VM ctest-vn1-vm2-86324593 2025-10-09 21:04:23,862 - INFO - Deleting VM ctest-vn1-vm2-86324593 2025-10-09 21:04:23,932 - INFO - Detaching port 696701a9-e9be-427f-b747-6c8e63ebe991 from VM ctest-vn1-vm1-52472029 2025-10-09 21:04:23,968 - INFO - Deleting VM ctest-vn1-vm1-52472029 2025-10-09 21:04:24,218 - DEBUG - Response for delete_port : () 2025-10-09 21:04:24,427 - DEBUG - Response for delete_port : () 2025-10-09 21:04:24,427 - INFO - Deleting VN ctest-vn1-91664542 2025-10-09 21:04:24,564 - DEBUG - Response for deleting network () 2025-10-09 21:04:24,823 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 21:04:24,823 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-09 21:04:24,823 - INFO - -------------------------------------------------------------------------------- 2025-10-09 21:04:25,552 - INFO - Deleted project: ctest-TestPorts-74052731, ID : fd99392d-90f3-49ae-ab68-300152f1ff3d