2025-09-11 19:16:49,475 - INFO - Domain Default found not creating 2025-09-11 19:16:49,636 - INFO - Project ctest-TestPorts-95083777 not found, creating it 2025-09-11 19:16:50,119 - INFO - Created Project:ctest-TestPorts-95083777, ID : 293eb77f-35ea-4ad9-9940-c19706605a52 2025-09-11 19:16:51,581 - INFO - ================================================================================ 2025-09-11 19:16:51,581 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 19:16:51,581 - 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-09-11 19:16:51,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:16:51,836 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:16:51,836 - INFO - 2025-09-11 19:16:52,401 - DEBUG - Response for create_network : {'network': {'id': '77cc9644-fcdf-49b2-8855-5ba91d38ee10', 'name': 'ctest-vn-60603093', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'project_id': '293eb77f35ea4ad99940c19706605a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95083777', 'ctest-vn-60603093'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:16:52,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af818214-e347-4e6a-8311-5e300cfb64ec', 'name': '', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '77cc9644-fcdf-49b2-8855-5ba91d38ee10', 'ip_version': 4, 'cidr': '61.103.170.0/26', 'allocation_pools': [{'start': '61.103.170.2', 'end': '61.103.170.62'}], 'gateway_ip': '61.103.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.103.170.2', 'tags': [], 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:52,638 - INFO - Created VN ctest-vn-60603093 2025-09-11 19:16:52,690 - DEBUG - VN ctest-vn-60603093 UUID is 77cc9644-fcdf-49b2-8855-5ba91d38ee10 2025-09-11 19:16:52,796 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95083777', 'ctest-vmi-51400533']} 2025-09-11 19:16:53,068 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51400533', 'id': 'ce432b9c-eedd-4991-9ac5-3aeb4063e3a1', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '77cc9644-fcdf-49b2-8855-5ba91d38ee10', 'mac_address': '02:ce:43:2b:9c:ee', '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': '61.103.170.3', 'subnet_id': 'af818214-e347-4e6a-8311-5e300cfb64ec'}], 'security_groups': ['0b069fb4-9c99-409d-bf06-13655d56be8e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:53,068 - DEBUG - Created port ce432b9c-eedd-4991-9ac5-3aeb4063e3a1 2025-09-11 19:16:53,174 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ce432b9c-eedd-4991-9ac5-3aeb4063e3a1 2025-09-11 19:16:53,465 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ce432b9c-eedd-4991-9ac5-3aeb4063e3a1 2025-09-11 19:16:53,496 - INFO - VMI ce432b9c-eedd-4991-9ac5-3aeb4063e3a1 verification in API Server passed 2025-09-11 19:16:53,582 - DEBUG - Response for delete_port : () 2025-09-11 19:16:53,583 - INFO - Deleted port ce432b9c-eedd-4991-9ac5-3aeb4063e3a1 2025-09-11 19:16:53,583 - INFO - Deleting VN ctest-vn-60603093 2025-09-11 19:16:53,705 - DEBUG - Response for deleting network () 2025-09-11 19:16:53,962 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 19:16:53,962 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-11 19:16:53,962 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:16:53,965 - INFO - ================================================================================ 2025-09-11 19:16:53,966 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 19:16:53,966 - 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-09-11 19:16:54,250 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:16:54,251 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:16:54,251 - INFO - 2025-09-11 19:16:54,429 - DEBUG - Response for create_network : {'network': {'id': '0815c381-4e47-4cc4-9650-00a6b23eb087', 'name': 'ctest-vn1-36995598', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'project_id': '293eb77f35ea4ad99940c19706605a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95083777', 'ctest-vn1-36995598'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:16:54,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '92959394-7d76-4b36-b9a3-a6ab65936fc3', 'name': '', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '0815c381-4e47-4cc4-9650-00a6b23eb087', 'ip_version': 4, 'cidr': '56.50.156.192/26', 'allocation_pools': [{'start': '56.50.156.194', 'end': '56.50.156.254'}], 'gateway_ip': '56.50.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.50.156.194', 'tags': [], 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:54,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '89cf5f00-0516-41c1-98b3-d5b54cf5225e', 'name': '', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '0815c381-4e47-4cc4-9650-00a6b23eb087', 'ip_version': 4, 'cidr': '124.146.68.64/26', 'allocation_pools': [{'start': '124.146.68.66', 'end': '124.146.68.126'}], 'gateway_ip': '124.146.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.146.68.66', 'tags': [], 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:54,873 - INFO - Created VN ctest-vn1-36995598 2025-09-11 19:16:54,926 - DEBUG - VN ctest-vn1-36995598 UUID is 0815c381-4e47-4cc4-9650-00a6b23eb087 2025-09-11 19:16:55,253 - DEBUG - Response for create_port : {'port': {'name': 'cb8892ac-0d5c-4405-8b86-5c39b6413d9e', 'id': 'cb8892ac-0d5c-4405-8b86-5c39b6413d9e', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '0815c381-4e47-4cc4-9650-00a6b23eb087', 'mac_address': '02:cb:88:92:ac:0d', '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': '56.50.156.197', 'subnet_id': '92959394-7d76-4b36-b9a3-a6ab65936fc3'}], 'security_groups': ['0b069fb4-9c99-409d-bf06-13655d56be8e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:55,459 - DEBUG - Response for create_port : {'port': {'name': '5438b232-da91-4cf0-acdb-7c3d3bf5ca80', 'id': '5438b232-da91-4cf0-acdb-7c3d3bf5ca80', 'tenant_id': '293eb77f35ea4ad99940c19706605a52', 'network_id': '0815c381-4e47-4cc4-9650-00a6b23eb087', 'mac_address': '02:54:38:b2:32:da', '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.146.68.69', 'subnet_id': '89cf5f00-0516-41c1-98b3-d5b54cf5225e'}], 'security_groups': ['0b069fb4-9c99-409d-bf06-13655d56be8e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '293eb77f35ea4ad99940c19706605a52'}} 2025-09-11 19:16:55,517 - DEBUG - Services list from nova: [, , ] 2025-09-11 19:16:55,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:16:56,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:16:56,301 - INFO - Waiting for VM ctest-vn1-vm1-46847685 to be up.. 2025-09-11 19:16:56,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 19:17:01,430 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:17:01,430 - INFO - VM name : ctest-vn1-vm1-46847685 2025-09-11 19:17:01,509 - DEBUG - VM ctest-vn1-vm1-46847685 ID is 4c17dc0e-6f7a-4c5e-86bd-500adeed3e53 2025-09-11 19:17:01,530 - DEBUG - VM ctest-vn1-vm1-46847685 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:17:01,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4c17dc0e-6f7a-4c5e-86bd-500adeed3e53 2025-09-11 19:17:01,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cb8892ac-0d5c-4405-8b86-5c39b6413d9e 2025-09-11 19:17:04,882 - 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-09-11 19:17:04,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46847685 failed! 2025-09-11 19:17:04,938 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95083777:ctest-vn1-36995598 is 56.50.156.193 and allocation pool is NOT set 2025-09-11 19:17:04,938 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95083777:ctest-vn1-36995598 is 124.146.68.65 and allocation pool is NOT set 2025-09-11 19:17:06,999 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.925/8.137/14.349/6.212 ms') 2025-09-11 19:17:06,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46847685 passed 2025-09-11 19:17:07,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:07,154 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46847685, IP 56.50.156.197, Port 22 2025-09-11 19:17:07,220 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-11 19:17:07,302 - DEBUG - VM ctest-vn1-vm1-46847685 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 19:17:12,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:12,303 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46847685, IP 56.50.156.197, Port 22 2025-09-11 19:17:12,458 - DEBUG - VM ctest-vn1-vm1-46847685 is ready for SSH connections 2025-09-11 19:17:12,458 - INFO - Waiting for VM ctest-vn1-vm2-18507830 to be up.. 2025-09-11 19:17:12,532 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:17:12,532 - INFO - VM name : ctest-vn1-vm2-18507830 2025-09-11 19:17:12,606 - DEBUG - VM ctest-vn1-vm2-18507830 ID is 717599ca-31cf-4b5d-ad50-7feb8d67812c 2025-09-11 19:17:12,606 - DEBUG - VM ctest-vn1-vm2-18507830 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:17:12,688 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/717599ca-31cf-4b5d-ad50-7feb8d67812c 2025-09-11 19:17:12,697 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5438b232-da91-4cf0-acdb-7c3d3bf5ca80 2025-09-11 19:17:13,932 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.659/2.896/1.236 ms') 2025-09-11 19:17:13,932 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18507830 passed 2025-09-11 19:17:14,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:14,086 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18507830, IP 124.146.68.69, Port 22 2025-09-11 19:17:14,242 - DEBUG - VM ctest-vn1-vm2-18507830 is ready for SSH connections 2025-09-11 19:17:14,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:14,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:14,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:14,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.50.156.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:14,243 - DEBUG - ping -s 56 -c 3 -W 1 56.50.156.197 2025-09-11 19:17:16,900 - DEBUG - PING 56.50.156.197 (56.50.156.197): 56 data bytes 64 bytes from 56.50.156.197: seq=0 ttl=63 time=3.980 ms 64 bytes from 56.50.156.197: seq=1 ttl=63 time=1.050 ms 64 bytes from 56.50.156.197: seq=2 ttl=63 time=1.049 ms --- 56.50.156.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.026/3.980 ms 2025-09-11 19:17:16,900 - INFO - Ping to IP 56.50.156.197 from VM ctest-vn1-vm2-18507830 passed 2025-09-11 19:17:16,901 - INFO - Detaching port 5438b232-da91-4cf0-acdb-7c3d3bf5ca80 from VM ctest-vn1-vm2-18507830 2025-09-11 19:17:16,952 - INFO - Deleting VM ctest-vn1-vm2-18507830 2025-09-11 19:17:17,024 - INFO - Detaching port cb8892ac-0d5c-4405-8b86-5c39b6413d9e from VM ctest-vn1-vm1-46847685 2025-09-11 19:17:17,057 - INFO - Deleting VM ctest-vn1-vm1-46847685 2025-09-11 19:17:17,278 - DEBUG - Response for delete_port : () 2025-09-11 19:17:17,450 - DEBUG - Response for delete_port : () 2025-09-11 19:17:17,450 - INFO - Deleting VN ctest-vn1-36995598 2025-09-11 19:17:17,589 - DEBUG - Response for deleting network () 2025-09-11 19:17:17,851 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 19:17:17,851 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-11 19:17:17,851 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:17:18,525 - INFO - Deleted project: ctest-TestPorts-95083777, ID : 293eb77f-35ea-4ad9-9940-c19706605a52