2025-11-12 18:15:02,964 - INFO - Domain Default found not creating 2025-11-12 18:15:03,125 - INFO - Project ctest-TestPorts-78852666 not found, creating it 2025-11-12 18:15:03,585 - INFO - Created Project:ctest-TestPorts-78852666, ID : 51423134-c982-4095-94b5-89243e85d053 2025-11-12 18:15:04,966 - INFO - ================================================================================ 2025-11-12 18:15:04,967 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 18:15:04,967 - 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-12 18:15:05,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-12 18:15:05,221 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:15:05,221 - INFO - 2025-11-12 18:15:05,757 - DEBUG - Response for create_network : {'network': {'id': '7fb41b3f-ce28-4af1-81cd-fef0dabc1b63', 'name': 'ctest-vn-50812054', 'tenant_id': '51423134c982409594b589243e85d053', 'project_id': '51423134c982409594b589243e85d053', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78852666', 'ctest-vn-50812054'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:15:05,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e0b0028-c1c5-402b-b4ad-1612358f541b', 'name': '', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': '7fb41b3f-ce28-4af1-81cd-fef0dabc1b63', 'ip_version': 4, 'cidr': '13.81.174.0/26', 'allocation_pools': [{'start': '13.81.174.2', 'end': '13.81.174.62'}], 'gateway_ip': '13.81.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.81.174.2', 'tags': [], 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:05,930 - INFO - Created VN ctest-vn-50812054 2025-11-12 18:15:05,980 - DEBUG - VN ctest-vn-50812054 UUID is 7fb41b3f-ce28-4af1-81cd-fef0dabc1b63 2025-11-12 18:15:06,079 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78852666', 'ctest-vmi-67114292']} 2025-11-12 18:15:06,369 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67114292', 'id': 'd51265ad-fe01-409b-b755-b8922beed8c1', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': '7fb41b3f-ce28-4af1-81cd-fef0dabc1b63', 'mac_address': '02:d5:12:65:ad:fe', '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': '13.81.174.3', 'subnet_id': '5e0b0028-c1c5-402b-b4ad-1612358f541b'}], 'security_groups': ['1efafccb-da0d-4ff8-9de5-4569848008c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:06,369 - DEBUG - Created port d51265ad-fe01-409b-b755-b8922beed8c1 2025-11-12 18:15:06,476 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d51265ad-fe01-409b-b755-b8922beed8c1 2025-11-12 18:15:06,767 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d51265ad-fe01-409b-b755-b8922beed8c1 2025-11-12 18:15:06,798 - INFO - VMI d51265ad-fe01-409b-b755-b8922beed8c1 verification in API Server passed 2025-11-12 18:15:06,895 - DEBUG - Response for delete_port : () 2025-11-12 18:15:06,895 - INFO - Deleted port d51265ad-fe01-409b-b755-b8922beed8c1 2025-11-12 18:15:06,895 - INFO - Deleting VN ctest-vn-50812054 2025-11-12 18:15:06,979 - DEBUG - Response for deleting network () 2025-11-12 18:15:07,232 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:15:07,232 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-12 18:15:07,233 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:15:07,235 - INFO - ================================================================================ 2025-11-12 18:15:07,235 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 18:15:07,235 - 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-12 18:15:07,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-12 18:15:07,525 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:15:07,525 - INFO - 2025-11-12 18:15:07,684 - DEBUG - Response for create_network : {'network': {'id': 'd1643eed-9421-48b7-8e58-713a2b61dacf', 'name': 'ctest-vn1-04373151', 'tenant_id': '51423134c982409594b589243e85d053', 'project_id': '51423134c982409594b589243e85d053', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78852666', 'ctest-vn1-04373151'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:15:07,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec71964b-a697-4af1-a184-f711e45032e4', 'name': '', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': 'd1643eed-9421-48b7-8e58-713a2b61dacf', 'ip_version': 4, 'cidr': '169.66.40.128/26', 'allocation_pools': [{'start': '169.66.40.130', 'end': '169.66.40.190'}], 'gateway_ip': '169.66.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.66.40.130', 'tags': [], 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:08,032 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4e1d266-9a84-43dc-ac6c-b0a6b2a38c53', 'name': '', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': 'd1643eed-9421-48b7-8e58-713a2b61dacf', 'ip_version': 4, 'cidr': '76.145.19.0/26', 'allocation_pools': [{'start': '76.145.19.2', 'end': '76.145.19.62'}], 'gateway_ip': '76.145.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.145.19.2', 'tags': [], 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:08,050 - INFO - Created VN ctest-vn1-04373151 2025-11-12 18:15:08,104 - DEBUG - VN ctest-vn1-04373151 UUID is d1643eed-9421-48b7-8e58-713a2b61dacf 2025-11-12 18:15:08,386 - DEBUG - Response for create_port : {'port': {'name': '55726fbd-b16a-4628-9c5a-e9c2872de6b9', 'id': '55726fbd-b16a-4628-9c5a-e9c2872de6b9', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': 'd1643eed-9421-48b7-8e58-713a2b61dacf', 'mac_address': '02:55:72:6f:bd:b1', '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': '169.66.40.133', 'subnet_id': 'ec71964b-a697-4af1-a184-f711e45032e4'}], 'security_groups': ['1efafccb-da0d-4ff8-9de5-4569848008c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:08,546 - DEBUG - Response for create_port : {'port': {'name': 'f4bdaa31-3c9e-456d-8728-7e22fbd61b5b', 'id': 'f4bdaa31-3c9e-456d-8728-7e22fbd61b5b', 'tenant_id': '51423134c982409594b589243e85d053', 'network_id': 'd1643eed-9421-48b7-8e58-713a2b61dacf', 'mac_address': '02:f4:bd:aa:31:3c', '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': '76.145.19.5', 'subnet_id': 'f4e1d266-9a84-43dc-ac6c-b0a6b2a38c53'}], 'security_groups': ['1efafccb-da0d-4ff8-9de5-4569848008c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51423134c982409594b589243e85d053'}} 2025-11-12 18:15:08,601 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:15:08,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:15:09,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:15:09,273 - INFO - Waiting for VM ctest-vn1-vm1-90004190 to be up.. 2025-11-12 18:15:09,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:15:14,377 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:15:14,377 - INFO - VM name : ctest-vn1-vm1-90004190 2025-11-12 18:15:14,439 - DEBUG - VM ctest-vn1-vm1-90004190 ID is e7b50bf7-4ecf-44dc-a771-dae2bed33d53 2025-11-12 18:15:14,455 - DEBUG - VM ctest-vn1-vm1-90004190 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:15:14,637 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e7b50bf7-4ecf-44dc-a771-dae2bed33d53 2025-11-12 18:15:14,645 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/55726fbd-b16a-4628-9c5a-e9c2872de6b9 2025-11-12 18:15:17,886 - 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 1007ms') 2025-11-12 18:15:17,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90004190 failed! 2025-11-12 18:15:17,940 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78852666:ctest-vn1-04373151 is 169.66.40.129 and allocation pool is NOT set 2025-11-12 18:15:17,941 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78852666:ctest-vn1-04373151 is 76.145.19.1 and allocation pool is NOT set 2025-11-12 18:15:19,998 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.764 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.764/2.640/4.517/1.876 ms') 2025-11-12 18:15:19,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90004190 passed 2025-11-12 18:15:20,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:20,148 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90004190, IP 169.66.40.133, Port 22 2025-11-12 18:15:20,204 - 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-12 18:15:20,280 - DEBUG - VM ctest-vn1-vm1-90004190 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 18:15:25,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:25,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90004190, IP 169.66.40.133, Port 22 2025-11-12 18:15:25,432 - DEBUG - VM ctest-vn1-vm1-90004190 is ready for SSH connections 2025-11-12 18:15:25,432 - INFO - Waiting for VM ctest-vn1-vm2-52772544 to be up.. 2025-11-12 18:15:25,496 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:15:25,496 - INFO - VM name : ctest-vn1-vm2-52772544 2025-11-12 18:15:25,559 - DEBUG - VM ctest-vn1-vm2-52772544 ID is 2af636de-e7ee-4131-9859-6152fb0e08ed 2025-11-12 18:15:25,559 - DEBUG - VM ctest-vn1-vm2-52772544 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:15:25,621 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2af636de-e7ee-4131-9859-6152fb0e08ed 2025-11-12 18:15:25,628 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f4bdaa31-3c9e-456d-8728-7e22fbd61b5b 2025-11-12 18:15:26,874 - 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.89 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 1002ms\r\nrtt min/avg/max/mdev = 0.400/1.647/2.894/1.247 ms') 2025-11-12 18:15:26,874 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52772544 passed 2025-11-12 18:15:27,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:27,020 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52772544, IP 76.145.19.5, Port 22 2025-11-12 18:15:27,176 - DEBUG - VM ctest-vn1-vm2-52772544 is ready for SSH connections 2025-11-12 18:15:27,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:27,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:27,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:27,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.66.40.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:15:27,176 - DEBUG - ping -s 56 -c 3 -W 1 169.66.40.133 2025-11-12 18:15:29,813 - DEBUG - PING 169.66.40.133 (169.66.40.133): 56 data bytes 64 bytes from 169.66.40.133: seq=0 ttl=63 time=5.030 ms 64 bytes from 169.66.40.133: seq=1 ttl=63 time=0.782 ms 64 bytes from 169.66.40.133: seq=2 ttl=63 time=0.764 ms --- 169.66.40.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/2.192/5.030 ms 2025-11-12 18:15:29,813 - INFO - Ping to IP 169.66.40.133 from VM ctest-vn1-vm2-52772544 passed 2025-11-12 18:15:29,813 - INFO - Detaching port f4bdaa31-3c9e-456d-8728-7e22fbd61b5b from VM ctest-vn1-vm2-52772544 2025-11-12 18:15:29,857 - INFO - Deleting VM ctest-vn1-vm2-52772544 2025-11-12 18:15:29,922 - INFO - Detaching port 55726fbd-b16a-4628-9c5a-e9c2872de6b9 from VM ctest-vn1-vm1-90004190 2025-11-12 18:15:29,966 - INFO - Deleting VM ctest-vn1-vm1-90004190 2025-11-12 18:15:30,180 - DEBUG - Response for delete_port : () 2025-11-12 18:15:30,328 - DEBUG - Response for delete_port : () 2025-11-12 18:15:30,328 - INFO - Deleting VN ctest-vn1-04373151 2025-11-12 18:15:30,439 - DEBUG - Response for deleting network () 2025-11-12 18:15:30,701 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:15:30,701 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-12 18:15:30,702 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:15:31,401 - INFO - Deleted project: ctest-TestPorts-78852666, ID : 51423134-c982-4095-94b5-89243e85d053