2025-10-24 17:21:29,760 - INFO - Domain Default found not creating 2025-10-24 17:21:30,123 - INFO - Project ctest-TestPorts-68710606 not found, creating it 2025-10-24 17:21:30,940 - INFO - Created Project:ctest-TestPorts-68710606, ID : 226c9cc8-3e17-417c-be2e-33fa5f0234d4 2025-10-24 17:21:32,772 - INFO - ================================================================================ 2025-10-24 17:21:32,772 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 17:21:32,772 - 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-24 17:21:33,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-24 17:21:33,080 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:21:33,080 - INFO - 2025-10-24 17:21:33,787 - DEBUG - Response for create_network : {'network': {'id': '7b590802-8e03-4bc3-8767-7a830778bd07', 'name': 'ctest-vn-21010833', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68710606', 'ctest-vn-21010833'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:21:34,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f53b3ac2-9552-4523-8508-9606fc1956c5', 'name': '', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '7b590802-8e03-4bc3-8767-7a830778bd07', 'ip_version': 4, 'cidr': '104.175.36.192/26', 'allocation_pools': [{'start': '104.175.36.194', 'end': '104.175.36.254'}], 'gateway_ip': '104.175.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.175.36.194', 'tags': [], 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:34,024 - INFO - Created VN ctest-vn-21010833 2025-10-24 17:21:34,079 - DEBUG - VN ctest-vn-21010833 UUID is 7b590802-8e03-4bc3-8767-7a830778bd07 2025-10-24 17:21:34,212 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68710606', 'ctest-vmi-31385077']} 2025-10-24 17:21:34,481 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31385077', 'id': '6163d1c8-d387-4ffb-9c43-d6af2df52867', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '7b590802-8e03-4bc3-8767-7a830778bd07', 'mac_address': '02:61:63:d1:c8:d3', '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': '104.175.36.195', 'subnet_id': 'f53b3ac2-9552-4523-8508-9606fc1956c5'}], 'security_groups': ['f83ed878-cb75-4faf-afe5-5e4f5ce8ac39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:34,481 - DEBUG - Created port 6163d1c8-d387-4ffb-9c43-d6af2df52867 2025-10-24 17:21:34,587 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6163d1c8-d387-4ffb-9c43-d6af2df52867 2025-10-24 17:21:34,885 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6163d1c8-d387-4ffb-9c43-d6af2df52867 2025-10-24 17:21:34,925 - INFO - VMI 6163d1c8-d387-4ffb-9c43-d6af2df52867 verification in API Server passed 2025-10-24 17:21:35,030 - DEBUG - Response for delete_port : () 2025-10-24 17:21:35,030 - INFO - Deleted port 6163d1c8-d387-4ffb-9c43-d6af2df52867 2025-10-24 17:21:35,031 - INFO - Deleting VN ctest-vn-21010833 2025-10-24 17:21:35,162 - DEBUG - Response for deleting network () 2025-10-24 17:21:35,429 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 17:21:35,429 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-24 17:21:35,429 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:21:35,433 - INFO - ================================================================================ 2025-10-24 17:21:35,433 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 17:21:35,433 - 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-24 17:21:35,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-24 17:21:35,737 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:21:35,737 - INFO - 2025-10-24 17:21:35,978 - DEBUG - Response for create_network : {'network': {'id': '937b93c1-8e6e-4581-b9ce-e81e80b4f787', 'name': 'ctest-vn1-78456409', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68710606', 'ctest-vn1-78456409'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:21:36,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aa4acfb-51d0-4e7f-bf70-b84a94750d46', 'name': '', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '937b93c1-8e6e-4581-b9ce-e81e80b4f787', 'ip_version': 4, 'cidr': '47.151.207.192/26', 'allocation_pools': [{'start': '47.151.207.194', 'end': '47.151.207.254'}], 'gateway_ip': '47.151.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.151.207.194', 'tags': [], 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:36,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e660ece-37c5-42f7-adea-ff0e0a03059e', 'name': '', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '937b93c1-8e6e-4581-b9ce-e81e80b4f787', 'ip_version': 4, 'cidr': '217.33.126.128/26', 'allocation_pools': [{'start': '217.33.126.130', 'end': '217.33.126.190'}], 'gateway_ip': '217.33.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.33.126.130', 'tags': [], 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:36,403 - INFO - Created VN ctest-vn1-78456409 2025-10-24 17:21:36,455 - DEBUG - VN ctest-vn1-78456409 UUID is 937b93c1-8e6e-4581-b9ce-e81e80b4f787 2025-10-24 17:21:36,799 - DEBUG - Response for create_port : {'port': {'name': '39617428-e970-4f7e-acf3-4f5d1ad25349', 'id': '39617428-e970-4f7e-acf3-4f5d1ad25349', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '937b93c1-8e6e-4581-b9ce-e81e80b4f787', 'mac_address': '02:39:61:74:28: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': '47.151.207.197', 'subnet_id': '4aa4acfb-51d0-4e7f-bf70-b84a94750d46'}], 'security_groups': ['f83ed878-cb75-4faf-afe5-5e4f5ce8ac39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:36,980 - DEBUG - Response for create_port : {'port': {'name': 'db2775d2-8c54-4513-9d15-57c53bfb1e28', 'id': 'db2775d2-8c54-4513-9d15-57c53bfb1e28', 'tenant_id': '226c9cc83e17417cbe2e33fa5f0234d4', 'network_id': '937b93c1-8e6e-4581-b9ce-e81e80b4f787', 'mac_address': '02:db:27:75:d2:8c', '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': '217.33.126.133', 'subnet_id': '1e660ece-37c5-42f7-adea-ff0e0a03059e'}], 'security_groups': ['f83ed878-cb75-4faf-afe5-5e4f5ce8ac39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '226c9cc83e17417cbe2e33fa5f0234d4'}} 2025-10-24 17:21:37,035 - DEBUG - Services list from nova: [, , ] 2025-10-24 17:21:37,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:21:37,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:21:37,980 - INFO - Waiting for VM ctest-vn1-vm1-13078233 to be up.. 2025-10-24 17:21:38,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 17:21:43,193 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:21:43,194 - INFO - VM name : ctest-vn1-vm1-13078233 2025-10-24 17:21:43,310 - DEBUG - VM ctest-vn1-vm1-13078233 ID is c085b40f-a3bb-4612-a5f9-ceed8cc9e308 2025-10-24 17:21:43,331 - DEBUG - VM ctest-vn1-vm1-13078233 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:21:43,428 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c085b40f-a3bb-4612-a5f9-ceed8cc9e308 2025-10-24 17:21:43,444 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/39617428-e970-4f7e-acf3-4f5d1ad25349 2025-10-24 17:21:46,765 - 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 1032ms') 2025-10-24 17:21:46,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13078233 failed! 2025-10-24 17:21:46,836 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68710606:ctest-vn1-78456409 is 47.151.207.193 and allocation pool is NOT set 2025-10-24 17:21:46,837 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68710606:ctest-vn1-78456409 is 217.33.126.129 and allocation pool is NOT set 2025-10-24 17:21:50,924 - 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=12.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 12.439/12.439/12.439/0.000 ms') 2025-10-24 17:21:50,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13078233 passed 2025-10-24 17:21:51,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:21:51,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13078233, IP 47.151.207.197, Port 22 2025-10-24 17:21:51,259 - DEBUG - VM ctest-vn1-vm1-13078233 is ready for SSH connections 2025-10-24 17:21:51,259 - INFO - Waiting for VM ctest-vn1-vm2-26552981 to be up.. 2025-10-24 17:21:51,375 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:21:51,376 - INFO - VM name : ctest-vn1-vm2-26552981 2025-10-24 17:21:51,468 - DEBUG - VM ctest-vn1-vm2-26552981 ID is 98185785-f292-4ef2-aeb7-1f5b324abd25 2025-10-24 17:21:51,468 - DEBUG - VM ctest-vn1-vm2-26552981 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:21:51,580 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/98185785-f292-4ef2-aeb7-1f5b324abd25 2025-10-24 17:21:51,590 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/db2775d2-8c54-4513-9d15-57c53bfb1e28 2025-10-24 17:21:52,846 - 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=8.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.633 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.633/4.590/8.547/3.957 ms') 2025-10-24 17:21:52,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26552981 passed 2025-10-24 17:21:53,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:21:53,007 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26552981, IP 217.33.126.133, Port 22 2025-10-24 17:21:53,193 - DEBUG - VM ctest-vn1-vm2-26552981 is ready for SSH connections 2025-10-24 17:21:53,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:21:53,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:21:53,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:21:53,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.151.207.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 17:21:53,194 - DEBUG - ping -s 56 -c 3 -W 1 47.151.207.197 2025-10-24 17:21:56,193 - DEBUG - PING 47.151.207.197 (47.151.207.197): 56 data bytes 64 bytes from 47.151.207.197: seq=0 ttl=63 time=3.914 ms 64 bytes from 47.151.207.197: seq=1 ttl=63 time=1.949 ms 64 bytes from 47.151.207.197: seq=2 ttl=63 time=1.245 ms --- 47.151.207.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.245/2.369/3.914 ms 2025-10-24 17:21:56,193 - INFO - Ping to IP 47.151.207.197 from VM ctest-vn1-vm2-26552981 passed 2025-10-24 17:21:56,193 - INFO - Detaching port db2775d2-8c54-4513-9d15-57c53bfb1e28 from VM ctest-vn1-vm2-26552981 2025-10-24 17:21:56,284 - INFO - Deleting VM ctest-vn1-vm2-26552981 2025-10-24 17:21:56,411 - INFO - Detaching port 39617428-e970-4f7e-acf3-4f5d1ad25349 from VM ctest-vn1-vm1-13078233 2025-10-24 17:21:56,451 - INFO - Deleting VM ctest-vn1-vm1-13078233 2025-10-24 17:21:56,764 - DEBUG - Response for delete_port : () 2025-10-24 17:21:56,933 - DEBUG - Response for delete_port : () 2025-10-24 17:21:56,933 - INFO - Deleting VN ctest-vn1-78456409 2025-10-24 17:21:57,098 - DEBUG - Response for deleting network () 2025-10-24 17:21:57,352 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 17:21:57,353 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-24 17:21:57,353 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:21:58,199 - INFO - Deleted project: ctest-TestPorts-68710606, ID : 226c9cc8-3e17-417c-be2e-33fa5f0234d4