2025-10-31 22:27:46,821 - INFO - Domain Default found not creating 2025-10-31 22:27:46,960 - INFO - Project ctest-TestPorts-36332455 not found, creating it 2025-10-31 22:27:47,398 - INFO - Created Project:ctest-TestPorts-36332455, ID : 59d6f061-f372-4534-aa02-66cf8faaf72b 2025-10-31 22:27:49,326 - INFO - ================================================================================ 2025-10-31 22:27:49,326 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 22:27:49,326 - 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-31 22:27:49,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-10-31 22:27:49,586 - INFO - Initial checks done. Running the testcase now 2025-10-31 22:27:49,586 - INFO - 2025-10-31 22:27:50,199 - DEBUG - Response for create_network : {'network': {'id': 'd28d2977-7d7f-4bb8-8dc6-96b1dbffe15f', 'name': 'ctest-vn-02505634', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'project_id': '59d6f061f3724534aa0266cf8faaf72b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36332455', 'ctest-vn-02505634'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:27:50,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '464b65ec-898d-4fcd-ac47-ef4487c3519f', 'name': '', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'd28d2977-7d7f-4bb8-8dc6-96b1dbffe15f', 'ip_version': 4, 'cidr': '116.210.70.64/26', 'allocation_pools': [{'start': '116.210.70.66', 'end': '116.210.70.126'}], 'gateway_ip': '116.210.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.210.70.66', 'tags': [], 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:50,361 - INFO - Created VN ctest-vn-02505634 2025-10-31 22:27:50,413 - DEBUG - VN ctest-vn-02505634 UUID is d28d2977-7d7f-4bb8-8dc6-96b1dbffe15f 2025-10-31 22:27:50,517 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36332455', 'ctest-vmi-29878992']} 2025-10-31 22:27:50,814 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29878992', 'id': '1e065a89-35af-4990-9c3c-fce970076bdf', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'd28d2977-7d7f-4bb8-8dc6-96b1dbffe15f', 'mac_address': '02:1e:06:5a:89:35', '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': '116.210.70.67', 'subnet_id': '464b65ec-898d-4fcd-ac47-ef4487c3519f'}], 'security_groups': ['05c134d7-c5a4-4cc5-9881-49983bff574a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:50,814 - DEBUG - Created port 1e065a89-35af-4990-9c3c-fce970076bdf 2025-10-31 22:27:50,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e065a89-35af-4990-9c3c-fce970076bdf 2025-10-31 22:27:51,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e065a89-35af-4990-9c3c-fce970076bdf 2025-10-31 22:27:51,281 - INFO - VMI 1e065a89-35af-4990-9c3c-fce970076bdf verification in API Server passed 2025-10-31 22:27:51,362 - DEBUG - Response for delete_port : () 2025-10-31 22:27:51,362 - INFO - Deleted port 1e065a89-35af-4990-9c3c-fce970076bdf 2025-10-31 22:27:51,362 - INFO - Deleting VN ctest-vn-02505634 2025-10-31 22:27:51,456 - DEBUG - Response for deleting network () 2025-10-31 22:27:51,713 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 22:27:51,714 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-31 22:27:51,714 - INFO - -------------------------------------------------------------------------------- 2025-10-31 22:27:51,716 - INFO - ================================================================================ 2025-10-31 22:27:51,716 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 22:27:51,716 - 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-31 22:27:52,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-10-31 22:27:52,010 - INFO - Initial checks done. Running the testcase now 2025-10-31 22:27:52,010 - INFO - 2025-10-31 22:27:52,187 - DEBUG - Response for create_network : {'network': {'id': 'ac6b0268-0bf7-46be-80d4-aae8366592a0', 'name': 'ctest-vn1-85148765', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'project_id': '59d6f061f3724534aa0266cf8faaf72b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36332455', 'ctest-vn1-85148765'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:27:52,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f69d07eb-f294-49f3-8163-41597d69be01', 'name': '', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'ac6b0268-0bf7-46be-80d4-aae8366592a0', 'ip_version': 4, 'cidr': '26.179.70.192/26', 'allocation_pools': [{'start': '26.179.70.194', 'end': '26.179.70.254'}], 'gateway_ip': '26.179.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.179.70.194', 'tags': [], 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:52,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3515c03-1d83-4895-8d54-cff300743f76', 'name': '', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'ac6b0268-0bf7-46be-80d4-aae8366592a0', 'ip_version': 4, 'cidr': '198.14.163.64/26', 'allocation_pools': [{'start': '198.14.163.66', 'end': '198.14.163.126'}], 'gateway_ip': '198.14.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.14.163.66', 'tags': [], 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:52,540 - INFO - Created VN ctest-vn1-85148765 2025-10-31 22:27:52,593 - DEBUG - VN ctest-vn1-85148765 UUID is ac6b0268-0bf7-46be-80d4-aae8366592a0 2025-10-31 22:27:52,868 - DEBUG - Response for create_port : {'port': {'name': '8d3a7b46-5b2e-4d81-a82b-c27564fc82db', 'id': '8d3a7b46-5b2e-4d81-a82b-c27564fc82db', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'ac6b0268-0bf7-46be-80d4-aae8366592a0', 'mac_address': '02:8d:3a:7b:46:5b', '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': '26.179.70.197', 'subnet_id': 'f69d07eb-f294-49f3-8163-41597d69be01'}], 'security_groups': ['05c134d7-c5a4-4cc5-9881-49983bff574a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:53,023 - DEBUG - Response for create_port : {'port': {'name': 'd7c0eda0-f21e-411a-809a-5e63efab2427', 'id': 'd7c0eda0-f21e-411a-809a-5e63efab2427', 'tenant_id': '59d6f061f3724534aa0266cf8faaf72b', 'network_id': 'ac6b0268-0bf7-46be-80d4-aae8366592a0', 'mac_address': '02:d7:c0:ed:a0:f2', '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.14.163.69', 'subnet_id': 'a3515c03-1d83-4895-8d54-cff300743f76'}], 'security_groups': ['05c134d7-c5a4-4cc5-9881-49983bff574a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d6f061f3724534aa0266cf8faaf72b'}} 2025-10-31 22:27:53,076 - DEBUG - Services list from nova: [, , ] 2025-10-31 22:27:53,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4583-1) 2025-10-31 22:27:53,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4583-1) 2025-10-31 22:27:53,775 - INFO - Waiting for VM ctest-vn1-vm1-24230466 to be up.. 2025-10-31 22:27:53,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 22:27:58,886 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:27:58,886 - INFO - VM name : ctest-vn1-vm1-24230466 2025-10-31 22:27:58,955 - DEBUG - VM ctest-vn1-vm1-24230466 ID is 58bfa1e7-167d-4f2d-a06a-041dc0946bc9 2025-10-31 22:27:58,981 - DEBUG - VM ctest-vn1-vm1-24230466 launched on Node cn-jenkins-deploy-platform-ansible-os-4583-1 2025-10-31 22:27:59,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/58bfa1e7-167d-4f2d-a06a-041dc0946bc9 2025-10-31 22:27:59,074 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8d3a7b46-5b2e-4d81-a82b-c27564fc82db 2025-10-31 22:28:02,327 - 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 1007ms') 2025-10-31 22:28:02,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24230466 failed! 2025-10-31 22:28:02,381 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36332455:ctest-vn1-85148765 is 26.179.70.193 and allocation pool is NOT set 2025-10-31 22:28:02,381 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36332455:ctest-vn1-85148765 is 198.14.163.65 and allocation pool is NOT set 2025-10-31 22:28:06,449 - 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=2 ttl=63 time=6.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 6.279/6.279/6.279/0.000 ms') 2025-10-31 22:28:06,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24230466 passed 2025-10-31 22:28:06,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:28:06,605 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24230466, IP 26.179.70.197, Port 22 2025-10-31 22:28:06,776 - DEBUG - VM ctest-vn1-vm1-24230466 is ready for SSH connections 2025-10-31 22:28:06,776 - INFO - Waiting for VM ctest-vn1-vm2-51140567 to be up.. 2025-10-31 22:28:06,852 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:28:06,852 - INFO - VM name : ctest-vn1-vm2-51140567 2025-10-31 22:28:06,923 - DEBUG - VM ctest-vn1-vm2-51140567 ID is 8ea93cfc-6ebb-4ae8-b508-23c32c7dbeda 2025-10-31 22:28:06,923 - DEBUG - VM ctest-vn1-vm2-51140567 launched on Node cn-jenkins-deploy-platform-ansible-os-4583-1 2025-10-31 22:28:06,991 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8ea93cfc-6ebb-4ae8-b508-23c32c7dbeda 2025-10-31 22:28:07,000 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d7c0eda0-f21e-411a-809a-5e63efab2427 2025-10-31 22:28:08,231 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.773/3.051/1.277 ms') 2025-10-31 22:28:08,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51140567 passed 2025-10-31 22:28:08,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:28:08,377 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51140567, IP 198.14.163.69, Port 22 2025-10-31 22:28:08,533 - DEBUG - VM ctest-vn1-vm2-51140567 is ready for SSH connections 2025-10-31 22:28:08,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:28:08,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:28:08,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:28:08,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.179.70.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-31 22:28:08,533 - DEBUG - ping -s 56 -c 3 -W 1 26.179.70.197 2025-10-31 22:28:11,208 - DEBUG - PING 26.179.70.197 (26.179.70.197): 56 data bytes 64 bytes from 26.179.70.197: seq=0 ttl=63 time=3.648 ms 64 bytes from 26.179.70.197: seq=1 ttl=63 time=0.832 ms 64 bytes from 26.179.70.197: seq=2 ttl=63 time=0.899 ms --- 26.179.70.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.793/3.648 ms 2025-10-31 22:28:11,209 - INFO - Ping to IP 26.179.70.197 from VM ctest-vn1-vm2-51140567 passed 2025-10-31 22:28:11,209 - INFO - Detaching port d7c0eda0-f21e-411a-809a-5e63efab2427 from VM ctest-vn1-vm2-51140567 2025-10-31 22:28:11,258 - INFO - Deleting VM ctest-vn1-vm2-51140567 2025-10-31 22:28:11,320 - INFO - Detaching port 8d3a7b46-5b2e-4d81-a82b-c27564fc82db from VM ctest-vn1-vm1-24230466 2025-10-31 22:28:11,351 - INFO - Deleting VM ctest-vn1-vm1-24230466 2025-10-31 22:28:11,577 - DEBUG - Response for delete_port : () 2025-10-31 22:28:11,725 - DEBUG - Response for delete_port : () 2025-10-31 22:28:11,726 - INFO - Deleting VN ctest-vn1-85148765 2025-10-31 22:28:11,832 - DEBUG - Response for deleting network () 2025-10-31 22:28:12,094 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 22:28:12,094 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-31 22:28:12,094 - INFO - -------------------------------------------------------------------------------- 2025-10-31 22:28:12,814 - INFO - Deleted project: ctest-TestPorts-36332455, ID : 59d6f061-f372-4534-aa02-66cf8faaf72b