2025-08-29 20:32:33,032 - INFO - Domain Default found not creating 2025-08-29 20:32:33,195 - INFO - Project ctest-TestPorts-15361864 not found, creating it 2025-08-29 20:32:33,637 - INFO - Created Project:ctest-TestPorts-15361864, ID : 7d383a95-123b-4402-b5ff-53d9fcaf9fa3 2025-08-29 20:32:35,808 - INFO - ================================================================================ 2025-08-29 20:32:35,809 - INFO - STARTING TEST : test_ports_bindings 2025-08-29 20:32:35,809 - 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-08-29 20:32:36,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 20:32:36,065 - INFO - Initial checks done. Running the testcase now 2025-08-29 20:32:36,065 - INFO - 2025-08-29 20:32:36,626 - DEBUG - Response for create_network : {'network': {'id': '54a5f0ed-c87d-48f7-a977-67b92669fa08', 'name': 'ctest-vn-55197480', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15361864', 'ctest-vn-55197480'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:32:37,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '7443ff92-dffb-497c-9a70-8b3586983ff7', 'name': '', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '54a5f0ed-c87d-48f7-a977-67b92669fa08', 'ip_version': 4, 'cidr': '137.78.201.192/26', 'allocation_pools': [{'start': '137.78.201.194', 'end': '137.78.201.254'}], 'gateway_ip': '137.78.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.78.201.194', 'tags': [], 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:37,096 - INFO - Created VN ctest-vn-55197480 2025-08-29 20:32:37,154 - DEBUG - VN ctest-vn-55197480 UUID is 54a5f0ed-c87d-48f7-a977-67b92669fa08 2025-08-29 20:32:37,283 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15361864', 'ctest-vmi-01680866']} 2025-08-29 20:32:37,549 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01680866', 'id': '04eef7fe-27be-42cb-87be-305b8b39b16e', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '54a5f0ed-c87d-48f7-a977-67b92669fa08', 'mac_address': '02:04:ee:f7:fe:27', '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': '137.78.201.195', 'subnet_id': '7443ff92-dffb-497c-9a70-8b3586983ff7'}], 'security_groups': ['7e5c764c-1648-42f9-b30b-0a934598b4bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:37,549 - DEBUG - Created port 04eef7fe-27be-42cb-87be-305b8b39b16e 2025-08-29 20:32:37,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04eef7fe-27be-42cb-87be-305b8b39b16e 2025-08-29 20:32:37,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04eef7fe-27be-42cb-87be-305b8b39b16e 2025-08-29 20:32:37,981 - INFO - VMI 04eef7fe-27be-42cb-87be-305b8b39b16e verification in API Server passed 2025-08-29 20:32:38,073 - DEBUG - Response for delete_port : () 2025-08-29 20:32:38,073 - INFO - Deleted port 04eef7fe-27be-42cb-87be-305b8b39b16e 2025-08-29 20:32:38,073 - INFO - Deleting VN ctest-vn-55197480 2025-08-29 20:32:38,176 - DEBUG - Response for deleting network () 2025-08-29 20:32:38,435 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 20:32:38,435 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-29 20:32:38,435 - INFO - -------------------------------------------------------------------------------- 2025-08-29 20:32:38,437 - INFO - ================================================================================ 2025-08-29 20:32:38,437 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-29 20:32:38,438 - 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-08-29 20:32:38,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 20:32:38,727 - INFO - Initial checks done. Running the testcase now 2025-08-29 20:32:38,727 - INFO - 2025-08-29 20:32:38,891 - DEBUG - Response for create_network : {'network': {'id': '2f6b65a7-ea00-4f46-9297-f49febe2de43', 'name': 'ctest-vn1-69739435', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15361864', 'ctest-vn1-69739435'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:32:39,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '8632afc3-27d1-4aa5-b236-40cc926aaaaa', 'name': '', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '2f6b65a7-ea00-4f46-9297-f49febe2de43', 'ip_version': 4, 'cidr': '137.251.42.0/26', 'allocation_pools': [{'start': '137.251.42.2', 'end': '137.251.42.62'}], 'gateway_ip': '137.251.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.251.42.2', 'tags': [], 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:39,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2da8a65-0cab-4bf2-800f-d5179f576590', 'name': '', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '2f6b65a7-ea00-4f46-9297-f49febe2de43', 'ip_version': 4, 'cidr': '206.9.118.192/26', 'allocation_pools': [{'start': '206.9.118.194', 'end': '206.9.118.254'}], 'gateway_ip': '206.9.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.9.118.194', 'tags': [], 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:39,253 - INFO - Created VN ctest-vn1-69739435 2025-08-29 20:32:39,306 - DEBUG - VN ctest-vn1-69739435 UUID is 2f6b65a7-ea00-4f46-9297-f49febe2de43 2025-08-29 20:32:39,619 - DEBUG - Response for create_port : {'port': {'name': '7223db42-179f-4238-8684-fb9976b45e48', 'id': '7223db42-179f-4238-8684-fb9976b45e48', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '2f6b65a7-ea00-4f46-9297-f49febe2de43', 'mac_address': '02:72:23:db:42:17', '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': '137.251.42.5', 'subnet_id': '8632afc3-27d1-4aa5-b236-40cc926aaaaa'}], 'security_groups': ['7e5c764c-1648-42f9-b30b-0a934598b4bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:39,799 - DEBUG - Response for create_port : {'port': {'name': '45fd19dc-ae82-4416-bc2a-cda4e41f1eb5', 'id': '45fd19dc-ae82-4416-bc2a-cda4e41f1eb5', 'tenant_id': '7d383a95123b4402b5ff53d9fcaf9fa3', 'network_id': '2f6b65a7-ea00-4f46-9297-f49febe2de43', 'mac_address': '02:45:fd:19:dc:ae', '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': '206.9.118.197', 'subnet_id': 'f2da8a65-0cab-4bf2-800f-d5179f576590'}], 'security_groups': ['7e5c764c-1648-42f9-b30b-0a934598b4bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d383a95123b4402b5ff53d9fcaf9fa3'}} 2025-08-29 20:32:39,859 - DEBUG - Services list from nova: [, , ] 2025-08-29 20:32:40,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:32:40,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:32:40,604 - INFO - Waiting for VM ctest-vn1-vm1-57931686 to be up.. 2025-08-29 20:32:40,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 20:32:45,720 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:32:45,720 - INFO - VM name : ctest-vn1-vm1-57931686 2025-08-29 20:32:45,801 - DEBUG - VM ctest-vn1-vm1-57931686 ID is 8d82e1fa-6461-45e2-a5e6-c0d94b38fe97 2025-08-29 20:32:45,819 - DEBUG - VM ctest-vn1-vm1-57931686 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:32:45,890 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d82e1fa-6461-45e2-a5e6-c0d94b38fe97 2025-08-29 20:32:45,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7223db42-179f-4238-8684-fb9976b45e48 2025-08-29 20:32:49,144 - 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 1015ms') 2025-08-29 20:32:49,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57931686 failed! 2025-08-29 20:32:49,197 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15361864:ctest-vn1-69739435 is 137.251.42.1 and allocation pool is NOT set 2025-08-29 20:32:49,198 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15361864:ctest-vn1-69739435 is 206.9.118.193 and allocation pool is NOT set 2025-08-29 20:32:51,264 - 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=4.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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.717/2.959/4.201/1.242 ms') 2025-08-29 20:32:51,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57931686 passed 2025-08-29 20:32:51,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:51,414 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57931686, IP 137.251.42.5, Port 22 2025-08-29 20:32:51,469 - 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-08-29 20:32:51,540 - DEBUG - VM ctest-vn1-vm1-57931686 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-29 20:32:56,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:56,540 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57931686, IP 137.251.42.5, Port 22 2025-08-29 20:32:56,709 - DEBUG - VM ctest-vn1-vm1-57931686 is ready for SSH connections 2025-08-29 20:32:56,709 - INFO - Waiting for VM ctest-vn1-vm2-19492795 to be up.. 2025-08-29 20:32:56,787 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:32:56,787 - INFO - VM name : ctest-vn1-vm2-19492795 2025-08-29 20:32:56,861 - DEBUG - VM ctest-vn1-vm2-19492795 ID is 9691865f-9abd-4a97-a4cc-99a536e9184a 2025-08-29 20:32:56,861 - DEBUG - VM ctest-vn1-vm2-19492795 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:32:56,935 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9691865f-9abd-4a97-a4cc-99a536e9184a 2025-08-29 20:32:56,943 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/45fd19dc-ae82-4416-bc2a-cda4e41f1eb5 2025-08-29 20:32:58,186 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.638/2.870/1.231 ms') 2025-08-29 20:32:58,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19492795 passed 2025-08-29 20:32:58,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:58,333 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19492795, IP 206.9.118.197, Port 22 2025-08-29 20:32:58,489 - DEBUG - VM ctest-vn1-vm2-19492795 is ready for SSH connections 2025-08-29 20:32:58,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:58,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:58,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:32:58,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.251.42.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:32:58,489 - DEBUG - ping -s 56 -c 3 -W 1 137.251.42.5 2025-08-29 20:33:01,150 - DEBUG - PING 137.251.42.5 (137.251.42.5): 56 data bytes 64 bytes from 137.251.42.5: seq=0 ttl=63 time=4.548 ms 64 bytes from 137.251.42.5: seq=1 ttl=63 time=1.092 ms 64 bytes from 137.251.42.5: seq=2 ttl=63 time=1.045 ms --- 137.251.42.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/2.228/4.548 ms 2025-08-29 20:33:01,150 - INFO - Ping to IP 137.251.42.5 from VM ctest-vn1-vm2-19492795 passed 2025-08-29 20:33:01,150 - INFO - Detaching port 45fd19dc-ae82-4416-bc2a-cda4e41f1eb5 from VM ctest-vn1-vm2-19492795 2025-08-29 20:33:01,197 - INFO - Deleting VM ctest-vn1-vm2-19492795 2025-08-29 20:33:01,258 - INFO - Detaching port 7223db42-179f-4238-8684-fb9976b45e48 from VM ctest-vn1-vm1-57931686 2025-08-29 20:33:01,291 - INFO - Deleting VM ctest-vn1-vm1-57931686 2025-08-29 20:33:01,529 - DEBUG - Response for delete_port : () 2025-08-29 20:33:01,677 - DEBUG - Response for delete_port : () 2025-08-29 20:33:01,677 - INFO - Deleting VN ctest-vn1-69739435 2025-08-29 20:33:01,792 - DEBUG - Response for deleting network () 2025-08-29 20:33:02,050 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 20:33:02,050 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-29 20:33:02,050 - INFO - -------------------------------------------------------------------------------- 2025-08-29 20:33:02,761 - INFO - Deleted project: ctest-TestPorts-15361864, ID : 7d383a95-123b-4402-b5ff-53d9fcaf9fa3