2025-09-19 16:29:44,451 - INFO - Domain Default found not creating 2025-09-19 16:29:44,598 - INFO - Project ctest-TestPorts-20057931 not found, creating it 2025-09-19 16:29:45,074 - INFO - Created Project:ctest-TestPorts-20057931, ID : 23003564-045f-4ce3-9e2f-9b475af0c8de 2025-09-19 16:29:46,415 - INFO - ================================================================================ 2025-09-19 16:29:46,415 - INFO - STARTING TEST : test_ports_bindings 2025-09-19 16:29:46,415 - 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-09-19 16:29:46,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-19 16:29:46,668 - INFO - Initial checks done. Running the testcase now 2025-09-19 16:29:46,668 - INFO - 2025-09-19 16:29:47,226 - DEBUG - Response for create_network : {'network': {'id': '4d57261b-63c0-427d-aaa2-6f5ecbb5f1a7', 'name': 'ctest-vn-87098540', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'project_id': '23003564045f4ce39e2f9b475af0c8de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20057931', 'ctest-vn-87098540'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:29:47,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de569fb1-5a0b-41c5-ae53-acbb4c4b00c9', 'name': '', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '4d57261b-63c0-427d-aaa2-6f5ecbb5f1a7', 'ip_version': 4, 'cidr': '128.18.200.192/26', 'allocation_pools': [{'start': '128.18.200.194', 'end': '128.18.200.254'}], 'gateway_ip': '128.18.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.18.200.194', 'tags': [], 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:47,417 - INFO - Created VN ctest-vn-87098540 2025-09-19 16:29:47,467 - DEBUG - VN ctest-vn-87098540 UUID is 4d57261b-63c0-427d-aaa2-6f5ecbb5f1a7 2025-09-19 16:29:47,565 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20057931', 'ctest-vmi-36989554']} 2025-09-19 16:29:47,840 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36989554', 'id': '1646f4a6-d2d3-469f-b86a-d7614c1345c3', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '4d57261b-63c0-427d-aaa2-6f5ecbb5f1a7', 'mac_address': '02:16:46:f4:a6:d2', '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': '128.18.200.195', 'subnet_id': 'de569fb1-5a0b-41c5-ae53-acbb4c4b00c9'}], 'security_groups': ['9dd1daa1-f719-4c86-ba18-2c541740cdb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:47,841 - DEBUG - Created port 1646f4a6-d2d3-469f-b86a-d7614c1345c3 2025-09-19 16:29:47,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1646f4a6-d2d3-469f-b86a-d7614c1345c3 2025-09-19 16:29:48,239 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1646f4a6-d2d3-469f-b86a-d7614c1345c3 2025-09-19 16:29:48,271 - INFO - VMI 1646f4a6-d2d3-469f-b86a-d7614c1345c3 verification in API Server passed 2025-09-19 16:29:48,348 - DEBUG - Response for delete_port : () 2025-09-19 16:29:48,348 - INFO - Deleted port 1646f4a6-d2d3-469f-b86a-d7614c1345c3 2025-09-19 16:29:48,348 - INFO - Deleting VN ctest-vn-87098540 2025-09-19 16:29:48,443 - DEBUG - Response for deleting network () 2025-09-19 16:29:48,701 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 16:29:48,701 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-19 16:29:48,701 - INFO - -------------------------------------------------------------------------------- 2025-09-19 16:29:48,704 - INFO - ================================================================================ 2025-09-19 16:29:48,704 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-19 16:29:48,704 - 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-09-19 16:29:48,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-19 16:29:48,987 - INFO - Initial checks done. Running the testcase now 2025-09-19 16:29:48,987 - INFO - 2025-09-19 16:29:49,147 - DEBUG - Response for create_network : {'network': {'id': '7a62a525-0571-48d9-9298-d48c01ee2c0b', 'name': 'ctest-vn1-70725628', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'project_id': '23003564045f4ce39e2f9b475af0c8de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20057931', 'ctest-vn1-70725628'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:29:49,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd68603f-6921-4f74-991d-46737bfaebb7', 'name': '', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '7a62a525-0571-48d9-9298-d48c01ee2c0b', 'ip_version': 4, 'cidr': '147.2.18.192/26', 'allocation_pools': [{'start': '147.2.18.194', 'end': '147.2.18.254'}], 'gateway_ip': '147.2.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.2.18.194', 'tags': [], 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:49,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '71fb2e7d-aa33-4fbe-bfe3-8c80a33f2c66', 'name': '', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '7a62a525-0571-48d9-9298-d48c01ee2c0b', 'ip_version': 4, 'cidr': '199.203.138.0/26', 'allocation_pools': [{'start': '199.203.138.2', 'end': '199.203.138.62'}], 'gateway_ip': '199.203.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.203.138.2', 'tags': [], 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:49,562 - INFO - Created VN ctest-vn1-70725628 2025-09-19 16:29:49,615 - DEBUG - VN ctest-vn1-70725628 UUID is 7a62a525-0571-48d9-9298-d48c01ee2c0b 2025-09-19 16:29:49,901 - DEBUG - Response for create_port : {'port': {'name': '426918d6-2aea-4ebe-9eab-62d46b8a1b7f', 'id': '426918d6-2aea-4ebe-9eab-62d46b8a1b7f', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '7a62a525-0571-48d9-9298-d48c01ee2c0b', 'mac_address': '02:42:69:18:d6:2a', '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': '147.2.18.197', 'subnet_id': 'fd68603f-6921-4f74-991d-46737bfaebb7'}], 'security_groups': ['9dd1daa1-f719-4c86-ba18-2c541740cdb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:50,060 - DEBUG - Response for create_port : {'port': {'name': '8ad2cf22-4b62-4c19-9a45-738fb61fea01', 'id': '8ad2cf22-4b62-4c19-9a45-738fb61fea01', 'tenant_id': '23003564045f4ce39e2f9b475af0c8de', 'network_id': '7a62a525-0571-48d9-9298-d48c01ee2c0b', 'mac_address': '02:8a:d2:cf:22:4b', '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': '199.203.138.5', 'subnet_id': '71fb2e7d-aa33-4fbe-bfe3-8c80a33f2c66'}], 'security_groups': ['9dd1daa1-f719-4c86-ba18-2c541740cdb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '23003564045f4ce39e2f9b475af0c8de'}} 2025-09-19 16:29:50,110 - DEBUG - Services list from nova: [, , ] 2025-09-19 16:29:50,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:29:50,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:29:50,794 - INFO - Waiting for VM ctest-vn1-vm1-73538926 to be up.. 2025-09-19 16:29:50,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 16:29:55,897 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:29:55,897 - INFO - VM name : ctest-vn1-vm1-73538926 2025-09-19 16:29:55,965 - DEBUG - VM ctest-vn1-vm1-73538926 ID is 7a30733f-7f21-471e-b63d-f6e026fce3fc 2025-09-19 16:29:55,985 - DEBUG - VM ctest-vn1-vm1-73538926 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:29:56,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a30733f-7f21-471e-b63d-f6e026fce3fc 2025-09-19 16:29:56,063 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/426918d6-2aea-4ebe-9eab-62d46b8a1b7f 2025-09-19 16:29:59,306 - 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 1004ms') 2025-09-19 16:29:59,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73538926 failed! 2025-09-19 16:29:59,359 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20057931:ctest-vn1-70725628 is 147.2.18.193 and allocation pool is NOT set 2025-09-19 16:29:59,359 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20057931:ctest-vn1-70725628 is 199.203.138.1 and allocation pool is NOT set 2025-09-19 16:30:01,424 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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.459/2.640/2.821/0.181 ms') 2025-09-19 16:30:01,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73538926 passed 2025-09-19 16:30:01,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:01,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73538926, IP 147.2.18.197, Port 22 2025-09-19 16:30:01,641 - 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-09-19 16:30:01,722 - DEBUG - VM ctest-vn1-vm1-73538926 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-19 16:30:06,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:06,724 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73538926, IP 147.2.18.197, Port 22 2025-09-19 16:30:06,883 - DEBUG - VM ctest-vn1-vm1-73538926 is ready for SSH connections 2025-09-19 16:30:06,883 - INFO - Waiting for VM ctest-vn1-vm2-00284158 to be up.. 2025-09-19 16:30:06,957 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:30:06,957 - INFO - VM name : ctest-vn1-vm2-00284158 2025-09-19 16:30:07,036 - DEBUG - VM ctest-vn1-vm2-00284158 ID is cdb98862-b6eb-4826-a1ef-621d62f4f200 2025-09-19 16:30:07,037 - DEBUG - VM ctest-vn1-vm2-00284158 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:30:07,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cdb98862-b6eb-4826-a1ef-621d62f4f200 2025-09-19 16:30:07,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8ad2cf22-4b62-4c19-9a45-738fb61fea01 2025-09-19 16:30:08,363 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/2.023/3.601/1.577 ms') 2025-09-19 16:30:08,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00284158 passed 2025-09-19 16:30:08,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:08,515 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00284158, IP 199.203.138.5, Port 22 2025-09-19 16:30:08,670 - DEBUG - VM ctest-vn1-vm2-00284158 is ready for SSH connections 2025-09-19 16:30:08,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:08,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:08,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:30:08,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.2.18.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-19 16:30:08,671 - DEBUG - ping -s 56 -c 3 -W 1 147.2.18.197 2025-09-19 16:30:11,339 - DEBUG - PING 147.2.18.197 (147.2.18.197): 56 data bytes 64 bytes from 147.2.18.197: seq=0 ttl=63 time=4.386 ms 64 bytes from 147.2.18.197: seq=1 ttl=63 time=0.774 ms 64 bytes from 147.2.18.197: seq=2 ttl=63 time=0.785 ms --- 147.2.18.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.981/4.386 ms 2025-09-19 16:30:11,339 - INFO - Ping to IP 147.2.18.197 from VM ctest-vn1-vm2-00284158 passed 2025-09-19 16:30:11,340 - INFO - Detaching port 8ad2cf22-4b62-4c19-9a45-738fb61fea01 from VM ctest-vn1-vm2-00284158 2025-09-19 16:30:11,389 - INFO - Deleting VM ctest-vn1-vm2-00284158 2025-09-19 16:30:11,462 - INFO - Detaching port 426918d6-2aea-4ebe-9eab-62d46b8a1b7f from VM ctest-vn1-vm1-73538926 2025-09-19 16:30:11,493 - INFO - Deleting VM ctest-vn1-vm1-73538926 2025-09-19 16:30:11,727 - DEBUG - Response for delete_port : () 2025-09-19 16:30:11,880 - DEBUG - Response for delete_port : () 2025-09-19 16:30:11,880 - INFO - Deleting VN ctest-vn1-70725628 2025-09-19 16:30:11,996 - DEBUG - Response for deleting network () 2025-09-19 16:30:12,251 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 16:30:12,251 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-19 16:30:12,251 - INFO - -------------------------------------------------------------------------------- 2025-09-19 16:30:12,914 - INFO - Deleted project: ctest-TestPorts-20057931, ID : 23003564-045f-4ce3-9e2f-9b475af0c8de