2025-10-09 17:53:04,503 - INFO - Domain Default found not creating 2025-10-09 17:53:04,668 - INFO - Project ctest-TestPorts-71525689 not found, creating it 2025-10-09 17:53:05,150 - INFO - Created Project:ctest-TestPorts-71525689, ID : 3d24dd79-4b56-46da-ab59-52636361f946 2025-10-09 17:53:06,685 - INFO - ================================================================================ 2025-10-09 17:53:06,685 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 17:53:06,685 - 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-10-09 17:53:06,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-09 17:53:06,939 - INFO - Initial checks done. Running the testcase now 2025-10-09 17:53:06,939 - INFO - 2025-10-09 17:53:07,500 - DEBUG - Response for create_network : {'network': {'id': '4bb3a1d1-b06d-48e1-b736-32cbfeb475f3', 'name': 'ctest-vn-36892171', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'project_id': '3d24dd794b5646daab5952636361f946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71525689', 'ctest-vn-36892171'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:53:07,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d7d5949-3747-474d-bee4-cefe1858579c', 'name': '', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '4bb3a1d1-b06d-48e1-b736-32cbfeb475f3', 'ip_version': 4, 'cidr': '30.217.150.64/26', 'allocation_pools': [{'start': '30.217.150.66', 'end': '30.217.150.126'}], 'gateway_ip': '30.217.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.217.150.66', 'tags': [], 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:07,711 - INFO - Created VN ctest-vn-36892171 2025-10-09 17:53:07,764 - DEBUG - VN ctest-vn-36892171 UUID is 4bb3a1d1-b06d-48e1-b736-32cbfeb475f3 2025-10-09 17:53:07,873 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71525689', 'ctest-vmi-30220682']} 2025-10-09 17:53:08,113 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30220682', 'id': '01761695-2cf1-4bcf-842c-279a9dea9d2f', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '4bb3a1d1-b06d-48e1-b736-32cbfeb475f3', 'mac_address': '02:01:76:16:95:2c', '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': '30.217.150.67', 'subnet_id': '2d7d5949-3747-474d-bee4-cefe1858579c'}], 'security_groups': ['dc3e8443-57ee-4691-bf85-4eded9fd4107'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:08,114 - DEBUG - Created port 01761695-2cf1-4bcf-842c-279a9dea9d2f 2025-10-09 17:53:08,220 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/01761695-2cf1-4bcf-842c-279a9dea9d2f 2025-10-09 17:53:08,509 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/01761695-2cf1-4bcf-842c-279a9dea9d2f 2025-10-09 17:53:08,542 - INFO - VMI 01761695-2cf1-4bcf-842c-279a9dea9d2f verification in API Server passed 2025-10-09 17:53:08,654 - DEBUG - Response for delete_port : () 2025-10-09 17:53:08,654 - INFO - Deleted port 01761695-2cf1-4bcf-842c-279a9dea9d2f 2025-10-09 17:53:08,654 - INFO - Deleting VN ctest-vn-36892171 2025-10-09 17:53:08,752 - DEBUG - Response for deleting network () 2025-10-09 17:53:09,006 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 17:53:09,006 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-09 17:53:09,006 - INFO - -------------------------------------------------------------------------------- 2025-10-09 17:53:09,009 - INFO - ================================================================================ 2025-10-09 17:53:09,009 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 17:53:09,009 - 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-10-09 17:53:09,293 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-09 17:53:09,293 - INFO - Initial checks done. Running the testcase now 2025-10-09 17:53:09,293 - INFO - 2025-10-09 17:53:09,465 - DEBUG - Response for create_network : {'network': {'id': '93f86999-60d5-4af6-af5d-fa1d680cdc3a', 'name': 'ctest-vn1-09998703', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'project_id': '3d24dd794b5646daab5952636361f946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71525689', 'ctest-vn1-09998703'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:53:09,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fff61d5c-15ab-43cd-b1cc-20b97c1eec90', 'name': '', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '93f86999-60d5-4af6-af5d-fa1d680cdc3a', 'ip_version': 4, 'cidr': '98.59.20.128/26', 'allocation_pools': [{'start': '98.59.20.130', 'end': '98.59.20.190'}], 'gateway_ip': '98.59.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.59.20.130', 'tags': [], 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:09,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '302cf360-fd04-44cf-9c7c-2d7354203a3e', 'name': '', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '93f86999-60d5-4af6-af5d-fa1d680cdc3a', 'ip_version': 4, 'cidr': '199.150.224.64/26', 'allocation_pools': [{'start': '199.150.224.66', 'end': '199.150.224.126'}], 'gateway_ip': '199.150.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.150.224.66', 'tags': [], 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:09,898 - INFO - Created VN ctest-vn1-09998703 2025-10-09 17:53:09,952 - DEBUG - VN ctest-vn1-09998703 UUID is 93f86999-60d5-4af6-af5d-fa1d680cdc3a 2025-10-09 17:53:10,250 - DEBUG - Response for create_port : {'port': {'name': '1f682172-53ed-4e23-8664-b48c2834e315', 'id': '1f682172-53ed-4e23-8664-b48c2834e315', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '93f86999-60d5-4af6-af5d-fa1d680cdc3a', 'mac_address': '02:1f:68:21:72:53', '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': '98.59.20.133', 'subnet_id': 'fff61d5c-15ab-43cd-b1cc-20b97c1eec90'}], 'security_groups': ['dc3e8443-57ee-4691-bf85-4eded9fd4107'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:10,425 - DEBUG - Response for create_port : {'port': {'name': '5e5deb3e-3c2e-4a52-be99-f488f0cb6758', 'id': '5e5deb3e-3c2e-4a52-be99-f488f0cb6758', 'tenant_id': '3d24dd794b5646daab5952636361f946', 'network_id': '93f86999-60d5-4af6-af5d-fa1d680cdc3a', 'mac_address': '02:5e:5d:eb:3e:3c', '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': '199.150.224.69', 'subnet_id': '302cf360-fd04-44cf-9c7c-2d7354203a3e'}], 'security_groups': ['dc3e8443-57ee-4691-bf85-4eded9fd4107'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d24dd794b5646daab5952636361f946'}} 2025-10-09 17:53:10,483 - DEBUG - Services list from nova: [, , ] 2025-10-09 17:53:10,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:53:11,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:53:11,388 - INFO - Waiting for VM ctest-vn1-vm1-45210442 to be up.. 2025-10-09 17:53:11,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 17:53:16,514 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:53:16,514 - INFO - VM name : ctest-vn1-vm1-45210442 2025-10-09 17:53:16,592 - DEBUG - VM ctest-vn1-vm1-45210442 ID is 0f4c4235-abe7-4274-8812-d14fd525e776 2025-10-09 17:53:16,612 - DEBUG - VM ctest-vn1-vm1-45210442 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:53:16,706 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/0f4c4235-abe7-4274-8812-d14fd525e776 2025-10-09 17:53:16,716 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1f682172-53ed-4e23-8664-b48c2834e315 2025-10-09 17:53:19,991 - 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 1025ms') 2025-10-09 17:53:19,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45210442 failed! 2025-10-09 17:53:20,048 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71525689:ctest-vn1-09998703 is 98.59.20.129 and allocation pool is NOT set 2025-10-09 17:53:20,049 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71525689:ctest-vn1-09998703 is 199.150.224.65 and allocation pool is NOT set 2025-10-09 17:53:22,124 - 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=8.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.48 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.480/6.110/8.741/2.630 ms') 2025-10-09 17:53:22,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45210442 passed 2025-10-09 17:53:22,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:22,272 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45210442, IP 98.59.20.133, Port 22 2025-10-09 17:53:22,328 - 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-10-09 17:53:22,410 - DEBUG - VM ctest-vn1-vm1-45210442 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 17:53:27,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:27,411 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45210442, IP 98.59.20.133, Port 22 2025-10-09 17:53:27,572 - DEBUG - VM ctest-vn1-vm1-45210442 is ready for SSH connections 2025-10-09 17:53:27,572 - INFO - Waiting for VM ctest-vn1-vm2-30572539 to be up.. 2025-10-09 17:53:27,646 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:53:27,646 - INFO - VM name : ctest-vn1-vm2-30572539 2025-10-09 17:53:27,716 - DEBUG - VM ctest-vn1-vm2-30572539 ID is a93dc19e-1c78-4888-a321-1176a3418b8d 2025-10-09 17:53:27,716 - DEBUG - VM ctest-vn1-vm2-30572539 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:53:27,794 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a93dc19e-1c78-4888-a321-1176a3418b8d 2025-10-09 17:53:27,803 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/5e5deb3e-3c2e-4a52-be99-f488f0cb6758 2025-10-09 17:53:29,038 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.782/2.993/1.211 ms') 2025-10-09 17:53:29,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30572539 passed 2025-10-09 17:53:29,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:29,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30572539, IP 199.150.224.69, Port 22 2025-10-09 17:53:29,352 - DEBUG - VM ctest-vn1-vm2-30572539 is ready for SSH connections 2025-10-09 17:53:29,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:29,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:29,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:29,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.59.20.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:53:29,352 - DEBUG - ping -s 56 -c 3 -W 1 98.59.20.133 2025-10-09 17:53:32,040 - DEBUG - PING 98.59.20.133 (98.59.20.133): 56 data bytes 64 bytes from 98.59.20.133: seq=0 ttl=63 time=4.010 ms 64 bytes from 98.59.20.133: seq=1 ttl=63 time=0.916 ms 64 bytes from 98.59.20.133: seq=2 ttl=63 time=0.946 ms --- 98.59.20.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.957/4.010 ms 2025-10-09 17:53:32,040 - INFO - Ping to IP 98.59.20.133 from VM ctest-vn1-vm2-30572539 passed 2025-10-09 17:53:32,041 - INFO - Detaching port 5e5deb3e-3c2e-4a52-be99-f488f0cb6758 from VM ctest-vn1-vm2-30572539 2025-10-09 17:53:32,089 - INFO - Deleting VM ctest-vn1-vm2-30572539 2025-10-09 17:53:32,172 - INFO - Detaching port 1f682172-53ed-4e23-8664-b48c2834e315 from VM ctest-vn1-vm1-45210442 2025-10-09 17:53:32,218 - INFO - Deleting VM ctest-vn1-vm1-45210442 2025-10-09 17:53:32,492 - DEBUG - Response for delete_port : () 2025-10-09 17:53:32,704 - DEBUG - Response for delete_port : () 2025-10-09 17:53:32,704 - INFO - Deleting VN ctest-vn1-09998703 2025-10-09 17:53:32,859 - DEBUG - Response for deleting network () 2025-10-09 17:53:33,130 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 17:53:33,130 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-09 17:53:33,131 - INFO - -------------------------------------------------------------------------------- 2025-10-09 17:53:33,830 - INFO - Deleted project: ctest-TestPorts-71525689, ID : 3d24dd79-4b56-46da-ab59-52636361f946