2025-10-06 17:31:36,505 - INFO - Domain Default found not creating 2025-10-06 17:31:36,659 - INFO - Project ctest-TestPorts-98943539 not found, creating it 2025-10-06 17:31:37,111 - INFO - Created Project:ctest-TestPorts-98943539, ID : 803536c2-7e4d-495d-a4e1-b29d56555af4 2025-10-06 17:31:38,507 - INFO - ================================================================================ 2025-10-06 17:31:38,507 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 17:31:38,507 - 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-06 17:31:38,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 17:31:38,764 - INFO - Initial checks done. Running the testcase now 2025-10-06 17:31:38,764 - INFO - 2025-10-06 17:31:39,319 - DEBUG - Response for create_network : {'network': {'id': '04da9cf9-bfe7-47b4-baa3-4908afb0d8bc', 'name': 'ctest-vn-57379268', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'project_id': '803536c27e4d495da4e1b29d56555af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98943539', 'ctest-vn-57379268'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:31:39,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f9afbd5-cad9-4ff1-8300-f74deb202a9f', 'name': '', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '04da9cf9-bfe7-47b4-baa3-4908afb0d8bc', 'ip_version': 4, 'cidr': '8.18.75.128/26', 'allocation_pools': [{'start': '8.18.75.130', 'end': '8.18.75.190'}], 'gateway_ip': '8.18.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.18.75.130', 'tags': [], 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:39,502 - INFO - Created VN ctest-vn-57379268 2025-10-06 17:31:39,554 - DEBUG - VN ctest-vn-57379268 UUID is 04da9cf9-bfe7-47b4-baa3-4908afb0d8bc 2025-10-06 17:31:39,662 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98943539', 'ctest-vmi-71864934']} 2025-10-06 17:31:39,892 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71864934', 'id': '08ed781f-bade-4a42-8be4-f2b02e76b0de', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '04da9cf9-bfe7-47b4-baa3-4908afb0d8bc', 'mac_address': '02:08:ed:78:1f:ba', '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': '8.18.75.131', 'subnet_id': '0f9afbd5-cad9-4ff1-8300-f74deb202a9f'}], 'security_groups': ['a3a459a2-1979-4bc1-b652-e6e9d40dc31d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:39,892 - DEBUG - Created port 08ed781f-bade-4a42-8be4-f2b02e76b0de 2025-10-06 17:31:39,994 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08ed781f-bade-4a42-8be4-f2b02e76b0de 2025-10-06 17:31:40,293 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08ed781f-bade-4a42-8be4-f2b02e76b0de 2025-10-06 17:31:40,328 - INFO - VMI 08ed781f-bade-4a42-8be4-f2b02e76b0de verification in API Server passed 2025-10-06 17:31:40,420 - DEBUG - Response for delete_port : () 2025-10-06 17:31:40,420 - INFO - Deleted port 08ed781f-bade-4a42-8be4-f2b02e76b0de 2025-10-06 17:31:40,420 - INFO - Deleting VN ctest-vn-57379268 2025-10-06 17:31:40,542 - DEBUG - Response for deleting network () 2025-10-06 17:31:40,803 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 17:31:40,804 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-06 17:31:40,804 - INFO - -------------------------------------------------------------------------------- 2025-10-06 17:31:40,807 - INFO - ================================================================================ 2025-10-06 17:31:40,807 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 17:31:40,807 - 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-06 17:31:41,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 17:31:41,099 - INFO - Initial checks done. Running the testcase now 2025-10-06 17:31:41,099 - INFO - 2025-10-06 17:31:41,284 - DEBUG - Response for create_network : {'network': {'id': '9f544350-9701-49a0-9fd2-bdc2b01744af', 'name': 'ctest-vn1-23364852', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'project_id': '803536c27e4d495da4e1b29d56555af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98943539', 'ctest-vn1-23364852'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:31:41,486 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e856f844-ddfc-49ec-83f2-6ddc352521cd', 'name': '', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '9f544350-9701-49a0-9fd2-bdc2b01744af', 'ip_version': 4, 'cidr': '179.222.65.128/26', 'allocation_pools': [{'start': '179.222.65.130', 'end': '179.222.65.190'}], 'gateway_ip': '179.222.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.222.65.130', 'tags': [], 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:41,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8bb5402-9af0-4f09-873a-37fc125c95bb', 'name': '', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '9f544350-9701-49a0-9fd2-bdc2b01744af', 'ip_version': 4, 'cidr': '186.217.7.192/26', 'allocation_pools': [{'start': '186.217.7.194', 'end': '186.217.7.254'}], 'gateway_ip': '186.217.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.217.7.194', 'tags': [], 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:41,746 - INFO - Created VN ctest-vn1-23364852 2025-10-06 17:31:41,802 - DEBUG - VN ctest-vn1-23364852 UUID is 9f544350-9701-49a0-9fd2-bdc2b01744af 2025-10-06 17:31:42,135 - DEBUG - Response for create_port : {'port': {'name': '60e2b679-9aa6-4a7d-bae1-0d2e5cc7423c', 'id': '60e2b679-9aa6-4a7d-bae1-0d2e5cc7423c', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '9f544350-9701-49a0-9fd2-bdc2b01744af', 'mac_address': '02:60:e2:b6:79:9a', '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': '179.222.65.133', 'subnet_id': 'e856f844-ddfc-49ec-83f2-6ddc352521cd'}], 'security_groups': ['a3a459a2-1979-4bc1-b652-e6e9d40dc31d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:42,318 - DEBUG - Response for create_port : {'port': {'name': '88111354-f412-4ccb-a3fb-da8d83b93efe', 'id': '88111354-f412-4ccb-a3fb-da8d83b93efe', 'tenant_id': '803536c27e4d495da4e1b29d56555af4', 'network_id': '9f544350-9701-49a0-9fd2-bdc2b01744af', 'mac_address': '02:88:11:13:54:f4', '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': '186.217.7.197', 'subnet_id': 'e8bb5402-9af0-4f09-873a-37fc125c95bb'}], 'security_groups': ['a3a459a2-1979-4bc1-b652-e6e9d40dc31d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '803536c27e4d495da4e1b29d56555af4'}} 2025-10-06 17:31:42,372 - DEBUG - Services list from nova: [, , ] 2025-10-06 17:31:42,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:31:43,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:31:43,182 - INFO - Waiting for VM ctest-vn1-vm1-80595483 to be up.. 2025-10-06 17:31:43,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 17:31:48,298 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:31:48,298 - INFO - VM name : ctest-vn1-vm1-80595483 2025-10-06 17:31:48,364 - DEBUG - VM ctest-vn1-vm1-80595483 ID is 49d71539-ea84-405b-a175-9467192144f6 2025-10-06 17:31:48,382 - DEBUG - VM ctest-vn1-vm1-80595483 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:31:48,451 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/49d71539-ea84-405b-a175-9467192144f6 2025-10-06 17:31:48,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/60e2b679-9aa6-4a7d-bae1-0d2e5cc7423c 2025-10-06 17:31:51,708 - 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-06 17:31:51,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80595483 failed! 2025-10-06 17:31:51,763 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98943539:ctest-vn1-23364852 is 179.222.65.129 and allocation pool is NOT set 2025-10-06 17:31:51,763 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98943539:ctest-vn1-23364852 is 186.217.7.193 and allocation pool is NOT set 2025-10-06 17:31:53,828 - 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=17.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 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 = 0.835/9.153/17.472/8.318 ms') 2025-10-06 17:31:53,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80595483 passed 2025-10-06 17:31:53,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:31:53,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80595483, IP 179.222.65.133, Port 22 2025-10-06 17:31:54,045 - 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-06 17:31:54,122 - DEBUG - VM ctest-vn1-vm1-80595483 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 17:31:59,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:31:59,123 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80595483, IP 179.222.65.133, Port 22 2025-10-06 17:31:59,278 - DEBUG - VM ctest-vn1-vm1-80595483 is ready for SSH connections 2025-10-06 17:31:59,278 - INFO - Waiting for VM ctest-vn1-vm2-98032596 to be up.. 2025-10-06 17:31:59,356 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:31:59,356 - INFO - VM name : ctest-vn1-vm2-98032596 2025-10-06 17:31:59,433 - DEBUG - VM ctest-vn1-vm2-98032596 ID is 619b15fe-a82b-4a45-ab94-0564e2e8eb71 2025-10-06 17:31:59,433 - DEBUG - VM ctest-vn1-vm2-98032596 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:31:59,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/619b15fe-a82b-4a45-ab94-0564e2e8eb71 2025-10-06 17:31:59,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/88111354-f412-4ccb-a3fb-da8d83b93efe 2025-10-06 17:32:00,908 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.829/3.191/1.362 ms') 2025-10-06 17:32:00,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98032596 passed 2025-10-06 17:32:01,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:01,055 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98032596, IP 186.217.7.197, Port 22 2025-10-06 17:32:01,210 - DEBUG - VM ctest-vn1-vm2-98032596 is ready for SSH connections 2025-10-06 17:32:01,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:01,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:01,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:01,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.222.65.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:01,211 - DEBUG - ping -s 56 -c 3 -W 1 179.222.65.133 2025-10-06 17:32:03,868 - DEBUG - PING 179.222.65.133 (179.222.65.133): 56 data bytes 64 bytes from 179.222.65.133: seq=0 ttl=63 time=3.792 ms 64 bytes from 179.222.65.133: seq=1 ttl=63 time=0.999 ms 64 bytes from 179.222.65.133: seq=2 ttl=63 time=0.985 ms --- 179.222.65.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/1.925/3.792 ms 2025-10-06 17:32:03,869 - INFO - Ping to IP 179.222.65.133 from VM ctest-vn1-vm2-98032596 passed 2025-10-06 17:32:03,869 - INFO - Detaching port 88111354-f412-4ccb-a3fb-da8d83b93efe from VM ctest-vn1-vm2-98032596 2025-10-06 17:32:03,936 - INFO - Deleting VM ctest-vn1-vm2-98032596 2025-10-06 17:32:04,010 - INFO - Detaching port 60e2b679-9aa6-4a7d-bae1-0d2e5cc7423c from VM ctest-vn1-vm1-80595483 2025-10-06 17:32:04,048 - INFO - Deleting VM ctest-vn1-vm1-80595483 2025-10-06 17:32:04,283 - DEBUG - Response for delete_port : () 2025-10-06 17:32:04,447 - DEBUG - Response for delete_port : () 2025-10-06 17:32:04,447 - INFO - Deleting VN ctest-vn1-23364852 2025-10-06 17:32:04,595 - DEBUG - Response for deleting network () 2025-10-06 17:32:04,856 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 17:32:04,856 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-06 17:32:04,856 - INFO - -------------------------------------------------------------------------------- 2025-10-06 17:32:05,555 - INFO - Deleted project: ctest-TestPorts-98943539, ID : 803536c2-7e4d-495d-a4e1-b29d56555af4