2025-11-18 14:45:41,378 - INFO - Domain Default found not creating 2025-11-18 14:45:41,591 - INFO - Project ctest-TestPorts-92132016 not found, creating it 2025-11-18 14:45:42,090 - INFO - Created Project:ctest-TestPorts-92132016, ID : 2138543e-542f-4eb8-b064-3ccd38efcc04 2025-11-18 14:45:44,097 - INFO - ================================================================================ 2025-11-18 14:45:44,097 - INFO - STARTING TEST : test_ports_bindings 2025-11-18 14:45:44,097 - 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-18 14:45:44,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-11-18 14:45:44,371 - INFO - Initial checks done. Running the testcase now 2025-11-18 14:45:44,371 - INFO - 2025-11-18 14:45:45,003 - DEBUG - Response for create_network : {'network': {'id': 'f5b9061f-9923-4715-b995-5408e1cf5ee3', 'name': 'ctest-vn-39180899', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'project_id': '2138543e542f4eb8b0643ccd38efcc04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92132016', 'ctest-vn-39180899'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:45:45,236 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd39d552c-7235-4995-977a-ff9d4838e2ed', 'name': '', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'f5b9061f-9923-4715-b995-5408e1cf5ee3', 'ip_version': 4, 'cidr': '86.106.207.64/26', 'allocation_pools': [{'start': '86.106.207.66', 'end': '86.106.207.126'}], 'gateway_ip': '86.106.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.106.207.66', 'tags': [], 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:45,257 - INFO - Created VN ctest-vn-39180899 2025-11-18 14:45:45,314 - DEBUG - VN ctest-vn-39180899 UUID is f5b9061f-9923-4715-b995-5408e1cf5ee3 2025-11-18 14:45:45,433 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92132016', 'ctest-vmi-11553101']} 2025-11-18 14:45:45,709 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11553101', 'id': 'a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'f5b9061f-9923-4715-b995-5408e1cf5ee3', 'mac_address': '02:a1:c3:f0:df:30', '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': '86.106.207.67', 'subnet_id': 'd39d552c-7235-4995-977a-ff9d4838e2ed'}], 'security_groups': ['53424bfe-d2f2-47e2-9e6c-53f6a6be691d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:45,709 - DEBUG - Created port a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7 2025-11-18 14:45:45,818 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7 2025-11-18 14:45:46,118 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7 2025-11-18 14:45:46,155 - INFO - VMI a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7 verification in API Server passed 2025-11-18 14:45:46,253 - DEBUG - Response for delete_port : () 2025-11-18 14:45:46,253 - INFO - Deleted port a1c3f0df-30a4-4ef3-8b90-a7bd9e9266b7 2025-11-18 14:45:46,253 - INFO - Deleting VN ctest-vn-39180899 2025-11-18 14:45:46,372 - DEBUG - Response for deleting network () 2025-11-18 14:45:46,636 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 14:45:46,636 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-18 14:45:46,636 - INFO - -------------------------------------------------------------------------------- 2025-11-18 14:45:46,638 - INFO - ================================================================================ 2025-11-18 14:45:46,638 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-18 14:45:46,638 - 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-18 14:45:46,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-11-18 14:45:46,936 - INFO - Initial checks done. Running the testcase now 2025-11-18 14:45:46,937 - INFO - 2025-11-18 14:45:47,149 - DEBUG - Response for create_network : {'network': {'id': 'de2ff261-02e8-40bf-8fb7-0d795ee5857f', 'name': 'ctest-vn1-46424565', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'project_id': '2138543e542f4eb8b0643ccd38efcc04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92132016', 'ctest-vn1-46424565'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:45:47,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '36bb0647-62c8-4064-99c8-152449af8f65', 'name': '', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'de2ff261-02e8-40bf-8fb7-0d795ee5857f', 'ip_version': 4, 'cidr': '49.43.240.192/26', 'allocation_pools': [{'start': '49.43.240.194', 'end': '49.43.240.254'}], 'gateway_ip': '49.43.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.43.240.194', 'tags': [], 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:47,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb44aa06-925c-493b-8ba9-69e690431d27', 'name': '', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'de2ff261-02e8-40bf-8fb7-0d795ee5857f', 'ip_version': 4, 'cidr': '20.33.91.64/26', 'allocation_pools': [{'start': '20.33.91.66', 'end': '20.33.91.126'}], 'gateway_ip': '20.33.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.33.91.66', 'tags': [], 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:47,601 - INFO - Created VN ctest-vn1-46424565 2025-11-18 14:45:47,658 - DEBUG - VN ctest-vn1-46424565 UUID is de2ff261-02e8-40bf-8fb7-0d795ee5857f 2025-11-18 14:45:48,060 - DEBUG - Response for create_port : {'port': {'name': '7f73a121-e59d-46ab-b1bd-dfada99db9f7', 'id': '7f73a121-e59d-46ab-b1bd-dfada99db9f7', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'de2ff261-02e8-40bf-8fb7-0d795ee5857f', 'mac_address': '02:7f:73:a1:21:e5', '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.43.240.197', 'subnet_id': '36bb0647-62c8-4064-99c8-152449af8f65'}], 'security_groups': ['53424bfe-d2f2-47e2-9e6c-53f6a6be691d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:48,261 - DEBUG - Response for create_port : {'port': {'name': '1626d7bc-5cac-4b28-a833-d543c44a5455', 'id': '1626d7bc-5cac-4b28-a833-d543c44a5455', 'tenant_id': '2138543e542f4eb8b0643ccd38efcc04', 'network_id': 'de2ff261-02e8-40bf-8fb7-0d795ee5857f', 'mac_address': '02:16:26:d7:bc:5c', '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': '20.33.91.69', 'subnet_id': 'cb44aa06-925c-493b-8ba9-69e690431d27'}], 'security_groups': ['53424bfe-d2f2-47e2-9e6c-53f6a6be691d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2138543e542f4eb8b0643ccd38efcc04'}} 2025-11-18 14:45:48,330 - DEBUG - Services list from nova: [, , ] 2025-11-18 14:45:48,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:45:49,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:45:49,195 - INFO - Waiting for VM ctest-vn1-vm1-55632909 to be up.. 2025-11-18 14:45:49,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 14:45:54,332 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:45:54,332 - INFO - VM name : ctest-vn1-vm1-55632909 2025-11-18 14:45:54,427 - DEBUG - VM ctest-vn1-vm1-55632909 ID is 8a474a1e-fc68-4b81-afe2-c49c098aaf8f 2025-11-18 14:45:54,450 - DEBUG - VM ctest-vn1-vm1-55632909 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:45:54,538 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8a474a1e-fc68-4b81-afe2-c49c098aaf8f 2025-11-18 14:45:54,548 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f73a121-e59d-46ab-b1bd-dfada99db9f7 2025-11-18 14:45:57,814 - 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 1021ms') 2025-11-18 14:45:57,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55632909 failed! 2025-11-18 14:45:57,878 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92132016:ctest-vn1-46424565 is 49.43.240.193 and allocation pool is NOT set 2025-11-18 14:45:57,878 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92132016:ctest-vn1-46424565 is 20.33.91.65 and allocation pool is NOT set 2025-11-18 14:46:01,977 - 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.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1034ms\r\nrtt min/avg/max/mdev = 10.544/10.544/10.544/0.000 ms') 2025-11-18 14:46:01,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55632909 passed 2025-11-18 14:46:02,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:02,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55632909, IP 49.43.240.197, Port 22 2025-11-18 14:46:02,302 - DEBUG - VM ctest-vn1-vm1-55632909 is ready for SSH connections 2025-11-18 14:46:02,302 - INFO - Waiting for VM ctest-vn1-vm2-44580870 to be up.. 2025-11-18 14:46:02,392 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:46:02,392 - INFO - VM name : ctest-vn1-vm2-44580870 2025-11-18 14:46:02,482 - DEBUG - VM ctest-vn1-vm2-44580870 ID is a6fc2664-83c2-4bf1-963f-bf9d9a17c108 2025-11-18 14:46:02,483 - DEBUG - VM ctest-vn1-vm2-44580870 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:46:02,584 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a6fc2664-83c2-4bf1-963f-bf9d9a17c108 2025-11-18 14:46:02,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1626d7bc-5cac-4b28-a833-d543c44a5455 2025-11-18 14:46:03,850 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.978 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.978/2.776/4.575/1.798 ms') 2025-11-18 14:46:03,851 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44580870 passed 2025-11-18 14:46:04,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:04,010 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44580870, IP 20.33.91.69, Port 22 2025-11-18 14:46:04,170 - DEBUG - VM ctest-vn1-vm2-44580870 is ready for SSH connections 2025-11-18 14:46:04,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:04,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:04,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:04,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.43.240.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:04,171 - DEBUG - ping -s 56 -c 3 -W 1 49.43.240.197 2025-11-18 14:46:06,874 - DEBUG - PING 49.43.240.197 (49.43.240.197): 56 data bytes 64 bytes from 49.43.240.197: seq=0 ttl=63 time=4.262 ms 64 bytes from 49.43.240.197: seq=1 ttl=63 time=0.977 ms 64 bytes from 49.43.240.197: seq=2 ttl=63 time=1.180 ms --- 49.43.240.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.139/4.262 ms 2025-11-18 14:46:06,874 - INFO - Ping to IP 49.43.240.197 from VM ctest-vn1-vm2-44580870 passed 2025-11-18 14:46:06,874 - INFO - Detaching port 1626d7bc-5cac-4b28-a833-d543c44a5455 from VM ctest-vn1-vm2-44580870 2025-11-18 14:46:06,930 - INFO - Deleting VM ctest-vn1-vm2-44580870 2025-11-18 14:46:07,016 - INFO - Detaching port 7f73a121-e59d-46ab-b1bd-dfada99db9f7 from VM ctest-vn1-vm1-55632909 2025-11-18 14:46:07,056 - INFO - Deleting VM ctest-vn1-vm1-55632909 2025-11-18 14:46:07,325 - DEBUG - Response for delete_port : () 2025-11-18 14:46:07,544 - DEBUG - Response for delete_port : () 2025-11-18 14:46:07,544 - INFO - Deleting VN ctest-vn1-46424565 2025-11-18 14:46:07,746 - DEBUG - Response for deleting network () 2025-11-18 14:46:08,007 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 14:46:08,007 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-11-18 14:46:08,007 - INFO - -------------------------------------------------------------------------------- 2025-11-18 14:46:08,780 - INFO - Deleted project: ctest-TestPorts-92132016, ID : 2138543e-542f-4eb8-b064-3ccd38efcc04