2025-11-05 13:46:05,094 - INFO - Domain Default found not creating 2025-11-05 13:46:05,243 - INFO - Project ctest-TestPorts-08329714 not found, creating it 2025-11-05 13:46:05,683 - INFO - Created Project:ctest-TestPorts-08329714, ID : c42b872c-8c36-4ec4-a9e1-bfb138db9b8e 2025-11-05 13:46:07,409 - INFO - ================================================================================ 2025-11-05 13:46:07,409 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 13:46:07,409 - 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-05 13:46:07,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:46:07,664 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:46:07,664 - INFO - 2025-11-05 13:46:08,210 - DEBUG - Response for create_network : {'network': {'id': '6d12668b-5a28-45ff-8b60-aa2dc3976ec2', 'name': 'ctest-vn-41221885', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08329714', 'ctest-vn-41221885'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:46:08,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '505ba6e7-a795-437f-b148-41dc7d37e9bd', 'name': '', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': '6d12668b-5a28-45ff-8b60-aa2dc3976ec2', 'ip_version': 4, 'cidr': '65.207.104.0/26', 'allocation_pools': [{'start': '65.207.104.2', 'end': '65.207.104.62'}], 'gateway_ip': '65.207.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.207.104.2', 'tags': [], 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:08,398 - INFO - Created VN ctest-vn-41221885 2025-11-05 13:46:08,455 - DEBUG - VN ctest-vn-41221885 UUID is 6d12668b-5a28-45ff-8b60-aa2dc3976ec2 2025-11-05 13:46:08,568 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08329714', 'ctest-vmi-99536673']} 2025-11-05 13:46:08,852 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99536673', 'id': 'f6ab7bc0-b218-4900-96bd-c9f1c2a813c7', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': '6d12668b-5a28-45ff-8b60-aa2dc3976ec2', 'mac_address': '02:f6:ab:7b:c0:b2', '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': '65.207.104.3', 'subnet_id': '505ba6e7-a795-437f-b148-41dc7d37e9bd'}], 'security_groups': ['44c1b797-da73-468c-938f-f7c2c6240032'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:08,852 - DEBUG - Created port f6ab7bc0-b218-4900-96bd-c9f1c2a813c7 2025-11-05 13:46:08,954 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f6ab7bc0-b218-4900-96bd-c9f1c2a813c7 2025-11-05 13:46:09,255 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f6ab7bc0-b218-4900-96bd-c9f1c2a813c7 2025-11-05 13:46:09,285 - INFO - VMI f6ab7bc0-b218-4900-96bd-c9f1c2a813c7 verification in API Server passed 2025-11-05 13:46:09,376 - DEBUG - Response for delete_port : () 2025-11-05 13:46:09,377 - INFO - Deleted port f6ab7bc0-b218-4900-96bd-c9f1c2a813c7 2025-11-05 13:46:09,377 - INFO - Deleting VN ctest-vn-41221885 2025-11-05 13:46:09,482 - DEBUG - Response for deleting network () 2025-11-05 13:46:09,735 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 13:46:09,735 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-05 13:46:09,735 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:46:09,737 - INFO - ================================================================================ 2025-11-05 13:46:09,737 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 13:46:09,737 - 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-05 13:46:10,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:46:10,035 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:46:10,035 - INFO - 2025-11-05 13:46:10,225 - DEBUG - Response for create_network : {'network': {'id': 'f6ff6baf-1758-4dfb-94e6-207565000f54', 'name': 'ctest-vn1-01750578', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08329714', 'ctest-vn1-01750578'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:46:10,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0fa2ed5-d729-4327-b3cc-cafa644c9ab0', 'name': '', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': 'f6ff6baf-1758-4dfb-94e6-207565000f54', 'ip_version': 4, 'cidr': '218.138.94.0/26', 'allocation_pools': [{'start': '218.138.94.2', 'end': '218.138.94.62'}], 'gateway_ip': '218.138.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.138.94.2', 'tags': [], 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:10,621 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b979f47-dccb-46b8-a6d5-765494103fc8', 'name': '', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': 'f6ff6baf-1758-4dfb-94e6-207565000f54', 'ip_version': 4, 'cidr': '160.236.242.128/26', 'allocation_pools': [{'start': '160.236.242.130', 'end': '160.236.242.190'}], 'gateway_ip': '160.236.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.236.242.130', 'tags': [], 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:10,640 - INFO - Created VN ctest-vn1-01750578 2025-11-05 13:46:10,690 - DEBUG - VN ctest-vn1-01750578 UUID is f6ff6baf-1758-4dfb-94e6-207565000f54 2025-11-05 13:46:10,964 - DEBUG - Response for create_port : {'port': {'name': 'd176092b-ee5f-4818-bf06-eb7c0e0eed67', 'id': 'd176092b-ee5f-4818-bf06-eb7c0e0eed67', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': 'f6ff6baf-1758-4dfb-94e6-207565000f54', 'mac_address': '02:d1:76:09:2b:ee', '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': '218.138.94.5', 'subnet_id': 'c0fa2ed5-d729-4327-b3cc-cafa644c9ab0'}], 'security_groups': ['44c1b797-da73-468c-938f-f7c2c6240032'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:11,130 - DEBUG - Response for create_port : {'port': {'name': '74c14441-8821-48d6-a30a-7b8832c0b7ed', 'id': '74c14441-8821-48d6-a30a-7b8832c0b7ed', 'tenant_id': 'c42b872c8c364ec4a9e1bfb138db9b8e', 'network_id': 'f6ff6baf-1758-4dfb-94e6-207565000f54', 'mac_address': '02:74:c1:44:41:88', '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': '160.236.242.133', 'subnet_id': '7b979f47-dccb-46b8-a6d5-765494103fc8'}], 'security_groups': ['44c1b797-da73-468c-938f-f7c2c6240032'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c42b872c8c364ec4a9e1bfb138db9b8e'}} 2025-11-05 13:46:11,184 - DEBUG - Services list from nova: [, , ] 2025-11-05 13:46:11,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:46:11,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:46:11,916 - INFO - Waiting for VM ctest-vn1-vm1-72837425 to be up.. 2025-11-05 13:46:11,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 13:46:17,040 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:46:17,040 - INFO - VM name : ctest-vn1-vm1-72837425 2025-11-05 13:46:17,109 - DEBUG - VM ctest-vn1-vm1-72837425 ID is 6113a1dd-518e-4783-be56-313f0a8d2bcb 2025-11-05 13:46:17,128 - DEBUG - VM ctest-vn1-vm1-72837425 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:46:17,201 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6113a1dd-518e-4783-be56-313f0a8d2bcb 2025-11-05 13:46:17,209 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d176092b-ee5f-4818-bf06-eb7c0e0eed67 2025-11-05 13:46:20,460 - 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 1019ms') 2025-11-05 13:46:20,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72837425 failed! 2025-11-05 13:46:20,523 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08329714:ctest-vn1-01750578 is 218.138.94.1 and allocation pool is NOT set 2025-11-05 13:46:20,523 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08329714:ctest-vn1-01750578 is 160.236.242.129 and allocation pool is NOT set 2025-11-05 13:46:22,595 - 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=4.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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 = 1.485/3.087/4.689/1.602 ms') 2025-11-05 13:46:22,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72837425 passed 2025-11-05 13:46:22,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:22,743 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72837425, IP 218.138.94.5, Port 22 2025-11-05 13:46:22,910 - DEBUG - VM ctest-vn1-vm1-72837425 is ready for SSH connections 2025-11-05 13:46:22,910 - INFO - Waiting for VM ctest-vn1-vm2-02655718 to be up.. 2025-11-05 13:46:22,983 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:46:22,983 - INFO - VM name : ctest-vn1-vm2-02655718 2025-11-05 13:46:23,055 - DEBUG - VM ctest-vn1-vm2-02655718 ID is 59979b1e-1b6a-4539-8abf-e8c70bfe6a3c 2025-11-05 13:46:23,055 - DEBUG - VM ctest-vn1-vm2-02655718 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:46:23,141 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/59979b1e-1b6a-4539-8abf-e8c70bfe6a3c 2025-11-05 13:46:23,150 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/74c14441-8821-48d6-a30a-7b8832c0b7ed 2025-11-05 13:46:24,400 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.625 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 = 0.625/1.751/2.877/1.126 ms') 2025-11-05 13:46:24,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02655718 passed 2025-11-05 13:46:24,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:24,546 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02655718, IP 160.236.242.133, Port 22 2025-11-05 13:46:24,714 - DEBUG - VM ctest-vn1-vm2-02655718 is ready for SSH connections 2025-11-05 13:46:24,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:24,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:24,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:24,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.138.94.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:46:24,714 - DEBUG - ping -s 56 -c 3 -W 1 218.138.94.5 2025-11-05 13:46:27,355 - DEBUG - PING 218.138.94.5 (218.138.94.5): 56 data bytes 64 bytes from 218.138.94.5: seq=0 ttl=63 time=4.631 ms 64 bytes from 218.138.94.5: seq=1 ttl=63 time=1.090 ms 64 bytes from 218.138.94.5: seq=2 ttl=63 time=0.742 ms --- 218.138.94.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/2.154/4.631 ms 2025-11-05 13:46:27,355 - INFO - Ping to IP 218.138.94.5 from VM ctest-vn1-vm2-02655718 passed 2025-11-05 13:46:27,356 - INFO - Detaching port 74c14441-8821-48d6-a30a-7b8832c0b7ed from VM ctest-vn1-vm2-02655718 2025-11-05 13:46:27,401 - INFO - Deleting VM ctest-vn1-vm2-02655718 2025-11-05 13:46:27,465 - INFO - Detaching port d176092b-ee5f-4818-bf06-eb7c0e0eed67 from VM ctest-vn1-vm1-72837425 2025-11-05 13:46:27,499 - INFO - Deleting VM ctest-vn1-vm1-72837425 2025-11-05 13:46:27,733 - DEBUG - Response for delete_port : () 2025-11-05 13:46:27,877 - DEBUG - Response for delete_port : () 2025-11-05 13:46:27,877 - INFO - Deleting VN ctest-vn1-01750578 2025-11-05 13:46:27,986 - DEBUG - Response for deleting network () 2025-11-05 13:46:28,239 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 13:46:28,239 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-05 13:46:28,239 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:46:28,930 - INFO - Deleted project: ctest-TestPorts-08329714, ID : c42b872c-8c36-4ec4-a9e1-bfb138db9b8e