2025-12-18 19:31:15,574 - INFO - Domain Default found not creating 2025-12-18 19:31:15,765 - INFO - Project ctest-TestPorts-17952858 not found, creating it 2025-12-18 19:31:16,245 - INFO - Created Project:ctest-TestPorts-17952858, ID : 6abdfb60-f9e1-4787-8248-05e3f0107d0f 2025-12-18 19:31:17,859 - INFO - ================================================================================ 2025-12-18 19:31:17,859 - INFO - STARTING TEST : test_ports_bindings 2025-12-18 19:31:17,859 - 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-18 19:31:18,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 19:31:18,130 - INFO - Initial checks done. Running the testcase now 2025-12-18 19:31:18,131 - INFO - 2025-12-18 19:31:18,673 - DEBUG - Response for create_network : {'network': {'id': '705b7374-3720-4e08-a225-d68fa77f68c7', 'name': 'ctest-vn-75954516', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'project_id': '6abdfb60f9e14787824805e3f0107d0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17952858', 'ctest-vn-75954516'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:31:18,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea1b8860-0224-4049-aee0-65bbb2e01143', 'name': '', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '705b7374-3720-4e08-a225-d68fa77f68c7', 'ip_version': 4, 'cidr': '62.84.53.128/26', 'allocation_pools': [{'start': '62.84.53.130', 'end': '62.84.53.190'}], 'gateway_ip': '62.84.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.84.53.130', 'tags': [], 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:18,869 - INFO - Created VN ctest-vn-75954516 2025-12-18 19:31:18,920 - DEBUG - VN ctest-vn-75954516 UUID is 705b7374-3720-4e08-a225-d68fa77f68c7 2025-12-18 19:31:19,028 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17952858', 'ctest-vmi-97589943']} 2025-12-18 19:31:19,261 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97589943', 'id': '0c8dbb6f-3e9a-4798-a434-2b99d7cb3277', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '705b7374-3720-4e08-a225-d68fa77f68c7', 'mac_address': '02:0c:8d:bb:6f:3e', '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': '62.84.53.131', 'subnet_id': 'ea1b8860-0224-4049-aee0-65bbb2e01143'}], 'security_groups': ['43a843ff-053a-434d-a769-555af77c9865'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:19,261 - DEBUG - Created port 0c8dbb6f-3e9a-4798-a434-2b99d7cb3277 2025-12-18 19:31:19,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c8dbb6f-3e9a-4798-a434-2b99d7cb3277 2025-12-18 19:31:19,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c8dbb6f-3e9a-4798-a434-2b99d7cb3277 2025-12-18 19:31:19,694 - INFO - VMI 0c8dbb6f-3e9a-4798-a434-2b99d7cb3277 verification in API Server passed 2025-12-18 19:31:19,782 - DEBUG - Response for delete_port : () 2025-12-18 19:31:19,782 - INFO - Deleted port 0c8dbb6f-3e9a-4798-a434-2b99d7cb3277 2025-12-18 19:31:19,783 - INFO - Deleting VN ctest-vn-75954516 2025-12-18 19:31:19,890 - DEBUG - Response for deleting network () 2025-12-18 19:31:20,149 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 19:31:20,149 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-18 19:31:20,149 - INFO - -------------------------------------------------------------------------------- 2025-12-18 19:31:20,151 - INFO - ================================================================================ 2025-12-18 19:31:20,151 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-18 19:31:20,151 - 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-18 19:31:20,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 19:31:20,438 - INFO - Initial checks done. Running the testcase now 2025-12-18 19:31:20,438 - INFO - 2025-12-18 19:31:20,620 - DEBUG - Response for create_network : {'network': {'id': '695c68bb-7735-4634-9790-7685bf911275', 'name': 'ctest-vn1-37834109', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'project_id': '6abdfb60f9e14787824805e3f0107d0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17952858', 'ctest-vn1-37834109'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:31:20,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd479c686-943d-4b1d-9fa7-aa609c574dbf', 'name': '', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '695c68bb-7735-4634-9790-7685bf911275', 'ip_version': 4, 'cidr': '35.116.3.0/26', 'allocation_pools': [{'start': '35.116.3.2', 'end': '35.116.3.62'}], 'gateway_ip': '35.116.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.116.3.2', 'tags': [], 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:20,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '57452814-9395-4c09-9fe6-01034bf64211', 'name': '', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '695c68bb-7735-4634-9790-7685bf911275', 'ip_version': 4, 'cidr': '113.92.224.192/26', 'allocation_pools': [{'start': '113.92.224.194', 'end': '113.92.224.254'}], 'gateway_ip': '113.92.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.92.224.194', 'tags': [], 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:20,974 - INFO - Created VN ctest-vn1-37834109 2025-12-18 19:31:21,024 - DEBUG - VN ctest-vn1-37834109 UUID is 695c68bb-7735-4634-9790-7685bf911275 2025-12-18 19:31:21,326 - DEBUG - Response for create_port : {'port': {'name': 'bbd9d757-1695-46ba-92d2-80220a3da191', 'id': 'bbd9d757-1695-46ba-92d2-80220a3da191', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '695c68bb-7735-4634-9790-7685bf911275', 'mac_address': '02:bb:d9:d7:57:16', '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': '35.116.3.5', 'subnet_id': 'd479c686-943d-4b1d-9fa7-aa609c574dbf'}], 'security_groups': ['43a843ff-053a-434d-a769-555af77c9865'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:21,516 - DEBUG - Response for create_port : {'port': {'name': 'b17909fe-2107-4ea5-989a-0d0ef0c23afa', 'id': 'b17909fe-2107-4ea5-989a-0d0ef0c23afa', 'tenant_id': '6abdfb60f9e14787824805e3f0107d0f', 'network_id': '695c68bb-7735-4634-9790-7685bf911275', 'mac_address': '02:b1:79:09:fe:21', '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.92.224.197', 'subnet_id': '57452814-9395-4c09-9fe6-01034bf64211'}], 'security_groups': ['43a843ff-053a-434d-a769-555af77c9865'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6abdfb60f9e14787824805e3f0107d0f'}} 2025-12-18 19:31:21,576 - DEBUG - Services list from nova: [, , ] 2025-12-18 19:31:21,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:31:22,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:31:22,288 - INFO - Waiting for VM ctest-vn1-vm1-03860734 to be up.. 2025-12-18 19:31:22,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 19:31:27,399 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:31:27,399 - INFO - VM name : ctest-vn1-vm1-03860734 2025-12-18 19:31:27,471 - DEBUG - VM ctest-vn1-vm1-03860734 ID is 67ebf834-365c-48da-ae0f-e8f8b5142e0c 2025-12-18 19:31:27,490 - DEBUG - VM ctest-vn1-vm1-03860734 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:31:27,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67ebf834-365c-48da-ae0f-e8f8b5142e0c 2025-12-18 19:31:27,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bbd9d757-1695-46ba-92d2-80220a3da191 2025-12-18 19:31:30,814 - 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 1011ms') 2025-12-18 19:31:30,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03860734 failed! 2025-12-18 19:31:30,868 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17952858:ctest-vn1-37834109 is 35.116.3.1 and allocation pool is NOT set 2025-12-18 19:31:30,868 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17952858:ctest-vn1-37834109 is 113.92.224.193 and allocation pool is NOT set 2025-12-18 19:31:32,934 - 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=3.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.78 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 = 3.778/3.864/3.951/0.086 ms') 2025-12-18 19:31:32,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03860734 passed 2025-12-18 19:31:33,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:33,089 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03860734, IP 35.116.3.5, Port 22 2025-12-18 19:31:33,154 - 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-12-18 19:31:33,228 - DEBUG - VM ctest-vn1-vm1-03860734 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 19:31:38,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:38,229 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03860734, IP 35.116.3.5, Port 22 2025-12-18 19:31:38,384 - DEBUG - VM ctest-vn1-vm1-03860734 is ready for SSH connections 2025-12-18 19:31:38,384 - INFO - Waiting for VM ctest-vn1-vm2-57597540 to be up.. 2025-12-18 19:31:38,456 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:31:38,456 - INFO - VM name : ctest-vn1-vm2-57597540 2025-12-18 19:31:38,527 - DEBUG - VM ctest-vn1-vm2-57597540 ID is e4a0b145-ba20-4446-ba5b-b06d553d2147 2025-12-18 19:31:38,527 - DEBUG - VM ctest-vn1-vm2-57597540 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:31:38,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4a0b145-ba20-4446-ba5b-b06d553d2147 2025-12-18 19:31:38,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b17909fe-2107-4ea5-989a-0d0ef0c23afa 2025-12-18 19:31:39,839 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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 = 0.415/1.770/3.125/1.355 ms') 2025-12-18 19:31:39,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57597540 passed 2025-12-18 19:31:39,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:39,988 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57597540, IP 113.92.224.197, Port 22 2025-12-18 19:31:40,144 - DEBUG - VM ctest-vn1-vm2-57597540 is ready for SSH connections 2025-12-18 19:31:40,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:40,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:40,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:31:40,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.116.3.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:31:40,151 - DEBUG - ping -s 56 -c 3 -W 1 35.116.3.5 2025-12-18 19:31:42,853 - DEBUG - PING 35.116.3.5 (35.116.3.5): 56 data bytes 64 bytes from 35.116.3.5: seq=0 ttl=63 time=3.951 ms 64 bytes from 35.116.3.5: seq=1 ttl=63 time=0.889 ms 64 bytes from 35.116.3.5: seq=2 ttl=63 time=0.945 ms --- 35.116.3.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.928/3.951 ms 2025-12-18 19:31:42,853 - INFO - Ping to IP 35.116.3.5 from VM ctest-vn1-vm2-57597540 passed 2025-12-18 19:31:42,853 - INFO - Detaching port b17909fe-2107-4ea5-989a-0d0ef0c23afa from VM ctest-vn1-vm2-57597540 2025-12-18 19:31:42,902 - INFO - Deleting VM ctest-vn1-vm2-57597540 2025-12-18 19:31:42,976 - INFO - Detaching port bbd9d757-1695-46ba-92d2-80220a3da191 from VM ctest-vn1-vm1-03860734 2025-12-18 19:31:43,009 - INFO - Deleting VM ctest-vn1-vm1-03860734 2025-12-18 19:31:43,242 - DEBUG - Response for delete_port : () 2025-12-18 19:31:43,404 - DEBUG - Response for delete_port : () 2025-12-18 19:31:43,404 - INFO - Deleting VN ctest-vn1-37834109 2025-12-18 19:31:43,535 - DEBUG - Response for deleting network () 2025-12-18 19:31:43,797 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 19:31:43,797 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-18 19:31:43,797 - INFO - -------------------------------------------------------------------------------- 2025-12-18 19:31:44,575 - INFO - Deleted project: ctest-TestPorts-17952858, ID : 6abdfb60-f9e1-4787-8248-05e3f0107d0f