2025-10-28 21:41:55,561 - INFO - Domain Default found not creating 2025-10-28 21:41:55,713 - INFO - Project ctest-TestPorts-55365790 not found, creating it 2025-10-28 21:41:56,134 - INFO - Created Project:ctest-TestPorts-55365790, ID : 641e4fd5-bd15-45c7-aa16-5e48ea44d3e0 2025-10-28 21:41:57,481 - INFO - ================================================================================ 2025-10-28 21:41:57,481 - INFO - STARTING TEST : test_ports_bindings 2025-10-28 21:41:57,481 - 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-28 21:41:57,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-10-28 21:41:57,743 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:41:57,743 - INFO - 2025-10-28 21:41:58,253 - DEBUG - Response for create_network : {'network': {'id': 'b83c75eb-82ec-4233-96aa-8edd59f1889d', 'name': 'ctest-vn-22612252', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55365790', 'ctest-vn-22612252'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:41:58,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '26d867ee-e295-47f6-8166-d74ab74eefb1', 'name': '', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b83c75eb-82ec-4233-96aa-8edd59f1889d', 'ip_version': 4, 'cidr': '89.174.156.192/26', 'allocation_pools': [{'start': '89.174.156.194', 'end': '89.174.156.254'}], 'gateway_ip': '89.174.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.174.156.194', 'tags': [], 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:41:58,417 - INFO - Created VN ctest-vn-22612252 2025-10-28 21:41:58,467 - DEBUG - VN ctest-vn-22612252 UUID is b83c75eb-82ec-4233-96aa-8edd59f1889d 2025-10-28 21:41:58,566 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55365790', 'ctest-vmi-16446517']} 2025-10-28 21:41:58,824 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16446517', 'id': 'd86ef48b-fb72-4fac-bc6b-f1db19b80ed5', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b83c75eb-82ec-4233-96aa-8edd59f1889d', 'mac_address': '02:d8:6e:f4:8b:fb', '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': '89.174.156.195', 'subnet_id': '26d867ee-e295-47f6-8166-d74ab74eefb1'}], 'security_groups': ['88b72d06-31c1-4c8d-bd39-d85535a02360'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:41:58,824 - DEBUG - Created port d86ef48b-fb72-4fac-bc6b-f1db19b80ed5 2025-10-28 21:41:58,927 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d86ef48b-fb72-4fac-bc6b-f1db19b80ed5 2025-10-28 21:41:59,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d86ef48b-fb72-4fac-bc6b-f1db19b80ed5 2025-10-28 21:41:59,250 - INFO - VMI d86ef48b-fb72-4fac-bc6b-f1db19b80ed5 verification in API Server passed 2025-10-28 21:41:59,355 - DEBUG - Response for delete_port : () 2025-10-28 21:41:59,355 - INFO - Deleted port d86ef48b-fb72-4fac-bc6b-f1db19b80ed5 2025-10-28 21:41:59,355 - INFO - Deleting VN ctest-vn-22612252 2025-10-28 21:41:59,452 - DEBUG - Response for deleting network () 2025-10-28 21:41:59,715 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:41:59,715 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-28 21:41:59,716 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:41:59,718 - INFO - ================================================================================ 2025-10-28 21:41:59,718 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-28 21:41:59,718 - 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-28 21:42:00,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-10-28 21:42:00,003 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:42:00,003 - INFO - 2025-10-28 21:42:00,170 - DEBUG - Response for create_network : {'network': {'id': 'b86101c7-cc2b-4a97-8871-7cb117e3ecf9', 'name': 'ctest-vn1-33388126', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55365790', 'ctest-vn1-33388126'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:42:00,356 - DEBUG - Response for create_subnet : {'subnet': {'id': '64bbd4e8-fc82-410f-99b2-4af16e98dc5e', 'name': '', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b86101c7-cc2b-4a97-8871-7cb117e3ecf9', 'ip_version': 4, 'cidr': '189.43.219.192/26', 'allocation_pools': [{'start': '189.43.219.194', 'end': '189.43.219.254'}], 'gateway_ip': '189.43.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.43.219.194', 'tags': [], 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:42:00,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cccba97a-4d1e-49e4-b523-28fbe7d7db4a', 'name': '', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b86101c7-cc2b-4a97-8871-7cb117e3ecf9', 'ip_version': 4, 'cidr': '45.181.67.64/26', 'allocation_pools': [{'start': '45.181.67.66', 'end': '45.181.67.126'}], 'gateway_ip': '45.181.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.181.67.66', 'tags': [], 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:42:00,568 - INFO - Created VN ctest-vn1-33388126 2025-10-28 21:42:00,619 - DEBUG - VN ctest-vn1-33388126 UUID is b86101c7-cc2b-4a97-8871-7cb117e3ecf9 2025-10-28 21:42:00,910 - DEBUG - Response for create_port : {'port': {'name': '1a921f00-35f0-4be5-8cb6-617ced7bd3b6', 'id': '1a921f00-35f0-4be5-8cb6-617ced7bd3b6', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b86101c7-cc2b-4a97-8871-7cb117e3ecf9', 'mac_address': '02:1a:92:1f:00:35', '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': '189.43.219.197', 'subnet_id': '64bbd4e8-fc82-410f-99b2-4af16e98dc5e'}], 'security_groups': ['88b72d06-31c1-4c8d-bd39-d85535a02360'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:42:01,078 - DEBUG - Response for create_port : {'port': {'name': '55a74772-d3a5-4c27-a359-5a5b0167f090', 'id': '55a74772-d3a5-4c27-a359-5a5b0167f090', 'tenant_id': '641e4fd5bd1545c7aa165e48ea44d3e0', 'network_id': 'b86101c7-cc2b-4a97-8871-7cb117e3ecf9', 'mac_address': '02:55:a7:47:72:d3', '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': '45.181.67.69', 'subnet_id': 'cccba97a-4d1e-49e4-b523-28fbe7d7db4a'}], 'security_groups': ['88b72d06-31c1-4c8d-bd39-d85535a02360'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '641e4fd5bd1545c7aa165e48ea44d3e0'}} 2025-10-28 21:42:01,136 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:42:01,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:42:01,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:42:01,811 - INFO - Waiting for VM ctest-vn1-vm1-20611564 to be up.. 2025-10-28 21:42:01,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:42:06,917 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:42:06,917 - INFO - VM name : ctest-vn1-vm1-20611564 2025-10-28 21:42:06,985 - DEBUG - VM ctest-vn1-vm1-20611564 ID is ff4a3daa-2e21-419d-a8d8-967214c8df64 2025-10-28 21:42:07,001 - DEBUG - VM ctest-vn1-vm1-20611564 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:42:07,072 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ff4a3daa-2e21-419d-a8d8-967214c8df64 2025-10-28 21:42:07,080 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1a921f00-35f0-4be5-8cb6-617ced7bd3b6 2025-10-28 21:42:10,328 - 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 1011ms') 2025-10-28 21:42:10,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20611564 failed! 2025-10-28 21:42:10,387 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55365790:ctest-vn1-33388126 is 189.43.219.193 and allocation pool is NOT set 2025-10-28 21:42:10,387 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55365790:ctest-vn1-33388126 is 45.181.67.65 and allocation pool is NOT set 2025-10-28 21:42:12,449 - 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=3.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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 = 0.440/1.778/3.117/1.338 ms') 2025-10-28 21:42:12,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20611564 passed 2025-10-28 21:42:12,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:42:12,603 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20611564, IP 189.43.219.197, Port 22 2025-10-28 21:42:12,779 - DEBUG - VM ctest-vn1-vm1-20611564 is ready for SSH connections 2025-10-28 21:42:12,779 - INFO - Waiting for VM ctest-vn1-vm2-03745729 to be up.. 2025-10-28 21:42:12,850 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:42:12,850 - INFO - VM name : ctest-vn1-vm2-03745729 2025-10-28 21:42:12,919 - DEBUG - VM ctest-vn1-vm2-03745729 ID is 57dfd752-6073-41df-aaa9-0a0a88a54030 2025-10-28 21:42:12,919 - DEBUG - VM ctest-vn1-vm2-03745729 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:42:12,996 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/57dfd752-6073-41df-aaa9-0a0a88a54030 2025-10-28 21:42:13,005 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/55a74772-d3a5-4c27-a359-5a5b0167f090 2025-10-28 21:42:14,243 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.600 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.600/1.586/2.573/0.986 ms') 2025-10-28 21:42:14,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03745729 passed 2025-10-28 21:42:14,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:42:14,391 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03745729, IP 45.181.67.69, Port 22 2025-10-28 21:42:14,556 - DEBUG - VM ctest-vn1-vm2-03745729 is ready for SSH connections 2025-10-28 21:42:14,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:42:14,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:42:14,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:42:14,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.43.219.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-28 21:42:14,556 - DEBUG - ping -s 56 -c 3 -W 1 189.43.219.197 2025-10-28 21:42:17,206 - DEBUG - PING 189.43.219.197 (189.43.219.197): 56 data bytes 64 bytes from 189.43.219.197: seq=0 ttl=63 time=3.449 ms 64 bytes from 189.43.219.197: seq=1 ttl=63 time=0.751 ms 64 bytes from 189.43.219.197: seq=2 ttl=63 time=0.655 ms --- 189.43.219.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.655/1.618/3.449 ms 2025-10-28 21:42:17,207 - INFO - Ping to IP 189.43.219.197 from VM ctest-vn1-vm2-03745729 passed 2025-10-28 21:42:17,207 - INFO - Detaching port 55a74772-d3a5-4c27-a359-5a5b0167f090 from VM ctest-vn1-vm2-03745729 2025-10-28 21:42:17,257 - INFO - Deleting VM ctest-vn1-vm2-03745729 2025-10-28 21:42:17,321 - INFO - Detaching port 1a921f00-35f0-4be5-8cb6-617ced7bd3b6 from VM ctest-vn1-vm1-20611564 2025-10-28 21:42:17,352 - INFO - Deleting VM ctest-vn1-vm1-20611564 2025-10-28 21:42:17,582 - DEBUG - Response for delete_port : () 2025-10-28 21:42:17,734 - DEBUG - Response for delete_port : () 2025-10-28 21:42:17,734 - INFO - Deleting VN ctest-vn1-33388126 2025-10-28 21:42:17,861 - DEBUG - Response for deleting network () 2025-10-28 21:42:18,119 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:42:18,119 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-28 21:42:18,119 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:42:18,792 - INFO - Deleted project: ctest-TestPorts-55365790, ID : 641e4fd5-bd15-45c7-aa16-5e48ea44d3e0