2025-09-24 08:01:46,402 - INFO - Domain Default found not creating 2025-09-24 08:01:46,542 - INFO - Project ctest-TestPorts-59003252 not found, creating it 2025-09-24 08:01:46,960 - INFO - Created Project:ctest-TestPorts-59003252, ID : f75f365b-9416-4fcf-b159-3c24e8734938 2025-09-24 08:01:48,300 - INFO - ================================================================================ 2025-09-24 08:01:48,300 - INFO - STARTING TEST : test_ports_bindings 2025-09-24 08:01:48,300 - 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-09-24 08:01:48,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 08:01:48,556 - INFO - Initial checks done. Running the testcase now 2025-09-24 08:01:48,556 - INFO - 2025-09-24 08:01:49,059 - DEBUG - Response for create_network : {'network': {'id': '47b949b8-65ba-4c72-8d3a-142f9271a867', 'name': 'ctest-vn-41898671', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'project_id': 'f75f365b94164fcfb1593c24e8734938', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59003252', 'ctest-vn-41898671'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 08:01:49,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '83a92e18-7450-4ba8-ac12-cad7cd896e47', 'name': '', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': '47b949b8-65ba-4c72-8d3a-142f9271a867', 'ip_version': 4, 'cidr': '66.194.112.0/26', 'allocation_pools': [{'start': '66.194.112.2', 'end': '66.194.112.62'}], 'gateway_ip': '66.194.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.194.112.2', 'tags': [], 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:49,224 - INFO - Created VN ctest-vn-41898671 2025-09-24 08:01:49,274 - DEBUG - VN ctest-vn-41898671 UUID is 47b949b8-65ba-4c72-8d3a-142f9271a867 2025-09-24 08:01:49,371 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59003252', 'ctest-vmi-05543675']} 2025-09-24 08:01:49,644 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05543675', 'id': '50158abf-873a-4259-a0f6-7962d93d40da', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': '47b949b8-65ba-4c72-8d3a-142f9271a867', 'mac_address': '02:50:15:8a:bf:87', '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': '66.194.112.3', 'subnet_id': '83a92e18-7450-4ba8-ac12-cad7cd896e47'}], 'security_groups': ['eaa9b3d5-4857-4b30-9fd5-cb216e3e9fce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:49,644 - DEBUG - Created port 50158abf-873a-4259-a0f6-7962d93d40da 2025-09-24 08:01:49,746 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/50158abf-873a-4259-a0f6-7962d93d40da 2025-09-24 08:01:50,036 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/50158abf-873a-4259-a0f6-7962d93d40da 2025-09-24 08:01:50,063 - INFO - VMI 50158abf-873a-4259-a0f6-7962d93d40da verification in API Server passed 2025-09-24 08:01:50,139 - DEBUG - Response for delete_port : () 2025-09-24 08:01:50,139 - INFO - Deleted port 50158abf-873a-4259-a0f6-7962d93d40da 2025-09-24 08:01:50,139 - INFO - Deleting VN ctest-vn-41898671 2025-09-24 08:01:50,264 - DEBUG - Response for deleting network () 2025-09-24 08:01:50,516 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 08:01:50,516 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-24 08:01:50,516 - INFO - -------------------------------------------------------------------------------- 2025-09-24 08:01:50,518 - INFO - ================================================================================ 2025-09-24 08:01:50,518 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-24 08:01:50,518 - 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-09-24 08:01:50,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 08:01:50,802 - INFO - Initial checks done. Running the testcase now 2025-09-24 08:01:50,802 - INFO - 2025-09-24 08:01:50,960 - DEBUG - Response for create_network : {'network': {'id': 'd6f209d5-803c-4708-b4b0-76286ff46080', 'name': 'ctest-vn1-37434311', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'project_id': 'f75f365b94164fcfb1593c24e8734938', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59003252', 'ctest-vn1-37434311'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 08:01:51,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '58392151-55a1-4f3c-9090-3e08ede35b6a', 'name': '', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': 'd6f209d5-803c-4708-b4b0-76286ff46080', 'ip_version': 4, 'cidr': '155.120.149.0/26', 'allocation_pools': [{'start': '155.120.149.2', 'end': '155.120.149.62'}], 'gateway_ip': '155.120.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.120.149.2', 'tags': [], 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:51,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaa04ea0-671d-4be2-adec-a0df6fed1f5a', 'name': '', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': 'd6f209d5-803c-4708-b4b0-76286ff46080', 'ip_version': 4, 'cidr': '81.14.23.64/26', 'allocation_pools': [{'start': '81.14.23.66', 'end': '81.14.23.126'}], 'gateway_ip': '81.14.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.14.23.66', 'tags': [], 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:51,316 - INFO - Created VN ctest-vn1-37434311 2025-09-24 08:01:51,366 - DEBUG - VN ctest-vn1-37434311 UUID is d6f209d5-803c-4708-b4b0-76286ff46080 2025-09-24 08:01:51,629 - DEBUG - Response for create_port : {'port': {'name': '6e8418dc-07e0-41f3-ada2-de4481407fc8', 'id': '6e8418dc-07e0-41f3-ada2-de4481407fc8', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': 'd6f209d5-803c-4708-b4b0-76286ff46080', 'mac_address': '02:6e:84:18:dc:07', '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': '155.120.149.5', 'subnet_id': '58392151-55a1-4f3c-9090-3e08ede35b6a'}], 'security_groups': ['eaa9b3d5-4857-4b30-9fd5-cb216e3e9fce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:51,792 - DEBUG - Response for create_port : {'port': {'name': '021282ea-0757-4ed2-ab46-74bd05e06b25', 'id': '021282ea-0757-4ed2-ab46-74bd05e06b25', 'tenant_id': 'f75f365b94164fcfb1593c24e8734938', 'network_id': 'd6f209d5-803c-4708-b4b0-76286ff46080', 'mac_address': '02:02:12:82:ea:07', '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': '81.14.23.69', 'subnet_id': 'aaa04ea0-671d-4be2-adec-a0df6fed1f5a'}], 'security_groups': ['eaa9b3d5-4857-4b30-9fd5-cb216e3e9fce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f75f365b94164fcfb1593c24e8734938'}} 2025-09-24 08:01:51,842 - DEBUG - Services list from nova: [, , ] 2025-09-24 08:01:52,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1) 2025-09-24 08:01:52,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1) 2025-09-24 08:01:52,482 - INFO - Waiting for VM ctest-vn1-vm1-24167324 to be up.. 2025-09-24 08:01:52,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 08:01:57,579 - DEBUG - VM is in ACTIVE state now 2025-09-24 08:01:57,579 - INFO - VM name : ctest-vn1-vm1-24167324 2025-09-24 08:01:57,643 - DEBUG - VM ctest-vn1-vm1-24167324 ID is c4e54a26-3410-4230-9f89-9b1c00465fe3 2025-09-24 08:01:57,664 - DEBUG - VM ctest-vn1-vm1-24167324 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1 2025-09-24 08:01:57,732 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c4e54a26-3410-4230-9f89-9b1c00465fe3 2025-09-24 08:01:57,739 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6e8418dc-07e0-41f3-ada2-de4481407fc8 2025-09-24 08:02:00,971 - 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 1004ms') 2025-09-24 08:02:00,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24167324 failed! 2025-09-24 08:02:01,026 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59003252:ctest-vn1-37434311 is 155.120.149.1 and allocation pool is NOT set 2025-09-24 08:02:01,026 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59003252:ctest-vn1-37434311 is 81.14.23.65 and allocation pool is NOT set 2025-09-24 08:02:03,090 - 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.95 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/2.633/3.948/1.315 ms') 2025-09-24 08:02:03,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24167324 passed 2025-09-24 08:02:03,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:03,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24167324, IP 155.120.149.5, Port 22 2025-09-24 08:02:03,402 - DEBUG - VM ctest-vn1-vm1-24167324 is ready for SSH connections 2025-09-24 08:02:03,402 - INFO - Waiting for VM ctest-vn1-vm2-07493882 to be up.. 2025-09-24 08:02:03,471 - DEBUG - VM is in ACTIVE state now 2025-09-24 08:02:03,471 - INFO - VM name : ctest-vn1-vm2-07493882 2025-09-24 08:02:03,552 - DEBUG - VM ctest-vn1-vm2-07493882 ID is d4504a57-6cc8-402f-b972-0e80acf82b9b 2025-09-24 08:02:03,552 - DEBUG - VM ctest-vn1-vm2-07493882 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1 2025-09-24 08:02:03,651 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d4504a57-6cc8-402f-b972-0e80acf82b9b 2025-09-24 08:02:03,660 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/021282ea-0757-4ed2-ab46-74bd05e06b25 2025-09-24 08:02:04,899 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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.342/1.713/3.084/1.371 ms') 2025-09-24 08:02:04,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07493882 passed 2025-09-24 08:02:05,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:05,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07493882, IP 81.14.23.69, Port 22 2025-09-24 08:02:05,206 - DEBUG - VM ctest-vn1-vm2-07493882 is ready for SSH connections 2025-09-24 08:02:05,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:05,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:05,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:05,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.120.149.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 08:02:05,206 - DEBUG - ping -s 56 -c 3 -W 1 155.120.149.5 2025-09-24 08:02:07,888 - DEBUG - PING 155.120.149.5 (155.120.149.5): 56 data bytes 64 bytes from 155.120.149.5: seq=0 ttl=63 time=3.695 ms 64 bytes from 155.120.149.5: seq=1 ttl=63 time=0.824 ms 64 bytes from 155.120.149.5: seq=2 ttl=63 time=0.885 ms --- 155.120.149.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.801/3.695 ms 2025-09-24 08:02:07,888 - INFO - Ping to IP 155.120.149.5 from VM ctest-vn1-vm2-07493882 passed 2025-09-24 08:02:07,888 - INFO - Detaching port 021282ea-0757-4ed2-ab46-74bd05e06b25 from VM ctest-vn1-vm2-07493882 2025-09-24 08:02:07,932 - INFO - Deleting VM ctest-vn1-vm2-07493882 2025-09-24 08:02:07,996 - INFO - Detaching port 6e8418dc-07e0-41f3-ada2-de4481407fc8 from VM ctest-vn1-vm1-24167324 2025-09-24 08:02:08,027 - INFO - Deleting VM ctest-vn1-vm1-24167324 2025-09-24 08:02:08,236 - DEBUG - Response for delete_port : () 2025-09-24 08:02:08,388 - DEBUG - Response for delete_port : () 2025-09-24 08:02:08,388 - INFO - Deleting VN ctest-vn1-37434311 2025-09-24 08:02:08,537 - DEBUG - Response for deleting network () 2025-09-24 08:02:08,791 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 08:02:08,791 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-24 08:02:08,791 - INFO - -------------------------------------------------------------------------------- 2025-09-24 08:02:09,464 - INFO - Deleted project: ctest-TestPorts-59003252, ID : f75f365b-9416-4fcf-b159-3c24e8734938