2025-12-08 02:11:57,460 - INFO - Domain Default found not creating 2025-12-08 02:11:57,911 - INFO - Project ctest-TestPorts-98784670 not found, creating it 2025-12-08 02:11:58,664 - INFO - Created Project:ctest-TestPorts-98784670, ID : 85b1d7e1-67db-435e-911b-1cdaa533dbdf 2025-12-08 02:12:00,076 - INFO - ================================================================================ 2025-12-08 02:12:00,076 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 02:12:00,077 - 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-12-08 02:12:00,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.241': '0'}} with 2025-12-08 02:12:00,333 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:12:00,333 - INFO - 2025-12-08 02:12:00,859 - DEBUG - Response for create_network : {'network': {'id': 'd2d1de43-56ee-4947-8635-0edb5a8b4c87', 'name': 'ctest-vn-62787056', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'project_id': '85b1d7e167db435e911b1cdaa533dbdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98784670', 'ctest-vn-62787056'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:12:01,034 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6259f2a-2a3d-484a-a893-a296ab95a46d', 'name': '', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': 'd2d1de43-56ee-4947-8635-0edb5a8b4c87', 'ip_version': 4, 'cidr': '113.54.100.128/26', 'allocation_pools': [{'start': '113.54.100.130', 'end': '113.54.100.190'}], 'gateway_ip': '113.54.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.54.100.130', 'tags': [], 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:01,051 - INFO - Created VN ctest-vn-62787056 2025-12-08 02:12:01,107 - DEBUG - VN ctest-vn-62787056 UUID is d2d1de43-56ee-4947-8635-0edb5a8b4c87 2025-12-08 02:12:01,208 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98784670', 'ctest-vmi-63000763']} 2025-12-08 02:12:01,462 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63000763', 'id': '023a16fe-af90-4259-9f1a-6ecb1a9a2cb3', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': 'd2d1de43-56ee-4947-8635-0edb5a8b4c87', 'mac_address': '02:02:3a:16:fe:af', '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': '113.54.100.131', 'subnet_id': 'c6259f2a-2a3d-484a-a893-a296ab95a46d'}], 'security_groups': ['366d65da-37ca-4202-ad76-b331b272a8b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:01,462 - DEBUG - Created port 023a16fe-af90-4259-9f1a-6ecb1a9a2cb3 2025-12-08 02:12:01,567 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/023a16fe-af90-4259-9f1a-6ecb1a9a2cb3 2025-12-08 02:12:01,863 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/023a16fe-af90-4259-9f1a-6ecb1a9a2cb3 2025-12-08 02:12:01,900 - INFO - VMI 023a16fe-af90-4259-9f1a-6ecb1a9a2cb3 verification in API Server passed 2025-12-08 02:12:02,005 - DEBUG - Response for delete_port : () 2025-12-08 02:12:02,005 - INFO - Deleted port 023a16fe-af90-4259-9f1a-6ecb1a9a2cb3 2025-12-08 02:12:02,006 - INFO - Deleting VN ctest-vn-62787056 2025-12-08 02:12:02,111 - DEBUG - Response for deleting network () 2025-12-08 02:12:02,363 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:12:02,363 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 02:12:02,363 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:12:02,365 - INFO - ================================================================================ 2025-12-08 02:12:02,365 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 02:12:02,365 - 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-12-08 02:12:02,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.241': '0'}} with 2025-12-08 02:12:02,651 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:12:02,651 - INFO - 2025-12-08 02:12:02,822 - DEBUG - Response for create_network : {'network': {'id': '171e8af0-0705-4b4b-81e5-ca3312003f1c', 'name': 'ctest-vn1-90282889', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'project_id': '85b1d7e167db435e911b1cdaa533dbdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98784670', 'ctest-vn1-90282889'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:12:03,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '671a47ff-37ed-41a3-b004-5e86f60622f6', 'name': '', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': '171e8af0-0705-4b4b-81e5-ca3312003f1c', 'ip_version': 4, 'cidr': '26.73.15.192/26', 'allocation_pools': [{'start': '26.73.15.194', 'end': '26.73.15.254'}], 'gateway_ip': '26.73.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.73.15.194', 'tags': [], 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:03,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '5faaf806-17a6-474e-b89f-a6615111823b', 'name': '', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': '171e8af0-0705-4b4b-81e5-ca3312003f1c', 'ip_version': 4, 'cidr': '40.65.236.128/26', 'allocation_pools': [{'start': '40.65.236.130', 'end': '40.65.236.190'}], 'gateway_ip': '40.65.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.65.236.130', 'tags': [], 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:03,212 - INFO - Created VN ctest-vn1-90282889 2025-12-08 02:12:03,263 - DEBUG - VN ctest-vn1-90282889 UUID is 171e8af0-0705-4b4b-81e5-ca3312003f1c 2025-12-08 02:12:03,572 - DEBUG - Response for create_port : {'port': {'name': '46e36b71-0b8e-4dc7-be62-088b7c062d20', 'id': '46e36b71-0b8e-4dc7-be62-088b7c062d20', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': '171e8af0-0705-4b4b-81e5-ca3312003f1c', 'mac_address': '02:46:e3:6b:71:0b', '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': '26.73.15.197', 'subnet_id': '671a47ff-37ed-41a3-b004-5e86f60622f6'}], 'security_groups': ['366d65da-37ca-4202-ad76-b331b272a8b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:03,751 - DEBUG - Response for create_port : {'port': {'name': '31908c8b-2c88-4352-a245-85607d5f2d02', 'id': '31908c8b-2c88-4352-a245-85607d5f2d02', 'tenant_id': '85b1d7e167db435e911b1cdaa533dbdf', 'network_id': '171e8af0-0705-4b4b-81e5-ca3312003f1c', 'mac_address': '02:31:90:8c:8b:2c', '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': '40.65.236.133', 'subnet_id': '5faaf806-17a6-474e-b89f-a6615111823b'}], 'security_groups': ['366d65da-37ca-4202-ad76-b331b272a8b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b1d7e167db435e911b1cdaa533dbdf'}} 2025-12-08 02:12:03,804 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:12:04,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:12:04,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4851-1) 2025-12-08 02:12:04,503 - INFO - Waiting for VM ctest-vn1-vm1-42733383 to be up.. 2025-12-08 02:12:04,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:12:09,607 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:12:09,607 - INFO - VM name : ctest-vn1-vm1-42733383 2025-12-08 02:12:09,680 - DEBUG - VM ctest-vn1-vm1-42733383 ID is 72fa8758-4404-4cb8-bfba-7877ef070d30 2025-12-08 02:12:09,701 - DEBUG - VM ctest-vn1-vm1-42733383 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:12:09,773 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/72fa8758-4404-4cb8-bfba-7877ef070d30 2025-12-08 02:12:09,780 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/46e36b71-0b8e-4dc7-be62-088b7c062d20 2025-12-08 02:12:13,037 - 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 1024ms') 2025-12-08 02:12:13,037 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42733383 failed! 2025-12-08 02:12:13,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98784670:ctest-vn1-90282889 is 26.73.15.193 and allocation pool is NOT set 2025-12-08 02:12:13,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98784670:ctest-vn1-90282889 is 40.65.236.129 and allocation pool is NOT set 2025-12-08 02:12:15,159 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.109/2.198/3.288/1.089 ms') 2025-12-08 02:12:15,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42733383 passed 2025-12-08 02:12:15,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:15,307 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42733383, IP 26.73.15.197, Port 22 2025-12-08 02:12:15,362 - 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-12-08 02:12:15,544 - DEBUG - VM ctest-vn1-vm1-42733383 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 02:12:20,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:20,545 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42733383, IP 26.73.15.197, Port 22 2025-12-08 02:12:20,702 - DEBUG - VM ctest-vn1-vm1-42733383 is ready for SSH connections 2025-12-08 02:12:20,702 - INFO - Waiting for VM ctest-vn1-vm2-45987627 to be up.. 2025-12-08 02:12:20,771 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:12:20,771 - INFO - VM name : ctest-vn1-vm2-45987627 2025-12-08 02:12:20,834 - DEBUG - VM ctest-vn1-vm2-45987627 ID is 94c9489e-9ff2-428c-905b-d379c28b1347 2025-12-08 02:12:20,835 - DEBUG - VM ctest-vn1-vm2-45987627 launched on Node cn-jenkins-deploy-platform-ansible-os-4851-1 2025-12-08 02:12:20,899 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/94c9489e-9ff2-428c-905b-d379c28b1347 2025-12-08 02:12:20,907 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/31908c8b-2c88-4352-a245-85607d5f2d02 2025-12-08 02:12:22,139 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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 = 0.355/1.503/2.652/1.148 ms') 2025-12-08 02:12:22,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-45987627 passed 2025-12-08 02:12:22,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:22,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45987627, IP 40.65.236.133, Port 22 2025-12-08 02:12:22,442 - DEBUG - VM ctest-vn1-vm2-45987627 is ready for SSH connections 2025-12-08 02:12:22,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:22,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:22,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:12:22,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.73.15.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-08 02:12:22,442 - DEBUG - ping -s 56 -c 3 -W 1 26.73.15.197 2025-12-08 02:12:26,423 - DEBUG - PING 26.73.15.197 (26.73.15.197): 56 data bytes 64 bytes from 26.73.15.197: seq=0 ttl=63 time=3.813 ms 64 bytes from 26.73.15.197: seq=1 ttl=63 time=0.989 ms 64 bytes from 26.73.15.197: seq=2 ttl=63 time=0.971 ms --- 26.73.15.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/1.924/3.813 ms 2025-12-08 02:12:26,423 - INFO - Ping to IP 26.73.15.197 from VM ctest-vn1-vm2-45987627 passed 2025-12-08 02:12:26,423 - INFO - Detaching port 31908c8b-2c88-4352-a245-85607d5f2d02 from VM ctest-vn1-vm2-45987627 2025-12-08 02:12:26,479 - INFO - Deleting VM ctest-vn1-vm2-45987627 2025-12-08 02:12:26,546 - INFO - Detaching port 46e36b71-0b8e-4dc7-be62-088b7c062d20 from VM ctest-vn1-vm1-42733383 2025-12-08 02:12:26,581 - INFO - Deleting VM ctest-vn1-vm1-42733383 2025-12-08 02:12:26,809 - DEBUG - Response for delete_port : () 2025-12-08 02:12:26,975 - DEBUG - Response for delete_port : () 2025-12-08 02:12:26,976 - INFO - Deleting VN ctest-vn1-90282889 2025-12-08 02:12:27,102 - DEBUG - Response for deleting network () 2025-12-08 02:12:27,360 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:12:27,360 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-12-08 02:12:27,360 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:12:28,047 - INFO - Deleted project: ctest-TestPorts-98784670, ID : 85b1d7e1-67db-435e-911b-1cdaa533dbdf