2025-09-04 16:22:30,523 - INFO - Domain Default found not creating 2025-09-04 16:22:30,672 - INFO - Project ctest-TestPorts-75753326 not found, creating it 2025-09-04 16:22:31,120 - INFO - Created Project:ctest-TestPorts-75753326, ID : 213c27a2-7180-44c8-a4dc-23ddfe25a5c3 2025-09-04 16:22:32,646 - INFO - ================================================================================ 2025-09-04 16:22:32,646 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 16:22:32,646 - 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-04 16:22:32,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-04 16:22:32,905 - INFO - Initial checks done. Running the testcase now 2025-09-04 16:22:32,905 - INFO - 2025-09-04 16:22:33,507 - DEBUG - Response for create_network : {'network': {'id': '01c9e06a-87dd-41cf-a5cf-987a7faf974d', 'name': 'ctest-vn-30801385', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75753326', 'ctest-vn-30801385'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:22:33,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9b9c9d0-980b-4a33-a314-a4cc51bb7ac3', 'name': '', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': '01c9e06a-87dd-41cf-a5cf-987a7faf974d', 'ip_version': 4, 'cidr': '21.8.96.128/26', 'allocation_pools': [{'start': '21.8.96.130', 'end': '21.8.96.190'}], 'gateway_ip': '21.8.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.8.96.130', 'tags': [], 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:33,705 - INFO - Created VN ctest-vn-30801385 2025-09-04 16:22:33,755 - DEBUG - VN ctest-vn-30801385 UUID is 01c9e06a-87dd-41cf-a5cf-987a7faf974d 2025-09-04 16:22:33,869 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75753326', 'ctest-vmi-59023279']} 2025-09-04 16:22:34,111 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59023279', 'id': 'd5fbe159-db92-4d0b-bd89-58756ec83caa', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': '01c9e06a-87dd-41cf-a5cf-987a7faf974d', 'mac_address': '02:d5:fb:e1:59:db', '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': '21.8.96.131', 'subnet_id': 'c9b9c9d0-980b-4a33-a314-a4cc51bb7ac3'}], 'security_groups': ['3f267ead-d4a6-4a1b-8621-cbbf57cb3c92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:34,112 - DEBUG - Created port d5fbe159-db92-4d0b-bd89-58756ec83caa 2025-09-04 16:22:34,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d5fbe159-db92-4d0b-bd89-58756ec83caa 2025-09-04 16:22:34,550 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d5fbe159-db92-4d0b-bd89-58756ec83caa 2025-09-04 16:22:34,582 - INFO - VMI d5fbe159-db92-4d0b-bd89-58756ec83caa verification in API Server passed 2025-09-04 16:22:34,666 - DEBUG - Response for delete_port : () 2025-09-04 16:22:34,666 - INFO - Deleted port d5fbe159-db92-4d0b-bd89-58756ec83caa 2025-09-04 16:22:34,666 - INFO - Deleting VN ctest-vn-30801385 2025-09-04 16:22:34,765 - DEBUG - Response for deleting network () 2025-09-04 16:22:35,021 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 16:22:35,021 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-04 16:22:35,021 - INFO - -------------------------------------------------------------------------------- 2025-09-04 16:22:35,024 - INFO - ================================================================================ 2025-09-04 16:22:35,024 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 16:22:35,024 - 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-04 16:22:35,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-04 16:22:35,308 - INFO - Initial checks done. Running the testcase now 2025-09-04 16:22:35,308 - INFO - 2025-09-04 16:22:35,490 - DEBUG - Response for create_network : {'network': {'id': 'a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f', 'name': 'ctest-vn1-22376636', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75753326', 'ctest-vn1-22376636'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:22:35,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '4563f1f1-8be7-4d41-93e1-cde343a589a6', 'name': '', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': 'a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f', 'ip_version': 4, 'cidr': '208.30.1.192/26', 'allocation_pools': [{'start': '208.30.1.194', 'end': '208.30.1.254'}], 'gateway_ip': '208.30.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.30.1.194', 'tags': [], 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:35,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '1846be85-a998-43e9-82d5-529e9aa8ba0c', 'name': '', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': 'a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f', 'ip_version': 4, 'cidr': '100.129.98.64/26', 'allocation_pools': [{'start': '100.129.98.66', 'end': '100.129.98.126'}], 'gateway_ip': '100.129.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.129.98.66', 'tags': [], 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:35,883 - INFO - Created VN ctest-vn1-22376636 2025-09-04 16:22:35,935 - DEBUG - VN ctest-vn1-22376636 UUID is a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f 2025-09-04 16:22:36,228 - DEBUG - Response for create_port : {'port': {'name': 'f71a9a54-5c9f-46ac-a05e-fbe645aafced', 'id': 'f71a9a54-5c9f-46ac-a05e-fbe645aafced', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': 'a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f', 'mac_address': '02:f7:1a:9a:54:5c', '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': '208.30.1.197', 'subnet_id': '4563f1f1-8be7-4d41-93e1-cde343a589a6'}], 'security_groups': ['3f267ead-d4a6-4a1b-8621-cbbf57cb3c92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:36,422 - DEBUG - Response for create_port : {'port': {'name': 'eadcf27f-cf6c-42db-86cb-643269aa39d1', 'id': 'eadcf27f-cf6c-42db-86cb-643269aa39d1', 'tenant_id': '213c27a2718044c8a4dc23ddfe25a5c3', 'network_id': 'a9d5ffca-cce1-41a2-8a37-a4055b6e6c0f', 'mac_address': '02:ea:dc:f2:7f:cf', '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': '100.129.98.69', 'subnet_id': '1846be85-a998-43e9-82d5-529e9aa8ba0c'}], 'security_groups': ['3f267ead-d4a6-4a1b-8621-cbbf57cb3c92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '213c27a2718044c8a4dc23ddfe25a5c3'}} 2025-09-04 16:22:36,480 - DEBUG - Services list from nova: [, , ] 2025-09-04 16:22:36,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:22:37,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:22:37,223 - INFO - Waiting for VM ctest-vn1-vm1-72832525 to be up.. 2025-09-04 16:22:37,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 16:22:42,339 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:22:42,339 - INFO - VM name : ctest-vn1-vm1-72832525 2025-09-04 16:22:42,412 - DEBUG - VM ctest-vn1-vm1-72832525 ID is cab1cba3-46a2-4c8a-b636-bf8e340fb57f 2025-09-04 16:22:42,431 - DEBUG - VM ctest-vn1-vm1-72832525 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:22:42,511 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cab1cba3-46a2-4c8a-b636-bf8e340fb57f 2025-09-04 16:22:42,520 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f71a9a54-5c9f-46ac-a05e-fbe645aafced 2025-09-04 16:22:45,791 - 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 1014ms') 2025-09-04 16:22:45,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72832525 failed! 2025-09-04 16:22:45,847 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75753326:ctest-vn1-22376636 is 208.30.1.193 and allocation pool is NOT set 2025-09-04 16:22:45,847 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75753326:ctest-vn1-22376636 is 100.129.98.65 and allocation pool is NOT set 2025-09-04 16:22:49,922 - 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=3.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 3.317/3.317/3.317/0.000 ms') 2025-09-04 16:22:49,922 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72832525 passed 2025-09-04 16:22:50,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:22:50,071 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72832525, IP 208.30.1.197, Port 22 2025-09-04 16:22:50,230 - DEBUG - VM ctest-vn1-vm1-72832525 is ready for SSH connections 2025-09-04 16:22:50,230 - INFO - Waiting for VM ctest-vn1-vm2-26505800 to be up.. 2025-09-04 16:22:50,307 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:22:50,307 - INFO - VM name : ctest-vn1-vm2-26505800 2025-09-04 16:22:50,387 - DEBUG - VM ctest-vn1-vm2-26505800 ID is 15b52832-1907-41bc-8459-5d73f56d4542 2025-09-04 16:22:50,388 - DEBUG - VM ctest-vn1-vm2-26505800 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:22:50,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/15b52832-1907-41bc-8459-5d73f56d4542 2025-09-04 16:22:50,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/eadcf27f-cf6c-42db-86cb-643269aa39d1 2025-09-04 16:22:51,720 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.885/3.251/1.365 ms') 2025-09-04 16:22:51,720 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26505800 passed 2025-09-04 16:22:51,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:22:51,871 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26505800, IP 100.129.98.69, Port 22 2025-09-04 16:22:52,027 - DEBUG - VM ctest-vn1-vm2-26505800 is ready for SSH connections 2025-09-04 16:22:52,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:22:52,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:22:52,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:22:52,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.30.1.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 16:22:52,027 - DEBUG - ping -s 56 -c 3 -W 1 208.30.1.197 2025-09-04 16:22:54,716 - DEBUG - PING 208.30.1.197 (208.30.1.197): 56 data bytes 64 bytes from 208.30.1.197: seq=0 ttl=63 time=3.992 ms 64 bytes from 208.30.1.197: seq=1 ttl=63 time=0.894 ms 64 bytes from 208.30.1.197: seq=2 ttl=63 time=1.269 ms --- 208.30.1.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/2.051/3.992 ms 2025-09-04 16:22:54,716 - INFO - Ping to IP 208.30.1.197 from VM ctest-vn1-vm2-26505800 passed 2025-09-04 16:22:54,716 - INFO - Detaching port eadcf27f-cf6c-42db-86cb-643269aa39d1 from VM ctest-vn1-vm2-26505800 2025-09-04 16:22:54,768 - INFO - Deleting VM ctest-vn1-vm2-26505800 2025-09-04 16:22:54,843 - INFO - Detaching port f71a9a54-5c9f-46ac-a05e-fbe645aafced from VM ctest-vn1-vm1-72832525 2025-09-04 16:22:54,885 - INFO - Deleting VM ctest-vn1-vm1-72832525 2025-09-04 16:22:55,125 - DEBUG - Response for delete_port : () 2025-09-04 16:22:55,334 - DEBUG - Response for delete_port : () 2025-09-04 16:22:55,334 - INFO - Deleting VN ctest-vn1-22376636 2025-09-04 16:22:55,503 - DEBUG - Response for deleting network () 2025-09-04 16:22:55,761 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 16:22:55,761 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-04 16:22:55,761 - INFO - -------------------------------------------------------------------------------- 2025-09-04 16:22:56,593 - INFO - Deleted project: ctest-TestPorts-75753326, ID : 213c27a2-7180-44c8-a4dc-23ddfe25a5c3