2025-08-02 08:54:18,458 - INFO - Domain Default found not creating 2025-08-02 08:54:18,607 - INFO - Project ctest-TestPorts-72845370 not found, creating it 2025-08-02 08:54:19,092 - INFO - Created Project:ctest-TestPorts-72845370, ID : b722f2fa-f14a-4262-939e-8dfa8ebcfe63 2025-08-02 08:54:20,601 - INFO - ================================================================================ 2025-08-02 08:54:20,601 - INFO - STARTING TEST : test_ports_bindings 2025-08-02 08:54:20,601 - 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-08-02 08:54:20,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-02 08:54:20,862 - INFO - Initial checks done. Running the testcase now 2025-08-02 08:54:20,863 - INFO - 2025-08-02 08:54:21,809 - DEBUG - Response for create_network : {'network': {'id': 'f2d1d37d-35b0-438f-b6e4-f8e918116e4b', 'name': 'ctest-vn-64780222', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72845370', 'ctest-vn-64780222'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:54:21,985 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd90a529-6eca-472d-96b2-53424ee14e1a', 'name': '', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': 'f2d1d37d-35b0-438f-b6e4-f8e918116e4b', 'ip_version': 4, 'cidr': '198.203.67.128/26', 'allocation_pools': [{'start': '198.203.67.130', 'end': '198.203.67.190'}], 'gateway_ip': '198.203.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.203.67.130', 'tags': [], 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:22,003 - INFO - Created VN ctest-vn-64780222 2025-08-02 08:54:22,059 - DEBUG - VN ctest-vn-64780222 UUID is f2d1d37d-35b0-438f-b6e4-f8e918116e4b 2025-08-02 08:54:22,174 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72845370', 'ctest-vmi-14072744']} 2025-08-02 08:54:22,452 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14072744', 'id': '39e44881-cdb1-48d6-8c8e-d30d4ae1643c', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': 'f2d1d37d-35b0-438f-b6e4-f8e918116e4b', 'mac_address': '02:39:e4:48:81:cd', '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': '198.203.67.131', 'subnet_id': 'fd90a529-6eca-472d-96b2-53424ee14e1a'}], 'security_groups': ['afce6622-63ee-426c-89e9-fb7f0901c386'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:22,452 - DEBUG - Created port 39e44881-cdb1-48d6-8c8e-d30d4ae1643c 2025-08-02 08:54:22,563 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39e44881-cdb1-48d6-8c8e-d30d4ae1643c 2025-08-02 08:54:22,855 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39e44881-cdb1-48d6-8c8e-d30d4ae1643c 2025-08-02 08:54:22,888 - INFO - VMI 39e44881-cdb1-48d6-8c8e-d30d4ae1643c verification in API Server passed 2025-08-02 08:54:22,977 - DEBUG - Response for delete_port : () 2025-08-02 08:54:22,977 - INFO - Deleted port 39e44881-cdb1-48d6-8c8e-d30d4ae1643c 2025-08-02 08:54:22,977 - INFO - Deleting VN ctest-vn-64780222 2025-08-02 08:54:23,084 - DEBUG - Response for deleting network () 2025-08-02 08:54:23,341 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 08:54:23,341 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-02 08:54:23,341 - INFO - -------------------------------------------------------------------------------- 2025-08-02 08:54:23,344 - INFO - ================================================================================ 2025-08-02 08:54:23,344 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-02 08:54:23,344 - 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-08-02 08:54:23,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-02 08:54:23,633 - INFO - Initial checks done. Running the testcase now 2025-08-02 08:54:23,633 - INFO - 2025-08-02 08:54:23,813 - DEBUG - Response for create_network : {'network': {'id': '4187c672-8e6f-4134-90ef-6b7699a5e68c', 'name': 'ctest-vn1-23171663', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72845370', 'ctest-vn1-23171663'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:54:23,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a5b3568-09f1-4cb7-ad02-27f8ada19593', 'name': '', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': '4187c672-8e6f-4134-90ef-6b7699a5e68c', 'ip_version': 4, 'cidr': '119.167.196.64/26', 'allocation_pools': [{'start': '119.167.196.66', 'end': '119.167.196.126'}], 'gateway_ip': '119.167.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.167.196.66', 'tags': [], 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:24,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '18105f72-351a-48a0-bf16-a8e5e93ade8a', 'name': '', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': '4187c672-8e6f-4134-90ef-6b7699a5e68c', 'ip_version': 4, 'cidr': '184.10.119.0/26', 'allocation_pools': [{'start': '184.10.119.2', 'end': '184.10.119.62'}], 'gateway_ip': '184.10.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.10.119.2', 'tags': [], 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:24,209 - INFO - Created VN ctest-vn1-23171663 2025-08-02 08:54:24,263 - DEBUG - VN ctest-vn1-23171663 UUID is 4187c672-8e6f-4134-90ef-6b7699a5e68c 2025-08-02 08:54:24,574 - DEBUG - Response for create_port : {'port': {'name': '67833d89-fccf-438d-879e-4dff003ba2c5', 'id': '67833d89-fccf-438d-879e-4dff003ba2c5', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': '4187c672-8e6f-4134-90ef-6b7699a5e68c', 'mac_address': '02:67:83:3d:89: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': '119.167.196.69', 'subnet_id': '6a5b3568-09f1-4cb7-ad02-27f8ada19593'}], 'security_groups': ['afce6622-63ee-426c-89e9-fb7f0901c386'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:24,763 - DEBUG - Response for create_port : {'port': {'name': '288a23f2-06ba-4fa2-9a4e-226aa6418952', 'id': '288a23f2-06ba-4fa2-9a4e-226aa6418952', 'tenant_id': 'b722f2faf14a4262939e8dfa8ebcfe63', 'network_id': '4187c672-8e6f-4134-90ef-6b7699a5e68c', 'mac_address': '02:28:8a:23:f2:06', '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': '184.10.119.5', 'subnet_id': '18105f72-351a-48a0-bf16-a8e5e93ade8a'}], 'security_groups': ['afce6622-63ee-426c-89e9-fb7f0901c386'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b722f2faf14a4262939e8dfa8ebcfe63'}} 2025-08-02 08:54:24,839 - DEBUG - Services list from nova: [, , ] 2025-08-02 08:54:25,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:54:25,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:54:25,602 - INFO - Waiting for VM ctest-vn1-vm1-35639180 to be up.. 2025-08-02 08:54:25,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-02 08:54:30,838 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:54:30,838 - INFO - VM name : ctest-vn1-vm1-35639180 2025-08-02 08:54:30,914 - DEBUG - VM ctest-vn1-vm1-35639180 ID is 1358eb81-cb22-49db-ae3f-6b63fd094a80 2025-08-02 08:54:30,933 - DEBUG - VM ctest-vn1-vm1-35639180 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:54:31,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1358eb81-cb22-49db-ae3f-6b63fd094a80 2025-08-02 08:54:31,019 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/67833d89-fccf-438d-879e-4dff003ba2c5 2025-08-02 08:54:34,284 - 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-08-02 08:54:34,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35639180 failed! 2025-08-02 08:54:34,339 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72845370:ctest-vn1-23171663 is 119.167.196.65 and allocation pool is NOT set 2025-08-02 08:54:34,339 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72845370:ctest-vn1-23171663 is 184.10.119.1 and allocation pool is NOT set 2025-08-02 08:54:36,400 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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.292/2.282/3.273/0.990 ms') 2025-08-02 08:54:36,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35639180 passed 2025-08-02 08:54:36,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:36,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35639180, IP 119.167.196.69, Port 22 2025-08-02 08:54:36,614 - 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-08-02 08:54:36,690 - DEBUG - VM ctest-vn1-vm1-35639180 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-02 08:54:41,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:41,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35639180, IP 119.167.196.69, Port 22 2025-08-02 08:54:41,851 - DEBUG - VM ctest-vn1-vm1-35639180 is ready for SSH connections 2025-08-02 08:54:41,851 - INFO - Waiting for VM ctest-vn1-vm2-77807541 to be up.. 2025-08-02 08:54:41,926 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:54:41,926 - INFO - VM name : ctest-vn1-vm2-77807541 2025-08-02 08:54:42,001 - DEBUG - VM ctest-vn1-vm2-77807541 ID is 9aa9f933-826f-4c1f-a04c-3e02e1a5bf54 2025-08-02 08:54:42,001 - DEBUG - VM ctest-vn1-vm2-77807541 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:54:42,076 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9aa9f933-826f-4c1f-a04c-3e02e1a5bf54 2025-08-02 08:54:42,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/288a23f2-06ba-4fa2-9a4e-226aa6418952 2025-08-02 08:54:43,333 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.749/3.070/1.320 ms') 2025-08-02 08:54:43,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77807541 passed 2025-08-02 08:54:43,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:43,487 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77807541, IP 184.10.119.5, Port 22 2025-08-02 08:54:43,643 - DEBUG - VM ctest-vn1-vm2-77807541 is ready for SSH connections 2025-08-02 08:54:43,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:43,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:43,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:54:43,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.167.196.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:54:43,643 - DEBUG - ping -s 56 -c 3 -W 1 119.167.196.69 2025-08-02 08:54:46,294 - DEBUG - PING 119.167.196.69 (119.167.196.69): 56 data bytes 64 bytes from 119.167.196.69: seq=0 ttl=63 time=3.390 ms 64 bytes from 119.167.196.69: seq=1 ttl=63 time=0.957 ms 64 bytes from 119.167.196.69: seq=2 ttl=63 time=0.998 ms --- 119.167.196.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/1.781/3.390 ms 2025-08-02 08:54:46,294 - INFO - Ping to IP 119.167.196.69 from VM ctest-vn1-vm2-77807541 passed 2025-08-02 08:54:46,294 - INFO - Detaching port 288a23f2-06ba-4fa2-9a4e-226aa6418952 from VM ctest-vn1-vm2-77807541 2025-08-02 08:54:46,344 - INFO - Deleting VM ctest-vn1-vm2-77807541 2025-08-02 08:54:46,416 - INFO - Detaching port 67833d89-fccf-438d-879e-4dff003ba2c5 from VM ctest-vn1-vm1-35639180 2025-08-02 08:54:46,449 - INFO - Deleting VM ctest-vn1-vm1-35639180 2025-08-02 08:54:46,695 - DEBUG - Response for delete_port : () 2025-08-02 08:54:46,869 - DEBUG - Response for delete_port : () 2025-08-02 08:54:46,869 - INFO - Deleting VN ctest-vn1-23171663 2025-08-02 08:54:47,013 - DEBUG - Response for deleting network () 2025-08-02 08:54:47,281 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 08:54:47,281 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-02 08:54:47,281 - INFO - -------------------------------------------------------------------------------- 2025-08-02 08:54:48,057 - INFO - Deleted project: ctest-TestPorts-72845370, ID : b722f2fa-f14a-4262-939e-8dfa8ebcfe63