2025-11-04 21:49:48,720 - INFO - Domain Default found not creating 2025-11-04 21:49:48,898 - INFO - Project ctest-TestPorts-00945812 not found, creating it 2025-11-04 21:49:49,350 - INFO - Created Project:ctest-TestPorts-00945812, ID : 49e959c8-1735-49e3-bb5e-578815e967ad 2025-11-04 21:49:50,786 - INFO - ================================================================================ 2025-11-04 21:49:50,786 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 21:49:50,787 - 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-11-04 21:49:51,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-04 21:49:51,044 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:49:51,044 - INFO - 2025-11-04 21:49:51,601 - DEBUG - Response for create_network : {'network': {'id': '3ca23e31-7f2c-4fe9-af40-a8b9c4c27e04', 'name': 'ctest-vn-93244868', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'project_id': '49e959c8173549e3bb5e578815e967ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00945812', 'ctest-vn-93244868'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:49:51,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f1b35da-9805-45ae-b52b-bb126305042f', 'name': '', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '3ca23e31-7f2c-4fe9-af40-a8b9c4c27e04', 'ip_version': 4, 'cidr': '207.49.120.64/26', 'allocation_pools': [{'start': '207.49.120.66', 'end': '207.49.120.126'}], 'gateway_ip': '207.49.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.49.120.66', 'tags': [], 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:51,843 - INFO - Created VN ctest-vn-93244868 2025-11-04 21:49:51,894 - DEBUG - VN ctest-vn-93244868 UUID is 3ca23e31-7f2c-4fe9-af40-a8b9c4c27e04 2025-11-04 21:49:51,999 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00945812', 'ctest-vmi-64889969']} 2025-11-04 21:49:52,277 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64889969', 'id': 'ac913201-aae8-45ac-bd0f-c68259021bb7', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '3ca23e31-7f2c-4fe9-af40-a8b9c4c27e04', 'mac_address': '02:ac:91:32:01:aa', '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': '207.49.120.67', 'subnet_id': '1f1b35da-9805-45ae-b52b-bb126305042f'}], 'security_groups': ['c2106239-b018-40b4-a896-9ecc283099e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:52,277 - DEBUG - Created port ac913201-aae8-45ac-bd0f-c68259021bb7 2025-11-04 21:49:52,382 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ac913201-aae8-45ac-bd0f-c68259021bb7 2025-11-04 21:49:52,674 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ac913201-aae8-45ac-bd0f-c68259021bb7 2025-11-04 21:49:52,707 - INFO - VMI ac913201-aae8-45ac-bd0f-c68259021bb7 verification in API Server passed 2025-11-04 21:49:52,816 - DEBUG - Response for delete_port : () 2025-11-04 21:49:52,816 - INFO - Deleted port ac913201-aae8-45ac-bd0f-c68259021bb7 2025-11-04 21:49:52,816 - INFO - Deleting VN ctest-vn-93244868 2025-11-04 21:49:52,923 - DEBUG - Response for deleting network () 2025-11-04 21:49:53,184 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 21:49:53,184 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-04 21:49:53,184 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:49:53,187 - INFO - ================================================================================ 2025-11-04 21:49:53,187 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 21:49:53,187 - 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-11-04 21:49:53,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-04 21:49:53,495 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:49:53,495 - INFO - 2025-11-04 21:49:53,684 - DEBUG - Response for create_network : {'network': {'id': '6d547bb4-110d-4438-9972-50a3a3afb953', 'name': 'ctest-vn1-21074940', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'project_id': '49e959c8173549e3bb5e578815e967ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00945812', 'ctest-vn1-21074940'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:49:53,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '407bf475-6f42-4334-b2c9-373af14dc84a', 'name': '', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '6d547bb4-110d-4438-9972-50a3a3afb953', 'ip_version': 4, 'cidr': '90.231.195.192/26', 'allocation_pools': [{'start': '90.231.195.194', 'end': '90.231.195.254'}], 'gateway_ip': '90.231.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.231.195.194', 'tags': [], 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:53,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '79924b53-d8cd-41eb-8c04-61a4a376c63f', 'name': '', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '6d547bb4-110d-4438-9972-50a3a3afb953', 'ip_version': 4, 'cidr': '183.211.122.0/26', 'allocation_pools': [{'start': '183.211.122.2', 'end': '183.211.122.62'}], 'gateway_ip': '183.211.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.211.122.2', 'tags': [], 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:54,017 - INFO - Created VN ctest-vn1-21074940 2025-11-04 21:49:54,066 - DEBUG - VN ctest-vn1-21074940 UUID is 6d547bb4-110d-4438-9972-50a3a3afb953 2025-11-04 21:49:54,369 - DEBUG - Response for create_port : {'port': {'name': '83e8d4f2-2716-4f16-8531-779a78a8fbeb', 'id': '83e8d4f2-2716-4f16-8531-779a78a8fbeb', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '6d547bb4-110d-4438-9972-50a3a3afb953', 'mac_address': '02:83:e8:d4:f2:27', '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': '90.231.195.197', 'subnet_id': '407bf475-6f42-4334-b2c9-373af14dc84a'}], 'security_groups': ['c2106239-b018-40b4-a896-9ecc283099e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:54,548 - DEBUG - Response for create_port : {'port': {'name': '9fd5bdea-89ea-4b35-b69a-8120868e9ac5', 'id': '9fd5bdea-89ea-4b35-b69a-8120868e9ac5', 'tenant_id': '49e959c8173549e3bb5e578815e967ad', 'network_id': '6d547bb4-110d-4438-9972-50a3a3afb953', 'mac_address': '02:9f:d5:bd:ea:89', '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': '183.211.122.5', 'subnet_id': '79924b53-d8cd-41eb-8c04-61a4a376c63f'}], 'security_groups': ['c2106239-b018-40b4-a896-9ecc283099e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49e959c8173549e3bb5e578815e967ad'}} 2025-11-04 21:49:54,606 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:49:54,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:49:55,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:49:55,320 - INFO - Waiting for VM ctest-vn1-vm1-35131197 to be up.. 2025-11-04 21:49:55,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:50:00,435 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:50:00,435 - INFO - VM name : ctest-vn1-vm1-35131197 2025-11-04 21:50:00,508 - DEBUG - VM ctest-vn1-vm1-35131197 ID is 124fa2c4-ca98-4551-b2df-e0bd73e47876 2025-11-04 21:50:00,532 - DEBUG - VM ctest-vn1-vm1-35131197 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:50:00,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/124fa2c4-ca98-4551-b2df-e0bd73e47876 2025-11-04 21:50:00,616 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/83e8d4f2-2716-4f16-8531-779a78a8fbeb 2025-11-04 21:50:03,865 - 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 1010ms') 2025-11-04 21:50:03,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35131197 failed! 2025-11-04 21:50:03,922 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00945812:ctest-vn1-21074940 is 90.231.195.193 and allocation pool is NOT set 2025-11-04 21:50:03,922 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00945812:ctest-vn1-21074940 is 183.211.122.1 and allocation pool is NOT set 2025-11-04 21:50:05,985 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.26 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 = 3.256/6.679/10.102/3.423 ms') 2025-11-04 21:50:05,986 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35131197 passed 2025-11-04 21:50:06,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:06,134 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35131197, IP 90.231.195.197, Port 22 2025-11-04 21:50:06,200 - 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-11-04 21:50:06,273 - DEBUG - VM ctest-vn1-vm1-35131197 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-04 21:50:11,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:11,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35131197, IP 90.231.195.197, Port 22 2025-11-04 21:50:11,439 - DEBUG - VM ctest-vn1-vm1-35131197 is ready for SSH connections 2025-11-04 21:50:11,439 - INFO - Waiting for VM ctest-vn1-vm2-01635215 to be up.. 2025-11-04 21:50:11,526 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:50:11,526 - INFO - VM name : ctest-vn1-vm2-01635215 2025-11-04 21:50:11,604 - DEBUG - VM ctest-vn1-vm2-01635215 ID is 0c1df958-c069-44e3-b752-eb960fe35ab9 2025-11-04 21:50:11,605 - DEBUG - VM ctest-vn1-vm2-01635215 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:50:11,680 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0c1df958-c069-44e3-b752-eb960fe35ab9 2025-11-04 21:50:11,689 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9fd5bdea-89ea-4b35-b69a-8120868e9ac5 2025-11-04 21:50:12,930 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.848/3.320/1.472 ms') 2025-11-04 21:50:12,931 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01635215 passed 2025-11-04 21:50:13,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:13,079 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01635215, IP 183.211.122.5, Port 22 2025-11-04 21:50:13,235 - DEBUG - VM ctest-vn1-vm2-01635215 is ready for SSH connections 2025-11-04 21:50:13,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:13,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:13,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:13,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.231.195.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:13,235 - DEBUG - ping -s 56 -c 3 -W 1 90.231.195.197 2025-11-04 21:50:15,901 - DEBUG - PING 90.231.195.197 (90.231.195.197): 56 data bytes 64 bytes from 90.231.195.197: seq=0 ttl=63 time=3.365 ms 64 bytes from 90.231.195.197: seq=1 ttl=63 time=1.094 ms 64 bytes from 90.231.195.197: seq=2 ttl=63 time=1.334 ms --- 90.231.195.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/1.931/3.365 ms 2025-11-04 21:50:15,901 - INFO - Ping to IP 90.231.195.197 from VM ctest-vn1-vm2-01635215 passed 2025-11-04 21:50:15,901 - INFO - Detaching port 9fd5bdea-89ea-4b35-b69a-8120868e9ac5 from VM ctest-vn1-vm2-01635215 2025-11-04 21:50:15,948 - INFO - Deleting VM ctest-vn1-vm2-01635215 2025-11-04 21:50:16,027 - INFO - Detaching port 83e8d4f2-2716-4f16-8531-779a78a8fbeb from VM ctest-vn1-vm1-35131197 2025-11-04 21:50:16,066 - INFO - Deleting VM ctest-vn1-vm1-35131197 2025-11-04 21:50:16,301 - DEBUG - Response for delete_port : () 2025-11-04 21:50:16,491 - DEBUG - Response for delete_port : () 2025-11-04 21:50:16,491 - INFO - Deleting VN ctest-vn1-21074940 2025-11-04 21:50:16,634 - DEBUG - Response for deleting network () 2025-11-04 21:50:16,904 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 21:50:16,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-11-04 21:50:16,904 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:50:17,616 - INFO - Deleted project: ctest-TestPorts-00945812, ID : 49e959c8-1735-49e3-bb5e-578815e967ad