2025-09-24 21:53:03,698 - INFO - Domain Default found not creating 2025-09-24 21:53:03,854 - INFO - Project ctest-TestPorts-60904317 not found, creating it 2025-09-24 21:53:04,369 - INFO - Created Project:ctest-TestPorts-60904317, ID : bea84da1-4fa1-4290-8f6a-60117ececd21 2025-09-24 21:53:05,874 - INFO - ================================================================================ 2025-09-24 21:53:05,874 - INFO - STARTING TEST : test_ports_bindings 2025-09-24 21:53:05,874 - 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-09-24 21:53:06,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 21:53:06,129 - INFO - Initial checks done. Running the testcase now 2025-09-24 21:53:06,129 - INFO - 2025-09-24 21:53:06,690 - DEBUG - Response for create_network : {'network': {'id': 'deb79c14-e60c-41a1-859a-e4a5106408c8', 'name': 'ctest-vn-00496260', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'project_id': 'bea84da14fa142908f6a60117ececd21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60904317', 'ctest-vn-00496260'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:53:06,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '727091bc-7fc6-43cf-bd69-f0cc0775a657', 'name': '', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'deb79c14-e60c-41a1-859a-e4a5106408c8', 'ip_version': 4, 'cidr': '58.190.55.192/26', 'allocation_pools': [{'start': '58.190.55.194', 'end': '58.190.55.254'}], 'gateway_ip': '58.190.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.190.55.194', 'tags': [], 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:06,901 - INFO - Created VN ctest-vn-00496260 2025-09-24 21:53:06,958 - DEBUG - VN ctest-vn-00496260 UUID is deb79c14-e60c-41a1-859a-e4a5106408c8 2025-09-24 21:53:07,081 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60904317', 'ctest-vmi-51881533']} 2025-09-24 21:53:07,331 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51881533', 'id': 'f856ee72-3f03-474f-87d0-334900f00fdc', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'deb79c14-e60c-41a1-859a-e4a5106408c8', 'mac_address': '02:f8:56:ee:72:3f', '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': '58.190.55.195', 'subnet_id': '727091bc-7fc6-43cf-bd69-f0cc0775a657'}], 'security_groups': ['b88437c8-121a-4a65-9ded-f81ab3163649'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:07,331 - DEBUG - Created port f856ee72-3f03-474f-87d0-334900f00fdc 2025-09-24 21:53:07,434 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f856ee72-3f03-474f-87d0-334900f00fdc 2025-09-24 21:53:07,732 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f856ee72-3f03-474f-87d0-334900f00fdc 2025-09-24 21:53:07,771 - INFO - VMI f856ee72-3f03-474f-87d0-334900f00fdc verification in API Server passed 2025-09-24 21:53:07,871 - DEBUG - Response for delete_port : () 2025-09-24 21:53:07,871 - INFO - Deleted port f856ee72-3f03-474f-87d0-334900f00fdc 2025-09-24 21:53:07,871 - INFO - Deleting VN ctest-vn-00496260 2025-09-24 21:53:07,979 - DEBUG - Response for deleting network () 2025-09-24 21:53:08,239 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 21:53:08,239 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-24 21:53:08,239 - INFO - -------------------------------------------------------------------------------- 2025-09-24 21:53:08,241 - INFO - ================================================================================ 2025-09-24 21:53:08,241 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-24 21:53:08,241 - 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-09-24 21:53:08,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 21:53:08,531 - INFO - Initial checks done. Running the testcase now 2025-09-24 21:53:08,531 - INFO - 2025-09-24 21:53:08,718 - DEBUG - Response for create_network : {'network': {'id': 'bad3b3b6-e3d7-4ce9-a54d-9bf30feee241', 'name': 'ctest-vn1-46334619', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'project_id': 'bea84da14fa142908f6a60117ececd21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60904317', 'ctest-vn1-46334619'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:53:08,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8910b38-eb95-4988-b1e2-7f2d10a64e5c', 'name': '', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'bad3b3b6-e3d7-4ce9-a54d-9bf30feee241', 'ip_version': 4, 'cidr': '223.101.150.128/26', 'allocation_pools': [{'start': '223.101.150.130', 'end': '223.101.150.190'}], 'gateway_ip': '223.101.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.101.150.130', 'tags': [], 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:09,092 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b7dfa0d-60ec-4856-ac9d-7371937d4cab', 'name': '', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'bad3b3b6-e3d7-4ce9-a54d-9bf30feee241', 'ip_version': 4, 'cidr': '131.21.70.128/26', 'allocation_pools': [{'start': '131.21.70.130', 'end': '131.21.70.190'}], 'gateway_ip': '131.21.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.21.70.130', 'tags': [], 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:09,111 - INFO - Created VN ctest-vn1-46334619 2025-09-24 21:53:09,166 - DEBUG - VN ctest-vn1-46334619 UUID is bad3b3b6-e3d7-4ce9-a54d-9bf30feee241 2025-09-24 21:53:09,491 - DEBUG - Response for create_port : {'port': {'name': '6990cff0-fd36-47a8-a067-8b2ebe5c8c69', 'id': '6990cff0-fd36-47a8-a067-8b2ebe5c8c69', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'bad3b3b6-e3d7-4ce9-a54d-9bf30feee241', 'mac_address': '02:69:90:cf:f0:fd', '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': '223.101.150.133', 'subnet_id': 'e8910b38-eb95-4988-b1e2-7f2d10a64e5c'}], 'security_groups': ['b88437c8-121a-4a65-9ded-f81ab3163649'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:09,669 - DEBUG - Response for create_port : {'port': {'name': 'ea547ff5-dcf9-4504-880b-1cb758b39a20', 'id': 'ea547ff5-dcf9-4504-880b-1cb758b39a20', 'tenant_id': 'bea84da14fa142908f6a60117ececd21', 'network_id': 'bad3b3b6-e3d7-4ce9-a54d-9bf30feee241', 'mac_address': '02:ea:54:7f:f5:dc', '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': '131.21.70.133', 'subnet_id': '7b7dfa0d-60ec-4856-ac9d-7371937d4cab'}], 'security_groups': ['b88437c8-121a-4a65-9ded-f81ab3163649'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bea84da14fa142908f6a60117ececd21'}} 2025-09-24 21:53:09,733 - DEBUG - Services list from nova: [, , ] 2025-09-24 21:53:10,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:53:10,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:53:10,518 - INFO - Waiting for VM ctest-vn1-vm1-36562229 to be up.. 2025-09-24 21:53:10,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 21:53:15,650 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:53:15,650 - INFO - VM name : ctest-vn1-vm1-36562229 2025-09-24 21:53:15,735 - DEBUG - VM ctest-vn1-vm1-36562229 ID is aaca3190-a9d1-4bf1-846c-9fe0c3a6fbb8 2025-09-24 21:53:15,756 - DEBUG - VM ctest-vn1-vm1-36562229 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:53:15,836 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/aaca3190-a9d1-4bf1-846c-9fe0c3a6fbb8 2025-09-24 21:53:15,845 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6990cff0-fd36-47a8-a067-8b2ebe5c8c69 2025-09-24 21:53:19,110 - 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-09-24 21:53:19,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36562229 failed! 2025-09-24 21:53:19,166 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60904317:ctest-vn1-46334619 is 223.101.150.129 and allocation pool is NOT set 2025-09-24 21:53:19,166 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60904317:ctest-vn1-46334619 is 131.21.70.129 and allocation pool is NOT set 2025-09-24 21:53:23,249 - 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.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 7.100/7.100/7.100/0.000 ms') 2025-09-24 21:53:23,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36562229 passed 2025-09-24 21:53:23,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:23,406 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36562229, IP 223.101.150.133, Port 22 2025-09-24 21:53:23,572 - DEBUG - VM ctest-vn1-vm1-36562229 is ready for SSH connections 2025-09-24 21:53:23,572 - INFO - Waiting for VM ctest-vn1-vm2-83529849 to be up.. 2025-09-24 21:53:23,667 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:53:23,667 - INFO - VM name : ctest-vn1-vm2-83529849 2025-09-24 21:53:23,756 - DEBUG - VM ctest-vn1-vm2-83529849 ID is 8eca05d1-1327-44db-b108-ca2683149ec0 2025-09-24 21:53:23,756 - DEBUG - VM ctest-vn1-vm2-83529849 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:53:23,853 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8eca05d1-1327-44db-b108-ca2683149ec0 2025-09-24 21:53:23,863 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ea547ff5-dcf9-4504-880b-1cb758b39a20 2025-09-24 21:53:25,118 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.541 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.541/1.858/3.175/1.317 ms') 2025-09-24 21:53:25,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83529849 passed 2025-09-24 21:53:25,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:25,270 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83529849, IP 131.21.70.133, Port 22 2025-09-24 21:53:25,436 - DEBUG - VM ctest-vn1-vm2-83529849 is ready for SSH connections 2025-09-24 21:53:25,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:25,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:25,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:53:25,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.101.150.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:53:25,437 - DEBUG - ping -s 56 -c 3 -W 1 223.101.150.133 2025-09-24 21:53:28,111 - DEBUG - PING 223.101.150.133 (223.101.150.133): 56 data bytes 64 bytes from 223.101.150.133: seq=0 ttl=63 time=4.750 ms 64 bytes from 223.101.150.133: seq=1 ttl=63 time=1.047 ms 64 bytes from 223.101.150.133: seq=2 ttl=63 time=1.150 ms --- 223.101.150.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.047/2.315/4.750 ms 2025-09-24 21:53:28,111 - INFO - Ping to IP 223.101.150.133 from VM ctest-vn1-vm2-83529849 passed 2025-09-24 21:53:28,111 - INFO - Detaching port ea547ff5-dcf9-4504-880b-1cb758b39a20 from VM ctest-vn1-vm2-83529849 2025-09-24 21:53:28,163 - INFO - Deleting VM ctest-vn1-vm2-83529849 2025-09-24 21:53:28,244 - INFO - Detaching port 6990cff0-fd36-47a8-a067-8b2ebe5c8c69 from VM ctest-vn1-vm1-36562229 2025-09-24 21:53:28,279 - INFO - Deleting VM ctest-vn1-vm1-36562229 2025-09-24 21:53:28,526 - DEBUG - Response for delete_port : () 2025-09-24 21:53:28,712 - DEBUG - Response for delete_port : () 2025-09-24 21:53:28,712 - INFO - Deleting VN ctest-vn1-46334619 2025-09-24 21:53:28,845 - DEBUG - Response for deleting network () 2025-09-24 21:53:29,099 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 21:53:29,099 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-24 21:53:29,099 - INFO - -------------------------------------------------------------------------------- 2025-09-24 21:53:29,798 - INFO - Deleted project: ctest-TestPorts-60904317, ID : bea84da1-4fa1-4290-8f6a-60117ececd21