2025-10-09 14:34:56,883 - INFO - Domain Default found not creating 2025-10-09 14:34:57,011 - INFO - Project ctest-TestPorts-44713471 not found, creating it 2025-10-09 14:34:57,441 - INFO - Created Project:ctest-TestPorts-44713471, ID : 8ab193b1-c986-4e59-becc-3108a1b9df90 2025-10-09 14:34:58,787 - INFO - ================================================================================ 2025-10-09 14:34:58,787 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 14:34:58,787 - 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 14:34:59,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:34:59,048 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:34:59,048 - INFO - 2025-10-09 14:34:59,578 - DEBUG - Response for create_network : {'network': {'id': '8f83591c-9227-4f4a-808d-d9adafa681a6', 'name': 'ctest-vn-61164755', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'project_id': '8ab193b1c9864e59becc3108a1b9df90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44713471', 'ctest-vn-61164755'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:34:59,720 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2b908e0-cbd9-4dc8-87df-df9d30b133f6', 'name': '', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': '8f83591c-9227-4f4a-808d-d9adafa681a6', 'ip_version': 4, 'cidr': '66.38.175.0/26', 'allocation_pools': [{'start': '66.38.175.2', 'end': '66.38.175.62'}], 'gateway_ip': '66.38.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.38.175.2', 'tags': [], 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:34:59,736 - INFO - Created VN ctest-vn-61164755 2025-10-09 14:34:59,788 - DEBUG - VN ctest-vn-61164755 UUID is 8f83591c-9227-4f4a-808d-d9adafa681a6 2025-10-09 14:34:59,888 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44713471', 'ctest-vmi-46997682']} 2025-10-09 14:35:00,176 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46997682', 'id': 'f2798c41-d6e0-405d-a7a9-4fd8c31eec5c', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': '8f83591c-9227-4f4a-808d-d9adafa681a6', 'mac_address': '02:f2:79:8c:41:d6', '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': '66.38.175.3', 'subnet_id': 'a2b908e0-cbd9-4dc8-87df-df9d30b133f6'}], 'security_groups': ['204a0839-bdb1-4458-899e-203c78d36cee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:35:00,176 - DEBUG - Created port f2798c41-d6e0-405d-a7a9-4fd8c31eec5c 2025-10-09 14:35:00,280 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f2798c41-d6e0-405d-a7a9-4fd8c31eec5c 2025-10-09 14:35:00,818 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f2798c41-d6e0-405d-a7a9-4fd8c31eec5c 2025-10-09 14:35:00,857 - INFO - VMI f2798c41-d6e0-405d-a7a9-4fd8c31eec5c verification in API Server passed 2025-10-09 14:35:00,941 - DEBUG - Response for delete_port : () 2025-10-09 14:35:00,941 - INFO - Deleted port f2798c41-d6e0-405d-a7a9-4fd8c31eec5c 2025-10-09 14:35:00,941 - INFO - Deleting VN ctest-vn-61164755 2025-10-09 14:35:01,043 - DEBUG - Response for deleting network () 2025-10-09 14:35:01,300 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:35:01,300 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 14:35:01,300 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:35:01,302 - INFO - ================================================================================ 2025-10-09 14:35:01,302 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 14:35:01,302 - 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 14:35:01,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:35:01,590 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:35:01,591 - INFO - 2025-10-09 14:35:01,771 - DEBUG - Response for create_network : {'network': {'id': 'ae6074bd-e7b9-4c54-8a94-58640b42a499', 'name': 'ctest-vn1-53021263', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'project_id': '8ab193b1c9864e59becc3108a1b9df90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44713471', 'ctest-vn1-53021263'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:35:01,986 - DEBUG - Response for create_subnet : {'subnet': {'id': '3406233a-e2c2-4fe6-a189-046f88b00eb4', 'name': '', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': 'ae6074bd-e7b9-4c54-8a94-58640b42a499', 'ip_version': 4, 'cidr': '131.229.70.192/26', 'allocation_pools': [{'start': '131.229.70.194', 'end': '131.229.70.254'}], 'gateway_ip': '131.229.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.229.70.194', 'tags': [], 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:35:02,155 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f32af4ba-898e-41bb-804e-7d74144fbe40', 'name': '', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': 'ae6074bd-e7b9-4c54-8a94-58640b42a499', 'ip_version': 4, 'cidr': '179.108.127.0/26', 'allocation_pools': [{'start': '179.108.127.2', 'end': '179.108.127.62'}], 'gateway_ip': '179.108.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.108.127.2', 'tags': [], 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:35:02,170 - INFO - Created VN ctest-vn1-53021263 2025-10-09 14:35:02,220 - DEBUG - VN ctest-vn1-53021263 UUID is ae6074bd-e7b9-4c54-8a94-58640b42a499 2025-10-09 14:35:02,499 - DEBUG - Response for create_port : {'port': {'name': '067e9ed8-44f8-4428-b7b6-11c5a3060b24', 'id': '067e9ed8-44f8-4428-b7b6-11c5a3060b24', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': 'ae6074bd-e7b9-4c54-8a94-58640b42a499', 'mac_address': '02:06:7e:9e:d8:44', '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': '131.229.70.197', 'subnet_id': '3406233a-e2c2-4fe6-a189-046f88b00eb4'}], 'security_groups': ['204a0839-bdb1-4458-899e-203c78d36cee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:35:02,655 - DEBUG - Response for create_port : {'port': {'name': '66c0f617-6aa6-420b-9db5-ebf6bb760318', 'id': '66c0f617-6aa6-420b-9db5-ebf6bb760318', 'tenant_id': '8ab193b1c9864e59becc3108a1b9df90', 'network_id': 'ae6074bd-e7b9-4c54-8a94-58640b42a499', 'mac_address': '02:66:c0:f6:17:6a', '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': '179.108.127.5', 'subnet_id': 'f32af4ba-898e-41bb-804e-7d74144fbe40'}], 'security_groups': ['204a0839-bdb1-4458-899e-203c78d36cee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ab193b1c9864e59becc3108a1b9df90'}} 2025-10-09 14:35:02,703 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:35:03,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:35:03,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:35:03,397 - INFO - Waiting for VM ctest-vn1-vm1-47637637 to be up.. 2025-10-09 14:35:03,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:35:08,515 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:35:08,516 - INFO - VM name : ctest-vn1-vm1-47637637 2025-10-09 14:35:08,581 - DEBUG - VM ctest-vn1-vm1-47637637 ID is cc3ced00-8da7-4bf9-b259-620ee70260ae 2025-10-09 14:35:08,599 - DEBUG - VM ctest-vn1-vm1-47637637 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:35:08,785 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/cc3ced00-8da7-4bf9-b259-620ee70260ae 2025-10-09 14:35:08,793 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/067e9ed8-44f8-4428-b7b6-11c5a3060b24 2025-10-09 14:35:12,045 - 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 1023ms') 2025-10-09 14:35:12,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47637637 failed! 2025-10-09 14:35:12,100 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44713471:ctest-vn1-53021263 is 131.229.70.193 and allocation pool is NOT set 2025-10-09 14:35:12,100 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44713471:ctest-vn1-53021263 is 179.108.127.1 and allocation pool is NOT set 2025-10-09 14:35:14,164 - 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=7.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/3.975/7.499/3.524 ms') 2025-10-09 14:35:14,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47637637 passed 2025-10-09 14:35:14,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:14,324 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47637637, IP 131.229.70.197, Port 22 2025-10-09 14:35:14,479 - DEBUG - VM ctest-vn1-vm1-47637637 is ready for SSH connections 2025-10-09 14:35:14,480 - INFO - Waiting for VM ctest-vn1-vm2-54105736 to be up.. 2025-10-09 14:35:14,548 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:35:14,548 - INFO - VM name : ctest-vn1-vm2-54105736 2025-10-09 14:35:14,612 - DEBUG - VM ctest-vn1-vm2-54105736 ID is d0372653-c7ef-44f9-94d2-9427a25f60c7 2025-10-09 14:35:14,612 - DEBUG - VM ctest-vn1-vm2-54105736 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:35:14,675 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d0372653-c7ef-44f9-94d2-9427a25f60c7 2025-10-09 14:35:14,682 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/66c0f617-6aa6-420b-9db5-ebf6bb760318 2025-10-09 14:35:15,913 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/1.708/2.793/1.085 ms') 2025-10-09 14:35:15,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54105736 passed 2025-10-09 14:35:16,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:16,064 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54105736, IP 179.108.127.5, Port 22 2025-10-09 14:35:16,228 - DEBUG - VM ctest-vn1-vm2-54105736 is ready for SSH connections 2025-10-09 14:35:16,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:16,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:16,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:16,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.229.70.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:16,229 - DEBUG - ping -s 56 -c 3 -W 1 131.229.70.197 2025-10-09 14:35:19,240 - DEBUG - PING 131.229.70.197 (131.229.70.197): 56 data bytes 64 bytes from 131.229.70.197: seq=0 ttl=63 time=5.775 ms 64 bytes from 131.229.70.197: seq=1 ttl=63 time=0.780 ms 64 bytes from 131.229.70.197: seq=2 ttl=63 time=0.725 ms --- 131.229.70.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.426/5.775 ms 2025-10-09 14:35:19,240 - INFO - Ping to IP 131.229.70.197 from VM ctest-vn1-vm2-54105736 passed 2025-10-09 14:35:19,240 - INFO - Detaching port 66c0f617-6aa6-420b-9db5-ebf6bb760318 from VM ctest-vn1-vm2-54105736 2025-10-09 14:35:19,285 - INFO - Deleting VM ctest-vn1-vm2-54105736 2025-10-09 14:35:19,369 - INFO - Detaching port 067e9ed8-44f8-4428-b7b6-11c5a3060b24 from VM ctest-vn1-vm1-47637637 2025-10-09 14:35:19,408 - INFO - Deleting VM ctest-vn1-vm1-47637637 2025-10-09 14:35:19,613 - DEBUG - Response for delete_port : () 2025-10-09 14:35:19,781 - DEBUG - Response for delete_port : () 2025-10-09 14:35:19,781 - INFO - Deleting VN ctest-vn1-53021263 2025-10-09 14:35:19,944 - DEBUG - Response for deleting network () 2025-10-09 14:35:20,201 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:35:20,201 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-09 14:35:20,201 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:35:20,870 - INFO - Deleted project: ctest-TestPorts-44713471, ID : 8ab193b1-c986-4e59-becc-3108a1b9df90