2025-11-13 13:14:54,807 - INFO - Domain Default found not creating 2025-11-13 13:14:54,956 - INFO - Project ctest-TestPorts-35757980 not found, creating it 2025-11-13 13:14:55,399 - INFO - Created Project:ctest-TestPorts-35757980, ID : 4cc909ef-b844-4ce3-886e-f93b98496496 2025-11-13 13:14:57,100 - INFO - ================================================================================ 2025-11-13 13:14:57,100 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 13:14:57,100 - 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-11-13 13:14:57,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-13 13:14:57,354 - INFO - Initial checks done. Running the testcase now 2025-11-13 13:14:57,354 - INFO - 2025-11-13 13:14:57,903 - DEBUG - Response for create_network : {'network': {'id': 'bc939d73-0714-4b2b-a207-d8624267e4ff', 'name': 'ctest-vn-45140636', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'project_id': '4cc909efb8444ce3886ef93b98496496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35757980', 'ctest-vn-45140636'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:14:58,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be2a1634-d071-4901-ab0b-c782fae82834', 'name': '', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'bc939d73-0714-4b2b-a207-d8624267e4ff', 'ip_version': 4, 'cidr': '107.89.149.64/26', 'allocation_pools': [{'start': '107.89.149.66', 'end': '107.89.149.126'}], 'gateway_ip': '107.89.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.89.149.66', 'tags': [], 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:14:58,109 - INFO - Created VN ctest-vn-45140636 2025-11-13 13:14:58,160 - DEBUG - VN ctest-vn-45140636 UUID is bc939d73-0714-4b2b-a207-d8624267e4ff 2025-11-13 13:14:58,261 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35757980', 'ctest-vmi-26368269']} 2025-11-13 13:14:58,518 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26368269', 'id': '6eac8052-1666-4652-ba0b-32fae4117c1b', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'bc939d73-0714-4b2b-a207-d8624267e4ff', 'mac_address': '02:6e:ac:80:52:16', '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': '107.89.149.67', 'subnet_id': 'be2a1634-d071-4901-ab0b-c782fae82834'}], 'security_groups': ['e1ae3088-0470-4533-a7d7-32676f6c3d5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:14:58,518 - DEBUG - Created port 6eac8052-1666-4652-ba0b-32fae4117c1b 2025-11-13 13:14:58,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6eac8052-1666-4652-ba0b-32fae4117c1b 2025-11-13 13:14:58,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6eac8052-1666-4652-ba0b-32fae4117c1b 2025-11-13 13:14:58,942 - INFO - VMI 6eac8052-1666-4652-ba0b-32fae4117c1b verification in API Server passed 2025-11-13 13:14:59,030 - DEBUG - Response for delete_port : () 2025-11-13 13:14:59,030 - INFO - Deleted port 6eac8052-1666-4652-ba0b-32fae4117c1b 2025-11-13 13:14:59,030 - INFO - Deleting VN ctest-vn-45140636 2025-11-13 13:14:59,140 - DEBUG - Response for deleting network () 2025-11-13 13:14:59,392 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 13:14:59,392 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 13:14:59,392 - INFO - -------------------------------------------------------------------------------- 2025-11-13 13:14:59,395 - INFO - ================================================================================ 2025-11-13 13:14:59,395 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 13:14:59,395 - 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-11-13 13:14:59,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-13 13:14:59,680 - INFO - Initial checks done. Running the testcase now 2025-11-13 13:14:59,680 - INFO - 2025-11-13 13:14:59,829 - DEBUG - Response for create_network : {'network': {'id': 'b63340c6-7f15-4928-b56c-608a2f9c5669', 'name': 'ctest-vn1-35976656', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'project_id': '4cc909efb8444ce3886ef93b98496496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35757980', 'ctest-vn1-35976656'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:15:00,020 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d689b3-b389-4589-b318-1e2c64b562de', 'name': '', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'b63340c6-7f15-4928-b56c-608a2f9c5669', 'ip_version': 4, 'cidr': '5.111.122.128/26', 'allocation_pools': [{'start': '5.111.122.130', 'end': '5.111.122.190'}], 'gateway_ip': '5.111.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.111.122.130', 'tags': [], 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:15:00,158 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b282ec49-2880-4318-8e55-92743c36850e', 'name': '', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'b63340c6-7f15-4928-b56c-608a2f9c5669', 'ip_version': 4, 'cidr': '133.150.36.0/26', 'allocation_pools': [{'start': '133.150.36.2', 'end': '133.150.36.62'}], 'gateway_ip': '133.150.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.150.36.2', 'tags': [], 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:15:00,176 - INFO - Created VN ctest-vn1-35976656 2025-11-13 13:15:00,232 - DEBUG - VN ctest-vn1-35976656 UUID is b63340c6-7f15-4928-b56c-608a2f9c5669 2025-11-13 13:15:00,513 - DEBUG - Response for create_port : {'port': {'name': 'ffdbd5c4-7479-4cf8-9fc1-5997ed3700fc', 'id': 'ffdbd5c4-7479-4cf8-9fc1-5997ed3700fc', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'b63340c6-7f15-4928-b56c-608a2f9c5669', 'mac_address': '02:ff:db:d5:c4:74', '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': '5.111.122.133', 'subnet_id': 'b7d689b3-b389-4589-b318-1e2c64b562de'}], 'security_groups': ['e1ae3088-0470-4533-a7d7-32676f6c3d5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:15:00,667 - DEBUG - Response for create_port : {'port': {'name': '8befa23d-db3b-45bf-a2f6-ab8e00062a7c', 'id': '8befa23d-db3b-45bf-a2f6-ab8e00062a7c', 'tenant_id': '4cc909efb8444ce3886ef93b98496496', 'network_id': 'b63340c6-7f15-4928-b56c-608a2f9c5669', 'mac_address': '02:8b:ef:a2:3d:db', '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': '133.150.36.5', 'subnet_id': 'b282ec49-2880-4318-8e55-92743c36850e'}], 'security_groups': ['e1ae3088-0470-4533-a7d7-32676f6c3d5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4cc909efb8444ce3886ef93b98496496'}} 2025-11-13 13:15:00,721 - DEBUG - Services list from nova: [, , ] 2025-11-13 13:15:01,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:15:01,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:15:01,567 - INFO - Waiting for VM ctest-vn1-vm1-62194467 to be up.. 2025-11-13 13:15:01,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 13:15:06,686 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:15:06,687 - INFO - VM name : ctest-vn1-vm1-62194467 2025-11-13 13:15:06,762 - DEBUG - VM ctest-vn1-vm1-62194467 ID is f1eae658-e1f0-4764-945e-a37e613282fe 2025-11-13 13:15:06,781 - DEBUG - VM ctest-vn1-vm1-62194467 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:15:06,853 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f1eae658-e1f0-4764-945e-a37e613282fe 2025-11-13 13:15:06,861 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ffdbd5c4-7479-4cf8-9fc1-5997ed3700fc 2025-11-13 13:15:10,099 - 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 1003ms') 2025-11-13 13:15:10,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62194467 failed! 2025-11-13 13:15:10,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35757980:ctest-vn1-35976656 is 5.111.122.129 and allocation pool is NOT set 2025-11-13 13:15:10,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35757980:ctest-vn1-35976656 is 133.150.36.1 and allocation pool is NOT set 2025-11-13 13:15:12,215 - 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=4.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.936 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.936/2.484/4.033/1.548 ms') 2025-11-13 13:15:12,215 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62194467 passed 2025-11-13 13:15:12,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:12,364 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62194467, IP 5.111.122.133, Port 22 2025-11-13 13:15:12,419 - 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': ''} 2025-11-13 13:15:12,493 - DEBUG - VM ctest-vn1-vm1-62194467 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 13:15:17,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:17,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62194467, IP 5.111.122.133, Port 22 2025-11-13 13:15:17,655 - DEBUG - VM ctest-vn1-vm1-62194467 is ready for SSH connections 2025-11-13 13:15:17,655 - INFO - Waiting for VM ctest-vn1-vm2-30434898 to be up.. 2025-11-13 13:15:17,728 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:15:17,728 - INFO - VM name : ctest-vn1-vm2-30434898 2025-11-13 13:15:17,799 - DEBUG - VM ctest-vn1-vm2-30434898 ID is 5bb43efd-3ca8-495c-bd6e-15f4fb274bfa 2025-11-13 13:15:17,799 - DEBUG - VM ctest-vn1-vm2-30434898 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:15:17,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5bb43efd-3ca8-495c-bd6e-15f4fb274bfa 2025-11-13 13:15:17,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8befa23d-db3b-45bf-a2f6-ab8e00062a7c 2025-11-13 13:15:19,108 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.514/2.626/1.111 ms') 2025-11-13 13:15:19,108 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30434898 passed 2025-11-13 13:15:19,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:19,256 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30434898, IP 133.150.36.5, Port 22 2025-11-13 13:15:19,411 - DEBUG - VM ctest-vn1-vm2-30434898 is ready for SSH connections 2025-11-13 13:15:19,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:19,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:19,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:19,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.111.122.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:19,412 - DEBUG - ping -s 56 -c 3 -W 1 5.111.122.133 2025-11-13 13:15:22,390 - DEBUG - PING 5.111.122.133 (5.111.122.133): 56 data bytes 64 bytes from 5.111.122.133: seq=0 ttl=63 time=4.121 ms 64 bytes from 5.111.122.133: seq=1 ttl=63 time=0.752 ms 64 bytes from 5.111.122.133: seq=2 ttl=63 time=1.067 ms --- 5.111.122.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.980/4.121 ms 2025-11-13 13:15:22,390 - INFO - Ping to IP 5.111.122.133 from VM ctest-vn1-vm2-30434898 passed 2025-11-13 13:15:22,390 - INFO - Detaching port 8befa23d-db3b-45bf-a2f6-ab8e00062a7c from VM ctest-vn1-vm2-30434898 2025-11-13 13:15:22,436 - INFO - Deleting VM ctest-vn1-vm2-30434898 2025-11-13 13:15:22,510 - INFO - Detaching port ffdbd5c4-7479-4cf8-9fc1-5997ed3700fc from VM ctest-vn1-vm1-62194467 2025-11-13 13:15:22,540 - INFO - Deleting VM ctest-vn1-vm1-62194467 2025-11-13 13:15:22,776 - DEBUG - Response for delete_port : () 2025-11-13 13:15:22,953 - DEBUG - Response for delete_port : () 2025-11-13 13:15:22,953 - INFO - Deleting VN ctest-vn1-35976656 2025-11-13 13:15:23,087 - DEBUG - Response for deleting network () 2025-11-13 13:15:23,344 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 13:15:23,344 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-13 13:15:23,344 - INFO - -------------------------------------------------------------------------------- 2025-11-13 13:15:24,011 - INFO - Deleted project: ctest-TestPorts-35757980, ID : 4cc909ef-b844-4ce3-886e-f93b98496496