2026-04-20 02:05:43,145 - INFO - Domain Default found not creating 2026-04-20 02:05:43,288 - INFO - Project ctest-TestPorts-15396123 not found, creating it 2026-04-20 02:05:43,730 - INFO - Created Project:ctest-TestPorts-15396123, ID : dbe7fadd-dee9-4e6d-aecd-8b5b72860a49 2026-04-20 02:05:45,168 - INFO - ================================================================================ 2026-04-20 02:05:45,168 - INFO - STARTING TEST : test_ports_bindings 2026-04-20 02:05:45,168 - 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 2026-04-20 02:05:45,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-04-20 02:05:45,421 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:05:45,421 - INFO - 2026-04-20 02:05:45,936 - DEBUG - Response for create_network : {'network': {'id': '01a30cec-6ba6-4432-987b-5a2a79ddc923', 'name': 'ctest-vn-17765970', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15396123', 'ctest-vn-17765970'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:05:46,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '664d8db0-54b4-4cf1-b0ba-4f660fd654e4', 'name': '', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': '01a30cec-6ba6-4432-987b-5a2a79ddc923', 'ip_version': 4, 'cidr': '172.190.203.0/26', 'allocation_pools': [{'start': '172.190.203.2', 'end': '172.190.203.62'}], 'gateway_ip': '172.190.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.190.203.2', 'tags': [], 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:46,122 - INFO - Created VN ctest-vn-17765970 2026-04-20 02:05:46,171 - DEBUG - VN ctest-vn-17765970 UUID is 01a30cec-6ba6-4432-987b-5a2a79ddc923 2026-04-20 02:05:46,273 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15396123', 'ctest-vmi-66570687']} 2026-04-20 02:05:46,526 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66570687', 'id': 'abc61c16-d8aa-4915-b849-6c60dcc4f996', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': '01a30cec-6ba6-4432-987b-5a2a79ddc923', 'mac_address': '02:ab:c6:1c:16:d8', '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': '172.190.203.3', 'subnet_id': '664d8db0-54b4-4cf1-b0ba-4f660fd654e4'}], 'security_groups': ['5e172fdf-41b6-4827-b49b-5c5092706e74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:46,526 - DEBUG - Created port abc61c16-d8aa-4915-b849-6c60dcc4f996 2026-04-20 02:05:46,627 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/abc61c16-d8aa-4915-b849-6c60dcc4f996 2026-04-20 02:05:46,917 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/abc61c16-d8aa-4915-b849-6c60dcc4f996 2026-04-20 02:05:46,950 - INFO - VMI abc61c16-d8aa-4915-b849-6c60dcc4f996 verification in API Server passed 2026-04-20 02:05:47,030 - DEBUG - Response for delete_port : () 2026-04-20 02:05:47,030 - INFO - Deleted port abc61c16-d8aa-4915-b849-6c60dcc4f996 2026-04-20 02:05:47,030 - INFO - Deleting VN ctest-vn-17765970 2026-04-20 02:05:47,115 - DEBUG - Response for deleting network () 2026-04-20 02:05:47,368 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:05:47,368 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-20 02:05:47,368 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:05:47,371 - INFO - ================================================================================ 2026-04-20 02:05:47,371 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-20 02:05:47,371 - 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 2026-04-20 02:05:47,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-04-20 02:05:47,655 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:05:47,655 - INFO - 2026-04-20 02:05:47,807 - DEBUG - Response for create_network : {'network': {'id': 'd19817b9-4703-4653-a23d-a9e228a3a69b', 'name': 'ctest-vn1-66966809', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15396123', 'ctest-vn1-66966809'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:05:47,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b8abb56-7e76-4c6c-8c9e-ab6932bcb169', 'name': '', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': 'd19817b9-4703-4653-a23d-a9e228a3a69b', 'ip_version': 4, 'cidr': '94.8.108.128/26', 'allocation_pools': [{'start': '94.8.108.130', 'end': '94.8.108.190'}], 'gateway_ip': '94.8.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.8.108.130', 'tags': [], 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:48,142 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3f43173-41e2-4265-9f34-5780a42d28de', 'name': '', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': 'd19817b9-4703-4653-a23d-a9e228a3a69b', 'ip_version': 4, 'cidr': '212.74.215.128/26', 'allocation_pools': [{'start': '212.74.215.130', 'end': '212.74.215.190'}], 'gateway_ip': '212.74.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.74.215.130', 'tags': [], 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:48,159 - INFO - Created VN ctest-vn1-66966809 2026-04-20 02:05:48,211 - DEBUG - VN ctest-vn1-66966809 UUID is d19817b9-4703-4653-a23d-a9e228a3a69b 2026-04-20 02:05:48,466 - DEBUG - Response for create_port : {'port': {'name': 'b02a29dd-2315-40fe-8000-7bcb45682d70', 'id': 'b02a29dd-2315-40fe-8000-7bcb45682d70', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': 'd19817b9-4703-4653-a23d-a9e228a3a69b', 'mac_address': '02:b0:2a:29:dd:23', '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': '94.8.108.133', 'subnet_id': '1b8abb56-7e76-4c6c-8c9e-ab6932bcb169'}], 'security_groups': ['5e172fdf-41b6-4827-b49b-5c5092706e74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:48,623 - DEBUG - Response for create_port : {'port': {'name': '230c9ec7-ef93-4e89-a82a-28c48d6fb556', 'id': '230c9ec7-ef93-4e89-a82a-28c48d6fb556', 'tenant_id': 'dbe7fadddee94e6daecd8b5b72860a49', 'network_id': 'd19817b9-4703-4653-a23d-a9e228a3a69b', 'mac_address': '02:23:0c:9e:c7:ef', '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': '212.74.215.133', 'subnet_id': 'b3f43173-41e2-4265-9f34-5780a42d28de'}], 'security_groups': ['5e172fdf-41b6-4827-b49b-5c5092706e74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbe7fadddee94e6daecd8b5b72860a49'}} 2026-04-20 02:05:48,673 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:05:48,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5645-1) 2026-04-20 02:05:49,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5645-1) 2026-04-20 02:05:49,409 - INFO - Waiting for VM ctest-vn1-vm1-44122171 to be up.. 2026-04-20 02:05:49,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:05:54,541 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:05:54,541 - INFO - VM name : ctest-vn1-vm1-44122171 2026-04-20 02:05:54,610 - DEBUG - VM ctest-vn1-vm1-44122171 ID is 9d6ed91b-e9a3-4997-a1b8-6fbbfb9fd9ba 2026-04-20 02:05:54,626 - DEBUG - VM ctest-vn1-vm1-44122171 launched on Node cn-jenkins-deploy-platform-ansible-os-5645-1 2026-04-20 02:05:54,694 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9d6ed91b-e9a3-4997-a1b8-6fbbfb9fd9ba 2026-04-20 02:05:54,701 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b02a29dd-2315-40fe-8000-7bcb45682d70 2026-04-20 02:05:57,962 - 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') 2026-04-20 02:05:57,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44122171 failed! 2026-04-20 02:05:58,019 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15396123:ctest-vn1-66966809 is 94.8.108.129 and allocation pool is NOT set 2026-04-20 02:05:58,019 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15396123:ctest-vn1-66966809 is 212.74.215.129 and allocation pool is NOT set 2026-04-20 02:06:00,083 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.779 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.779/2.059/3.340/1.280 ms') 2026-04-20 02:06:00,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44122171 passed 2026-04-20 02:06:00,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:00,235 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44122171, IP 94.8.108.133, Port 22 2026-04-20 02:06:00,301 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-20 02:06:00,389 - DEBUG - VM ctest-vn1-vm1-44122171 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 02:06:05,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:05,390 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44122171, IP 94.8.108.133, Port 22 2026-04-20 02:06:05,542 - DEBUG - VM ctest-vn1-vm1-44122171 is ready for SSH connections 2026-04-20 02:06:05,542 - INFO - Waiting for VM ctest-vn1-vm2-65108688 to be up.. 2026-04-20 02:06:05,606 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:06:05,606 - INFO - VM name : ctest-vn1-vm2-65108688 2026-04-20 02:06:05,666 - DEBUG - VM ctest-vn1-vm2-65108688 ID is 17b5756b-4496-4593-bd76-f51846d22fd1 2026-04-20 02:06:05,666 - DEBUG - VM ctest-vn1-vm2-65108688 launched on Node cn-jenkins-deploy-platform-ansible-os-5645-1 2026-04-20 02:06:05,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/17b5756b-4496-4593-bd76-f51846d22fd1 2026-04-20 02:06:05,735 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/230c9ec7-ef93-4e89-a82a-28c48d6fb556 2026-04-20 02:06:06,959 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.530/2.716/1.185 ms') 2026-04-20 02:06:06,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65108688 passed 2026-04-20 02:06:07,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:07,107 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65108688, IP 212.74.215.133, Port 22 2026-04-20 02:06:07,259 - DEBUG - VM ctest-vn1-vm2-65108688 is ready for SSH connections 2026-04-20 02:06:07,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:07,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:07,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:06:07,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.8.108.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-20 02:06:07,259 - DEBUG - ping -s 56 -c 3 -W 1 94.8.108.133 2026-04-20 02:06:10,175 - DEBUG - PING 94.8.108.133 (94.8.108.133): 56 data bytes 64 bytes from 94.8.108.133: seq=0 ttl=63 time=3.380 ms 64 bytes from 94.8.108.133: seq=1 ttl=63 time=0.928 ms 64 bytes from 94.8.108.133: seq=2 ttl=63 time=0.782 ms --- 94.8.108.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.696/3.380 ms 2026-04-20 02:06:10,175 - INFO - Ping to IP 94.8.108.133 from VM ctest-vn1-vm2-65108688 passed 2026-04-20 02:06:10,175 - INFO - Detaching port 230c9ec7-ef93-4e89-a82a-28c48d6fb556 from VM ctest-vn1-vm2-65108688 2026-04-20 02:06:10,219 - INFO - Deleting VM ctest-vn1-vm2-65108688 2026-04-20 02:06:10,282 - INFO - Detaching port b02a29dd-2315-40fe-8000-7bcb45682d70 from VM ctest-vn1-vm1-44122171 2026-04-20 02:06:10,313 - INFO - Deleting VM ctest-vn1-vm1-44122171 2026-04-20 02:06:10,506 - DEBUG - Response for delete_port : () 2026-04-20 02:06:10,630 - DEBUG - Response for delete_port : () 2026-04-20 02:06:10,631 - INFO - Deleting VN ctest-vn1-66966809 2026-04-20 02:06:10,738 - DEBUG - Response for deleting network () 2026-04-20 02:06:10,992 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:06:10,992 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-20 02:06:10,992 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:06:11,647 - INFO - Deleted project: ctest-TestPorts-15396123, ID : dbe7fadd-dee9-4e6d-aecd-8b5b72860a49