2025-12-11 12:05:13,600 - INFO - Domain Default found not creating 2025-12-11 12:05:13,770 - INFO - Project ctest-TestPorts-20611574 not found, creating it 2025-12-11 12:05:14,235 - INFO - Created Project:ctest-TestPorts-20611574, ID : 5b00dc7c-aff3-4c7c-885a-79693a3c65e5 2025-12-11 12:05:15,825 - INFO - ================================================================================ 2025-12-11 12:05:15,825 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 12:05:15,826 - 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-11 12:05:16,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 12:05:16,083 - INFO - Initial checks done. Running the testcase now 2025-12-11 12:05:16,083 - INFO - 2025-12-11 12:05:16,672 - DEBUG - Response for create_network : {'network': {'id': '31942eb4-9f64-4ab2-9aba-bb3b8957669d', 'name': 'ctest-vn-38739897', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'project_id': '5b00dc7caff34c7c885a79693a3c65e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20611574', 'ctest-vn-38739897'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:05:16,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ab30730-8dcd-44dd-929a-277a28c40a57', 'name': '', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '31942eb4-9f64-4ab2-9aba-bb3b8957669d', 'ip_version': 4, 'cidr': '62.74.148.64/26', 'allocation_pools': [{'start': '62.74.148.66', 'end': '62.74.148.126'}], 'gateway_ip': '62.74.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.74.148.66', 'tags': [], 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:16,869 - INFO - Created VN ctest-vn-38739897 2025-12-11 12:05:16,926 - DEBUG - VN ctest-vn-38739897 UUID is 31942eb4-9f64-4ab2-9aba-bb3b8957669d 2025-12-11 12:05:17,038 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20611574', 'ctest-vmi-72824213']} 2025-12-11 12:05:17,279 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72824213', 'id': '3cc1f360-b172-4260-abb0-485f5b65699e', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '31942eb4-9f64-4ab2-9aba-bb3b8957669d', 'mac_address': '02:3c:c1:f3:60:b1', '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': '62.74.148.67', 'subnet_id': '8ab30730-8dcd-44dd-929a-277a28c40a57'}], 'security_groups': ['face7127-c375-440d-84e5-2927a8de1bca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:17,279 - DEBUG - Created port 3cc1f360-b172-4260-abb0-485f5b65699e 2025-12-11 12:05:17,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3cc1f360-b172-4260-abb0-485f5b65699e 2025-12-11 12:05:17,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3cc1f360-b172-4260-abb0-485f5b65699e 2025-12-11 12:05:17,724 - INFO - VMI 3cc1f360-b172-4260-abb0-485f5b65699e verification in API Server passed 2025-12-11 12:05:17,815 - DEBUG - Response for delete_port : () 2025-12-11 12:05:17,815 - INFO - Deleted port 3cc1f360-b172-4260-abb0-485f5b65699e 2025-12-11 12:05:17,815 - INFO - Deleting VN ctest-vn-38739897 2025-12-11 12:05:17,930 - DEBUG - Response for deleting network () 2025-12-11 12:05:18,182 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 12:05:18,183 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-11 12:05:18,183 - INFO - -------------------------------------------------------------------------------- 2025-12-11 12:05:18,185 - INFO - ================================================================================ 2025-12-11 12:05:18,185 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 12:05:18,185 - 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-11 12:05:18,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-11 12:05:18,471 - INFO - Initial checks done. Running the testcase now 2025-12-11 12:05:18,471 - INFO - 2025-12-11 12:05:18,645 - DEBUG - Response for create_network : {'network': {'id': '7a0ce7e2-0104-484c-90a1-d31cabbb174c', 'name': 'ctest-vn1-52345081', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'project_id': '5b00dc7caff34c7c885a79693a3c65e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20611574', 'ctest-vn1-52345081'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 12:05:18,866 - DEBUG - Response for create_subnet : {'subnet': {'id': '51e584aa-9c3d-4446-9553-2ab252c1c464', 'name': '', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '7a0ce7e2-0104-484c-90a1-d31cabbb174c', 'ip_version': 4, 'cidr': '36.145.69.64/26', 'allocation_pools': [{'start': '36.145.69.66', 'end': '36.145.69.126'}], 'gateway_ip': '36.145.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.145.69.66', 'tags': [], 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:19,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2e09a21-ed39-4aa8-82d9-f13d5f1741d4', 'name': '', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '7a0ce7e2-0104-484c-90a1-d31cabbb174c', 'ip_version': 4, 'cidr': '77.206.104.192/26', 'allocation_pools': [{'start': '77.206.104.194', 'end': '77.206.104.254'}], 'gateway_ip': '77.206.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.206.104.194', 'tags': [], 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:19,067 - INFO - Created VN ctest-vn1-52345081 2025-12-11 12:05:19,122 - DEBUG - VN ctest-vn1-52345081 UUID is 7a0ce7e2-0104-484c-90a1-d31cabbb174c 2025-12-11 12:05:19,438 - DEBUG - Response for create_port : {'port': {'name': '37a7aa3b-fcf1-4b65-8b15-2ef3b0e45186', 'id': '37a7aa3b-fcf1-4b65-8b15-2ef3b0e45186', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '7a0ce7e2-0104-484c-90a1-d31cabbb174c', 'mac_address': '02:37:a7:aa:3b:fc', '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': '36.145.69.69', 'subnet_id': '51e584aa-9c3d-4446-9553-2ab252c1c464'}], 'security_groups': ['face7127-c375-440d-84e5-2927a8de1bca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:19,622 - DEBUG - Response for create_port : {'port': {'name': 'f6006e83-d407-46ac-97db-ecd759a03b15', 'id': 'f6006e83-d407-46ac-97db-ecd759a03b15', 'tenant_id': '5b00dc7caff34c7c885a79693a3c65e5', 'network_id': '7a0ce7e2-0104-484c-90a1-d31cabbb174c', 'mac_address': '02:f6:00:6e:83:d4', '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': '77.206.104.197', 'subnet_id': 'f2e09a21-ed39-4aa8-82d9-f13d5f1741d4'}], 'security_groups': ['face7127-c375-440d-84e5-2927a8de1bca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b00dc7caff34c7c885a79693a3c65e5'}} 2025-12-11 12:05:19,685 - DEBUG - Services list from nova: [, , ] 2025-12-11 12:05:20,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1) 2025-12-11 12:05:20,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1) 2025-12-11 12:05:20,480 - INFO - Waiting for VM ctest-vn1-vm1-05465270 to be up.. 2025-12-11 12:05:20,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 12:05:25,597 - DEBUG - VM is in ACTIVE state now 2025-12-11 12:05:25,597 - INFO - VM name : ctest-vn1-vm1-05465270 2025-12-11 12:05:25,670 - DEBUG - VM ctest-vn1-vm1-05465270 ID is 9f062ccb-a122-43bf-822a-e69c59d1d9c3 2025-12-11 12:05:25,689 - DEBUG - VM ctest-vn1-vm1-05465270 launched on Node cn-jenkins-deploy-platform-ansible-os-4885-1 2025-12-11 12:05:25,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f062ccb-a122-43bf-822a-e69c59d1d9c3 2025-12-11 12:05:25,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/37a7aa3b-fcf1-4b65-8b15-2ef3b0e45186 2025-12-11 12:05:29,029 - 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 1019ms') 2025-12-11 12:05:29,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05465270 failed! 2025-12-11 12:05:29,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20611574:ctest-vn1-52345081 is 36.145.69.65 and allocation pool is NOT set 2025-12-11 12:05:29,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20611574:ctest-vn1-52345081 is 77.206.104.193 and allocation pool is NOT set 2025-12-11 12:05:33,153 - 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=10.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.200/10.200/10.200/0.000 ms') 2025-12-11 12:05:33,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05465270 passed 2025-12-11 12:05:33,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 12:05:33,306 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05465270, IP 36.145.69.69, Port 22 2025-12-11 12:05:33,473 - DEBUG - VM ctest-vn1-vm1-05465270 is ready for SSH connections 2025-12-11 12:05:33,473 - INFO - Waiting for VM ctest-vn1-vm2-61415800 to be up.. 2025-12-11 12:05:33,570 - DEBUG - VM is in ACTIVE state now 2025-12-11 12:05:33,570 - INFO - VM name : ctest-vn1-vm2-61415800 2025-12-11 12:05:33,660 - DEBUG - VM ctest-vn1-vm2-61415800 ID is 31f0283b-8684-417b-8f32-d1f099c838b4 2025-12-11 12:05:33,661 - DEBUG - VM ctest-vn1-vm2-61415800 launched on Node cn-jenkins-deploy-platform-ansible-os-4885-1 2025-12-11 12:05:33,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31f0283b-8684-417b-8f32-d1f099c838b4 2025-12-11 12:05:33,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6006e83-d407-46ac-97db-ecd759a03b15 2025-12-11 12:05:34,998 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.929/3.467/1.538 ms') 2025-12-11 12:05:34,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61415800 passed 2025-12-11 12:05:35,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 12:05:35,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61415800, IP 77.206.104.197, Port 22 2025-12-11 12:05:35,305 - DEBUG - VM ctest-vn1-vm2-61415800 is ready for SSH connections 2025-12-11 12:05:35,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 12:05:35,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 12:05:35,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 12:05:35,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.145.69.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 12:05:35,305 - DEBUG - ping -s 56 -c 3 -W 1 36.145.69.69 2025-12-11 12:05:37,990 - DEBUG - PING 36.145.69.69 (36.145.69.69): 56 data bytes 64 bytes from 36.145.69.69: seq=0 ttl=63 time=4.049 ms 64 bytes from 36.145.69.69: seq=1 ttl=63 time=0.864 ms 64 bytes from 36.145.69.69: seq=2 ttl=63 time=2.951 ms --- 36.145.69.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/2.621/4.049 ms 2025-12-11 12:05:37,990 - INFO - Ping to IP 36.145.69.69 from VM ctest-vn1-vm2-61415800 passed 2025-12-11 12:05:37,990 - INFO - Detaching port f6006e83-d407-46ac-97db-ecd759a03b15 from VM ctest-vn1-vm2-61415800 2025-12-11 12:05:38,042 - INFO - Deleting VM ctest-vn1-vm2-61415800 2025-12-11 12:05:38,118 - INFO - Detaching port 37a7aa3b-fcf1-4b65-8b15-2ef3b0e45186 from VM ctest-vn1-vm1-05465270 2025-12-11 12:05:38,151 - INFO - Deleting VM ctest-vn1-vm1-05465270 2025-12-11 12:05:38,382 - DEBUG - Response for delete_port : () 2025-12-11 12:05:38,574 - DEBUG - Response for delete_port : () 2025-12-11 12:05:38,574 - INFO - Deleting VN ctest-vn1-52345081 2025-12-11 12:05:38,725 - DEBUG - Response for deleting network () 2025-12-11 12:05:38,979 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 12:05:38,979 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-12-11 12:05:38,979 - INFO - -------------------------------------------------------------------------------- 2025-12-11 12:05:39,695 - INFO - Deleted project: ctest-TestPorts-20611574, ID : 5b00dc7c-aff3-4c7c-885a-79693a3c65e5