2025-11-05 09:24:32,741 - INFO - Domain Default found not creating 2025-11-05 09:24:32,979 - INFO - Project ctest-TestPorts-61671292 not found, creating it 2025-11-05 09:24:33,415 - INFO - Created Project:ctest-TestPorts-61671292, ID : e136298b-c173-411f-b0ad-c5a780181b0e 2025-11-05 09:24:34,781 - INFO - ================================================================================ 2025-11-05 09:24:34,781 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 09:24:34,781 - 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-05 09:24:35,033 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-05 09:24:35,033 - INFO - Initial checks done. Running the testcase now 2025-11-05 09:24:35,033 - INFO - 2025-11-05 09:24:35,549 - DEBUG - Response for create_network : {'network': {'id': '89f040c2-596c-4aa0-b0ff-8e37619c3a15', 'name': 'ctest-vn-24982699', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'project_id': 'e136298bc173411fb0adc5a780181b0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61671292', 'ctest-vn-24982699'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 09:24:35,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e2f707a-cc4f-4f58-b854-9e3fbdb32231', 'name': '', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': '89f040c2-596c-4aa0-b0ff-8e37619c3a15', 'ip_version': 4, 'cidr': '212.44.224.192/26', 'allocation_pools': [{'start': '212.44.224.194', 'end': '212.44.224.254'}], 'gateway_ip': '212.44.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.44.224.194', 'tags': [], 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:35,732 - INFO - Created VN ctest-vn-24982699 2025-11-05 09:24:35,784 - DEBUG - VN ctest-vn-24982699 UUID is 89f040c2-596c-4aa0-b0ff-8e37619c3a15 2025-11-05 09:24:35,888 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61671292', 'ctest-vmi-95539536']} 2025-11-05 09:24:36,153 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95539536', 'id': '0cce04cf-cda0-4494-a147-c76b35ec8980', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': '89f040c2-596c-4aa0-b0ff-8e37619c3a15', 'mac_address': '02:0c:ce:04:cf:cd', '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': '212.44.224.195', 'subnet_id': '3e2f707a-cc4f-4f58-b854-9e3fbdb32231'}], 'security_groups': ['9d5dc9ff-b6ad-48f4-9feb-256aa2de8956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:36,153 - DEBUG - Created port 0cce04cf-cda0-4494-a147-c76b35ec8980 2025-11-05 09:24:36,257 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0cce04cf-cda0-4494-a147-c76b35ec8980 2025-11-05 09:24:36,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0cce04cf-cda0-4494-a147-c76b35ec8980 2025-11-05 09:24:36,575 - INFO - VMI 0cce04cf-cda0-4494-a147-c76b35ec8980 verification in API Server passed 2025-11-05 09:24:36,653 - DEBUG - Response for delete_port : () 2025-11-05 09:24:36,653 - INFO - Deleted port 0cce04cf-cda0-4494-a147-c76b35ec8980 2025-11-05 09:24:36,653 - INFO - Deleting VN ctest-vn-24982699 2025-11-05 09:24:36,748 - DEBUG - Response for deleting network () 2025-11-05 09:24:37,001 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 09:24:37,001 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 09:24:37,001 - INFO - -------------------------------------------------------------------------------- 2025-11-05 09:24:37,003 - INFO - ================================================================================ 2025-11-05 09:24:37,004 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 09:24:37,004 - 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-05 09:24:37,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-05 09:24:37,289 - INFO - Initial checks done. Running the testcase now 2025-11-05 09:24:37,290 - INFO - 2025-11-05 09:24:37,454 - DEBUG - Response for create_network : {'network': {'id': 'c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb', 'name': 'ctest-vn1-01418135', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'project_id': 'e136298bc173411fb0adc5a780181b0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61671292', 'ctest-vn1-01418135'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 09:24:37,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '6052f6d0-079a-4124-a45d-751d478a0ab4', 'name': '', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': 'c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb', 'ip_version': 4, 'cidr': '74.253.113.192/26', 'allocation_pools': [{'start': '74.253.113.194', 'end': '74.253.113.254'}], 'gateway_ip': '74.253.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.253.113.194', 'tags': [], 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:37,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '60ec1beb-4f7c-4f48-aaf7-df8f78030fda', 'name': '', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': 'c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb', 'ip_version': 4, 'cidr': '104.217.171.64/26', 'allocation_pools': [{'start': '104.217.171.66', 'end': '104.217.171.126'}], 'gateway_ip': '104.217.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.217.171.66', 'tags': [], 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:37,810 - INFO - Created VN ctest-vn1-01418135 2025-11-05 09:24:37,860 - DEBUG - VN ctest-vn1-01418135 UUID is c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb 2025-11-05 09:24:38,140 - DEBUG - Response for create_port : {'port': {'name': 'e453c904-915d-45e0-a7c8-dfc8c355ab9b', 'id': 'e453c904-915d-45e0-a7c8-dfc8c355ab9b', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': 'c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb', 'mac_address': '02:e4:53:c9:04:91', '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': '74.253.113.197', 'subnet_id': '6052f6d0-079a-4124-a45d-751d478a0ab4'}], 'security_groups': ['9d5dc9ff-b6ad-48f4-9feb-256aa2de8956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:38,290 - DEBUG - Response for create_port : {'port': {'name': 'd57bac2a-eebb-4daa-8a42-fa92b9afc914', 'id': 'd57bac2a-eebb-4daa-8a42-fa92b9afc914', 'tenant_id': 'e136298bc173411fb0adc5a780181b0e', 'network_id': 'c83e57c4-5ce4-4ebd-9d79-cc50b882e9cb', 'mac_address': '02:d5:7b:ac:2a:ee', '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': '104.217.171.69', 'subnet_id': '60ec1beb-4f7c-4f48-aaf7-df8f78030fda'}], 'security_groups': ['9d5dc9ff-b6ad-48f4-9feb-256aa2de8956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e136298bc173411fb0adc5a780181b0e'}} 2025-11-05 09:24:38,338 - DEBUG - Services list from nova: [, , ] 2025-11-05 09:24:38,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4636-1) 2025-11-05 09:24:38,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4636-1) 2025-11-05 09:24:38,979 - INFO - Waiting for VM ctest-vn1-vm1-70632078 to be up.. 2025-11-05 09:24:39,017 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 09:24:44,088 - DEBUG - VM is in ACTIVE state now 2025-11-05 09:24:44,089 - INFO - VM name : ctest-vn1-vm1-70632078 2025-11-05 09:24:44,156 - DEBUG - VM ctest-vn1-vm1-70632078 ID is f24fc1d5-ba4c-43c8-aa06-34b8ba43de97 2025-11-05 09:24:44,178 - DEBUG - VM ctest-vn1-vm1-70632078 launched on Node cn-jenkins-deploy-platform-ansible-os-4636-1 2025-11-05 09:24:44,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f24fc1d5-ba4c-43c8-aa06-34b8ba43de97 2025-11-05 09:24:44,272 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e453c904-915d-45e0-a7c8-dfc8c355ab9b 2025-11-05 09:24:47,539 - 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 1023ms') 2025-11-05 09:24:47,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70632078 failed! 2025-11-05 09:24:47,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61671292:ctest-vn1-01418135 is 74.253.113.193 and allocation pool is NOT set 2025-11-05 09:24:47,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61671292:ctest-vn1-01418135 is 104.217.171.65 and allocation pool is NOT set 2025-11-05 09:24:49,662 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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.622/2.689/2.757/0.067 ms') 2025-11-05 09:24:49,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70632078 passed 2025-11-05 09:24:49,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:24:49,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70632078, IP 74.253.113.197, Port 22 2025-11-05 09:24:49,976 - DEBUG - VM ctest-vn1-vm1-70632078 is ready for SSH connections 2025-11-05 09:24:49,976 - INFO - Waiting for VM ctest-vn1-vm2-84583475 to be up.. 2025-11-05 09:24:50,059 - DEBUG - VM is in ACTIVE state now 2025-11-05 09:24:50,059 - INFO - VM name : ctest-vn1-vm2-84583475 2025-11-05 09:24:50,134 - DEBUG - VM ctest-vn1-vm2-84583475 ID is 8a2375ab-9274-4c43-afa4-93d85bb83e9f 2025-11-05 09:24:50,134 - DEBUG - VM ctest-vn1-vm2-84583475 launched on Node cn-jenkins-deploy-platform-ansible-os-4636-1 2025-11-05 09:24:50,211 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a2375ab-9274-4c43-afa4-93d85bb83e9f 2025-11-05 09:24:50,218 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d57bac2a-eebb-4daa-8a42-fa92b9afc914 2025-11-05 09:24:51,456 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.612/2.806/1.193 ms') 2025-11-05 09:24:51,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84583475 passed 2025-11-05 09:24:51,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:24:51,605 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84583475, IP 104.217.171.69, Port 22 2025-11-05 09:24:51,760 - DEBUG - VM ctest-vn1-vm2-84583475 is ready for SSH connections 2025-11-05 09:24:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:24:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:24:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:24:51,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.253.113.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 09:24:51,761 - DEBUG - ping -s 56 -c 3 -W 1 74.253.113.197 2025-11-05 09:24:54,716 - DEBUG - PING 74.253.113.197 (74.253.113.197): 56 data bytes 64 bytes from 74.253.113.197: seq=0 ttl=63 time=3.343 ms 64 bytes from 74.253.113.197: seq=1 ttl=63 time=0.752 ms 64 bytes from 74.253.113.197: seq=2 ttl=63 time=0.755 ms --- 74.253.113.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.616/3.343 ms 2025-11-05 09:24:54,716 - INFO - Ping to IP 74.253.113.197 from VM ctest-vn1-vm2-84583475 passed 2025-11-05 09:24:54,716 - INFO - Detaching port d57bac2a-eebb-4daa-8a42-fa92b9afc914 from VM ctest-vn1-vm2-84583475 2025-11-05 09:24:54,762 - INFO - Deleting VM ctest-vn1-vm2-84583475 2025-11-05 09:24:54,825 - INFO - Detaching port e453c904-915d-45e0-a7c8-dfc8c355ab9b from VM ctest-vn1-vm1-70632078 2025-11-05 09:24:54,859 - INFO - Deleting VM ctest-vn1-vm1-70632078 2025-11-05 09:24:55,061 - DEBUG - Response for delete_port : () 2025-11-05 09:24:55,216 - DEBUG - Response for delete_port : () 2025-11-05 09:24:55,216 - INFO - Deleting VN ctest-vn1-01418135 2025-11-05 09:24:55,331 - DEBUG - Response for deleting network () 2025-11-05 09:24:55,585 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 09:24:55,585 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-05 09:24:55,585 - INFO - -------------------------------------------------------------------------------- 2025-11-05 09:24:56,228 - INFO - Deleted project: ctest-TestPorts-61671292, ID : e136298b-c173-411f-b0ad-c5a780181b0e