2025-11-02 21:39:28,336 - INFO - Domain Default found not creating 2025-11-02 21:39:28,499 - INFO - Project ctest-TestPorts-73431507 not found, creating it 2025-11-02 21:39:28,980 - INFO - Created Project:ctest-TestPorts-73431507, ID : 316b87fe-24b9-4db4-9443-bc3e67bdcb5b 2025-11-02 21:39:30,434 - INFO - ================================================================================ 2025-11-02 21:39:30,434 - INFO - STARTING TEST : test_ports_bindings 2025-11-02 21:39:30,434 - 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-02 21:39:30,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-02 21:39:30,693 - INFO - Initial checks done. Running the testcase now 2025-11-02 21:39:30,693 - INFO - 2025-11-02 21:39:31,267 - DEBUG - Response for create_network : {'network': {'id': '4b651b3e-2671-469b-81ba-9c007fc405ca', 'name': 'ctest-vn-66700601', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'project_id': '316b87fe24b94db49443bc3e67bdcb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73431507', 'ctest-vn-66700601'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:39:31,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f359fc7-fb7d-482c-b3b5-6c926a4383bf', 'name': '', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '4b651b3e-2671-469b-81ba-9c007fc405ca', 'ip_version': 4, 'cidr': '21.152.172.128/26', 'allocation_pools': [{'start': '21.152.172.130', 'end': '21.152.172.190'}], 'gateway_ip': '21.152.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.152.172.130', 'tags': [], 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:31,440 - INFO - Created VN ctest-vn-66700601 2025-11-02 21:39:31,490 - DEBUG - VN ctest-vn-66700601 UUID is 4b651b3e-2671-469b-81ba-9c007fc405ca 2025-11-02 21:39:31,597 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73431507', 'ctest-vmi-73864543']} 2025-11-02 21:39:31,825 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73864543', 'id': 'febcad65-483f-4c58-a111-e41ecaa4c6a8', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '4b651b3e-2671-469b-81ba-9c007fc405ca', 'mac_address': '02:fe:bc:ad:65:48', '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': '21.152.172.131', 'subnet_id': '2f359fc7-fb7d-482c-b3b5-6c926a4383bf'}], 'security_groups': ['adef653a-668f-427a-ada4-fb2b29ed25d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:31,826 - DEBUG - Created port febcad65-483f-4c58-a111-e41ecaa4c6a8 2025-11-02 21:39:31,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/febcad65-483f-4c58-a111-e41ecaa4c6a8 2025-11-02 21:39:32,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/febcad65-483f-4c58-a111-e41ecaa4c6a8 2025-11-02 21:39:32,266 - INFO - VMI febcad65-483f-4c58-a111-e41ecaa4c6a8 verification in API Server passed 2025-11-02 21:39:32,350 - DEBUG - Response for delete_port : () 2025-11-02 21:39:32,351 - INFO - Deleted port febcad65-483f-4c58-a111-e41ecaa4c6a8 2025-11-02 21:39:32,351 - INFO - Deleting VN ctest-vn-66700601 2025-11-02 21:39:32,453 - DEBUG - Response for deleting network () 2025-11-02 21:39:32,706 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 21:39:32,707 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-02 21:39:32,707 - INFO - -------------------------------------------------------------------------------- 2025-11-02 21:39:32,709 - INFO - ================================================================================ 2025-11-02 21:39:32,709 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-02 21:39:32,709 - 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-02 21:39:32,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-02 21:39:32,999 - INFO - Initial checks done. Running the testcase now 2025-11-02 21:39:32,999 - INFO - 2025-11-02 21:39:33,202 - DEBUG - Response for create_network : {'network': {'id': '746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb', 'name': 'ctest-vn1-18877636', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'project_id': '316b87fe24b94db49443bc3e67bdcb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73431507', 'ctest-vn1-18877636'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:39:33,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '7929d8cd-e918-46f6-a11b-05f6bd1e7ef2', 'name': '', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb', 'ip_version': 4, 'cidr': '6.202.193.192/26', 'allocation_pools': [{'start': '6.202.193.194', 'end': '6.202.193.254'}], 'gateway_ip': '6.202.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.202.193.194', 'tags': [], 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:33,530 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aecb24d5-c033-445d-8eda-3ec246ffb84a', 'name': '', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb', 'ip_version': 4, 'cidr': '171.17.229.192/26', 'allocation_pools': [{'start': '171.17.229.194', 'end': '171.17.229.254'}], 'gateway_ip': '171.17.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.17.229.194', 'tags': [], 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:33,548 - INFO - Created VN ctest-vn1-18877636 2025-11-02 21:39:33,601 - DEBUG - VN ctest-vn1-18877636 UUID is 746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb 2025-11-02 21:39:33,900 - DEBUG - Response for create_port : {'port': {'name': 'e76a8a32-5ad7-4ea5-a1b6-8601fab81989', 'id': 'e76a8a32-5ad7-4ea5-a1b6-8601fab81989', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb', 'mac_address': '02:e7:6a:8a:32:5a', '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': '6.202.193.197', 'subnet_id': '7929d8cd-e918-46f6-a11b-05f6bd1e7ef2'}], 'security_groups': ['adef653a-668f-427a-ada4-fb2b29ed25d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:34,062 - DEBUG - Response for create_port : {'port': {'name': '6bac54f0-b86d-4bae-9f27-0f0ba3c90d55', 'id': '6bac54f0-b86d-4bae-9f27-0f0ba3c90d55', 'tenant_id': '316b87fe24b94db49443bc3e67bdcb5b', 'network_id': '746ff42e-c3e2-470f-b0c0-3e0fb4cd4ebb', 'mac_address': '02:6b:ac:54:f0:b8', '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': '171.17.229.197', 'subnet_id': 'aecb24d5-c033-445d-8eda-3ec246ffb84a'}], 'security_groups': ['adef653a-668f-427a-ada4-fb2b29ed25d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '316b87fe24b94db49443bc3e67bdcb5b'}} 2025-11-02 21:39:34,122 - DEBUG - Services list from nova: [, , ] 2025-11-02 21:39:34,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:39:34,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:39:34,864 - INFO - Waiting for VM ctest-vn1-vm1-45371625 to be up.. 2025-11-02 21:39:34,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 21:39:39,976 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:39:39,977 - INFO - VM name : ctest-vn1-vm1-45371625 2025-11-02 21:39:40,045 - DEBUG - VM ctest-vn1-vm1-45371625 ID is 48319c47-c6b5-43de-8ec2-13bfe2fe54f2 2025-11-02 21:39:40,063 - DEBUG - VM ctest-vn1-vm1-45371625 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:39:40,131 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/48319c47-c6b5-43de-8ec2-13bfe2fe54f2 2025-11-02 21:39:40,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e76a8a32-5ad7-4ea5-a1b6-8601fab81989 2025-11-02 21:39:43,403 - 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 1027ms') 2025-11-02 21:39:43,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45371625 failed! 2025-11-02 21:39:43,458 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73431507:ctest-vn1-18877636 is 6.202.193.193 and allocation pool is NOT set 2025-11-02 21:39:43,458 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73431507:ctest-vn1-18877636 is 171.17.229.193 and allocation pool is NOT set 2025-11-02 21:39:45,514 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.318/7.218/13.118/5.900 ms') 2025-11-02 21:39:45,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45371625 passed 2025-11-02 21:39:45,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:45,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45371625, IP 6.202.193.197, Port 22 2025-11-02 21:39:45,736 - 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-02 21:39:45,986 - DEBUG - VM ctest-vn1-vm1-45371625 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-02 21:39:50,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:50,987 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45371625, IP 6.202.193.197, Port 22 2025-11-02 21:39:51,155 - DEBUG - VM ctest-vn1-vm1-45371625 is ready for SSH connections 2025-11-02 21:39:51,155 - INFO - Waiting for VM ctest-vn1-vm2-55085412 to be up.. 2025-11-02 21:39:51,230 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:39:51,230 - INFO - VM name : ctest-vn1-vm2-55085412 2025-11-02 21:39:51,305 - DEBUG - VM ctest-vn1-vm2-55085412 ID is fc439057-94ce-4076-84e3-d4ebec613bf2 2025-11-02 21:39:51,305 - DEBUG - VM ctest-vn1-vm2-55085412 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:39:51,373 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fc439057-94ce-4076-84e3-d4ebec613bf2 2025-11-02 21:39:51,384 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6bac54f0-b86d-4bae-9f27-0f0ba3c90d55 2025-11-02 21:39:52,626 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.837/3.302/1.464 ms') 2025-11-02 21:39:52,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55085412 passed 2025-11-02 21:39:52,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:52,774 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55085412, IP 171.17.229.197, Port 22 2025-11-02 21:39:52,937 - DEBUG - VM ctest-vn1-vm2-55085412 is ready for SSH connections 2025-11-02 21:39:52,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:52,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:52,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:39:52,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.202.193.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:39:52,937 - DEBUG - ping -s 56 -c 3 -W 1 6.202.193.197 2025-11-02 21:39:55,936 - DEBUG - PING 6.202.193.197 (6.202.193.197): 56 data bytes 64 bytes from 6.202.193.197: seq=0 ttl=63 time=3.135 ms 64 bytes from 6.202.193.197: seq=1 ttl=63 time=0.951 ms 64 bytes from 6.202.193.197: seq=2 ttl=63 time=1.057 ms --- 6.202.193.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.714/3.135 ms 2025-11-02 21:39:55,937 - INFO - Ping to IP 6.202.193.197 from VM ctest-vn1-vm2-55085412 passed 2025-11-02 21:39:55,937 - INFO - Detaching port 6bac54f0-b86d-4bae-9f27-0f0ba3c90d55 from VM ctest-vn1-vm2-55085412 2025-11-02 21:39:55,985 - INFO - Deleting VM ctest-vn1-vm2-55085412 2025-11-02 21:39:56,061 - INFO - Detaching port e76a8a32-5ad7-4ea5-a1b6-8601fab81989 from VM ctest-vn1-vm1-45371625 2025-11-02 21:39:56,095 - INFO - Deleting VM ctest-vn1-vm1-45371625 2025-11-02 21:39:56,324 - DEBUG - Response for delete_port : () 2025-11-02 21:39:56,475 - DEBUG - Response for delete_port : () 2025-11-02 21:39:56,475 - INFO - Deleting VN ctest-vn1-18877636 2025-11-02 21:39:56,592 - DEBUG - Response for deleting network () 2025-11-02 21:39:56,847 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 21:39:56,847 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-02 21:39:56,847 - INFO - -------------------------------------------------------------------------------- 2025-11-02 21:39:57,544 - INFO - Deleted project: ctest-TestPorts-73431507, ID : 316b87fe-24b9-4db4-9443-bc3e67bdcb5b