2025-12-04 02:20:24,789 - INFO - Domain Default found not creating 2025-12-04 02:20:24,982 - INFO - Project ctest-TestPorts-04239958 not found, creating it 2025-12-04 02:20:25,471 - INFO - Created Project:ctest-TestPorts-04239958, ID : 103fe387-3d7a-4688-a57c-ee8d3749f696 2025-12-04 02:20:27,206 - INFO - ================================================================================ 2025-12-04 02:20:27,206 - INFO - STARTING TEST : test_ports_bindings 2025-12-04 02:20:27,206 - 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-04 02:20:27,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-12-04 02:20:27,480 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:20:27,480 - INFO - 2025-12-04 02:20:28,074 - DEBUG - Response for create_network : {'network': {'id': '78e99bd1-b1c2-4c73-9494-8f1cc6606b1f', 'name': 'ctest-vn-59586879', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'project_id': '103fe3873d7a4688a57cee8d3749f696', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04239958', 'ctest-vn-59586879'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:20:28,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '277c43f1-dac9-4116-9784-59d1b9a0e825', 'name': '', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': '78e99bd1-b1c2-4c73-9494-8f1cc6606b1f', 'ip_version': 4, 'cidr': '216.52.168.64/26', 'allocation_pools': [{'start': '216.52.168.66', 'end': '216.52.168.126'}], 'gateway_ip': '216.52.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.52.168.66', 'tags': [], 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:28,332 - INFO - Created VN ctest-vn-59586879 2025-12-04 02:20:28,387 - DEBUG - VN ctest-vn-59586879 UUID is 78e99bd1-b1c2-4c73-9494-8f1cc6606b1f 2025-12-04 02:20:28,503 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04239958', 'ctest-vmi-50997643']} 2025-12-04 02:20:28,743 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50997643', 'id': '18936ef4-e89f-4c6b-b351-12cc95cb1abe', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': '78e99bd1-b1c2-4c73-9494-8f1cc6606b1f', 'mac_address': '02:18:93:6e:f4:e8', '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': '216.52.168.67', 'subnet_id': '277c43f1-dac9-4116-9784-59d1b9a0e825'}], 'security_groups': ['06a8bd28-bd67-45c1-84e5-44fdda192f93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:28,744 - DEBUG - Created port 18936ef4-e89f-4c6b-b351-12cc95cb1abe 2025-12-04 02:20:28,859 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/18936ef4-e89f-4c6b-b351-12cc95cb1abe 2025-12-04 02:20:29,160 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/18936ef4-e89f-4c6b-b351-12cc95cb1abe 2025-12-04 02:20:29,205 - INFO - VMI 18936ef4-e89f-4c6b-b351-12cc95cb1abe verification in API Server passed 2025-12-04 02:20:29,298 - DEBUG - Response for delete_port : () 2025-12-04 02:20:29,298 - INFO - Deleted port 18936ef4-e89f-4c6b-b351-12cc95cb1abe 2025-12-04 02:20:29,299 - INFO - Deleting VN ctest-vn-59586879 2025-12-04 02:20:29,423 - DEBUG - Response for deleting network () 2025-12-04 02:20:29,681 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:20:29,681 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-12-04 02:20:29,681 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:20:29,684 - INFO - ================================================================================ 2025-12-04 02:20:29,684 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-04 02:20:29,685 - 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-04 02:20:29,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-12-04 02:20:29,973 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:20:29,974 - INFO - 2025-12-04 02:20:30,152 - DEBUG - Response for create_network : {'network': {'id': 'a02ef21e-81e0-4c7e-ba12-6766bcd70937', 'name': 'ctest-vn1-05564744', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'project_id': '103fe3873d7a4688a57cee8d3749f696', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04239958', 'ctest-vn1-05564744'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:20:30,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '154fbb13-3e48-467e-ad50-2c403555cf74', 'name': '', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': 'a02ef21e-81e0-4c7e-ba12-6766bcd70937', 'ip_version': 4, 'cidr': '57.168.20.192/26', 'allocation_pools': [{'start': '57.168.20.194', 'end': '57.168.20.254'}], 'gateway_ip': '57.168.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.168.20.194', 'tags': [], 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:30,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a042788-ff8b-41ac-83bf-df1d3513db10', 'name': '', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': 'a02ef21e-81e0-4c7e-ba12-6766bcd70937', 'ip_version': 4, 'cidr': '79.1.243.0/26', 'allocation_pools': [{'start': '79.1.243.2', 'end': '79.1.243.62'}], 'gateway_ip': '79.1.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.1.243.2', 'tags': [], 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:30,576 - INFO - Created VN ctest-vn1-05564744 2025-12-04 02:20:30,628 - DEBUG - VN ctest-vn1-05564744 UUID is a02ef21e-81e0-4c7e-ba12-6766bcd70937 2025-12-04 02:20:30,946 - DEBUG - Response for create_port : {'port': {'name': 'edd175f2-4c77-463d-866a-f779045fec5a', 'id': 'edd175f2-4c77-463d-866a-f779045fec5a', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': 'a02ef21e-81e0-4c7e-ba12-6766bcd70937', 'mac_address': '02:ed:d1:75:f2:4c', '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': '57.168.20.197', 'subnet_id': '154fbb13-3e48-467e-ad50-2c403555cf74'}], 'security_groups': ['06a8bd28-bd67-45c1-84e5-44fdda192f93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:31,129 - DEBUG - Response for create_port : {'port': {'name': '477c9ebb-ea28-4c12-91f5-1b21e3e0c747', 'id': '477c9ebb-ea28-4c12-91f5-1b21e3e0c747', 'tenant_id': '103fe3873d7a4688a57cee8d3749f696', 'network_id': 'a02ef21e-81e0-4c7e-ba12-6766bcd70937', 'mac_address': '02:47:7c:9e:bb:ea', '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': '79.1.243.5', 'subnet_id': '9a042788-ff8b-41ac-83bf-df1d3513db10'}], 'security_groups': ['06a8bd28-bd67-45c1-84e5-44fdda192f93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '103fe3873d7a4688a57cee8d3749f696'}} 2025-12-04 02:20:31,204 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:20:31,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:20:32,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:20:32,008 - INFO - Waiting for VM ctest-vn1-vm1-53784671 to be up.. 2025-12-04 02:20:32,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:20:37,138 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:20:37,138 - INFO - VM name : ctest-vn1-vm1-53784671 2025-12-04 02:20:37,216 - DEBUG - VM ctest-vn1-vm1-53784671 ID is 6cc0b2a5-235e-4b6a-9977-3d13498d9e0e 2025-12-04 02:20:37,236 - DEBUG - VM ctest-vn1-vm1-53784671 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:20:37,317 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6cc0b2a5-235e-4b6a-9977-3d13498d9e0e 2025-12-04 02:20:37,327 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/edd175f2-4c77-463d-866a-f779045fec5a 2025-12-04 02:20:40,575 - 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 1006ms') 2025-12-04 02:20:40,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53784671 failed! 2025-12-04 02:20:40,631 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04239958:ctest-vn1-05564744 is 57.168.20.193 and allocation pool is NOT set 2025-12-04 02:20:40,632 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04239958:ctest-vn1-05564744 is 79.1.243.1 and allocation pool is NOT set 2025-12-04 02:20:44,710 - 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=2 ttl=63 time=8.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 8.694/8.694/8.694/0.000 ms') 2025-12-04 02:20:44,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53784671 passed 2025-12-04 02:20:44,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:20:44,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53784671, IP 57.168.20.197, Port 22 2025-12-04 02:20:45,034 - DEBUG - VM ctest-vn1-vm1-53784671 is ready for SSH connections 2025-12-04 02:20:45,034 - INFO - Waiting for VM ctest-vn1-vm2-11628481 to be up.. 2025-12-04 02:20:45,116 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:20:45,116 - INFO - VM name : ctest-vn1-vm2-11628481 2025-12-04 02:20:45,188 - DEBUG - VM ctest-vn1-vm2-11628481 ID is d987641e-e3d2-44fe-83c1-819ff565aab7 2025-12-04 02:20:45,188 - DEBUG - VM ctest-vn1-vm2-11628481 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:20:45,272 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d987641e-e3d2-44fe-83c1-819ff565aab7 2025-12-04 02:20:45,283 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/477c9ebb-ea28-4c12-91f5-1b21e3e0c747 2025-12-04 02:20:46,520 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.805/3.205/1.400 ms') 2025-12-04 02:20:46,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11628481 passed 2025-12-04 02:20:46,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:20:46,672 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11628481, IP 79.1.243.5, Port 22 2025-12-04 02:20:46,837 - DEBUG - VM ctest-vn1-vm2-11628481 is ready for SSH connections 2025-12-04 02:20:46,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:20:46,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:20:46,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:20:46,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.168.20.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:20:46,838 - DEBUG - ping -s 56 -c 3 -W 1 57.168.20.197 2025-12-04 02:20:49,505 - DEBUG - PING 57.168.20.197 (57.168.20.197): 56 data bytes 64 bytes from 57.168.20.197: seq=0 ttl=63 time=4.350 ms 64 bytes from 57.168.20.197: seq=1 ttl=63 time=1.052 ms 64 bytes from 57.168.20.197: seq=2 ttl=63 time=1.325 ms --- 57.168.20.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.242/4.350 ms 2025-12-04 02:20:49,505 - INFO - Ping to IP 57.168.20.197 from VM ctest-vn1-vm2-11628481 passed 2025-12-04 02:20:49,505 - INFO - Detaching port 477c9ebb-ea28-4c12-91f5-1b21e3e0c747 from VM ctest-vn1-vm2-11628481 2025-12-04 02:20:49,560 - INFO - Deleting VM ctest-vn1-vm2-11628481 2025-12-04 02:20:49,637 - INFO - Detaching port edd175f2-4c77-463d-866a-f779045fec5a from VM ctest-vn1-vm1-53784671 2025-12-04 02:20:49,674 - INFO - Deleting VM ctest-vn1-vm1-53784671 2025-12-04 02:20:49,952 - DEBUG - Response for delete_port : () 2025-12-04 02:20:50,137 - DEBUG - Response for delete_port : () 2025-12-04 02:20:50,137 - INFO - Deleting VN ctest-vn1-05564744 2025-12-04 02:20:50,285 - DEBUG - Response for deleting network () 2025-12-04 02:20:50,545 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:20:50,545 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-04 02:20:50,545 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:20:51,238 - INFO - Deleted project: ctest-TestPorts-04239958, ID : 103fe387-3d7a-4688-a57c-ee8d3749f696