2025-09-22 19:39:49,890 - INFO - Domain Default found not creating 2025-09-22 19:39:50,019 - INFO - Project ctest-TestPorts-09906120 not found, creating it 2025-09-22 19:39:50,446 - INFO - Created Project:ctest-TestPorts-09906120, ID : 928b17d5-80c2-447d-84b3-db8826a3dfbf 2025-09-22 19:39:51,824 - INFO - ================================================================================ 2025-09-22 19:39:51,824 - INFO - STARTING TEST : test_ports_bindings 2025-09-22 19:39:51,824 - 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-22 19:39:52,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-09-22 19:39:52,078 - INFO - Initial checks done. Running the testcase now 2025-09-22 19:39:52,079 - INFO - 2025-09-22 19:39:52,645 - DEBUG - Response for create_network : {'network': {'id': 'd60e74d6-2820-4847-bb6e-65391225b3e5', 'name': 'ctest-vn-85282461', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'project_id': '928b17d580c2447d84b3db8826a3dfbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09906120', 'ctest-vn-85282461'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:39:52,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7954dd9-139a-4293-b552-6438f7be36b9', 'name': '', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': 'd60e74d6-2820-4847-bb6e-65391225b3e5', 'ip_version': 4, 'cidr': '80.218.247.192/26', 'allocation_pools': [{'start': '80.218.247.194', 'end': '80.218.247.254'}], 'gateway_ip': '80.218.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.218.247.194', 'tags': [], 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:52,840 - INFO - Created VN ctest-vn-85282461 2025-09-22 19:39:52,891 - DEBUG - VN ctest-vn-85282461 UUID is d60e74d6-2820-4847-bb6e-65391225b3e5 2025-09-22 19:39:52,992 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09906120', 'ctest-vmi-18880603']} 2025-09-22 19:39:53,263 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-18880603', 'id': 'c8518049-a023-4e8c-a3aa-80e2680d72db', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': 'd60e74d6-2820-4847-bb6e-65391225b3e5', 'mac_address': '02:c8:51:80:49:a0', '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': '80.218.247.195', 'subnet_id': 'f7954dd9-139a-4293-b552-6438f7be36b9'}], 'security_groups': ['3d1b0628-693f-402e-a040-f9deff490e3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:53,263 - DEBUG - Created port c8518049-a023-4e8c-a3aa-80e2680d72db 2025-09-22 19:39:53,363 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c8518049-a023-4e8c-a3aa-80e2680d72db 2025-09-22 19:39:53,658 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c8518049-a023-4e8c-a3aa-80e2680d72db 2025-09-22 19:39:53,691 - INFO - VMI c8518049-a023-4e8c-a3aa-80e2680d72db verification in API Server passed 2025-09-22 19:39:53,768 - DEBUG - Response for delete_port : () 2025-09-22 19:39:53,768 - INFO - Deleted port c8518049-a023-4e8c-a3aa-80e2680d72db 2025-09-22 19:39:53,768 - INFO - Deleting VN ctest-vn-85282461 2025-09-22 19:39:53,858 - DEBUG - Response for deleting network () 2025-09-22 19:39:54,116 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 19:39:54,116 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-22 19:39:54,116 - INFO - -------------------------------------------------------------------------------- 2025-09-22 19:39:54,120 - INFO - ================================================================================ 2025-09-22 19:39:54,120 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-22 19:39:54,120 - 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-22 19:39:54,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-09-22 19:39:54,407 - INFO - Initial checks done. Running the testcase now 2025-09-22 19:39:54,408 - INFO - 2025-09-22 19:39:54,571 - DEBUG - Response for create_network : {'network': {'id': '9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00', 'name': 'ctest-vn1-38276163', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'project_id': '928b17d580c2447d84b3db8826a3dfbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09906120', 'ctest-vn1-38276163'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:39:54,740 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c01b75fe-069d-4897-a45f-72502cfa37d4', 'name': '', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': '9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00', 'ip_version': 4, 'cidr': '36.203.150.128/26', 'allocation_pools': [{'start': '36.203.150.130', 'end': '36.203.150.190'}], 'gateway_ip': '36.203.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.203.150.130', 'tags': [], 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:54,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '894896fe-ceb4-4285-a740-37f316ab4bcc', 'name': '', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': '9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00', 'ip_version': 4, 'cidr': '95.171.11.128/26', 'allocation_pools': [{'start': '95.171.11.130', 'end': '95.171.11.190'}], 'gateway_ip': '95.171.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.171.11.130', 'tags': [], 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:54,921 - INFO - Created VN ctest-vn1-38276163 2025-09-22 19:39:54,971 - DEBUG - VN ctest-vn1-38276163 UUID is 9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00 2025-09-22 19:39:55,255 - DEBUG - Response for create_port : {'port': {'name': '4a813091-af1b-4609-ba6a-72f1672667c2', 'id': '4a813091-af1b-4609-ba6a-72f1672667c2', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': '9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00', 'mac_address': '02:4a:81:30:91:af', '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': '36.203.150.133', 'subnet_id': 'c01b75fe-069d-4897-a45f-72502cfa37d4'}], 'security_groups': ['3d1b0628-693f-402e-a040-f9deff490e3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:55,425 - DEBUG - Response for create_port : {'port': {'name': 'd470eefd-e15e-4949-8ecd-84d4b8596b2d', 'id': 'd470eefd-e15e-4949-8ecd-84d4b8596b2d', 'tenant_id': '928b17d580c2447d84b3db8826a3dfbf', 'network_id': '9ecddf1c-bf88-4cc2-9f5e-4e46d3a27f00', 'mac_address': '02:d4:70:ee:fd:e1', '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': '95.171.11.133', 'subnet_id': '894896fe-ceb4-4285-a740-37f316ab4bcc'}], 'security_groups': ['3d1b0628-693f-402e-a040-f9deff490e3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '928b17d580c2447d84b3db8826a3dfbf'}} 2025-09-22 19:39:55,486 - DEBUG - Services list from nova: [, , ] 2025-09-22 19:39:55,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:39:56,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:39:56,167 - INFO - Waiting for VM ctest-vn1-vm1-55354328 to be up.. 2025-09-22 19:39:56,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 19:40:01,272 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:40:01,273 - INFO - VM name : ctest-vn1-vm1-55354328 2025-09-22 19:40:01,345 - DEBUG - VM ctest-vn1-vm1-55354328 ID is ab0a57bb-4c16-4a31-aca2-8f490c6c4459 2025-09-22 19:40:01,363 - DEBUG - VM ctest-vn1-vm1-55354328 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:40:01,426 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ab0a57bb-4c16-4a31-aca2-8f490c6c4459 2025-09-22 19:40:01,434 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4a813091-af1b-4609-ba6a-72f1672667c2 2025-09-22 19:40:04,670 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-09-22 19:40:04,670 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55354328 failed! 2025-09-22 19:40:04,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09906120:ctest-vn1-38276163 is 36.203.150.129 and allocation pool is NOT set 2025-09-22 19:40:04,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09906120:ctest-vn1-38276163 is 95.171.11.129 and allocation pool is NOT set 2025-09-22 19:40:06,790 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.68 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 = 3.679/4.425/5.172/0.746 ms') 2025-09-22 19:40:06,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55354328 passed 2025-09-22 19:40:06,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:06,943 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55354328, IP 36.203.150.133, Port 22 2025-09-22 19:40:07,002 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-22 19:40:07,192 - DEBUG - VM ctest-vn1-vm1-55354328 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 19:40:12,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:12,193 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55354328, IP 36.203.150.133, Port 22 2025-09-22 19:40:12,351 - DEBUG - VM ctest-vn1-vm1-55354328 is ready for SSH connections 2025-09-22 19:40:12,351 - INFO - Waiting for VM ctest-vn1-vm2-62159363 to be up.. 2025-09-22 19:40:12,432 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:40:12,432 - INFO - VM name : ctest-vn1-vm2-62159363 2025-09-22 19:40:12,504 - DEBUG - VM ctest-vn1-vm2-62159363 ID is f95fdeff-391f-4379-a67b-9239a7259462 2025-09-22 19:40:12,504 - DEBUG - VM ctest-vn1-vm2-62159363 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:40:12,579 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f95fdeff-391f-4379-a67b-9239a7259462 2025-09-22 19:40:12,587 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d470eefd-e15e-4949-8ecd-84d4b8596b2d 2025-09-22 19:40:13,823 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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 = 0.376/1.645/2.915/1.269 ms') 2025-09-22 19:40:13,823 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-62159363 passed 2025-09-22 19:40:13,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:13,971 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62159363, IP 95.171.11.133, Port 22 2025-09-22 19:40:14,141 - DEBUG - VM ctest-vn1-vm2-62159363 is ready for SSH connections 2025-09-22 19:40:14,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:14,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:14,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:40:14,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.203.150.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-22 19:40:14,142 - DEBUG - ping -s 56 -c 3 -W 1 36.203.150.133 2025-09-22 19:40:17,893 - DEBUG - PING 36.203.150.133 (36.203.150.133): 56 data bytes 64 bytes from 36.203.150.133: seq=0 ttl=63 time=4.605 ms 64 bytes from 36.203.150.133: seq=1 ttl=63 time=0.805 ms 64 bytes from 36.203.150.133: seq=2 ttl=63 time=1.240 ms --- 36.203.150.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/2.216/4.605 ms 2025-09-22 19:40:17,893 - INFO - Ping to IP 36.203.150.133 from VM ctest-vn1-vm2-62159363 passed 2025-09-22 19:40:17,893 - INFO - Detaching port d470eefd-e15e-4949-8ecd-84d4b8596b2d from VM ctest-vn1-vm2-62159363 2025-09-22 19:40:17,948 - INFO - Deleting VM ctest-vn1-vm2-62159363 2025-09-22 19:40:18,035 - INFO - Detaching port 4a813091-af1b-4609-ba6a-72f1672667c2 from VM ctest-vn1-vm1-55354328 2025-09-22 19:40:18,070 - INFO - Deleting VM ctest-vn1-vm1-55354328 2025-09-22 19:40:18,309 - DEBUG - Response for delete_port : () 2025-09-22 19:40:18,442 - DEBUG - Response for delete_port : () 2025-09-22 19:40:18,442 - INFO - Deleting VN ctest-vn1-38276163 2025-09-22 19:40:18,557 - DEBUG - Response for deleting network () 2025-09-22 19:40:18,820 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 19:40:18,820 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-22 19:40:18,820 - INFO - -------------------------------------------------------------------------------- 2025-09-22 19:40:19,525 - INFO - Deleted project: ctest-TestPorts-09906120, ID : 928b17d5-80c2-447d-84b3-db8826a3dfbf