2025-10-09 14:49:23,904 - INFO - Domain Default found not creating 2025-10-09 14:49:24,070 - INFO - Project ctest-TestPorts-95505044 not found, creating it 2025-10-09 14:49:24,520 - INFO - Created Project:ctest-TestPorts-95505044, ID : b37b5904-c3d4-45dd-882c-ebd6f4f96ce6 2025-10-09 14:49:25,978 - INFO - ================================================================================ 2025-10-09 14:49:25,978 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 14:49:25,978 - 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:49:26,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-09 14:49:26,237 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:49:26,237 - INFO - 2025-10-09 14:49:26,790 - DEBUG - Response for create_network : {'network': {'id': '216df13e-6f68-4714-9c22-9161fe674170', 'name': 'ctest-vn-90410447', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95505044', 'ctest-vn-90410447'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:49:27,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '39f4b423-a9b8-43e9-8fb0-e47b2547aa59', 'name': '', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': '216df13e-6f68-4714-9c22-9161fe674170', 'ip_version': 4, 'cidr': '114.252.220.128/26', 'allocation_pools': [{'start': '114.252.220.130', 'end': '114.252.220.190'}], 'gateway_ip': '114.252.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.252.220.130', 'tags': [], 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:27,046 - INFO - Created VN ctest-vn-90410447 2025-10-09 14:49:27,097 - DEBUG - VN ctest-vn-90410447 UUID is 216df13e-6f68-4714-9c22-9161fe674170 2025-10-09 14:49:27,202 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95505044', 'ctest-vmi-58511488']} 2025-10-09 14:49:27,496 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58511488', 'id': '0a4c4258-4774-4f8b-bd43-a94f9fda2387', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': '216df13e-6f68-4714-9c22-9161fe674170', 'mac_address': '02:0a:4c:42:58:47', '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': '114.252.220.131', 'subnet_id': '39f4b423-a9b8-43e9-8fb0-e47b2547aa59'}], 'security_groups': ['63ce108a-0c53-4f1e-a409-381e9dab952d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:27,496 - DEBUG - Created port 0a4c4258-4774-4f8b-bd43-a94f9fda2387 2025-10-09 14:49:27,600 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0a4c4258-4774-4f8b-bd43-a94f9fda2387 2025-10-09 14:49:27,893 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0a4c4258-4774-4f8b-bd43-a94f9fda2387 2025-10-09 14:49:27,927 - INFO - VMI 0a4c4258-4774-4f8b-bd43-a94f9fda2387 verification in API Server passed 2025-10-09 14:49:28,016 - DEBUG - Response for delete_port : () 2025-10-09 14:49:28,016 - INFO - Deleted port 0a4c4258-4774-4f8b-bd43-a94f9fda2387 2025-10-09 14:49:28,017 - INFO - Deleting VN ctest-vn-90410447 2025-10-09 14:49:28,114 - DEBUG - Response for deleting network () 2025-10-09 14:49:28,373 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:49:28,373 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-09 14:49:28,373 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:49:28,377 - INFO - ================================================================================ 2025-10-09 14:49:28,378 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 14:49:28,378 - 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:49:28,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-09 14:49:28,665 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:49:28,666 - INFO - 2025-10-09 14:49:28,839 - DEBUG - Response for create_network : {'network': {'id': 'bd85b97e-e7df-422c-aaf1-24cb8ecc63c2', 'name': 'ctest-vn1-67619342', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95505044', 'ctest-vn1-67619342'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:49:29,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b6a0304-0843-444e-8b8a-1edc5e2e8380', 'name': '', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': 'bd85b97e-e7df-422c-aaf1-24cb8ecc63c2', 'ip_version': 4, 'cidr': '180.244.162.0/26', 'allocation_pools': [{'start': '180.244.162.2', 'end': '180.244.162.62'}], 'gateway_ip': '180.244.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.244.162.2', 'tags': [], 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:29,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a21cff66-29f9-422d-a656-f971e797a07e', 'name': '', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': 'bd85b97e-e7df-422c-aaf1-24cb8ecc63c2', 'ip_version': 4, 'cidr': '83.235.51.128/26', 'allocation_pools': [{'start': '83.235.51.130', 'end': '83.235.51.190'}], 'gateway_ip': '83.235.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.235.51.130', 'tags': [], 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:29,284 - INFO - Created VN ctest-vn1-67619342 2025-10-09 14:49:29,336 - DEBUG - VN ctest-vn1-67619342 UUID is bd85b97e-e7df-422c-aaf1-24cb8ecc63c2 2025-10-09 14:49:29,663 - DEBUG - Response for create_port : {'port': {'name': 'b4d45c4f-2486-424b-8eea-97fd29f13003', 'id': 'b4d45c4f-2486-424b-8eea-97fd29f13003', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': 'bd85b97e-e7df-422c-aaf1-24cb8ecc63c2', 'mac_address': '02:b4:d4:5c:4f:24', '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': '180.244.162.5', 'subnet_id': '3b6a0304-0843-444e-8b8a-1edc5e2e8380'}], 'security_groups': ['63ce108a-0c53-4f1e-a409-381e9dab952d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:29,848 - DEBUG - Response for create_port : {'port': {'name': '78336f62-dab7-4071-a9f2-e6e82f44637d', 'id': '78336f62-dab7-4071-a9f2-e6e82f44637d', 'tenant_id': 'b37b5904c3d445dd882cebd6f4f96ce6', 'network_id': 'bd85b97e-e7df-422c-aaf1-24cb8ecc63c2', 'mac_address': '02:78:33:6f:62:da', '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': '83.235.51.133', 'subnet_id': 'a21cff66-29f9-422d-a656-f971e797a07e'}], 'security_groups': ['63ce108a-0c53-4f1e-a409-381e9dab952d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b37b5904c3d445dd882cebd6f4f96ce6'}} 2025-10-09 14:49:29,908 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:49:30,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4264-1) 2025-10-09 14:49:30,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4264-1) 2025-10-09 14:49:30,695 - INFO - Waiting for VM ctest-vn1-vm1-02020736 to be up.. 2025-10-09 14:49:30,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:49:35,819 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:49:35,819 - INFO - VM name : ctest-vn1-vm1-02020736 2025-10-09 14:49:35,899 - DEBUG - VM ctest-vn1-vm1-02020736 ID is e6ef43d3-8b0f-4cb6-ac40-61e0bd7a1b43 2025-10-09 14:49:35,919 - DEBUG - VM ctest-vn1-vm1-02020736 launched on Node cn-jenkins-deploy-platform-ansible-os-4264-1 2025-10-09 14:49:35,994 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e6ef43d3-8b0f-4cb6-ac40-61e0bd7a1b43 2025-10-09 14:49:36,004 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b4d45c4f-2486-424b-8eea-97fd29f13003 2025-10-09 14:49:39,270 - 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 1030ms') 2025-10-09 14:49:39,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02020736 failed! 2025-10-09 14:49:39,324 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95505044:ctest-vn1-67619342 is 180.244.162.1 and allocation pool is NOT set 2025-10-09 14:49:39,325 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95505044:ctest-vn1-67619342 is 83.235.51.129 and allocation pool is NOT set 2025-10-09 14:49:43,392 - 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=3.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 3.882/3.882/3.882/0.000 ms') 2025-10-09 14:49:43,392 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02020736 passed 2025-10-09 14:49:43,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:49:43,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02020736, IP 180.244.162.5, Port 22 2025-10-09 14:49:43,700 - DEBUG - VM ctest-vn1-vm1-02020736 is ready for SSH connections 2025-10-09 14:49:43,701 - INFO - Waiting for VM ctest-vn1-vm2-57949468 to be up.. 2025-10-09 14:49:43,779 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:49:43,779 - INFO - VM name : ctest-vn1-vm2-57949468 2025-10-09 14:49:43,888 - DEBUG - VM ctest-vn1-vm2-57949468 ID is 1e653bd2-ce6d-47c6-880a-6efeb36e5025 2025-10-09 14:49:43,888 - DEBUG - VM ctest-vn1-vm2-57949468 launched on Node cn-jenkins-deploy-platform-ansible-os-4264-1 2025-10-09 14:49:43,985 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1e653bd2-ce6d-47c6-880a-6efeb36e5025 2025-10-09 14:49:43,995 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/78336f62-dab7-4071-a9f2-e6e82f44637d 2025-10-09 14:49:45,238 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/2.133/3.710/1.577 ms') 2025-10-09 14:49:45,238 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57949468 passed 2025-10-09 14:49:45,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:49:45,388 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57949468, IP 83.235.51.133, Port 22 2025-10-09 14:49:45,543 - DEBUG - VM ctest-vn1-vm2-57949468 is ready for SSH connections 2025-10-09 14:49:45,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:49:45,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:49:45,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:49:45,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.244.162.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 14:49:45,544 - DEBUG - ping -s 56 -c 3 -W 1 180.244.162.5 2025-10-09 14:49:48,212 - DEBUG - PING 180.244.162.5 (180.244.162.5): 56 data bytes 64 bytes from 180.244.162.5: seq=0 ttl=63 time=4.573 ms 64 bytes from 180.244.162.5: seq=1 ttl=63 time=1.071 ms 64 bytes from 180.244.162.5: seq=2 ttl=63 time=1.100 ms --- 180.244.162.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.071/2.248/4.573 ms 2025-10-09 14:49:48,212 - INFO - Ping to IP 180.244.162.5 from VM ctest-vn1-vm2-57949468 passed 2025-10-09 14:49:48,212 - INFO - Detaching port 78336f62-dab7-4071-a9f2-e6e82f44637d from VM ctest-vn1-vm2-57949468 2025-10-09 14:49:48,267 - INFO - Deleting VM ctest-vn1-vm2-57949468 2025-10-09 14:49:48,341 - INFO - Detaching port b4d45c4f-2486-424b-8eea-97fd29f13003 from VM ctest-vn1-vm1-02020736 2025-10-09 14:49:48,377 - INFO - Deleting VM ctest-vn1-vm1-02020736 2025-10-09 14:49:48,619 - DEBUG - Response for delete_port : () 2025-10-09 14:49:48,794 - DEBUG - Response for delete_port : () 2025-10-09 14:49:48,794 - INFO - Deleting VN ctest-vn1-67619342 2025-10-09 14:49:48,907 - DEBUG - Response for deleting network () 2025-10-09 14:49:49,176 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:49:49,176 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-09 14:49:49,176 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:49:49,869 - INFO - Deleted project: ctest-TestPorts-95505044, ID : b37b5904-c3d4-45dd-882c-ebd6f4f96ce6