2025-09-08 16:02:15,073 - INFO - Domain Default found not creating 2025-09-08 16:02:15,301 - INFO - Project ctest-TestPorts-02133952 not found, creating it 2025-09-08 16:02:15,739 - INFO - Created Project:ctest-TestPorts-02133952, ID : 880266f9-bea1-4ec5-b488-1597c3044884 2025-09-08 16:02:17,114 - INFO - ================================================================================ 2025-09-08 16:02:17,114 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 16:02:17,114 - 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-08 16:02:17,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 16:02:17,242 - INFO - Initial checks done. Running the testcase now 2025-09-08 16:02:17,242 - INFO - 2025-09-08 16:02:17,771 - DEBUG - Response for create_network : {'network': {'id': 'c7f49c86-109a-4c43-9b65-a1e49e55591b', 'name': 'ctest-vn-29825540', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'project_id': '880266f9bea14ec5b4881597c3044884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02133952', 'ctest-vn-29825540'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:02:17,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '62d28133-99ff-4c61-a663-55f55aadd73d', 'name': '', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': 'c7f49c86-109a-4c43-9b65-a1e49e55591b', 'ip_version': 4, 'cidr': '154.42.119.128/26', 'allocation_pools': [{'start': '154.42.119.130', 'end': '154.42.119.190'}], 'gateway_ip': '154.42.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.42.119.130', 'tags': [], 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:17,996 - INFO - Created VN ctest-vn-29825540 2025-09-08 16:02:18,047 - DEBUG - VN ctest-vn-29825540 UUID is c7f49c86-109a-4c43-9b65-a1e49e55591b 2025-09-08 16:02:18,157 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02133952', 'ctest-vmi-50002753']} 2025-09-08 16:02:18,426 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50002753', 'id': 'a0f08479-2f58-4d90-bfbe-4d84506ea8ed', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': 'c7f49c86-109a-4c43-9b65-a1e49e55591b', 'mac_address': '02:a0:f0:84:79:2f', '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': '154.42.119.131', 'subnet_id': '62d28133-99ff-4c61-a663-55f55aadd73d'}], 'security_groups': ['aadb95a5-318f-4cc1-af18-180156f06b30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:18,427 - DEBUG - Created port a0f08479-2f58-4d90-bfbe-4d84506ea8ed 2025-09-08 16:02:18,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0f08479-2f58-4d90-bfbe-4d84506ea8ed 2025-09-08 16:02:18,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0f08479-2f58-4d90-bfbe-4d84506ea8ed 2025-09-08 16:02:18,852 - INFO - VMI a0f08479-2f58-4d90-bfbe-4d84506ea8ed verification in API Server passed 2025-09-08 16:02:18,942 - DEBUG - Response for delete_port : () 2025-09-08 16:02:18,942 - INFO - Deleted port a0f08479-2f58-4d90-bfbe-4d84506ea8ed 2025-09-08 16:02:18,942 - INFO - Deleting VN ctest-vn-29825540 2025-09-08 16:02:19,042 - DEBUG - Response for deleting network () 2025-09-08 16:02:19,173 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 16:02:19,173 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-08 16:02:19,173 - INFO - -------------------------------------------------------------------------------- 2025-09-08 16:02:19,176 - INFO - ================================================================================ 2025-09-08 16:02:19,176 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 16:02:19,176 - 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-08 16:02:19,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 16:02:19,329 - INFO - Initial checks done. Running the testcase now 2025-09-08 16:02:19,329 - INFO - 2025-09-08 16:02:19,497 - DEBUG - Response for create_network : {'network': {'id': '8f3e6c87-cfd8-400f-85fe-56fc58477120', 'name': 'ctest-vn1-58968336', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'project_id': '880266f9bea14ec5b4881597c3044884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02133952', 'ctest-vn1-58968336'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:02:19,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b97861b1-0002-42ad-a317-6e42d4c8ecba', 'name': '', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': '8f3e6c87-cfd8-400f-85fe-56fc58477120', 'ip_version': 4, 'cidr': '95.157.166.192/26', 'allocation_pools': [{'start': '95.157.166.194', 'end': '95.157.166.254'}], 'gateway_ip': '95.157.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.157.166.194', 'tags': [], 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:19,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '10dc2260-f3eb-46b2-aa21-e65ccb017835', 'name': '', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': '8f3e6c87-cfd8-400f-85fe-56fc58477120', 'ip_version': 4, 'cidr': '204.36.228.0/26', 'allocation_pools': [{'start': '204.36.228.2', 'end': '204.36.228.62'}], 'gateway_ip': '204.36.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.36.228.2', 'tags': [], 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:19,842 - INFO - Created VN ctest-vn1-58968336 2025-09-08 16:02:19,891 - DEBUG - VN ctest-vn1-58968336 UUID is 8f3e6c87-cfd8-400f-85fe-56fc58477120 2025-09-08 16:02:20,178 - DEBUG - Response for create_port : {'port': {'name': 'c9016739-78c1-4563-a6d3-7bafd741aaba', 'id': 'c9016739-78c1-4563-a6d3-7bafd741aaba', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': '8f3e6c87-cfd8-400f-85fe-56fc58477120', 'mac_address': '02:c9:01:67:39:78', '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': '95.157.166.197', 'subnet_id': 'b97861b1-0002-42ad-a317-6e42d4c8ecba'}], 'security_groups': ['aadb95a5-318f-4cc1-af18-180156f06b30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:20,345 - DEBUG - Response for create_port : {'port': {'name': '892345a1-31f8-4cae-99a4-6a7728b0bde5', 'id': '892345a1-31f8-4cae-99a4-6a7728b0bde5', 'tenant_id': '880266f9bea14ec5b4881597c3044884', 'network_id': '8f3e6c87-cfd8-400f-85fe-56fc58477120', 'mac_address': '02:89:23:45:a1:31', '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': '204.36.228.5', 'subnet_id': '10dc2260-f3eb-46b2-aa21-e65ccb017835'}], 'security_groups': ['aadb95a5-318f-4cc1-af18-180156f06b30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '880266f9bea14ec5b4881597c3044884'}} 2025-09-08 16:02:20,400 - DEBUG - Services list from nova: [, , ] 2025-09-08 16:02:20,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:02:21,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:02:21,178 - INFO - Waiting for VM ctest-vn1-vm1-17296055 to be up.. 2025-09-08 16:02:21,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 16:02:26,335 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:02:26,335 - INFO - VM name : ctest-vn1-vm1-17296055 2025-09-08 16:02:26,429 - DEBUG - VM ctest-vn1-vm1-17296055 ID is 854cfc8f-85bf-44a1-8afe-7990a7cea11e 2025-09-08 16:02:26,458 - DEBUG - VM ctest-vn1-vm1-17296055 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:02:26,604 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/854cfc8f-85bf-44a1-8afe-7990a7cea11e 2025-09-08 16:02:26,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c9016739-78c1-4563-a6d3-7bafd741aaba 2025-09-08 16:02:29,866 - 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 1005ms') 2025-09-08 16:02:29,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17296055 failed! 2025-09-08 16:02:29,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02133952:ctest-vn1-58968336 is 95.157.166.193 and allocation pool is NOT set 2025-09-08 16:02:29,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02133952:ctest-vn1-58968336 is 204.36.228.1 and allocation pool is NOT set 2025-09-08 16:02:31,945 - 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=9.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.643/5.762/9.882/4.119 ms') 2025-09-08 16:02:31,945 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17296055 passed 2025-09-08 16:02:32,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:32,103 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17296055, IP 95.157.166.197, Port 22 2025-09-08 16:02:32,117 - 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-08 16:02:32,197 - DEBUG - VM ctest-vn1-vm1-17296055 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 16:02:37,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:37,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17296055, IP 95.157.166.197, Port 22 2025-09-08 16:02:37,268 - DEBUG - VM ctest-vn1-vm1-17296055 is ready for SSH connections 2025-09-08 16:02:37,268 - INFO - Waiting for VM ctest-vn1-vm2-15797962 to be up.. 2025-09-08 16:02:37,340 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:02:37,340 - INFO - VM name : ctest-vn1-vm2-15797962 2025-09-08 16:02:37,410 - DEBUG - VM ctest-vn1-vm2-15797962 ID is 8d16624c-437e-4b81-8213-8f44fb171439 2025-09-08 16:02:37,410 - DEBUG - VM ctest-vn1-vm2-15797962 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:02:37,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d16624c-437e-4b81-8213-8f44fb171439 2025-09-08 16:02:37,492 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/892345a1-31f8-4cae-99a4-6a7728b0bde5 2025-09-08 16:02:38,693 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/2.053/3.651/1.598 ms') 2025-09-08 16:02:38,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15797962 passed 2025-09-08 16:02:38,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:38,847 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15797962, IP 204.36.228.5, Port 22 2025-09-08 16:02:38,915 - DEBUG - VM ctest-vn1-vm2-15797962 is ready for SSH connections 2025-09-08 16:02:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:02:38,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.157.166.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 16:02:38,916 - DEBUG - ping -s 56 -c 3 -W 1 95.157.166.197 2025-09-08 16:02:41,909 - DEBUG - PING 95.157.166.197 (95.157.166.197): 56 data bytes 64 bytes from 95.157.166.197: seq=0 ttl=63 time=3.938 ms 64 bytes from 95.157.166.197: seq=1 ttl=63 time=1.107 ms 64 bytes from 95.157.166.197: seq=2 ttl=63 time=1.208 ms --- 95.157.166.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/2.084/3.938 ms 2025-09-08 16:02:41,909 - INFO - Ping to IP 95.157.166.197 from VM ctest-vn1-vm2-15797962 passed 2025-09-08 16:02:41,909 - INFO - Detaching port 892345a1-31f8-4cae-99a4-6a7728b0bde5 from VM ctest-vn1-vm2-15797962 2025-09-08 16:02:41,975 - INFO - Deleting VM ctest-vn1-vm2-15797962 2025-09-08 16:02:42,054 - INFO - Detaching port c9016739-78c1-4563-a6d3-7bafd741aaba from VM ctest-vn1-vm1-17296055 2025-09-08 16:02:42,091 - INFO - Deleting VM ctest-vn1-vm1-17296055 2025-09-08 16:02:42,391 - DEBUG - Response for delete_port : () 2025-09-08 16:02:42,549 - DEBUG - Response for delete_port : () 2025-09-08 16:02:42,549 - INFO - Deleting VN ctest-vn1-58968336 2025-09-08 16:02:42,690 - DEBUG - Response for deleting network () 2025-09-08 16:02:42,950 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 16:02:42,950 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-08 16:02:42,950 - INFO - -------------------------------------------------------------------------------- 2025-09-08 16:02:43,670 - INFO - Deleted project: ctest-TestPorts-02133952, ID : 880266f9-bea1-4ec5-b488-1597c3044884