2026-01-28 20:32:37,653 - INFO - Domain Default found not creating 2026-01-28 20:32:37,812 - INFO - Project ctest-TestPorts-18497404 not found, creating it 2026-01-28 20:32:38,281 - INFO - Created Project:ctest-TestPorts-18497404, ID : e864b8fb-41d7-4a8b-a12f-b32812af719d 2026-01-28 20:32:39,951 - INFO - ================================================================================ 2026-01-28 20:32:39,951 - INFO - STARTING TEST : test_ports_bindings 2026-01-28 20:32:39,951 - 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 2026-01-28 20:32:40,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-28 20:32:40,218 - INFO - Initial checks done. Running the testcase now 2026-01-28 20:32:40,218 - INFO - 2026-01-28 20:32:40,799 - DEBUG - Response for create_network : {'network': {'id': '44cd9018-9f1e-4a58-b795-0805004f3ebe', 'name': 'ctest-vn-80187645', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'project_id': 'e864b8fb41d74a8ba12fb32812af719d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18497404', 'ctest-vn-80187645'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 20:32:41,009 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5432232-12b9-4c3a-b680-aaee8406cf35', 'name': '', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '44cd9018-9f1e-4a58-b795-0805004f3ebe', 'ip_version': 4, 'cidr': '72.187.100.128/26', 'allocation_pools': [{'start': '72.187.100.130', 'end': '72.187.100.190'}], 'gateway_ip': '72.187.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.187.100.130', 'tags': [], 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:41,027 - INFO - Created VN ctest-vn-80187645 2026-01-28 20:32:41,077 - DEBUG - VN ctest-vn-80187645 UUID is 44cd9018-9f1e-4a58-b795-0805004f3ebe 2026-01-28 20:32:41,181 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18497404', 'ctest-vmi-77790272']} 2026-01-28 20:32:41,445 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77790272', 'id': 'fbb22d6c-6195-4eb6-b888-1f918a081cd1', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '44cd9018-9f1e-4a58-b795-0805004f3ebe', 'mac_address': '02:fb:b2:2d:6c:61', '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': '72.187.100.131', 'subnet_id': 'd5432232-12b9-4c3a-b680-aaee8406cf35'}], 'security_groups': ['057ba889-d791-4c8e-b20c-68c2da4715bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:41,445 - DEBUG - Created port fbb22d6c-6195-4eb6-b888-1f918a081cd1 2026-01-28 20:32:41,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fbb22d6c-6195-4eb6-b888-1f918a081cd1 2026-01-28 20:32:41,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fbb22d6c-6195-4eb6-b888-1f918a081cd1 2026-01-28 20:32:41,931 - INFO - VMI fbb22d6c-6195-4eb6-b888-1f918a081cd1 verification in API Server passed 2026-01-28 20:32:42,016 - DEBUG - Response for delete_port : () 2026-01-28 20:32:42,016 - INFO - Deleted port fbb22d6c-6195-4eb6-b888-1f918a081cd1 2026-01-28 20:32:42,016 - INFO - Deleting VN ctest-vn-80187645 2026-01-28 20:32:42,113 - DEBUG - Response for deleting network () 2026-01-28 20:32:42,366 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 20:32:42,366 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-28 20:32:42,366 - INFO - -------------------------------------------------------------------------------- 2026-01-28 20:32:42,368 - INFO - ================================================================================ 2026-01-28 20:32:42,369 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-28 20:32:42,369 - 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 2026-01-28 20:32:42,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-28 20:32:42,655 - INFO - Initial checks done. Running the testcase now 2026-01-28 20:32:42,656 - INFO - 2026-01-28 20:32:42,837 - DEBUG - Response for create_network : {'network': {'id': '9991242d-e873-4923-8193-28154c8c1d4d', 'name': 'ctest-vn1-40037290', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'project_id': 'e864b8fb41d74a8ba12fb32812af719d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18497404', 'ctest-vn1-40037290'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 20:32:42,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b18a905-77f4-4853-9583-3dcf788455ba', 'name': '', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '9991242d-e873-4923-8193-28154c8c1d4d', 'ip_version': 4, 'cidr': '111.75.47.0/26', 'allocation_pools': [{'start': '111.75.47.2', 'end': '111.75.47.62'}], 'gateway_ip': '111.75.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.75.47.2', 'tags': [], 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:43,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e653117a-0c96-42ea-bc78-518629acf9aa', 'name': '', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '9991242d-e873-4923-8193-28154c8c1d4d', 'ip_version': 4, 'cidr': '193.17.33.0/26', 'allocation_pools': [{'start': '193.17.33.2', 'end': '193.17.33.62'}], 'gateway_ip': '193.17.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.17.33.2', 'tags': [], 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:43,222 - INFO - Created VN ctest-vn1-40037290 2026-01-28 20:32:43,273 - DEBUG - VN ctest-vn1-40037290 UUID is 9991242d-e873-4923-8193-28154c8c1d4d 2026-01-28 20:32:43,580 - DEBUG - Response for create_port : {'port': {'name': 'f65a8bed-9b02-4f91-93a2-1f23aa5c8087', 'id': 'f65a8bed-9b02-4f91-93a2-1f23aa5c8087', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '9991242d-e873-4923-8193-28154c8c1d4d', 'mac_address': '02:f6:5a:8b:ed:9b', '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': '111.75.47.5', 'subnet_id': '0b18a905-77f4-4853-9583-3dcf788455ba'}], 'security_groups': ['057ba889-d791-4c8e-b20c-68c2da4715bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:43,745 - DEBUG - Response for create_port : {'port': {'name': 'cbfdaaa2-0953-4733-ba25-14967c8fe441', 'id': 'cbfdaaa2-0953-4733-ba25-14967c8fe441', 'tenant_id': 'e864b8fb41d74a8ba12fb32812af719d', 'network_id': '9991242d-e873-4923-8193-28154c8c1d4d', 'mac_address': '02:cb:fd:aa:a2:09', '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': '193.17.33.5', 'subnet_id': 'e653117a-0c96-42ea-bc78-518629acf9aa'}], 'security_groups': ['057ba889-d791-4c8e-b20c-68c2da4715bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e864b8fb41d74a8ba12fb32812af719d'}} 2026-01-28 20:32:43,802 - DEBUG - Services list from nova: [, , ] 2026-01-28 20:32:44,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5102-1) 2026-01-28 20:32:44,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5102-1) 2026-01-28 20:32:44,599 - INFO - Waiting for VM ctest-vn1-vm1-11831597 to be up.. 2026-01-28 20:32:44,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 20:32:49,724 - DEBUG - VM is in ACTIVE state now 2026-01-28 20:32:49,724 - INFO - VM name : ctest-vn1-vm1-11831597 2026-01-28 20:32:49,802 - DEBUG - VM ctest-vn1-vm1-11831597 ID is d9968358-e95a-489c-91c4-03e51274b4dc 2026-01-28 20:32:49,824 - DEBUG - VM ctest-vn1-vm1-11831597 launched on Node cn-jenkins-deploy-platform-ansible-os-5102-1 2026-01-28 20:32:49,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9968358-e95a-489c-91c4-03e51274b4dc 2026-01-28 20:32:49,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f65a8bed-9b02-4f91-93a2-1f23aa5c8087 2026-01-28 20:32:53,146 - 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') 2026-01-28 20:32:53,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11831597 failed! 2026-01-28 20:32:53,205 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18497404:ctest-vn1-40037290 is 111.75.47.1 and allocation pool is NOT set 2026-01-28 20:32:53,205 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18497404:ctest-vn1-40037290 is 193.17.33.1 and allocation pool is NOT set 2026-01-28 20:32:57,266 - 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=4.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.641/4.641/4.641/0.000 ms') 2026-01-28 20:32:57,267 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11831597 passed 2026-01-28 20:32:57,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:32:57,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11831597, IP 111.75.47.5, Port 22 2026-01-28 20:32:57,487 - 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': ''} 2026-01-28 20:32:57,564 - DEBUG - VM ctest-vn1-vm1-11831597 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 20:33:02,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:33:02,565 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11831597, IP 111.75.47.5, Port 22 2026-01-28 20:33:02,721 - DEBUG - VM ctest-vn1-vm1-11831597 is ready for SSH connections 2026-01-28 20:33:02,721 - INFO - Waiting for VM ctest-vn1-vm2-77854591 to be up.. 2026-01-28 20:33:02,799 - DEBUG - VM is in ACTIVE state now 2026-01-28 20:33:02,799 - INFO - VM name : ctest-vn1-vm2-77854591 2026-01-28 20:33:02,878 - DEBUG - VM ctest-vn1-vm2-77854591 ID is 6b7e26e6-ac66-4721-84a9-2dabc9aff763 2026-01-28 20:33:02,878 - DEBUG - VM ctest-vn1-vm2-77854591 launched on Node cn-jenkins-deploy-platform-ansible-os-5102-1 2026-01-28 20:33:02,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6b7e26e6-ac66-4721-84a9-2dabc9aff763 2026-01-28 20:33:02,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cbfdaaa2-0953-4733-ba25-14967c8fe441 2026-01-28 20:33:04,204 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.953/3.492/1.538 ms') 2026-01-28 20:33:04,204 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77854591 passed 2026-01-28 20:33:04,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:33:04,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77854591, IP 193.17.33.5, Port 22 2026-01-28 20:33:04,508 - DEBUG - VM ctest-vn1-vm2-77854591 is ready for SSH connections 2026-01-28 20:33:04,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:33:04,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:33:04,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:33:04,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.75.47.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-28 20:33:04,508 - DEBUG - ping -s 56 -c 3 -W 1 111.75.47.5 2026-01-28 20:33:07,193 - DEBUG - PING 111.75.47.5 (111.75.47.5): 56 data bytes 64 bytes from 111.75.47.5: seq=0 ttl=63 time=3.989 ms 64 bytes from 111.75.47.5: seq=1 ttl=63 time=0.853 ms 64 bytes from 111.75.47.5: seq=2 ttl=63 time=0.902 ms --- 111.75.47.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.914/3.989 ms 2026-01-28 20:33:07,193 - INFO - Ping to IP 111.75.47.5 from VM ctest-vn1-vm2-77854591 passed 2026-01-28 20:33:07,193 - INFO - Detaching port cbfdaaa2-0953-4733-ba25-14967c8fe441 from VM ctest-vn1-vm2-77854591 2026-01-28 20:33:07,264 - INFO - Deleting VM ctest-vn1-vm2-77854591 2026-01-28 20:33:07,364 - INFO - Detaching port f65a8bed-9b02-4f91-93a2-1f23aa5c8087 from VM ctest-vn1-vm1-11831597 2026-01-28 20:33:07,407 - INFO - Deleting VM ctest-vn1-vm1-11831597 2026-01-28 20:33:07,643 - DEBUG - Response for delete_port : () 2026-01-28 20:33:07,822 - DEBUG - Response for delete_port : () 2026-01-28 20:33:07,822 - INFO - Deleting VN ctest-vn1-40037290 2026-01-28 20:33:07,953 - DEBUG - Response for deleting network () 2026-01-28 20:33:08,210 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 20:33:08,211 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-28 20:33:08,211 - INFO - -------------------------------------------------------------------------------- 2026-01-28 20:33:08,950 - INFO - Deleted project: ctest-TestPorts-18497404, ID : e864b8fb-41d7-4a8b-a12f-b32812af719d