2025-10-19 16:09:50,048 - INFO - Domain Default found not creating 2025-10-19 16:09:50,217 - INFO - Project ctest-TestPorts-68413665 not found, creating it 2025-10-19 16:09:50,700 - INFO - Created Project:ctest-TestPorts-68413665, ID : 4e687d82-48c6-45b2-818d-09dedbc069e0 2025-10-19 16:09:52,145 - INFO - ================================================================================ 2025-10-19 16:09:52,145 - INFO - STARTING TEST : test_ports_bindings 2025-10-19 16:09:52,145 - 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-19 16:09:52,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-19 16:09:52,400 - INFO - Initial checks done. Running the testcase now 2025-10-19 16:09:52,400 - INFO - 2025-10-19 16:09:52,950 - DEBUG - Response for create_network : {'network': {'id': 'ea7a2178-a8ae-43e2-9f44-495050408043', 'name': 'ctest-vn-84767047', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'project_id': '4e687d8248c645b2818d09dedbc069e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68413665', 'ctest-vn-84767047'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:09:53,120 - DEBUG - Response for create_subnet : {'subnet': {'id': '996ffa7c-9cf8-4508-918e-b0236be7f663', 'name': '', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'ea7a2178-a8ae-43e2-9f44-495050408043', 'ip_version': 4, 'cidr': '103.198.212.64/26', 'allocation_pools': [{'start': '103.198.212.66', 'end': '103.198.212.126'}], 'gateway_ip': '103.198.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.198.212.66', 'tags': [], 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:53,139 - INFO - Created VN ctest-vn-84767047 2025-10-19 16:09:53,190 - DEBUG - VN ctest-vn-84767047 UUID is ea7a2178-a8ae-43e2-9f44-495050408043 2025-10-19 16:09:53,299 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68413665', 'ctest-vmi-68306408']} 2025-10-19 16:09:53,531 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68306408', 'id': '8cd4ec90-395c-4a24-bd6c-8e479336986e', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'ea7a2178-a8ae-43e2-9f44-495050408043', 'mac_address': '02:8c:d4:ec:90:39', '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': '103.198.212.67', 'subnet_id': '996ffa7c-9cf8-4508-918e-b0236be7f663'}], 'security_groups': ['8e6c6b3b-46bf-4fa8-8dd6-008b360b8cd8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:53,531 - DEBUG - Created port 8cd4ec90-395c-4a24-bd6c-8e479336986e 2025-10-19 16:09:53,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8cd4ec90-395c-4a24-bd6c-8e479336986e 2025-10-19 16:09:53,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8cd4ec90-395c-4a24-bd6c-8e479336986e 2025-10-19 16:09:53,965 - INFO - VMI 8cd4ec90-395c-4a24-bd6c-8e479336986e verification in API Server passed 2025-10-19 16:09:54,074 - DEBUG - Response for delete_port : () 2025-10-19 16:09:54,074 - INFO - Deleted port 8cd4ec90-395c-4a24-bd6c-8e479336986e 2025-10-19 16:09:54,074 - INFO - Deleting VN ctest-vn-84767047 2025-10-19 16:09:54,211 - DEBUG - Response for deleting network () 2025-10-19 16:09:54,471 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 16:09:54,472 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-19 16:09:54,472 - INFO - -------------------------------------------------------------------------------- 2025-10-19 16:09:54,474 - INFO - ================================================================================ 2025-10-19 16:09:54,474 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-19 16:09:54,475 - 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-19 16:09:54,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-19 16:09:54,782 - INFO - Initial checks done. Running the testcase now 2025-10-19 16:09:54,782 - INFO - 2025-10-19 16:09:54,987 - DEBUG - Response for create_network : {'network': {'id': 'cc956b76-3843-4343-925f-fc6b82564e49', 'name': 'ctest-vn1-53439641', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'project_id': '4e687d8248c645b2818d09dedbc069e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68413665', 'ctest-vn1-53439641'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:09:55,169 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a56622c-60a7-42bf-84eb-5d60b8553645', 'name': '', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'cc956b76-3843-4343-925f-fc6b82564e49', 'ip_version': 4, 'cidr': '101.19.234.0/26', 'allocation_pools': [{'start': '101.19.234.2', 'end': '101.19.234.62'}], 'gateway_ip': '101.19.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.19.234.2', 'tags': [], 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:55,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '092f9ba3-3613-43df-bd3c-00582f982d3d', 'name': '', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'cc956b76-3843-4343-925f-fc6b82564e49', 'ip_version': 4, 'cidr': '82.142.146.64/26', 'allocation_pools': [{'start': '82.142.146.66', 'end': '82.142.146.126'}], 'gateway_ip': '82.142.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.142.146.66', 'tags': [], 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:55,348 - INFO - Created VN ctest-vn1-53439641 2025-10-19 16:09:55,402 - DEBUG - VN ctest-vn1-53439641 UUID is cc956b76-3843-4343-925f-fc6b82564e49 2025-10-19 16:09:55,729 - DEBUG - Response for create_port : {'port': {'name': '988cb915-86a9-4017-bac5-f84811a2fe0b', 'id': '988cb915-86a9-4017-bac5-f84811a2fe0b', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'cc956b76-3843-4343-925f-fc6b82564e49', 'mac_address': '02:98:8c:b9:15:86', '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': '101.19.234.5', 'subnet_id': '2a56622c-60a7-42bf-84eb-5d60b8553645'}], 'security_groups': ['8e6c6b3b-46bf-4fa8-8dd6-008b360b8cd8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:55,906 - DEBUG - Response for create_port : {'port': {'name': '3081ecb3-3f33-461f-98f0-d54df3cdaf41', 'id': '3081ecb3-3f33-461f-98f0-d54df3cdaf41', 'tenant_id': '4e687d8248c645b2818d09dedbc069e0', 'network_id': 'cc956b76-3843-4343-925f-fc6b82564e49', 'mac_address': '02:30:81:ec:b3:3f', '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': '82.142.146.69', 'subnet_id': '092f9ba3-3613-43df-bd3c-00582f982d3d'}], 'security_groups': ['8e6c6b3b-46bf-4fa8-8dd6-008b360b8cd8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e687d8248c645b2818d09dedbc069e0'}} 2025-10-19 16:09:55,969 - DEBUG - Services list from nova: [, , ] 2025-10-19 16:09:56,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:09:56,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:09:56,722 - INFO - Waiting for VM ctest-vn1-vm1-08663591 to be up.. 2025-10-19 16:09:56,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 16:10:01,865 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:10:01,865 - INFO - VM name : ctest-vn1-vm1-08663591 2025-10-19 16:10:01,967 - DEBUG - VM ctest-vn1-vm1-08663591 ID is 82108d48-30f7-4c0d-bf8a-77a220835d8b 2025-10-19 16:10:01,992 - DEBUG - VM ctest-vn1-vm1-08663591 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:10:02,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/82108d48-30f7-4c0d-bf8a-77a220835d8b 2025-10-19 16:10:02,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/988cb915-86a9-4017-bac5-f84811a2fe0b 2025-10-19 16:10:05,355 - 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 1005ms') 2025-10-19 16:10:05,355 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08663591 failed! 2025-10-19 16:10:05,410 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68413665:ctest-vn1-53439641 is 101.19.234.1 and allocation pool is NOT set 2025-10-19 16:10:05,410 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68413665:ctest-vn1-53439641 is 82.142.146.65 and allocation pool is NOT set 2025-10-19 16:10:09,479 - 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=8.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.923/8.923/8.923/0.000 ms') 2025-10-19 16:10:09,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08663591 passed 2025-10-19 16:10:09,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:10:09,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08663591, IP 101.19.234.5, Port 22 2025-10-19 16:10:09,812 - DEBUG - VM ctest-vn1-vm1-08663591 is ready for SSH connections 2025-10-19 16:10:09,812 - INFO - Waiting for VM ctest-vn1-vm2-59165979 to be up.. 2025-10-19 16:10:09,900 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:10:09,900 - INFO - VM name : ctest-vn1-vm2-59165979 2025-10-19 16:10:09,985 - DEBUG - VM ctest-vn1-vm2-59165979 ID is b210999b-78f1-48e1-bb0d-591fd9d4b8c0 2025-10-19 16:10:09,985 - DEBUG - VM ctest-vn1-vm2-59165979 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:10:10,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b210999b-78f1-48e1-bb0d-591fd9d4b8c0 2025-10-19 16:10:10,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3081ecb3-3f33-461f-98f0-d54df3cdaf41 2025-10-19 16:10:11,335 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.849/3.161/1.311 ms') 2025-10-19 16:10:11,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59165979 passed 2025-10-19 16:10:11,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:10:11,490 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59165979, IP 82.142.146.69, Port 22 2025-10-19 16:10:11,661 - DEBUG - VM ctest-vn1-vm2-59165979 is ready for SSH connections 2025-10-19 16:10:11,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:10:11,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:10:11,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:10:11,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.19.234.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 16:10:11,661 - DEBUG - ping -s 56 -c 3 -W 1 101.19.234.5 2025-10-19 16:10:14,345 - DEBUG - PING 101.19.234.5 (101.19.234.5): 56 data bytes 64 bytes from 101.19.234.5: seq=0 ttl=63 time=4.228 ms 64 bytes from 101.19.234.5: seq=1 ttl=63 time=1.290 ms 64 bytes from 101.19.234.5: seq=2 ttl=63 time=0.979 ms --- 101.19.234.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/2.165/4.228 ms 2025-10-19 16:10:14,345 - INFO - Ping to IP 101.19.234.5 from VM ctest-vn1-vm2-59165979 passed 2025-10-19 16:10:14,345 - INFO - Detaching port 3081ecb3-3f33-461f-98f0-d54df3cdaf41 from VM ctest-vn1-vm2-59165979 2025-10-19 16:10:14,400 - INFO - Deleting VM ctest-vn1-vm2-59165979 2025-10-19 16:10:14,478 - INFO - Detaching port 988cb915-86a9-4017-bac5-f84811a2fe0b from VM ctest-vn1-vm1-08663591 2025-10-19 16:10:14,528 - INFO - Deleting VM ctest-vn1-vm1-08663591 2025-10-19 16:10:14,903 - DEBUG - Response for delete_port : () 2025-10-19 16:10:15,084 - DEBUG - Response for delete_port : () 2025-10-19 16:10:15,085 - INFO - Deleting VN ctest-vn1-53439641 2025-10-19 16:10:15,264 - DEBUG - Response for deleting network () 2025-10-19 16:10:15,541 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 16:10:15,541 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-19 16:10:15,541 - INFO - -------------------------------------------------------------------------------- 2025-10-19 16:10:16,250 - INFO - Deleted project: ctest-TestPorts-68413665, ID : 4e687d82-48c6-45b2-818d-09dedbc069e0