2025-08-18 19:21:44,865 - INFO - Domain Default found not creating 2025-08-18 19:21:44,994 - INFO - Project ctest-TestPorts-04075537 not found, creating it 2025-08-18 19:21:45,435 - INFO - Created Project:ctest-TestPorts-04075537, ID : 61d41020-536b-4b8b-ab32-4ab699cdca8b 2025-08-18 19:21:46,913 - INFO - ================================================================================ 2025-08-18 19:21:46,913 - INFO - STARTING TEST : test_ports_bindings 2025-08-18 19:21:46,914 - 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-08-18 19:21:47,187 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 19:21:47,187 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:21:47,187 - INFO - 2025-08-18 19:21:47,730 - DEBUG - Response for create_network : {'network': {'id': '4a8b1a19-dd78-4b3b-9723-595ad64bcd1f', 'name': 'ctest-vn-98647981', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'project_id': '61d41020536b4b8bab324ab699cdca8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04075537', 'ctest-vn-98647981'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:21:47,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f47abbd-9bae-4f59-908c-1780d621b51c', 'name': '', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': '4a8b1a19-dd78-4b3b-9723-595ad64bcd1f', 'ip_version': 4, 'cidr': '18.111.51.128/26', 'allocation_pools': [{'start': '18.111.51.130', 'end': '18.111.51.190'}], 'gateway_ip': '18.111.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.111.51.130', 'tags': [], 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:47,911 - INFO - Created VN ctest-vn-98647981 2025-08-18 19:21:47,963 - DEBUG - VN ctest-vn-98647981 UUID is 4a8b1a19-dd78-4b3b-9723-595ad64bcd1f 2025-08-18 19:21:48,058 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04075537', 'ctest-vmi-08940229']} 2025-08-18 19:21:48,316 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08940229', 'id': '40c78ece-ded0-4c23-8618-d5c5cef73ad5', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': '4a8b1a19-dd78-4b3b-9723-595ad64bcd1f', 'mac_address': '02:40:c7:8e:ce:de', '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': '18.111.51.131', 'subnet_id': '4f47abbd-9bae-4f59-908c-1780d621b51c'}], 'security_groups': ['3a0cd79c-02b1-4ac3-992a-aa85fc5cf3de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:48,316 - DEBUG - Created port 40c78ece-ded0-4c23-8618-d5c5cef73ad5 2025-08-18 19:21:48,419 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/40c78ece-ded0-4c23-8618-d5c5cef73ad5 2025-08-18 19:21:48,708 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/40c78ece-ded0-4c23-8618-d5c5cef73ad5 2025-08-18 19:21:48,737 - INFO - VMI 40c78ece-ded0-4c23-8618-d5c5cef73ad5 verification in API Server passed 2025-08-18 19:21:48,817 - DEBUG - Response for delete_port : () 2025-08-18 19:21:48,817 - INFO - Deleted port 40c78ece-ded0-4c23-8618-d5c5cef73ad5 2025-08-18 19:21:48,817 - INFO - Deleting VN ctest-vn-98647981 2025-08-18 19:21:48,903 - DEBUG - Response for deleting network () 2025-08-18 19:21:49,156 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 19:21:49,156 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-18 19:21:49,156 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:21:49,158 - INFO - ================================================================================ 2025-08-18 19:21:49,158 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-18 19:21:49,158 - 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-08-18 19:21:49,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 19:21:49,439 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:21:49,440 - INFO - 2025-08-18 19:21:49,592 - DEBUG - Response for create_network : {'network': {'id': 'e1354683-a6f3-413b-b723-2ff6dde65cdf', 'name': 'ctest-vn1-63025708', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'project_id': '61d41020536b4b8bab324ab699cdca8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04075537', 'ctest-vn1-63025708'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:21:49,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e93456ca-233a-4d8f-97a8-48bc1049e0cb', 'name': '', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': 'e1354683-a6f3-413b-b723-2ff6dde65cdf', 'ip_version': 4, 'cidr': '221.214.94.64/26', 'allocation_pools': [{'start': '221.214.94.66', 'end': '221.214.94.126'}], 'gateway_ip': '221.214.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.214.94.66', 'tags': [], 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:49,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa165f1a-ab4e-4ab4-93d1-bcaedc021eec', 'name': '', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': 'e1354683-a6f3-413b-b723-2ff6dde65cdf', 'ip_version': 4, 'cidr': '61.152.226.0/26', 'allocation_pools': [{'start': '61.152.226.2', 'end': '61.152.226.62'}], 'gateway_ip': '61.152.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.152.226.2', 'tags': [], 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:49,984 - INFO - Created VN ctest-vn1-63025708 2025-08-18 19:21:50,039 - DEBUG - VN ctest-vn1-63025708 UUID is e1354683-a6f3-413b-b723-2ff6dde65cdf 2025-08-18 19:21:50,314 - DEBUG - Response for create_port : {'port': {'name': 'ccb28551-6fb1-4913-94f7-faaaf17a5bfe', 'id': 'ccb28551-6fb1-4913-94f7-faaaf17a5bfe', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': 'e1354683-a6f3-413b-b723-2ff6dde65cdf', 'mac_address': '02:cc:b2:85:51:6f', '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': '221.214.94.69', 'subnet_id': 'e93456ca-233a-4d8f-97a8-48bc1049e0cb'}], 'security_groups': ['3a0cd79c-02b1-4ac3-992a-aa85fc5cf3de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:50,472 - DEBUG - Response for create_port : {'port': {'name': '855d0350-f05a-41fe-a0cc-cbc17febe264', 'id': '855d0350-f05a-41fe-a0cc-cbc17febe264', 'tenant_id': '61d41020536b4b8bab324ab699cdca8b', 'network_id': 'e1354683-a6f3-413b-b723-2ff6dde65cdf', 'mac_address': '02:85:5d:03:50:f0', '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': '61.152.226.5', 'subnet_id': 'aa165f1a-ab4e-4ab4-93d1-bcaedc021eec'}], 'security_groups': ['3a0cd79c-02b1-4ac3-992a-aa85fc5cf3de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '61d41020536b4b8bab324ab699cdca8b'}} 2025-08-18 19:21:50,519 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:21:50,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:21:51,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:21:51,116 - INFO - Waiting for VM ctest-vn1-vm1-84212933 to be up.. 2025-08-18 19:21:51,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:21:56,215 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:21:56,215 - INFO - VM name : ctest-vn1-vm1-84212933 2025-08-18 19:21:56,276 - DEBUG - VM ctest-vn1-vm1-84212933 ID is 87a23134-e6d6-425a-936a-877d1ea5ef47 2025-08-18 19:21:56,292 - DEBUG - VM ctest-vn1-vm1-84212933 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:21:56,358 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/87a23134-e6d6-425a-936a-877d1ea5ef47 2025-08-18 19:21:56,365 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ccb28551-6fb1-4913-94f7-faaaf17a5bfe 2025-08-18 19:21:59,615 - 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 1016ms') 2025-08-18 19:21:59,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84212933 failed! 2025-08-18 19:21:59,671 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04075537:ctest-vn1-63025708 is 221.214.94.65 and allocation pool is NOT set 2025-08-18 19:21:59,671 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04075537:ctest-vn1-63025708 is 61.152.226.1 and allocation pool is NOT set 2025-08-18 19:22:01,732 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.967/2.387/2.807/0.420 ms') 2025-08-18 19:22:01,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84212933 passed 2025-08-18 19:22:01,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:01,891 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84212933, IP 221.214.94.69, Port 22 2025-08-18 19:22:02,043 - DEBUG - VM ctest-vn1-vm1-84212933 is ready for SSH connections 2025-08-18 19:22:02,043 - INFO - Waiting for VM ctest-vn1-vm2-91571680 to be up.. 2025-08-18 19:22:02,116 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:22:02,116 - INFO - VM name : ctest-vn1-vm2-91571680 2025-08-18 19:22:02,179 - DEBUG - VM ctest-vn1-vm2-91571680 ID is 78a7513f-cec0-471b-962d-e500cddf6e2e 2025-08-18 19:22:02,180 - DEBUG - VM ctest-vn1-vm2-91571680 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:22:02,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/78a7513f-cec0-471b-962d-e500cddf6e2e 2025-08-18 19:22:02,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/855d0350-f05a-41fe-a0cc-cbc17febe264 2025-08-18 19:22:03,471 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.767/3.076/1.308 ms') 2025-08-18 19:22:03,471 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91571680 passed 2025-08-18 19:22:03,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:03,619 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91571680, IP 61.152.226.5, Port 22 2025-08-18 19:22:03,770 - DEBUG - VM ctest-vn1-vm2-91571680 is ready for SSH connections 2025-08-18 19:22:03,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:03,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:03,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:03,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.214.94.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:03,771 - DEBUG - ping -s 56 -c 3 -W 1 221.214.94.69 2025-08-18 19:22:06,657 - DEBUG - PING 221.214.94.69 (221.214.94.69): 56 data bytes 64 bytes from 221.214.94.69: seq=0 ttl=63 time=3.377 ms 64 bytes from 221.214.94.69: seq=1 ttl=63 time=0.773 ms 64 bytes from 221.214.94.69: seq=2 ttl=63 time=0.920 ms --- 221.214.94.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.690/3.377 ms 2025-08-18 19:22:06,657 - INFO - Ping to IP 221.214.94.69 from VM ctest-vn1-vm2-91571680 passed 2025-08-18 19:22:06,657 - INFO - Detaching port 855d0350-f05a-41fe-a0cc-cbc17febe264 from VM ctest-vn1-vm2-91571680 2025-08-18 19:22:06,700 - INFO - Deleting VM ctest-vn1-vm2-91571680 2025-08-18 19:22:06,759 - INFO - Detaching port ccb28551-6fb1-4913-94f7-faaaf17a5bfe from VM ctest-vn1-vm1-84212933 2025-08-18 19:22:06,791 - INFO - Deleting VM ctest-vn1-vm1-84212933 2025-08-18 19:22:07,004 - DEBUG - Response for delete_port : () 2025-08-18 19:22:07,145 - DEBUG - Response for delete_port : () 2025-08-18 19:22:07,145 - INFO - Deleting VN ctest-vn1-63025708 2025-08-18 19:22:07,300 - DEBUG - Response for deleting network () 2025-08-18 19:22:07,559 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 19:22:07,559 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-18 19:22:07,560 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:22:08,243 - INFO - Deleted project: ctest-TestPorts-04075537, ID : 61d41020-536b-4b8b-ab32-4ab699cdca8b