2025-10-09 01:59:20,294 - INFO - Domain Default found not creating 2025-10-09 01:59:20,440 - INFO - Project ctest-TestPorts-21976896 not found, creating it 2025-10-09 01:59:20,884 - INFO - Created Project:ctest-TestPorts-21976896, ID : f9567a34-fe7d-4f08-8216-ca5fa7fc4409 2025-10-09 01:59:22,918 - INFO - ================================================================================ 2025-10-09 01:59:22,918 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 01:59:22,919 - 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-09 01:59:23,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 01:59:23,179 - INFO - Initial checks done. Running the testcase now 2025-10-09 01:59:23,179 - INFO - 2025-10-09 01:59:23,696 - DEBUG - Response for create_network : {'network': {'id': '51a0ce1c-744c-4999-a7ec-1552576ba91f', 'name': 'ctest-vn-86553247', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21976896', 'ctest-vn-86553247'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 01:59:23,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b45c7df-508b-458b-aa27-954a4249e747', 'name': '', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '51a0ce1c-744c-4999-a7ec-1552576ba91f', 'ip_version': 4, 'cidr': '200.28.134.192/26', 'allocation_pools': [{'start': '200.28.134.194', 'end': '200.28.134.254'}], 'gateway_ip': '200.28.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.28.134.194', 'tags': [], 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:23,865 - INFO - Created VN ctest-vn-86553247 2025-10-09 01:59:23,917 - DEBUG - VN ctest-vn-86553247 UUID is 51a0ce1c-744c-4999-a7ec-1552576ba91f 2025-10-09 01:59:24,015 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21976896', 'ctest-vmi-95211546']} 2025-10-09 01:59:24,288 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95211546', 'id': '3ff51e2e-1ad3-4c15-bd65-337f6094dad2', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '51a0ce1c-744c-4999-a7ec-1552576ba91f', 'mac_address': '02:3f:f5:1e:2e:1a', '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': '200.28.134.195', 'subnet_id': '6b45c7df-508b-458b-aa27-954a4249e747'}], 'security_groups': ['c94154c1-013b-4df3-a8c0-35d3049f6006'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:24,288 - DEBUG - Created port 3ff51e2e-1ad3-4c15-bd65-337f6094dad2 2025-10-09 01:59:24,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ff51e2e-1ad3-4c15-bd65-337f6094dad2 2025-10-09 01:59:24,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ff51e2e-1ad3-4c15-bd65-337f6094dad2 2025-10-09 01:59:24,715 - INFO - VMI 3ff51e2e-1ad3-4c15-bd65-337f6094dad2 verification in API Server passed 2025-10-09 01:59:24,822 - DEBUG - Response for delete_port : () 2025-10-09 01:59:24,822 - INFO - Deleted port 3ff51e2e-1ad3-4c15-bd65-337f6094dad2 2025-10-09 01:59:24,822 - INFO - Deleting VN ctest-vn-86553247 2025-10-09 01:59:24,909 - DEBUG - Response for deleting network () 2025-10-09 01:59:25,161 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 01:59:25,161 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 01:59:25,161 - INFO - -------------------------------------------------------------------------------- 2025-10-09 01:59:25,163 - INFO - ================================================================================ 2025-10-09 01:59:25,163 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 01:59:25,163 - 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-09 01:59:25,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 01:59:25,457 - INFO - Initial checks done. Running the testcase now 2025-10-09 01:59:25,457 - INFO - 2025-10-09 01:59:25,632 - DEBUG - Response for create_network : {'network': {'id': '95e7765c-b536-4f81-a110-102a04e8426c', 'name': 'ctest-vn1-73297848', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21976896', 'ctest-vn1-73297848'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 01:59:25,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '89ec1473-b2d1-4bd5-967a-28d9959e627f', 'name': '', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '95e7765c-b536-4f81-a110-102a04e8426c', 'ip_version': 4, 'cidr': '50.244.182.0/26', 'allocation_pools': [{'start': '50.244.182.2', 'end': '50.244.182.62'}], 'gateway_ip': '50.244.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.244.182.2', 'tags': [], 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:26,051 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd747aea8-dc7e-4573-886a-f00fc45f1d3f', 'name': '', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '95e7765c-b536-4f81-a110-102a04e8426c', 'ip_version': 4, 'cidr': '207.59.98.0/26', 'allocation_pools': [{'start': '207.59.98.2', 'end': '207.59.98.62'}], 'gateway_ip': '207.59.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.59.98.2', 'tags': [], 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:26,068 - INFO - Created VN ctest-vn1-73297848 2025-10-09 01:59:26,121 - DEBUG - VN ctest-vn1-73297848 UUID is 95e7765c-b536-4f81-a110-102a04e8426c 2025-10-09 01:59:26,395 - DEBUG - Response for create_port : {'port': {'name': 'd31e0e0e-c9e5-47c2-a018-a6c9e54b2663', 'id': 'd31e0e0e-c9e5-47c2-a018-a6c9e54b2663', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '95e7765c-b536-4f81-a110-102a04e8426c', 'mac_address': '02:d3:1e:0e:0e:c9', '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': '50.244.182.5', 'subnet_id': '89ec1473-b2d1-4bd5-967a-28d9959e627f'}], 'security_groups': ['c94154c1-013b-4df3-a8c0-35d3049f6006'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:26,550 - DEBUG - Response for create_port : {'port': {'name': '968aaad2-106d-40f1-998c-ce0eb764430d', 'id': '968aaad2-106d-40f1-998c-ce0eb764430d', 'tenant_id': 'f9567a34fe7d4f088216ca5fa7fc4409', 'network_id': '95e7765c-b536-4f81-a110-102a04e8426c', 'mac_address': '02:96:8a:aa:d2:10', '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': '207.59.98.5', 'subnet_id': 'd747aea8-dc7e-4573-886a-f00fc45f1d3f'}], 'security_groups': ['c94154c1-013b-4df3-a8c0-35d3049f6006'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9567a34fe7d4f088216ca5fa7fc4409'}} 2025-10-09 01:59:26,601 - DEBUG - Services list from nova: [, , ] 2025-10-09 01:59:26,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 01:59:27,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 01:59:27,265 - INFO - Waiting for VM ctest-vn1-vm1-55963945 to be up.. 2025-10-09 01:59:27,302 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 01:59:32,380 - DEBUG - VM is in ACTIVE state now 2025-10-09 01:59:32,381 - INFO - VM name : ctest-vn1-vm1-55963945 2025-10-09 01:59:32,459 - DEBUG - VM ctest-vn1-vm1-55963945 ID is b5979684-52b1-4e0f-a58c-e57b00d647b4 2025-10-09 01:59:32,484 - DEBUG - VM ctest-vn1-vm1-55963945 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 01:59:32,562 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b5979684-52b1-4e0f-a58c-e57b00d647b4 2025-10-09 01:59:32,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d31e0e0e-c9e5-47c2-a018-a6c9e54b2663 2025-10-09 01:59:35,838 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-10-09 01:59:35,838 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55963945 failed! 2025-10-09 01:59:35,893 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21976896:ctest-vn1-73297848 is 50.244.182.1 and allocation pool is NOT set 2025-10-09 01:59:35,893 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21976896:ctest-vn1-73297848 is 207.59.98.1 and allocation pool is NOT set 2025-10-09 01:59:37,953 - 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=12.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 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 = 2.594/7.385/12.176/4.791 ms') 2025-10-09 01:59:37,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55963945 passed 2025-10-09 01:59:38,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 01:59:38,102 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55963945, IP 50.244.182.5, Port 22 2025-10-09 01:59:38,256 - DEBUG - VM ctest-vn1-vm1-55963945 is ready for SSH connections 2025-10-09 01:59:38,256 - INFO - Waiting for VM ctest-vn1-vm2-40651936 to be up.. 2025-10-09 01:59:38,347 - DEBUG - VM is in ACTIVE state now 2025-10-09 01:59:38,347 - INFO - VM name : ctest-vn1-vm2-40651936 2025-10-09 01:59:38,416 - DEBUG - VM ctest-vn1-vm2-40651936 ID is ea1a69fe-fdc9-440f-9378-d079c7490861 2025-10-09 01:59:38,416 - DEBUG - VM ctest-vn1-vm2-40651936 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 01:59:38,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ea1a69fe-fdc9-440f-9378-d079c7490861 2025-10-09 01:59:38,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/968aaad2-106d-40f1-998c-ce0eb764430d 2025-10-09 01:59:39,720 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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 = 0.382/1.959/3.537/1.577 ms') 2025-10-09 01:59:39,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-40651936 passed 2025-10-09 01:59:39,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 01:59:39,869 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40651936, IP 207.59.98.5, Port 22 2025-10-09 01:59:40,024 - DEBUG - VM ctest-vn1-vm2-40651936 is ready for SSH connections 2025-10-09 01:59:40,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 01:59:40,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 01:59:40,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 01:59:40,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.244.182.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 01:59:40,025 - DEBUG - ping -s 56 -c 3 -W 1 50.244.182.5 2025-10-09 01:59:44,009 - DEBUG - PING 50.244.182.5 (50.244.182.5): 56 data bytes 64 bytes from 50.244.182.5: seq=0 ttl=63 time=3.550 ms 64 bytes from 50.244.182.5: seq=1 ttl=63 time=1.126 ms 64 bytes from 50.244.182.5: seq=2 ttl=63 time=0.983 ms --- 50.244.182.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/1.886/3.550 ms 2025-10-09 01:59:44,009 - INFO - Ping to IP 50.244.182.5 from VM ctest-vn1-vm2-40651936 passed 2025-10-09 01:59:44,009 - INFO - Detaching port 968aaad2-106d-40f1-998c-ce0eb764430d from VM ctest-vn1-vm2-40651936 2025-10-09 01:59:44,054 - INFO - Deleting VM ctest-vn1-vm2-40651936 2025-10-09 01:59:44,119 - INFO - Detaching port d31e0e0e-c9e5-47c2-a018-a6c9e54b2663 from VM ctest-vn1-vm1-55963945 2025-10-09 01:59:44,149 - INFO - Deleting VM ctest-vn1-vm1-55963945 2025-10-09 01:59:44,364 - DEBUG - Response for delete_port : () 2025-10-09 01:59:44,503 - DEBUG - Response for delete_port : () 2025-10-09 01:59:44,503 - INFO - Deleting VN ctest-vn1-73297848 2025-10-09 01:59:44,614 - DEBUG - Response for deleting network () 2025-10-09 01:59:44,875 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 01:59:44,875 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-09 01:59:44,875 - INFO - -------------------------------------------------------------------------------- 2025-10-09 01:59:45,533 - INFO - Deleted project: ctest-TestPorts-21976896, ID : f9567a34-fe7d-4f08-8216-ca5fa7fc4409