2025-08-14 15:21:42,886 - INFO - Domain Default found not creating 2025-08-14 15:21:43,015 - INFO - Project ctest-TestPorts-90780737 not found, creating it 2025-08-14 15:21:43,449 - INFO - Created Project:ctest-TestPorts-90780737, ID : b4bbeccb-8ecf-44f2-a826-e37ed30c350d 2025-08-14 15:21:44,832 - INFO - ================================================================================ 2025-08-14 15:21:44,833 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 15:21:44,833 - 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-08-14 15:21:45,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-14 15:21:45,086 - INFO - Initial checks done. Running the testcase now 2025-08-14 15:21:45,086 - INFO - 2025-08-14 15:21:45,605 - DEBUG - Response for create_network : {'network': {'id': '8c565a39-f9bc-4e6e-b683-caa6606fc815', 'name': 'ctest-vn-36012087', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90780737', 'ctest-vn-36012087'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:21:45,805 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e0e10fe-5a22-4934-9b0a-b15865578c51', 'name': '', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '8c565a39-f9bc-4e6e-b683-caa6606fc815', 'ip_version': 4, 'cidr': '122.12.110.0/26', 'allocation_pools': [{'start': '122.12.110.2', 'end': '122.12.110.62'}], 'gateway_ip': '122.12.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.12.110.2', 'tags': [], 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:45,822 - INFO - Created VN ctest-vn-36012087 2025-08-14 15:21:45,876 - DEBUG - VN ctest-vn-36012087 UUID is 8c565a39-f9bc-4e6e-b683-caa6606fc815 2025-08-14 15:21:45,981 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90780737', 'ctest-vmi-89617787']} 2025-08-14 15:21:46,254 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89617787', 'id': 'a64ae035-e526-416f-b196-e4bf006451dc', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '8c565a39-f9bc-4e6e-b683-caa6606fc815', 'mac_address': '02:a6:4a:e0:35:e5', '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': '122.12.110.3', 'subnet_id': '7e0e10fe-5a22-4934-9b0a-b15865578c51'}], 'security_groups': ['b99db4be-68ab-48dd-b8bc-4e18949f1f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:46,254 - DEBUG - Created port a64ae035-e526-416f-b196-e4bf006451dc 2025-08-14 15:21:46,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a64ae035-e526-416f-b196-e4bf006451dc 2025-08-14 15:21:46,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a64ae035-e526-416f-b196-e4bf006451dc 2025-08-14 15:21:46,681 - INFO - VMI a64ae035-e526-416f-b196-e4bf006451dc verification in API Server passed 2025-08-14 15:21:46,763 - DEBUG - Response for delete_port : () 2025-08-14 15:21:46,763 - INFO - Deleted port a64ae035-e526-416f-b196-e4bf006451dc 2025-08-14 15:21:46,763 - INFO - Deleting VN ctest-vn-36012087 2025-08-14 15:21:46,854 - DEBUG - Response for deleting network () 2025-08-14 15:21:47,114 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 15:21:47,114 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-14 15:21:47,115 - INFO - -------------------------------------------------------------------------------- 2025-08-14 15:21:47,117 - INFO - ================================================================================ 2025-08-14 15:21:47,117 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 15:21:47,117 - 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-08-14 15:21:47,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-14 15:21:47,402 - INFO - Initial checks done. Running the testcase now 2025-08-14 15:21:47,402 - INFO - 2025-08-14 15:21:47,570 - DEBUG - Response for create_network : {'network': {'id': '569752e0-6279-4717-a11d-6be1e28dd0df', 'name': 'ctest-vn1-55816276', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90780737', 'ctest-vn1-55816276'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:21:47,773 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd0a87e3-f452-4396-b8e5-ec6abf0d16f3', 'name': '', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '569752e0-6279-4717-a11d-6be1e28dd0df', 'ip_version': 4, 'cidr': '146.152.125.64/26', 'allocation_pools': [{'start': '146.152.125.66', 'end': '146.152.125.126'}], 'gateway_ip': '146.152.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.152.125.66', 'tags': [], 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:47,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '90a18042-5191-49b5-85d3-3e79b9c505b5', 'name': '', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '569752e0-6279-4717-a11d-6be1e28dd0df', 'ip_version': 4, 'cidr': '100.230.229.192/26', 'allocation_pools': [{'start': '100.230.229.194', 'end': '100.230.229.254'}], 'gateway_ip': '100.230.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.230.229.194', 'tags': [], 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:47,956 - INFO - Created VN ctest-vn1-55816276 2025-08-14 15:21:48,008 - DEBUG - VN ctest-vn1-55816276 UUID is 569752e0-6279-4717-a11d-6be1e28dd0df 2025-08-14 15:21:48,332 - DEBUG - Response for create_port : {'port': {'name': '5b2537f0-601e-4f01-987e-cea8b7a1f6b3', 'id': '5b2537f0-601e-4f01-987e-cea8b7a1f6b3', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '569752e0-6279-4717-a11d-6be1e28dd0df', 'mac_address': '02:5b:25:37:f0:60', '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': '146.152.125.69', 'subnet_id': 'bd0a87e3-f452-4396-b8e5-ec6abf0d16f3'}], 'security_groups': ['b99db4be-68ab-48dd-b8bc-4e18949f1f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:48,504 - DEBUG - Response for create_port : {'port': {'name': '99deeb9d-5ef5-4240-9a6d-dbc6c5845a9c', 'id': '99deeb9d-5ef5-4240-9a6d-dbc6c5845a9c', 'tenant_id': 'b4bbeccb8ecf44f2a826e37ed30c350d', 'network_id': '569752e0-6279-4717-a11d-6be1e28dd0df', 'mac_address': '02:99:de:eb:9d:5e', '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.230.229.197', 'subnet_id': '90a18042-5191-49b5-85d3-3e79b9c505b5'}], 'security_groups': ['b99db4be-68ab-48dd-b8bc-4e18949f1f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4bbeccb8ecf44f2a826e37ed30c350d'}} 2025-08-14 15:21:48,556 - DEBUG - Services list from nova: [, , ] 2025-08-14 15:21:48,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:21:49,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:21:49,189 - INFO - Waiting for VM ctest-vn1-vm1-53461506 to be up.. 2025-08-14 15:21:49,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 15:21:54,293 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:21:54,293 - INFO - VM name : ctest-vn1-vm1-53461506 2025-08-14 15:21:54,356 - DEBUG - VM ctest-vn1-vm1-53461506 ID is eb7497e3-7f97-44f8-ba03-f05724742488 2025-08-14 15:21:54,373 - DEBUG - VM ctest-vn1-vm1-53461506 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:21:54,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb7497e3-7f97-44f8-ba03-f05724742488 2025-08-14 15:21:54,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5b2537f0-601e-4f01-987e-cea8b7a1f6b3 2025-08-14 15:21:57,717 - 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 1036ms') 2025-08-14 15:21:57,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53461506 failed! 2025-08-14 15:21:57,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90780737:ctest-vn1-55816276 is 146.152.125.65 and allocation pool is NOT set 2025-08-14 15:21:57,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90780737:ctest-vn1-55816276 is 100.230.229.193 and allocation pool is NOT set 2025-08-14 15:21:59,830 - 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=4.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.986/3.200/4.414/1.214 ms') 2025-08-14 15:21:59,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53461506 passed 2025-08-14 15:21:59,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:21:59,980 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53461506, IP 146.152.125.69, Port 22 2025-08-14 15:22:00,131 - DEBUG - VM ctest-vn1-vm1-53461506 is ready for SSH connections 2025-08-14 15:22:00,131 - INFO - Waiting for VM ctest-vn1-vm2-08261215 to be up.. 2025-08-14 15:22:00,196 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:22:00,196 - INFO - VM name : ctest-vn1-vm2-08261215 2025-08-14 15:22:00,253 - DEBUG - VM ctest-vn1-vm2-08261215 ID is bd88c626-14c7-4be2-9ef9-1a5fff5a24a7 2025-08-14 15:22:00,253 - DEBUG - VM ctest-vn1-vm2-08261215 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:22:00,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bd88c626-14c7-4be2-9ef9-1a5fff5a24a7 2025-08-14 15:22:00,321 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/99deeb9d-5ef5-4240-9a6d-dbc6c5845a9c 2025-08-14 15:22:01,551 - 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=2.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.326 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.326/1.438/2.550/1.112 ms') 2025-08-14 15:22:01,551 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08261215 passed 2025-08-14 15:22:01,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:01,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08261215, IP 100.230.229.197, Port 22 2025-08-14 15:22:01,855 - DEBUG - VM ctest-vn1-vm2-08261215 is ready for SSH connections 2025-08-14 15:22:01,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:01,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:01,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:01,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.152.125.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:22:01,856 - DEBUG - ping -s 56 -c 3 -W 1 146.152.125.69 2025-08-14 15:22:04,467 - DEBUG - PING 146.152.125.69 (146.152.125.69): 56 data bytes 64 bytes from 146.152.125.69: seq=0 ttl=63 time=3.496 ms 64 bytes from 146.152.125.69: seq=1 ttl=63 time=0.770 ms 64 bytes from 146.152.125.69: seq=2 ttl=63 time=0.699 ms --- 146.152.125.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.655/3.496 ms 2025-08-14 15:22:04,468 - INFO - Ping to IP 146.152.125.69 from VM ctest-vn1-vm2-08261215 passed 2025-08-14 15:22:04,468 - INFO - Detaching port 99deeb9d-5ef5-4240-9a6d-dbc6c5845a9c from VM ctest-vn1-vm2-08261215 2025-08-14 15:22:04,514 - INFO - Deleting VM ctest-vn1-vm2-08261215 2025-08-14 15:22:04,571 - INFO - Detaching port 5b2537f0-601e-4f01-987e-cea8b7a1f6b3 from VM ctest-vn1-vm1-53461506 2025-08-14 15:22:04,599 - INFO - Deleting VM ctest-vn1-vm1-53461506 2025-08-14 15:22:04,790 - DEBUG - Response for delete_port : () 2025-08-14 15:22:04,951 - DEBUG - Response for delete_port : () 2025-08-14 15:22:04,951 - INFO - Deleting VN ctest-vn1-55816276 2025-08-14 15:22:05,055 - DEBUG - Response for deleting network () 2025-08-14 15:22:05,309 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 15:22:05,309 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-14 15:22:05,310 - INFO - -------------------------------------------------------------------------------- 2025-08-14 15:22:05,958 - INFO - Deleted project: ctest-TestPorts-90780737, ID : b4bbeccb-8ecf-44f2-a826-e37ed30c350d