2025-11-05 22:25:21,933 - INFO - Domain Default found not creating 2025-11-05 22:25:22,073 - INFO - Project ctest-TestPorts-42626081 not found, creating it 2025-11-05 22:25:22,511 - INFO - Created Project:ctest-TestPorts-42626081, ID : de0df91f-57c8-405e-ae1d-f6df2e8b2695 2025-11-05 22:25:23,903 - INFO - ================================================================================ 2025-11-05 22:25:23,903 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 22:25:23,903 - 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-11-05 22:25:24,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-05 22:25:24,164 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:25:24,164 - INFO - 2025-11-05 22:25:24,953 - DEBUG - Response for create_network : {'network': {'id': '2e25e6bb-958d-4178-898c-0c12b9fc951d', 'name': 'ctest-vn-17938867', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'project_id': 'de0df91f57c8405eae1df6df2e8b2695', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42626081', 'ctest-vn-17938867'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:25:25,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '80cd463f-c96b-4e35-8d03-651398414e44', 'name': '', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '2e25e6bb-958d-4178-898c-0c12b9fc951d', 'ip_version': 4, 'cidr': '39.151.154.0/26', 'allocation_pools': [{'start': '39.151.154.2', 'end': '39.151.154.62'}], 'gateway_ip': '39.151.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.151.154.2', 'tags': [], 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:25,168 - INFO - Created VN ctest-vn-17938867 2025-11-05 22:25:25,219 - DEBUG - VN ctest-vn-17938867 UUID is 2e25e6bb-958d-4178-898c-0c12b9fc951d 2025-11-05 22:25:25,323 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42626081', 'ctest-vmi-90918724']} 2025-11-05 22:25:25,602 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90918724', 'id': '943a20a4-d769-44db-a31a-9169efac7ba1', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '2e25e6bb-958d-4178-898c-0c12b9fc951d', 'mac_address': '02:94:3a:20:a4:d7', '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': '39.151.154.3', 'subnet_id': '80cd463f-c96b-4e35-8d03-651398414e44'}], 'security_groups': ['631a3d6b-affc-4c3e-902b-ef6d21c01080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:25,603 - DEBUG - Created port 943a20a4-d769-44db-a31a-9169efac7ba1 2025-11-05 22:25:25,703 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/943a20a4-d769-44db-a31a-9169efac7ba1 2025-11-05 22:25:25,993 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/943a20a4-d769-44db-a31a-9169efac7ba1 2025-11-05 22:25:26,027 - INFO - VMI 943a20a4-d769-44db-a31a-9169efac7ba1 verification in API Server passed 2025-11-05 22:25:26,109 - DEBUG - Response for delete_port : () 2025-11-05 22:25:26,109 - INFO - Deleted port 943a20a4-d769-44db-a31a-9169efac7ba1 2025-11-05 22:25:26,110 - INFO - Deleting VN ctest-vn-17938867 2025-11-05 22:25:26,218 - DEBUG - Response for deleting network () 2025-11-05 22:25:26,471 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:25:26,471 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 22:25:26,471 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:25:26,473 - INFO - ================================================================================ 2025-11-05 22:25:26,474 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 22:25:26,474 - 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-11-05 22:25:26,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-05 22:25:26,763 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:25:26,763 - INFO - 2025-11-05 22:25:26,927 - DEBUG - Response for create_network : {'network': {'id': '477356cc-b9cd-48f9-b6a9-efc3eb87145d', 'name': 'ctest-vn1-94358103', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'project_id': 'de0df91f57c8405eae1df6df2e8b2695', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42626081', 'ctest-vn1-94358103'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:25:27,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '96ea7556-eb85-4fd4-9bae-f41de3320e60', 'name': '', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '477356cc-b9cd-48f9-b6a9-efc3eb87145d', 'ip_version': 4, 'cidr': '109.108.105.128/26', 'allocation_pools': [{'start': '109.108.105.130', 'end': '109.108.105.190'}], 'gateway_ip': '109.108.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.108.105.130', 'tags': [], 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:27,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a72407aa-089c-40df-8aec-f15b25dafbe6', 'name': '', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '477356cc-b9cd-48f9-b6a9-efc3eb87145d', 'ip_version': 4, 'cidr': '157.221.145.192/26', 'allocation_pools': [{'start': '157.221.145.194', 'end': '157.221.145.254'}], 'gateway_ip': '157.221.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.221.145.194', 'tags': [], 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:27,304 - INFO - Created VN ctest-vn1-94358103 2025-11-05 22:25:27,355 - DEBUG - VN ctest-vn1-94358103 UUID is 477356cc-b9cd-48f9-b6a9-efc3eb87145d 2025-11-05 22:25:27,630 - DEBUG - Response for create_port : {'port': {'name': 'ebfe09a7-20f7-47ef-9375-a88b503b691b', 'id': 'ebfe09a7-20f7-47ef-9375-a88b503b691b', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '477356cc-b9cd-48f9-b6a9-efc3eb87145d', 'mac_address': '02:eb:fe:09:a7:20', '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': '109.108.105.133', 'subnet_id': '96ea7556-eb85-4fd4-9bae-f41de3320e60'}], 'security_groups': ['631a3d6b-affc-4c3e-902b-ef6d21c01080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:27,780 - DEBUG - Response for create_port : {'port': {'name': 'e1e916e1-13a5-4cf6-8b27-d569df4b496d', 'id': 'e1e916e1-13a5-4cf6-8b27-d569df4b496d', 'tenant_id': 'de0df91f57c8405eae1df6df2e8b2695', 'network_id': '477356cc-b9cd-48f9-b6a9-efc3eb87145d', 'mac_address': '02:e1:e9:16:e1:13', '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': '157.221.145.197', 'subnet_id': 'a72407aa-089c-40df-8aec-f15b25dafbe6'}], 'security_groups': ['631a3d6b-affc-4c3e-902b-ef6d21c01080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'de0df91f57c8405eae1df6df2e8b2695'}} 2025-11-05 22:25:27,831 - DEBUG - Services list from nova: [, , ] 2025-11-05 22:25:28,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:25:28,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:25:28,505 - INFO - Waiting for VM ctest-vn1-vm1-51762090 to be up.. 2025-11-05 22:25:28,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:25:33,619 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:25:33,620 - INFO - VM name : ctest-vn1-vm1-51762090 2025-11-05 22:25:33,694 - DEBUG - VM ctest-vn1-vm1-51762090 ID is a2865cfd-ea2a-482e-b012-a225cf8eef14 2025-11-05 22:25:33,715 - DEBUG - VM ctest-vn1-vm1-51762090 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:25:33,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a2865cfd-ea2a-482e-b012-a225cf8eef14 2025-11-05 22:25:33,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ebfe09a7-20f7-47ef-9375-a88b503b691b 2025-11-05 22:25:37,047 - 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 1019ms') 2025-11-05 22:25:37,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51762090 failed! 2025-11-05 22:25:37,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42626081:ctest-vn1-94358103 is 109.108.105.129 and allocation pool is NOT set 2025-11-05 22:25:37,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42626081:ctest-vn1-94358103 is 157.221.145.193 and allocation pool is NOT set 2025-11-05 22:25:39,164 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.039/3.099/4.160/1.060 ms') 2025-11-05 22:25:39,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51762090 passed 2025-11-05 22:25:39,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:39,315 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51762090, IP 109.108.105.133, Port 22 2025-11-05 22:25:39,381 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-05 22:25:39,464 - DEBUG - VM ctest-vn1-vm1-51762090 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 22:25:44,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:44,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51762090, IP 109.108.105.133, Port 22 2025-11-05 22:25:44,622 - DEBUG - VM ctest-vn1-vm1-51762090 is ready for SSH connections 2025-11-05 22:25:44,622 - INFO - Waiting for VM ctest-vn1-vm2-93966343 to be up.. 2025-11-05 22:25:44,703 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:25:44,703 - INFO - VM name : ctest-vn1-vm2-93966343 2025-11-05 22:25:44,766 - DEBUG - VM ctest-vn1-vm2-93966343 ID is 755a82af-bf30-484b-a276-501140fbecb6 2025-11-05 22:25:44,766 - DEBUG - VM ctest-vn1-vm2-93966343 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:25:44,836 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/755a82af-bf30-484b-a276-501140fbecb6 2025-11-05 22:25:44,843 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e1e916e1-13a5-4cf6-8b27-d569df4b496d 2025-11-05 22:25:46,067 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.600/2.801/1.200 ms') 2025-11-05 22:25:46,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93966343 passed 2025-11-05 22:25:46,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:46,219 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93966343, IP 157.221.145.197, Port 22 2025-11-05 22:25:46,384 - DEBUG - VM ctest-vn1-vm2-93966343 is ready for SSH connections 2025-11-05 22:25:46,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:46,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:46,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:25:46,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.108.105.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 22:25:46,385 - DEBUG - ping -s 56 -c 3 -W 1 109.108.105.133 2025-11-05 22:25:49,388 - DEBUG - PING 109.108.105.133 (109.108.105.133): 56 data bytes 64 bytes from 109.108.105.133: seq=0 ttl=63 time=4.431 ms 64 bytes from 109.108.105.133: seq=1 ttl=63 time=1.021 ms 64 bytes from 109.108.105.133: seq=2 ttl=63 time=0.965 ms --- 109.108.105.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/2.139/4.431 ms 2025-11-05 22:25:49,388 - INFO - Ping to IP 109.108.105.133 from VM ctest-vn1-vm2-93966343 passed 2025-11-05 22:25:49,388 - INFO - Detaching port e1e916e1-13a5-4cf6-8b27-d569df4b496d from VM ctest-vn1-vm2-93966343 2025-11-05 22:25:49,444 - INFO - Deleting VM ctest-vn1-vm2-93966343 2025-11-05 22:25:49,525 - INFO - Detaching port ebfe09a7-20f7-47ef-9375-a88b503b691b from VM ctest-vn1-vm1-51762090 2025-11-05 22:25:49,557 - INFO - Deleting VM ctest-vn1-vm1-51762090 2025-11-05 22:25:49,782 - DEBUG - Response for delete_port : () 2025-11-05 22:25:49,989 - DEBUG - Response for delete_port : () 2025-11-05 22:25:49,989 - INFO - Deleting VN ctest-vn1-94358103 2025-11-05 22:25:50,122 - DEBUG - Response for deleting network () 2025-11-05 22:25:50,388 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:25:50,388 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-05 22:25:50,388 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:25:51,095 - INFO - Deleted project: ctest-TestPorts-42626081, ID : de0df91f-57c8-405e-ae1d-f6df2e8b2695