2025-10-21 21:50:24,667 - INFO - Domain Default found not creating 2025-10-21 21:50:24,830 - INFO - Project ctest-TestPorts-21803456 not found, creating it 2025-10-21 21:50:25,305 - INFO - Created Project:ctest-TestPorts-21803456, ID : 73096eb2-ab86-44e9-9c03-5b9f583914c3 2025-10-21 21:50:26,721 - INFO - ================================================================================ 2025-10-21 21:50:26,721 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 21:50:26,721 - 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-21 21:50:26,974 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 21:50:26,974 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:50:26,974 - INFO - 2025-10-21 21:50:27,543 - DEBUG - Response for create_network : {'network': {'id': 'd1de782e-2f31-4779-92cd-504aa26cae13', 'name': 'ctest-vn-60839312', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'project_id': '73096eb2ab8644e99c035b9f583914c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21803456', 'ctest-vn-60839312'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:50:27,750 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fab63bfc-8596-4812-8e45-c321ef6b0948', 'name': '', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': 'd1de782e-2f31-4779-92cd-504aa26cae13', 'ip_version': 4, 'cidr': '94.75.217.64/26', 'allocation_pools': [{'start': '94.75.217.66', 'end': '94.75.217.126'}], 'gateway_ip': '94.75.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.75.217.66', 'tags': [], 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:27,769 - INFO - Created VN ctest-vn-60839312 2025-10-21 21:50:27,821 - DEBUG - VN ctest-vn-60839312 UUID is d1de782e-2f31-4779-92cd-504aa26cae13 2025-10-21 21:50:28,050 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21803456', 'ctest-vmi-88384690']} 2025-10-21 21:50:28,290 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88384690', 'id': 'aadd28d7-88c2-47d0-9fed-4d272605b167', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': 'd1de782e-2f31-4779-92cd-504aa26cae13', 'mac_address': '02:aa:dd:28:d7:88', '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': '94.75.217.67', 'subnet_id': 'fab63bfc-8596-4812-8e45-c321ef6b0948'}], 'security_groups': ['4e52814b-19aa-4764-8d7f-fc4b2385c831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:28,290 - DEBUG - Created port aadd28d7-88c2-47d0-9fed-4d272605b167 2025-10-21 21:50:28,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aadd28d7-88c2-47d0-9fed-4d272605b167 2025-10-21 21:50:28,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aadd28d7-88c2-47d0-9fed-4d272605b167 2025-10-21 21:50:28,719 - INFO - VMI aadd28d7-88c2-47d0-9fed-4d272605b167 verification in API Server passed 2025-10-21 21:50:28,808 - DEBUG - Response for delete_port : () 2025-10-21 21:50:28,808 - INFO - Deleted port aadd28d7-88c2-47d0-9fed-4d272605b167 2025-10-21 21:50:28,808 - INFO - Deleting VN ctest-vn-60839312 2025-10-21 21:50:28,905 - DEBUG - Response for deleting network () 2025-10-21 21:50:29,162 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:50:29,162 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-21 21:50:29,162 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:50:29,164 - INFO - ================================================================================ 2025-10-21 21:50:29,164 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 21:50:29,164 - 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-21 21:50:29,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 21:50:29,454 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:50:29,454 - INFO - 2025-10-21 21:50:29,624 - DEBUG - Response for create_network : {'network': {'id': '13bf64be-0aad-4377-adab-d7c15cb99900', 'name': 'ctest-vn1-88575313', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'project_id': '73096eb2ab8644e99c035b9f583914c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21803456', 'ctest-vn1-88575313'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:50:29,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c876d8a1-3a89-47b8-a761-0fbc4d8bdb47', 'name': '', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': '13bf64be-0aad-4377-adab-d7c15cb99900', 'ip_version': 4, 'cidr': '163.1.26.0/26', 'allocation_pools': [{'start': '163.1.26.2', 'end': '163.1.26.62'}], 'gateway_ip': '163.1.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.1.26.2', 'tags': [], 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:29,984 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbdc7d52-a007-4c53-bcbf-fb9f2ceccc3e', 'name': '', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': '13bf64be-0aad-4377-adab-d7c15cb99900', 'ip_version': 4, 'cidr': '93.236.107.192/26', 'allocation_pools': [{'start': '93.236.107.194', 'end': '93.236.107.254'}], 'gateway_ip': '93.236.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.236.107.194', 'tags': [], 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:30,002 - INFO - Created VN ctest-vn1-88575313 2025-10-21 21:50:30,057 - DEBUG - VN ctest-vn1-88575313 UUID is 13bf64be-0aad-4377-adab-d7c15cb99900 2025-10-21 21:50:30,349 - DEBUG - Response for create_port : {'port': {'name': '8e9e445c-9573-4541-a70f-8d621c45248d', 'id': '8e9e445c-9573-4541-a70f-8d621c45248d', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': '13bf64be-0aad-4377-adab-d7c15cb99900', 'mac_address': '02:8e:9e:44:5c:95', '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': '163.1.26.5', 'subnet_id': 'c876d8a1-3a89-47b8-a761-0fbc4d8bdb47'}], 'security_groups': ['4e52814b-19aa-4764-8d7f-fc4b2385c831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:30,521 - DEBUG - Response for create_port : {'port': {'name': '44a98dbf-0fe7-462f-8b3a-e7bd353a13d7', 'id': '44a98dbf-0fe7-462f-8b3a-e7bd353a13d7', 'tenant_id': '73096eb2ab8644e99c035b9f583914c3', 'network_id': '13bf64be-0aad-4377-adab-d7c15cb99900', 'mac_address': '02:44:a9:8d:bf:0f', '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': '93.236.107.197', 'subnet_id': 'dbdc7d52-a007-4c53-bcbf-fb9f2ceccc3e'}], 'security_groups': ['4e52814b-19aa-4764-8d7f-fc4b2385c831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '73096eb2ab8644e99c035b9f583914c3'}} 2025-10-21 21:50:30,577 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:50:30,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:50:31,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:50:31,304 - INFO - Waiting for VM ctest-vn1-vm1-72339973 to be up.. 2025-10-21 21:50:31,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:50:36,428 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:50:36,428 - INFO - VM name : ctest-vn1-vm1-72339973 2025-10-21 21:50:36,502 - DEBUG - VM ctest-vn1-vm1-72339973 ID is d6dc934e-59c8-422b-bb14-c58da31c0469 2025-10-21 21:50:36,521 - DEBUG - VM ctest-vn1-vm1-72339973 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:50:36,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6dc934e-59c8-422b-bb14-c58da31c0469 2025-10-21 21:50:36,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8e9e445c-9573-4541-a70f-8d621c45248d 2025-10-21 21:50:39,853 - 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 1013ms') 2025-10-21 21:50:39,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72339973 failed! 2025-10-21 21:50:39,909 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21803456:ctest-vn1-88575313 is 163.1.26.1 and allocation pool is NOT set 2025-10-21 21:50:39,909 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21803456:ctest-vn1-88575313 is 93.236.107.193 and allocation pool is NOT set 2025-10-21 21:50:41,977 - 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=7.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.590/4.556/7.522/2.966 ms') 2025-10-21 21:50:41,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72339973 passed 2025-10-21 21:50:42,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:42,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72339973, IP 163.1.26.5, Port 22 2025-10-21 21:50:42,191 - 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-10-21 21:50:42,268 - DEBUG - VM ctest-vn1-vm1-72339973 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 21:50:47,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:47,269 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72339973, IP 163.1.26.5, Port 22 2025-10-21 21:50:47,428 - DEBUG - VM ctest-vn1-vm1-72339973 is ready for SSH connections 2025-10-21 21:50:47,428 - INFO - Waiting for VM ctest-vn1-vm2-24443304 to be up.. 2025-10-21 21:50:47,503 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:50:47,503 - INFO - VM name : ctest-vn1-vm2-24443304 2025-10-21 21:50:47,579 - DEBUG - VM ctest-vn1-vm2-24443304 ID is 398ecc62-3888-4644-ae9c-781b23a47a95 2025-10-21 21:50:47,579 - DEBUG - VM ctest-vn1-vm2-24443304 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:50:47,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/398ecc62-3888-4644-ae9c-781b23a47a95 2025-10-21 21:50:47,659 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44a98dbf-0fe7-462f-8b3a-e7bd353a13d7 2025-10-21 21:50:48,885 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/2.078/3.597/1.519 ms') 2025-10-21 21:50:48,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24443304 passed 2025-10-21 21:50:49,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:49,033 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24443304, IP 93.236.107.197, Port 22 2025-10-21 21:50:49,189 - DEBUG - VM ctest-vn1-vm2-24443304 is ready for SSH connections 2025-10-21 21:50:49,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:49,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:49,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:50:49,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.1.26.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 21:50:49,189 - DEBUG - ping -s 56 -c 3 -W 1 163.1.26.5 2025-10-21 21:50:51,859 - DEBUG - PING 163.1.26.5 (163.1.26.5): 56 data bytes 64 bytes from 163.1.26.5: seq=0 ttl=63 time=3.542 ms 64 bytes from 163.1.26.5: seq=1 ttl=63 time=1.187 ms 64 bytes from 163.1.26.5: seq=2 ttl=63 time=0.911 ms --- 163.1.26.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.880/3.542 ms 2025-10-21 21:50:51,859 - INFO - Ping to IP 163.1.26.5 from VM ctest-vn1-vm2-24443304 passed 2025-10-21 21:50:51,859 - INFO - Detaching port 44a98dbf-0fe7-462f-8b3a-e7bd353a13d7 from VM ctest-vn1-vm2-24443304 2025-10-21 21:50:51,910 - INFO - Deleting VM ctest-vn1-vm2-24443304 2025-10-21 21:50:51,982 - INFO - Detaching port 8e9e445c-9573-4541-a70f-8d621c45248d from VM ctest-vn1-vm1-72339973 2025-10-21 21:50:52,018 - INFO - Deleting VM ctest-vn1-vm1-72339973 2025-10-21 21:50:52,268 - DEBUG - Response for delete_port : () 2025-10-21 21:50:52,436 - DEBUG - Response for delete_port : () 2025-10-21 21:50:52,436 - INFO - Deleting VN ctest-vn1-88575313 2025-10-21 21:50:52,593 - DEBUG - Response for deleting network () 2025-10-21 21:50:52,851 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:50:52,856 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-21 21:50:52,857 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:50:53,549 - INFO - Deleted project: ctest-TestPorts-21803456, ID : 73096eb2-ab86-44e9-9c03-5b9f583914c3