2025-11-20 17:49:43,633 - INFO - Domain Default found not creating 2025-11-20 17:49:43,814 - INFO - Project ctest-TestPorts-52023214 not found, creating it 2025-11-20 17:49:44,284 - INFO - Created Project:ctest-TestPorts-52023214, ID : a3865b0e-47d6-44ad-a230-8bbc337afed3 2025-11-20 17:49:45,786 - INFO - ================================================================================ 2025-11-20 17:49:45,786 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 17:49:45,786 - 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-20 17:49:46,038 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.5': '0'}} with 2025-11-20 17:49:46,038 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:49:46,038 - INFO - 2025-11-20 17:49:46,606 - DEBUG - Response for create_network : {'network': {'id': 'bc9ef7d1-6cc0-4ac5-a1a3-3f98749d5aed', 'name': 'ctest-vn-00420981', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'project_id': 'a3865b0e47d644ada2308bbc337afed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52023214', 'ctest-vn-00420981'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:49:46,809 - DEBUG - Response for create_subnet : {'subnet': {'id': '3feff7ae-09a2-412f-a13a-b89d1d747257', 'name': '', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': 'bc9ef7d1-6cc0-4ac5-a1a3-3f98749d5aed', 'ip_version': 4, 'cidr': '96.53.158.192/26', 'allocation_pools': [{'start': '96.53.158.194', 'end': '96.53.158.254'}], 'gateway_ip': '96.53.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.53.158.194', 'tags': [], 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:46,828 - INFO - Created VN ctest-vn-00420981 2025-11-20 17:49:46,885 - DEBUG - VN ctest-vn-00420981 UUID is bc9ef7d1-6cc0-4ac5-a1a3-3f98749d5aed 2025-11-20 17:49:46,994 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52023214', 'ctest-vmi-51801124']} 2025-11-20 17:49:47,279 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51801124', 'id': '1dd676e4-066a-409f-b74e-ed07acdca76b', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': 'bc9ef7d1-6cc0-4ac5-a1a3-3f98749d5aed', 'mac_address': '02:1d:d6:76:e4:06', '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': '96.53.158.195', 'subnet_id': '3feff7ae-09a2-412f-a13a-b89d1d747257'}], 'security_groups': ['e07316f9-c20a-4426-8433-a42cba46cd0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:47,280 - DEBUG - Created port 1dd676e4-066a-409f-b74e-ed07acdca76b 2025-11-20 17:49:47,385 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1dd676e4-066a-409f-b74e-ed07acdca76b 2025-11-20 17:49:47,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1dd676e4-066a-409f-b74e-ed07acdca76b 2025-11-20 17:49:47,737 - INFO - VMI 1dd676e4-066a-409f-b74e-ed07acdca76b verification in API Server passed 2025-11-20 17:49:47,833 - DEBUG - Response for delete_port : () 2025-11-20 17:49:47,833 - INFO - Deleted port 1dd676e4-066a-409f-b74e-ed07acdca76b 2025-11-20 17:49:47,834 - INFO - Deleting VN ctest-vn-00420981 2025-11-20 17:49:47,941 - DEBUG - Response for deleting network () 2025-11-20 17:49:48,207 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:49:48,207 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-20 17:49:48,207 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:49:48,210 - INFO - ================================================================================ 2025-11-20 17:49:48,211 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 17:49:48,211 - 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-20 17:49:48,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.5': '0'}} with 2025-11-20 17:49:48,494 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:49:48,494 - INFO - 2025-11-20 17:49:48,665 - DEBUG - Response for create_network : {'network': {'id': '6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0', 'name': 'ctest-vn1-17378453', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'project_id': 'a3865b0e47d644ada2308bbc337afed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52023214', 'ctest-vn1-17378453'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:49:48,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '86aa475e-ed6f-4fd7-8d4d-b87c47c241ee', 'name': '', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': '6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0', 'ip_version': 4, 'cidr': '102.19.229.0/26', 'allocation_pools': [{'start': '102.19.229.2', 'end': '102.19.229.62'}], 'gateway_ip': '102.19.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.19.229.2', 'tags': [], 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:49,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '65dac867-6dc2-4aec-bf88-ccdcb6449f43', 'name': '', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': '6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0', 'ip_version': 4, 'cidr': '61.194.19.192/26', 'allocation_pools': [{'start': '61.194.19.194', 'end': '61.194.19.254'}], 'gateway_ip': '61.194.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.194.19.194', 'tags': [], 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:49,021 - INFO - Created VN ctest-vn1-17378453 2025-11-20 17:49:49,073 - DEBUG - VN ctest-vn1-17378453 UUID is 6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0 2025-11-20 17:49:49,374 - DEBUG - Response for create_port : {'port': {'name': '476a4e37-7adf-49c9-b5fd-9db685b1b5c8', 'id': '476a4e37-7adf-49c9-b5fd-9db685b1b5c8', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': '6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0', 'mac_address': '02:47:6a:4e:37:7a', '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': '102.19.229.5', 'subnet_id': '86aa475e-ed6f-4fd7-8d4d-b87c47c241ee'}], 'security_groups': ['e07316f9-c20a-4426-8433-a42cba46cd0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:49,548 - DEBUG - Response for create_port : {'port': {'name': '468294c7-0f05-4b51-bdff-a62f8211b0a1', 'id': '468294c7-0f05-4b51-bdff-a62f8211b0a1', 'tenant_id': 'a3865b0e47d644ada2308bbc337afed3', 'network_id': '6bbcfbe9-9d2f-4460-9ef0-dbffb512e5c0', 'mac_address': '02:46:82:94:c7:0f', '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.194.19.197', 'subnet_id': '65dac867-6dc2-4aec-bf88-ccdcb6449f43'}], 'security_groups': ['e07316f9-c20a-4426-8433-a42cba46cd0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3865b0e47d644ada2308bbc337afed3'}} 2025-11-20 17:49:49,608 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:49:49,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:49:50,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:49:50,398 - INFO - Waiting for VM ctest-vn1-vm1-27025213 to be up.. 2025-11-20 17:49:50,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:49:55,517 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:49:55,517 - INFO - VM name : ctest-vn1-vm1-27025213 2025-11-20 17:49:55,589 - DEBUG - VM ctest-vn1-vm1-27025213 ID is 5fd7a3bd-8d1d-4efc-ad8c-24d5ef0acc5b 2025-11-20 17:49:55,609 - DEBUG - VM ctest-vn1-vm1-27025213 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:49:55,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5fd7a3bd-8d1d-4efc-ad8c-24d5ef0acc5b 2025-11-20 17:49:55,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/476a4e37-7adf-49c9-b5fd-9db685b1b5c8 2025-11-20 17:49:58,958 - 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 1026ms') 2025-11-20 17:49:58,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27025213 failed! 2025-11-20 17:49:59,013 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52023214:ctest-vn1-17378453 is 102.19.229.1 and allocation pool is NOT set 2025-11-20 17:49:59,013 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52023214:ctest-vn1-17378453 is 61.194.19.193 and allocation pool is NOT set 2025-11-20 17:50:01,079 - 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=12.6 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/7.251/12.577/5.326 ms') 2025-11-20 17:50:01,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27025213 passed 2025-11-20 17:50:01,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:01,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27025213, IP 102.19.229.5, Port 22 2025-11-20 17:50:01,303 - 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-11-20 17:50:01,400 - DEBUG - VM ctest-vn1-vm1-27025213 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 17:50:06,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:06,401 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27025213, IP 102.19.229.5, Port 22 2025-11-20 17:50:06,564 - DEBUG - VM ctest-vn1-vm1-27025213 is ready for SSH connections 2025-11-20 17:50:06,564 - INFO - Waiting for VM ctest-vn1-vm2-38562868 to be up.. 2025-11-20 17:50:06,649 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:50:06,649 - INFO - VM name : ctest-vn1-vm2-38562868 2025-11-20 17:50:06,732 - DEBUG - VM ctest-vn1-vm2-38562868 ID is 62d3261b-5bc6-43a0-9d53-9a3e1b453782 2025-11-20 17:50:06,733 - DEBUG - VM ctest-vn1-vm2-38562868 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:50:06,817 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/62d3261b-5bc6-43a0-9d53-9a3e1b453782 2025-11-20 17:50:06,826 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/468294c7-0f05-4b51-bdff-a62f8211b0a1 2025-11-20 17:50:08,074 - 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=3.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/2.133/3.888/1.754 ms') 2025-11-20 17:50:08,074 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38562868 passed 2025-11-20 17:50:08,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:08,226 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38562868, IP 61.194.19.197, Port 22 2025-11-20 17:50:08,395 - DEBUG - VM ctest-vn1-vm2-38562868 is ready for SSH connections 2025-11-20 17:50:08,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:08,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:08,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:08,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.19.229.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:08,395 - DEBUG - ping -s 56 -c 3 -W 1 102.19.229.5 2025-11-20 17:50:11,170 - DEBUG - PING 102.19.229.5 (102.19.229.5): 56 data bytes 64 bytes from 102.19.229.5: seq=0 ttl=63 time=4.373 ms 64 bytes from 102.19.229.5: seq=1 ttl=63 time=0.901 ms 64 bytes from 102.19.229.5: seq=2 ttl=63 time=1.180 ms --- 102.19.229.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.151/4.373 ms 2025-11-20 17:50:11,170 - INFO - Ping to IP 102.19.229.5 from VM ctest-vn1-vm2-38562868 passed 2025-11-20 17:50:11,170 - INFO - Detaching port 468294c7-0f05-4b51-bdff-a62f8211b0a1 from VM ctest-vn1-vm2-38562868 2025-11-20 17:50:11,224 - INFO - Deleting VM ctest-vn1-vm2-38562868 2025-11-20 17:50:11,322 - INFO - Detaching port 476a4e37-7adf-49c9-b5fd-9db685b1b5c8 from VM ctest-vn1-vm1-27025213 2025-11-20 17:50:11,386 - INFO - Deleting VM ctest-vn1-vm1-27025213 2025-11-20 17:50:11,681 - DEBUG - Response for delete_port : () 2025-11-20 17:50:11,858 - DEBUG - Response for delete_port : () 2025-11-20 17:50:11,858 - INFO - Deleting VN ctest-vn1-17378453 2025-11-20 17:50:11,984 - DEBUG - Response for deleting network () 2025-11-20 17:50:12,253 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:50:12,253 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-20 17:50:12,253 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:50:12,967 - INFO - Deleted project: ctest-TestPorts-52023214, ID : a3865b0e-47d6-44ad-a230-8bbc337afed3