2026-03-19 02:25:18,777 - INFO - Domain Default found not creating 2026-03-19 02:25:18,949 - INFO - Project ctest-TestPorts-66811950 not found, creating it 2026-03-19 02:25:19,416 - INFO - Created Project:ctest-TestPorts-66811950, ID : c54f4a0f-5b22-498b-98ac-876cab6fecf8 2026-03-19 02:25:20,917 - INFO - ================================================================================ 2026-03-19 02:25:20,917 - INFO - STARTING TEST : test_ports_bindings 2026-03-19 02:25:20,917 - 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-03-19 02:25:21,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with 2026-03-19 02:25:21,180 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:25:21,180 - INFO - 2026-03-19 02:25:21,760 - DEBUG - Response for create_network : {'network': {'id': '1d35bdbe-776a-4f9e-b987-0a92b6307252', 'name': 'ctest-vn-61468405', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66811950', 'ctest-vn-61468405'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:21,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '7db5addd-92a4-4f68-8763-f7e55b85ce1d', 'name': '', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': '1d35bdbe-776a-4f9e-b987-0a92b6307252', 'ip_version': 4, 'cidr': '51.0.213.64/26', 'allocation_pools': [{'start': '51.0.213.66', 'end': '51.0.213.126'}], 'gateway_ip': '51.0.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.0.213.66', 'tags': [], 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:21,940 - INFO - Created VN ctest-vn-61468405 2026-03-19 02:25:21,993 - DEBUG - VN ctest-vn-61468405 UUID is 1d35bdbe-776a-4f9e-b987-0a92b6307252 2026-03-19 02:25:22,101 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66811950', 'ctest-vmi-67409701']} 2026-03-19 02:25:22,345 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67409701', 'id': 'e851e045-bc79-4c95-b22f-6682076ad535', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': '1d35bdbe-776a-4f9e-b987-0a92b6307252', 'mac_address': '02:e8:51:e0:45:bc', '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': '51.0.213.67', 'subnet_id': '7db5addd-92a4-4f68-8763-f7e55b85ce1d'}], 'security_groups': ['7d50de53-0ba4-4866-9d1d-d43239022494'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:22,345 - DEBUG - Created port e851e045-bc79-4c95-b22f-6682076ad535 2026-03-19 02:25:22,449 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e851e045-bc79-4c95-b22f-6682076ad535 2026-03-19 02:25:22,744 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e851e045-bc79-4c95-b22f-6682076ad535 2026-03-19 02:25:22,787 - INFO - VMI e851e045-bc79-4c95-b22f-6682076ad535 verification in API Server passed 2026-03-19 02:25:22,877 - DEBUG - Response for delete_port : () 2026-03-19 02:25:22,877 - INFO - Deleted port e851e045-bc79-4c95-b22f-6682076ad535 2026-03-19 02:25:22,877 - INFO - Deleting VN ctest-vn-61468405 2026-03-19 02:25:23,002 - DEBUG - Response for deleting network () 2026-03-19 02:25:23,262 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 02:25:23,262 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-03-19 02:25:23,262 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:25:23,265 - INFO - ================================================================================ 2026-03-19 02:25:23,265 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-03-19 02:25:23,265 - 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-03-19 02:25:23,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with 2026-03-19 02:25:23,549 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:25:23,549 - INFO - 2026-03-19 02:25:23,743 - DEBUG - Response for create_network : {'network': {'id': 'b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d', 'name': 'ctest-vn1-45448789', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66811950', 'ctest-vn1-45448789'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:23,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c61d582d-1053-4895-b752-308974072c43', 'name': '', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': 'b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d', 'ip_version': 4, 'cidr': '129.70.166.0/26', 'allocation_pools': [{'start': '129.70.166.2', 'end': '129.70.166.62'}], 'gateway_ip': '129.70.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.70.166.2', 'tags': [], 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:24,090 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff308441-69ad-49e7-8933-77c6ad7dc16d', 'name': '', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': 'b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d', 'ip_version': 4, 'cidr': '118.94.112.192/26', 'allocation_pools': [{'start': '118.94.112.194', 'end': '118.94.112.254'}], 'gateway_ip': '118.94.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.94.112.194', 'tags': [], 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:24,112 - INFO - Created VN ctest-vn1-45448789 2026-03-19 02:25:24,165 - DEBUG - VN ctest-vn1-45448789 UUID is b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d 2026-03-19 02:25:24,475 - DEBUG - Response for create_port : {'port': {'name': 'ae4a36d5-54be-470b-b003-4a8fb10db96b', 'id': 'ae4a36d5-54be-470b-b003-4a8fb10db96b', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': 'b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d', 'mac_address': '02:ae:4a:36:d5:54', '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': '129.70.166.5', 'subnet_id': 'c61d582d-1053-4895-b752-308974072c43'}], 'security_groups': ['7d50de53-0ba4-4866-9d1d-d43239022494'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:24,645 - DEBUG - Response for create_port : {'port': {'name': '2c165b24-7341-4f6c-b47d-af8b3ccbf428', 'id': '2c165b24-7341-4f6c-b47d-af8b3ccbf428', 'tenant_id': 'c54f4a0f5b22498b98ac876cab6fecf8', 'network_id': 'b9afb4a1-ef97-40f3-a5e4-6ce664bf1b6d', 'mac_address': '02:2c:16:5b:24:73', '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': '118.94.112.197', 'subnet_id': 'ff308441-69ad-49e7-8933-77c6ad7dc16d'}], 'security_groups': ['7d50de53-0ba4-4866-9d1d-d43239022494'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54f4a0f5b22498b98ac876cab6fecf8'}} 2026-03-19 02:25:24,701 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:25:25,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5490-1) 2026-03-19 02:25:25,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5490-1) 2026-03-19 02:25:25,463 - INFO - Waiting for VM ctest-vn1-vm1-26577002 to be up.. 2026-03-19 02:25:25,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:25:30,590 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:25:30,591 - INFO - VM name : ctest-vn1-vm1-26577002 2026-03-19 02:25:30,676 - DEBUG - VM ctest-vn1-vm1-26577002 ID is 35476123-165b-44b7-bf45-b629bcb2c355 2026-03-19 02:25:30,696 - DEBUG - VM ctest-vn1-vm1-26577002 launched on Node cn-jenkins-deploy-platform-ansible-os-5490-1 2026-03-19 02:25:30,775 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35476123-165b-44b7-bf45-b629bcb2c355 2026-03-19 02:25:30,785 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ae4a36d5-54be-470b-b003-4a8fb10db96b 2026-03-19 02:25:34,050 - 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 1031ms') 2026-03-19 02:25:34,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26577002 failed! 2026-03-19 02:25:34,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66811950:ctest-vn1-45448789 is 129.70.166.1 and allocation pool is NOT set 2026-03-19 02:25:34,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66811950:ctest-vn1-45448789 is 118.94.112.193 and allocation pool is NOT set 2026-03-19 02:25:36,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=12.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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.343/7.270/12.197/4.927 ms') 2026-03-19 02:25:36,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26577002 passed 2026-03-19 02:25:36,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:36,317 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26577002, IP 129.70.166.5, Port 22 2026-03-19 02:25:36,383 - 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-03-19 02:25:36,472 - DEBUG - VM ctest-vn1-vm1-26577002 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:25:41,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:41,473 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26577002, IP 129.70.166.5, Port 22 2026-03-19 02:25:41,629 - DEBUG - VM ctest-vn1-vm1-26577002 is ready for SSH connections 2026-03-19 02:25:41,629 - INFO - Waiting for VM ctest-vn1-vm2-38372965 to be up.. 2026-03-19 02:25:41,716 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:25:41,716 - INFO - VM name : ctest-vn1-vm2-38372965 2026-03-19 02:25:41,791 - DEBUG - VM ctest-vn1-vm2-38372965 ID is b033a423-f59e-4b3a-bf02-4868f1b379b2 2026-03-19 02:25:41,791 - DEBUG - VM ctest-vn1-vm2-38372965 launched on Node cn-jenkins-deploy-platform-ansible-os-5490-1 2026-03-19 02:25:41,865 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b033a423-f59e-4b3a-bf02-4868f1b379b2 2026-03-19 02:25:41,875 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2c165b24-7341-4f6c-b47d-af8b3ccbf428 2026-03-19 02:25:43,108 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.731/2.895/1.164 ms') 2026-03-19 02:25:43,108 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38372965 passed 2026-03-19 02:25:43,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:43,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38372965, IP 118.94.112.197, Port 22 2026-03-19 02:25:43,416 - DEBUG - VM ctest-vn1-vm2-38372965 is ready for SSH connections 2026-03-19 02:25:43,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:43,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:43,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:43,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.70.166.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 02:25:43,417 - DEBUG - ping -s 56 -c 3 -W 1 129.70.166.5 2026-03-19 02:25:46,071 - DEBUG - PING 129.70.166.5 (129.70.166.5): 56 data bytes 64 bytes from 129.70.166.5: seq=0 ttl=63 time=3.545 ms 64 bytes from 129.70.166.5: seq=1 ttl=63 time=1.272 ms 64 bytes from 129.70.166.5: seq=2 ttl=63 time=1.368 ms --- 129.70.166.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.272/2.061/3.545 ms 2026-03-19 02:25:46,071 - INFO - Ping to IP 129.70.166.5 from VM ctest-vn1-vm2-38372965 passed 2026-03-19 02:25:46,071 - INFO - Detaching port 2c165b24-7341-4f6c-b47d-af8b3ccbf428 from VM ctest-vn1-vm2-38372965 2026-03-19 02:25:46,137 - INFO - Deleting VM ctest-vn1-vm2-38372965 2026-03-19 02:25:46,207 - INFO - Detaching port ae4a36d5-54be-470b-b003-4a8fb10db96b from VM ctest-vn1-vm1-26577002 2026-03-19 02:25:46,258 - INFO - Deleting VM ctest-vn1-vm1-26577002 2026-03-19 02:25:46,525 - DEBUG - Response for delete_port : () 2026-03-19 02:25:46,675 - DEBUG - Response for delete_port : () 2026-03-19 02:25:46,675 - INFO - Deleting VN ctest-vn1-45448789 2026-03-19 02:25:46,808 - DEBUG - Response for deleting network () 2026-03-19 02:25:47,069 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 02:25:47,069 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-19 02:25:47,071 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:25:47,798 - INFO - Deleted project: ctest-TestPorts-66811950, ID : c54f4a0f-5b22-498b-98ac-876cab6fecf8