2025-08-26 10:48:11,710 - INFO - Domain Default found not creating 2025-08-26 10:48:11,881 - INFO - Project ctest-TestPorts-93210874 not found, creating it 2025-08-26 10:48:12,332 - INFO - Created Project:ctest-TestPorts-93210874, ID : cde60f7c-0266-440c-8e4b-c16bf43f7bc4 2025-08-26 10:48:13,745 - INFO - ================================================================================ 2025-08-26 10:48:13,745 - INFO - STARTING TEST : test_ports_bindings 2025-08-26 10:48:13,745 - 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-26 10:48:14,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-26 10:48:14,012 - INFO - Initial checks done. Running the testcase now 2025-08-26 10:48:14,012 - INFO - 2025-08-26 10:48:14,575 - DEBUG - Response for create_network : {'network': {'id': '9e8bf0b4-1642-4de2-93b7-0349074ab7cf', 'name': 'ctest-vn-89670240', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93210874', 'ctest-vn-89670240'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:48:14,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e4af911-8707-4f5b-89f9-bdafafd34570', 'name': '', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '9e8bf0b4-1642-4de2-93b7-0349074ab7cf', 'ip_version': 4, 'cidr': '219.65.245.64/26', 'allocation_pools': [{'start': '219.65.245.66', 'end': '219.65.245.126'}], 'gateway_ip': '219.65.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.65.245.66', 'tags': [], 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:14,780 - INFO - Created VN ctest-vn-89670240 2025-08-26 10:48:14,834 - DEBUG - VN ctest-vn-89670240 UUID is 9e8bf0b4-1642-4de2-93b7-0349074ab7cf 2025-08-26 10:48:14,949 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93210874', 'ctest-vmi-77996742']} 2025-08-26 10:48:15,209 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77996742', 'id': '421e5d3c-38d0-4b65-a73b-7dc5a8efcba4', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '9e8bf0b4-1642-4de2-93b7-0349074ab7cf', 'mac_address': '02:42:1e:5d:3c:38', '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': '219.65.245.67', 'subnet_id': '3e4af911-8707-4f5b-89f9-bdafafd34570'}], 'security_groups': ['608e6460-c986-47c1-b34c-34ed7bebdf78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:15,209 - DEBUG - Created port 421e5d3c-38d0-4b65-a73b-7dc5a8efcba4 2025-08-26 10:48:15,318 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/421e5d3c-38d0-4b65-a73b-7dc5a8efcba4 2025-08-26 10:48:15,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/421e5d3c-38d0-4b65-a73b-7dc5a8efcba4 2025-08-26 10:48:15,644 - INFO - VMI 421e5d3c-38d0-4b65-a73b-7dc5a8efcba4 verification in API Server passed 2025-08-26 10:48:15,730 - DEBUG - Response for delete_port : () 2025-08-26 10:48:15,731 - INFO - Deleted port 421e5d3c-38d0-4b65-a73b-7dc5a8efcba4 2025-08-26 10:48:15,731 - INFO - Deleting VN ctest-vn-89670240 2025-08-26 10:48:15,848 - DEBUG - Response for deleting network () 2025-08-26 10:48:16,107 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 10:48:16,108 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-26 10:48:16,108 - INFO - -------------------------------------------------------------------------------- 2025-08-26 10:48:16,111 - INFO - ================================================================================ 2025-08-26 10:48:16,111 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-26 10:48:16,111 - 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-26 10:48:16,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-26 10:48:16,400 - INFO - Initial checks done. Running the testcase now 2025-08-26 10:48:16,400 - INFO - 2025-08-26 10:48:16,574 - DEBUG - Response for create_network : {'network': {'id': '7c668ef9-d362-4391-bde4-42024cb3a59d', 'name': 'ctest-vn1-20385576', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93210874', 'ctest-vn1-20385576'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:48:16,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d7101c7-2f63-4ab2-abe9-1822d5f26a45', 'name': '', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '7c668ef9-d362-4391-bde4-42024cb3a59d', 'ip_version': 4, 'cidr': '143.145.65.0/26', 'allocation_pools': [{'start': '143.145.65.2', 'end': '143.145.65.62'}], 'gateway_ip': '143.145.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.145.65.2', 'tags': [], 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:16,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '63d01820-7ce7-47d4-b189-645b9f1d4d34', 'name': '', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '7c668ef9-d362-4391-bde4-42024cb3a59d', 'ip_version': 4, 'cidr': '121.164.85.64/26', 'allocation_pools': [{'start': '121.164.85.66', 'end': '121.164.85.126'}], 'gateway_ip': '121.164.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.164.85.66', 'tags': [], 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:16,959 - INFO - Created VN ctest-vn1-20385576 2025-08-26 10:48:17,014 - DEBUG - VN ctest-vn1-20385576 UUID is 7c668ef9-d362-4391-bde4-42024cb3a59d 2025-08-26 10:48:17,342 - DEBUG - Response for create_port : {'port': {'name': '134d713d-826a-4308-84f4-24f928573bee', 'id': '134d713d-826a-4308-84f4-24f928573bee', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '7c668ef9-d362-4391-bde4-42024cb3a59d', 'mac_address': '02:13:4d:71:3d:82', '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': '143.145.65.5', 'subnet_id': '8d7101c7-2f63-4ab2-abe9-1822d5f26a45'}], 'security_groups': ['608e6460-c986-47c1-b34c-34ed7bebdf78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:17,523 - DEBUG - Response for create_port : {'port': {'name': '1a1252d6-d722-476e-b977-00d57af8f8fa', 'id': '1a1252d6-d722-476e-b977-00d57af8f8fa', 'tenant_id': 'cde60f7c0266440c8e4bc16bf43f7bc4', 'network_id': '7c668ef9-d362-4391-bde4-42024cb3a59d', 'mac_address': '02:1a:12:52:d6:d7', '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': '121.164.85.69', 'subnet_id': '63d01820-7ce7-47d4-b189-645b9f1d4d34'}], 'security_groups': ['608e6460-c986-47c1-b34c-34ed7bebdf78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cde60f7c0266440c8e4bc16bf43f7bc4'}} 2025-08-26 10:48:17,578 - DEBUG - Services list from nova: [, , ] 2025-08-26 10:48:17,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:48:18,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:48:18,375 - INFO - Waiting for VM ctest-vn1-vm1-45559626 to be up.. 2025-08-26 10:48:18,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 10:48:23,517 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:48:23,517 - INFO - VM name : ctest-vn1-vm1-45559626 2025-08-26 10:48:23,612 - DEBUG - VM ctest-vn1-vm1-45559626 ID is 9a2ab3a2-16e8-44b8-984e-e394792aa7f7 2025-08-26 10:48:23,635 - DEBUG - VM ctest-vn1-vm1-45559626 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:48:23,744 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9a2ab3a2-16e8-44b8-984e-e394792aa7f7 2025-08-26 10:48:23,757 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/134d713d-826a-4308-84f4-24f928573bee 2025-08-26 10:48:27,019 - 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-08-26 10:48:27,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45559626 failed! 2025-08-26 10:48:27,074 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93210874:ctest-vn1-20385576 is 143.145.65.1 and allocation pool is NOT set 2025-08-26 10:48:27,074 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93210874:ctest-vn1-20385576 is 121.164.85.65 and allocation pool is NOT set 2025-08-26 10:48:31,150 - 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=7.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 7.570/7.570/7.570/0.000 ms') 2025-08-26 10:48:31,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45559626 passed 2025-08-26 10:48:31,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:31,306 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45559626, IP 143.145.65.5, Port 22 2025-08-26 10:48:31,361 - 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-26 10:48:31,439 - DEBUG - VM ctest-vn1-vm1-45559626 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 10:48:36,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:36,440 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45559626, IP 143.145.65.5, Port 22 2025-08-26 10:48:36,597 - DEBUG - VM ctest-vn1-vm1-45559626 is ready for SSH connections 2025-08-26 10:48:36,597 - INFO - Waiting for VM ctest-vn1-vm2-68016412 to be up.. 2025-08-26 10:48:36,671 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:48:36,671 - INFO - VM name : ctest-vn1-vm2-68016412 2025-08-26 10:48:36,738 - DEBUG - VM ctest-vn1-vm2-68016412 ID is 21b9e88c-44b2-4c8a-acfe-0450d84020f0 2025-08-26 10:48:36,738 - DEBUG - VM ctest-vn1-vm2-68016412 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:48:36,807 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/21b9e88c-44b2-4c8a-acfe-0450d84020f0 2025-08-26 10:48:36,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1a1252d6-d722-476e-b977-00d57af8f8fa 2025-08-26 10:48:38,063 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/2.157/3.943/1.786 ms') 2025-08-26 10:48:38,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68016412 passed 2025-08-26 10:48:38,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:38,218 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68016412, IP 121.164.85.69, Port 22 2025-08-26 10:48:38,393 - DEBUG - VM ctest-vn1-vm2-68016412 is ready for SSH connections 2025-08-26 10:48:38,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:38,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:38,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:48:38,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.145.65.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-26 10:48:38,394 - DEBUG - ping -s 56 -c 3 -W 1 143.145.65.5 2025-08-26 10:48:41,019 - DEBUG - PING 143.145.65.5 (143.145.65.5): 56 data bytes 64 bytes from 143.145.65.5: seq=0 ttl=63 time=3.614 ms 64 bytes from 143.145.65.5: seq=1 ttl=63 time=0.808 ms 64 bytes from 143.145.65.5: seq=2 ttl=63 time=0.872 ms --- 143.145.65.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.764/3.614 ms 2025-08-26 10:48:41,019 - INFO - Ping to IP 143.145.65.5 from VM ctest-vn1-vm2-68016412 passed 2025-08-26 10:48:41,019 - INFO - Detaching port 1a1252d6-d722-476e-b977-00d57af8f8fa from VM ctest-vn1-vm2-68016412 2025-08-26 10:48:41,070 - INFO - Deleting VM ctest-vn1-vm2-68016412 2025-08-26 10:48:41,160 - INFO - Detaching port 134d713d-826a-4308-84f4-24f928573bee from VM ctest-vn1-vm1-45559626 2025-08-26 10:48:41,203 - INFO - Deleting VM ctest-vn1-vm1-45559626 2025-08-26 10:48:41,471 - DEBUG - Response for delete_port : () 2025-08-26 10:48:41,655 - DEBUG - Response for delete_port : () 2025-08-26 10:48:41,655 - INFO - Deleting VN ctest-vn1-20385576 2025-08-26 10:48:41,838 - DEBUG - Response for deleting network () 2025-08-26 10:48:42,100 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 10:48:42,100 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-26 10:48:42,100 - INFO - -------------------------------------------------------------------------------- 2025-08-26 10:48:42,760 - INFO - Deleted project: ctest-TestPorts-93210874, ID : cde60f7c-0266-440c-8e4b-c16bf43f7bc4