2025-11-21 17:17:40,577 - INFO - Domain Default found not creating 2025-11-21 17:17:40,774 - INFO - Project ctest-TestPorts-04561504 not found, creating it 2025-11-21 17:17:41,307 - INFO - Created Project:ctest-TestPorts-04561504, ID : e5f1c682-d90e-4ece-b854-16eefadadeca 2025-11-21 17:17:42,925 - INFO - ================================================================================ 2025-11-21 17:17:42,925 - INFO - STARTING TEST : test_ports_bindings 2025-11-21 17:17:42,925 - 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-11-21 17:17:43,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-21 17:17:43,189 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:17:43,189 - INFO - 2025-11-21 17:17:43,760 - DEBUG - Response for create_network : {'network': {'id': 'da10ffa4-96b3-41f7-aacb-09cded629827', 'name': 'ctest-vn-17195811', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'project_id': 'e5f1c682d90e4eceb85416eefadadeca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04561504', 'ctest-vn-17195811'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:17:43,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d8ae290-cffe-48d5-ad37-8eb44df3f2c7', 'name': '', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': 'da10ffa4-96b3-41f7-aacb-09cded629827', 'ip_version': 4, 'cidr': '147.42.86.128/26', 'allocation_pools': [{'start': '147.42.86.130', 'end': '147.42.86.190'}], 'gateway_ip': '147.42.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.42.86.130', 'tags': [], 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:43,995 - INFO - Created VN ctest-vn-17195811 2025-11-21 17:17:44,046 - DEBUG - VN ctest-vn-17195811 UUID is da10ffa4-96b3-41f7-aacb-09cded629827 2025-11-21 17:17:44,159 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04561504', 'ctest-vmi-57914571']} 2025-11-21 17:17:44,444 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57914571', 'id': '73acfd8c-3ab2-4dda-a7c7-b824e88b85a2', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': 'da10ffa4-96b3-41f7-aacb-09cded629827', 'mac_address': '02:73:ac:fd:8c:3a', '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': '147.42.86.131', 'subnet_id': '8d8ae290-cffe-48d5-ad37-8eb44df3f2c7'}], 'security_groups': ['8cb76d99-a460-4430-85de-2f03c79ec77e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:44,444 - DEBUG - Created port 73acfd8c-3ab2-4dda-a7c7-b824e88b85a2 2025-11-21 17:17:44,566 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/73acfd8c-3ab2-4dda-a7c7-b824e88b85a2 2025-11-21 17:17:44,873 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/73acfd8c-3ab2-4dda-a7c7-b824e88b85a2 2025-11-21 17:17:44,911 - INFO - VMI 73acfd8c-3ab2-4dda-a7c7-b824e88b85a2 verification in API Server passed 2025-11-21 17:17:45,015 - DEBUG - Response for delete_port : () 2025-11-21 17:17:45,015 - INFO - Deleted port 73acfd8c-3ab2-4dda-a7c7-b824e88b85a2 2025-11-21 17:17:45,015 - INFO - Deleting VN ctest-vn-17195811 2025-11-21 17:17:45,138 - DEBUG - Response for deleting network () 2025-11-21 17:17:45,402 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:17:45,402 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-21 17:17:45,402 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:17:45,405 - INFO - ================================================================================ 2025-11-21 17:17:45,405 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-21 17:17:45,405 - 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-11-21 17:17:45,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-21 17:17:45,691 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:17:45,691 - INFO - 2025-11-21 17:17:45,875 - DEBUG - Response for create_network : {'network': {'id': '1d26a1c0-cdc1-4c86-8027-67136e984c52', 'name': 'ctest-vn1-47337383', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'project_id': 'e5f1c682d90e4eceb85416eefadadeca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04561504', 'ctest-vn1-47337383'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:17:46,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4109af4-c5a0-419b-abf9-8ae835ef6198', 'name': '', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': '1d26a1c0-cdc1-4c86-8027-67136e984c52', 'ip_version': 4, 'cidr': '190.226.10.192/26', 'allocation_pools': [{'start': '190.226.10.194', 'end': '190.226.10.254'}], 'gateway_ip': '190.226.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.226.10.194', 'tags': [], 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:46,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '89ecb24e-da1e-4b0e-8c74-03b41cfeba11', 'name': '', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': '1d26a1c0-cdc1-4c86-8027-67136e984c52', 'ip_version': 4, 'cidr': '109.62.203.0/26', 'allocation_pools': [{'start': '109.62.203.2', 'end': '109.62.203.62'}], 'gateway_ip': '109.62.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.62.203.2', 'tags': [], 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:46,308 - INFO - Created VN ctest-vn1-47337383 2025-11-21 17:17:46,362 - DEBUG - VN ctest-vn1-47337383 UUID is 1d26a1c0-cdc1-4c86-8027-67136e984c52 2025-11-21 17:17:46,705 - DEBUG - Response for create_port : {'port': {'name': 'ddb51e0d-d3d5-47c3-acdc-6772c30d2038', 'id': 'ddb51e0d-d3d5-47c3-acdc-6772c30d2038', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': '1d26a1c0-cdc1-4c86-8027-67136e984c52', 'mac_address': '02:dd:b5:1e:0d:d3', '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': '190.226.10.197', 'subnet_id': 'e4109af4-c5a0-419b-abf9-8ae835ef6198'}], 'security_groups': ['8cb76d99-a460-4430-85de-2f03c79ec77e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:46,898 - DEBUG - Response for create_port : {'port': {'name': 'dc7e6dcc-706a-44e0-b3e5-776c99ed5614', 'id': 'dc7e6dcc-706a-44e0-b3e5-776c99ed5614', 'tenant_id': 'e5f1c682d90e4eceb85416eefadadeca', 'network_id': '1d26a1c0-cdc1-4c86-8027-67136e984c52', 'mac_address': '02:dc:7e:6d:cc:70', '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': '109.62.203.5', 'subnet_id': '89ecb24e-da1e-4b0e-8c74-03b41cfeba11'}], 'security_groups': ['8cb76d99-a460-4430-85de-2f03c79ec77e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f1c682d90e4eceb85416eefadadeca'}} 2025-11-21 17:17:46,960 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:17:47,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:17:47,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:17:47,793 - INFO - Waiting for VM ctest-vn1-vm1-94395110 to be up.. 2025-11-21 17:17:47,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:17:52,923 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:17:52,924 - INFO - VM name : ctest-vn1-vm1-94395110 2025-11-21 17:17:53,015 - DEBUG - VM ctest-vn1-vm1-94395110 ID is b04d2a7a-d59d-4d32-a516-3b4cd458af53 2025-11-21 17:17:53,037 - DEBUG - VM ctest-vn1-vm1-94395110 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:17:53,125 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b04d2a7a-d59d-4d32-a516-3b4cd458af53 2025-11-21 17:17:53,135 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ddb51e0d-d3d5-47c3-acdc-6772c30d2038 2025-11-21 17:17:56,418 - 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 1029ms') 2025-11-21 17:17:56,418 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94395110 failed! 2025-11-21 17:17:56,474 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04561504:ctest-vn1-47337383 is 190.226.10.193 and allocation pool is NOT set 2025-11-21 17:17:56,474 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04561504:ctest-vn1-47337383 is 109.62.203.1 and allocation pool is NOT set 2025-11-21 17:18:00,541 - 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=12.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 12.345/12.345/12.345/0.000 ms') 2025-11-21 17:18:00,541 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94395110 passed 2025-11-21 17:18:00,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:00,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94395110, IP 190.226.10.197, Port 22 2025-11-21 17:18:00,905 - DEBUG - VM ctest-vn1-vm1-94395110 is ready for SSH connections 2025-11-21 17:18:00,905 - INFO - Waiting for VM ctest-vn1-vm2-58558951 to be up.. 2025-11-21 17:18:01,030 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:18:01,030 - INFO - VM name : ctest-vn1-vm2-58558951 2025-11-21 17:18:01,143 - DEBUG - VM ctest-vn1-vm2-58558951 ID is 3fa201f6-6651-4518-9c3e-1a6f452e7e32 2025-11-21 17:18:01,143 - DEBUG - VM ctest-vn1-vm2-58558951 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:18:01,257 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3fa201f6-6651-4518-9c3e-1a6f452e7e32 2025-11-21 17:18:01,269 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dc7e6dcc-706a-44e0-b3e5-776c99ed5614 2025-11-21 17:18:02,534 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.761 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.761/2.264/3.768/1.503 ms') 2025-11-21 17:18:02,534 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58558951 passed 2025-11-21 17:18:02,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:02,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58558951, IP 109.62.203.5, Port 22 2025-11-21 17:18:02,859 - DEBUG - VM ctest-vn1-vm2-58558951 is ready for SSH connections 2025-11-21 17:18:02,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:02,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:02,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:02,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.226.10.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:02,859 - DEBUG - ping -s 56 -c 3 -W 1 190.226.10.197 2025-11-21 17:18:05,560 - DEBUG - PING 190.226.10.197 (190.226.10.197): 56 data bytes 64 bytes from 190.226.10.197: seq=0 ttl=63 time=4.002 ms 64 bytes from 190.226.10.197: seq=1 ttl=63 time=0.924 ms 64 bytes from 190.226.10.197: seq=2 ttl=63 time=1.240 ms --- 190.226.10.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/2.055/4.002 ms 2025-11-21 17:18:05,560 - INFO - Ping to IP 190.226.10.197 from VM ctest-vn1-vm2-58558951 passed 2025-11-21 17:18:05,560 - INFO - Detaching port dc7e6dcc-706a-44e0-b3e5-776c99ed5614 from VM ctest-vn1-vm2-58558951 2025-11-21 17:18:05,626 - INFO - Deleting VM ctest-vn1-vm2-58558951 2025-11-21 17:18:05,714 - INFO - Detaching port ddb51e0d-d3d5-47c3-acdc-6772c30d2038 from VM ctest-vn1-vm1-94395110 2025-11-21 17:18:05,756 - INFO - Deleting VM ctest-vn1-vm1-94395110 2025-11-21 17:18:06,037 - DEBUG - Response for delete_port : () 2025-11-21 17:18:06,200 - DEBUG - Response for delete_port : () 2025-11-21 17:18:06,200 - INFO - Deleting VN ctest-vn1-47337383 2025-11-21 17:18:06,374 - DEBUG - Response for deleting network () 2025-11-21 17:18:06,628 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:18:06,628 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-21 17:18:06,629 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:18:07,430 - INFO - Deleted project: ctest-TestPorts-04561504, ID : e5f1c682-d90e-4ece-b854-16eefadadeca