2026-08-21 05:14:05,102 - INFO - Domain Default found not creating 2026-08-21 05:14:05,252 - INFO - Project ctest-TestPorts-65178083 not found, creating it 2026-08-21 05:14:05,721 - INFO - Created Project:ctest-TestPorts-65178083, ID : 369fe5e9-9b2d-4a8c-a107-41af0aebc7da 2026-08-21 05:14:07,221 - INFO - ================================================================================ 2026-08-21 05:14:07,221 - INFO - STARTING TEST : test_ports_bindings 2026-08-21 05:14:07,221 - 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-08-21 05:14:07,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 05:14:07,476 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:14:07,476 - INFO - 2026-08-21 05:14:08,065 - DEBUG - Response for create_network : {'network': {'id': 'a597db3b-c675-4cac-95b2-279db2e17efe', 'name': 'ctest-vn-14140587', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65178083', 'ctest-vn-14140587'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:14:08,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '74cce495-7390-46a9-b119-b46c0c6d56cf', 'name': '', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a597db3b-c675-4cac-95b2-279db2e17efe', 'ip_version': 4, 'cidr': '130.17.204.64/26', 'allocation_pools': [{'start': '130.17.204.66', 'end': '130.17.204.126'}], 'gateway_ip': '130.17.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.17.204.66', 'tags': [], 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:08,274 - INFO - Created VN ctest-vn-14140587 2026-08-21 05:14:08,325 - DEBUG - VN ctest-vn-14140587 UUID is a597db3b-c675-4cac-95b2-279db2e17efe 2026-08-21 05:14:08,422 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65178083', 'ctest-vmi-03882403']} 2026-08-21 05:14:08,708 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03882403', 'id': '1431bf35-1cec-4e34-ac86-9528efe01993', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a597db3b-c675-4cac-95b2-279db2e17efe', 'mac_address': '02:14:31:bf:35:1c', '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': '130.17.204.67', 'subnet_id': '74cce495-7390-46a9-b119-b46c0c6d56cf'}], 'security_groups': ['e2c16fcf-878b-4d2c-834f-67909a30ac21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:08,708 - DEBUG - Created port 1431bf35-1cec-4e34-ac86-9528efe01993 2026-08-21 05:14:08,813 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/1431bf35-1cec-4e34-ac86-9528efe01993 2026-08-21 05:14:09,137 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/1431bf35-1cec-4e34-ac86-9528efe01993 2026-08-21 05:14:09,167 - INFO - VMI 1431bf35-1cec-4e34-ac86-9528efe01993 verification in API Server passed 2026-08-21 05:14:09,252 - DEBUG - Response for delete_port : () 2026-08-21 05:14:09,253 - INFO - Deleted port 1431bf35-1cec-4e34-ac86-9528efe01993 2026-08-21 05:14:09,253 - INFO - Deleting VN ctest-vn-14140587 2026-08-21 05:14:09,353 - DEBUG - Response for deleting network () 2026-08-21 05:14:09,611 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 05:14:09,611 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-21 05:14:09,611 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:14:09,613 - INFO - ================================================================================ 2026-08-21 05:14:09,613 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-08-21 05:14:09,613 - 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-08-21 05:14:09,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 05:14:09,904 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:14:09,904 - INFO - 2026-08-21 05:14:10,087 - DEBUG - Response for create_network : {'network': {'id': 'a5a79eb3-0e38-460e-96a9-4d797c86734f', 'name': 'ctest-vn1-59875236', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65178083', 'ctest-vn1-59875236'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:14:10,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '7337fec2-2292-4690-ab5e-48c48dc78763', 'name': '', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a5a79eb3-0e38-460e-96a9-4d797c86734f', 'ip_version': 4, 'cidr': '198.251.208.0/26', 'allocation_pools': [{'start': '198.251.208.2', 'end': '198.251.208.62'}], 'gateway_ip': '198.251.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.251.208.2', 'tags': [], 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:10,467 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f199c466-41d7-4061-b39d-9629815aca71', 'name': '', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a5a79eb3-0e38-460e-96a9-4d797c86734f', 'ip_version': 4, 'cidr': '85.119.201.192/26', 'allocation_pools': [{'start': '85.119.201.194', 'end': '85.119.201.254'}], 'gateway_ip': '85.119.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.119.201.194', 'tags': [], 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:10,488 - INFO - Created VN ctest-vn1-59875236 2026-08-21 05:14:10,541 - DEBUG - VN ctest-vn1-59875236 UUID is a5a79eb3-0e38-460e-96a9-4d797c86734f 2026-08-21 05:14:10,857 - DEBUG - Response for create_port : {'port': {'name': 'e8a7a4b1-f4ed-485d-a8ee-f0aaec27f4cd', 'id': 'e8a7a4b1-f4ed-485d-a8ee-f0aaec27f4cd', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a5a79eb3-0e38-460e-96a9-4d797c86734f', 'mac_address': '02:e8:a7:a4:b1:f4', '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': '198.251.208.5', 'subnet_id': '7337fec2-2292-4690-ab5e-48c48dc78763'}], 'security_groups': ['e2c16fcf-878b-4d2c-834f-67909a30ac21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:11,041 - DEBUG - Response for create_port : {'port': {'name': 'dc94f93f-0198-40dc-8cb6-00961eef518e', 'id': 'dc94f93f-0198-40dc-8cb6-00961eef518e', 'tenant_id': '369fe5e99b2d4a8ca10741af0aebc7da', 'network_id': 'a5a79eb3-0e38-460e-96a9-4d797c86734f', 'mac_address': '02:dc:94:f9:3f:01', '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': '85.119.201.197', 'subnet_id': 'f199c466-41d7-4061-b39d-9629815aca71'}], 'security_groups': ['e2c16fcf-878b-4d2c-834f-67909a30ac21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '369fe5e99b2d4a8ca10741af0aebc7da'}} 2026-08-21 05:14:11,105 - DEBUG - Services list from nova: [, , ] 2026-08-21 05:14:11,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:14:11,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:14:11,825 - INFO - Waiting for VM ctest-vn1-vm1-52892624 to be up.. 2026-08-21 05:14:11,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:16,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:22,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:27,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:32,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:37,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:42,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:47,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:14:52,456 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:14:52,456 - INFO - VM name : ctest-vn1-vm1-52892624 2026-08-21 05:14:52,540 - DEBUG - VM ctest-vn1-vm1-52892624 ID is d59612f9-77da-4a6e-a3b7-b72dc89c70d2 2026-08-21 05:14:52,584 - DEBUG - VM ctest-vn1-vm1-52892624 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:14:52,683 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/d59612f9-77da-4a6e-a3b7-b72dc89c70d2 2026-08-21 05:14:52,699 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/e8a7a4b1-f4ed-485d-a8ee-f0aaec27f4cd 2026-08-21 05:14:55,969 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-08-21 05:14:55,969 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52892624 failed! 2026-08-21 05:14:56,025 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65178083:ctest-vn1-59875236 is 198.251.208.1 and allocation pool is NOT set 2026-08-21 05:14:56,025 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65178083:ctest-vn1-59875236 is 85.119.201.193 and allocation pool is NOT set 2026-08-21 05:14:58,092 - 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=12.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 4.201/8.169/12.138/3.968 ms') 2026-08-21 05:14:58,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52892624 passed 2026-08-21 05:14:58,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:14:58,241 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52892624, IP 198.251.208.5, Port 22 2026-08-21 05:14:58,307 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-21 05:14:58,378 - DEBUG - VM ctest-vn1-vm1-52892624 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 05:15:03,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:15:03,379 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52892624, IP 198.251.208.5, Port 22 2026-08-21 05:15:03,548 - DEBUG - VM ctest-vn1-vm1-52892624 is ready for SSH connections 2026-08-21 05:15:03,548 - INFO - Waiting for VM ctest-vn1-vm2-01774526 to be up.. 2026-08-21 05:15:03,624 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:15:03,624 - INFO - VM name : ctest-vn1-vm2-01774526 2026-08-21 05:15:03,694 - DEBUG - VM ctest-vn1-vm2-01774526 ID is db29cb9b-1738-4911-bbc2-660ce63a2f1a 2026-08-21 05:15:03,694 - DEBUG - VM ctest-vn1-vm2-01774526 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:15:03,778 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/db29cb9b-1738-4911-bbc2-660ce63a2f1a 2026-08-21 05:15:03,789 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/dc94f93f-0198-40dc-8cb6-00961eef518e 2026-08-21 05:15:05,028 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.600 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 = 0.600/1.882/3.165/1.282 ms') 2026-08-21 05:15:05,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01774526 passed 2026-08-21 05:15:05,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:15:05,182 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01774526, IP 85.119.201.197, Port 22 2026-08-21 05:15:05,341 - DEBUG - VM ctest-vn1-vm2-01774526 is ready for SSH connections 2026-08-21 05:15:05,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:15:05,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:15:05,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:15:05,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.251.208.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 05:15:05,341 - DEBUG - ping -s 56 -c 3 -W 1 198.251.208.5 2026-08-21 05:15:09,273 - DEBUG - PING 198.251.208.5 (198.251.208.5): 56 data bytes 64 bytes from 198.251.208.5: seq=0 ttl=63 time=4.931 ms 64 bytes from 198.251.208.5: seq=1 ttl=63 time=0.997 ms 64 bytes from 198.251.208.5: seq=2 ttl=63 time=0.910 ms --- 198.251.208.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.279/4.931 ms 2026-08-21 05:15:09,273 - INFO - Ping to IP 198.251.208.5 from VM ctest-vn1-vm2-01774526 passed 2026-08-21 05:15:09,273 - INFO - Detaching port dc94f93f-0198-40dc-8cb6-00961eef518e from VM ctest-vn1-vm2-01774526 2026-08-21 05:15:09,333 - INFO - Deleting VM ctest-vn1-vm2-01774526 2026-08-21 05:15:09,410 - INFO - Detaching port e8a7a4b1-f4ed-485d-a8ee-f0aaec27f4cd from VM ctest-vn1-vm1-52892624 2026-08-21 05:15:09,445 - INFO - Deleting VM ctest-vn1-vm1-52892624 2026-08-21 05:15:09,681 - DEBUG - Response for delete_port : () 2026-08-21 05:15:09,846 - DEBUG - Response for delete_port : () 2026-08-21 05:15:09,847 - INFO - Deleting VN ctest-vn1-59875236 2026-08-21 05:15:09,981 - DEBUG - Response for deleting network () 2026-08-21 05:15:10,239 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 05:15:10,239 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-08-21 05:15:10,239 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:15:10,983 - INFO - Deleted project: ctest-TestPorts-65178083, ID : 369fe5e9-9b2d-4a8c-a107-41af0aebc7da