2025-07-22 23:24:21,260 - INFO - Domain Default found not creating 2025-07-22 23:24:21,410 - INFO - Project ctest-TestPorts-10800161 not found, creating it 2025-07-22 23:24:21,877 - INFO - Created Project:ctest-TestPorts-10800161, ID : 80cb6a18-7abb-40b9-9ae1-02a5065a80b7 2025-07-22 23:24:23,288 - INFO - ================================================================================ 2025-07-22 23:24:23,288 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 23:24:23,288 - 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-07-22 23:24:23,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 23:24:23,542 - INFO - Initial checks done. Running the testcase now 2025-07-22 23:24:23,542 - INFO - 2025-07-22 23:24:24,096 - DEBUG - Response for create_network : {'network': {'id': 'af7fc00d-ff01-4f3d-9208-5ced19d9486c', 'name': 'ctest-vn-90978504', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'project_id': '80cb6a187abb40b99ae102a5065a80b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10800161', 'ctest-vn-90978504'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:24:24,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '61baedb5-d251-43a1-affa-6c38cc60caa0', 'name': '', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': 'af7fc00d-ff01-4f3d-9208-5ced19d9486c', 'ip_version': 4, 'cidr': '68.51.92.128/26', 'allocation_pools': [{'start': '68.51.92.130', 'end': '68.51.92.190'}], 'gateway_ip': '68.51.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.51.92.130', 'tags': [], 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:24,260 - INFO - Created VN ctest-vn-90978504 2025-07-22 23:24:24,315 - DEBUG - VN ctest-vn-90978504 UUID is af7fc00d-ff01-4f3d-9208-5ced19d9486c 2025-07-22 23:24:24,420 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10800161', 'ctest-vmi-00301387']} 2025-07-22 23:24:24,696 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00301387', 'id': 'cf01f735-cbb4-4df3-bbd1-84183c78dd9a', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': 'af7fc00d-ff01-4f3d-9208-5ced19d9486c', 'mac_address': '02:cf:01:f7:35:cb', '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': '68.51.92.131', 'subnet_id': '61baedb5-d251-43a1-affa-6c38cc60caa0'}], 'security_groups': ['e5d8e974-0bbd-49a2-95c5-42cf4ce9c968'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:24,696 - DEBUG - Created port cf01f735-cbb4-4df3-bbd1-84183c78dd9a 2025-07-22 23:24:24,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf01f735-cbb4-4df3-bbd1-84183c78dd9a 2025-07-22 23:24:25,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf01f735-cbb4-4df3-bbd1-84183c78dd9a 2025-07-22 23:24:25,135 - INFO - VMI cf01f735-cbb4-4df3-bbd1-84183c78dd9a verification in API Server passed 2025-07-22 23:24:25,231 - DEBUG - Response for delete_port : () 2025-07-22 23:24:25,231 - INFO - Deleted port cf01f735-cbb4-4df3-bbd1-84183c78dd9a 2025-07-22 23:24:25,232 - INFO - Deleting VN ctest-vn-90978504 2025-07-22 23:24:25,344 - DEBUG - Response for deleting network () 2025-07-22 23:24:25,613 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 23:24:25,613 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-22 23:24:25,613 - INFO - -------------------------------------------------------------------------------- 2025-07-22 23:24:25,616 - INFO - ================================================================================ 2025-07-22 23:24:25,616 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 23:24:25,616 - 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-07-22 23:24:25,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 23:24:25,909 - INFO - Initial checks done. Running the testcase now 2025-07-22 23:24:25,909 - INFO - 2025-07-22 23:24:26,089 - DEBUG - Response for create_network : {'network': {'id': '156d4143-d1a1-473b-aa68-015b8f4e516f', 'name': 'ctest-vn1-36654121', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'project_id': '80cb6a187abb40b99ae102a5065a80b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10800161', 'ctest-vn1-36654121'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:24:26,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '422b909c-da54-4ac9-8829-39f66d39f6b6', 'name': '', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': '156d4143-d1a1-473b-aa68-015b8f4e516f', 'ip_version': 4, 'cidr': '54.227.53.64/26', 'allocation_pools': [{'start': '54.227.53.66', 'end': '54.227.53.126'}], 'gateway_ip': '54.227.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.227.53.66', 'tags': [], 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:26,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee3d042-97b2-43a7-b681-f4609090aea5', 'name': '', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': '156d4143-d1a1-473b-aa68-015b8f4e516f', 'ip_version': 4, 'cidr': '97.168.13.0/26', 'allocation_pools': [{'start': '97.168.13.2', 'end': '97.168.13.62'}], 'gateway_ip': '97.168.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.168.13.2', 'tags': [], 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:26,522 - INFO - Created VN ctest-vn1-36654121 2025-07-22 23:24:26,575 - DEBUG - VN ctest-vn1-36654121 UUID is 156d4143-d1a1-473b-aa68-015b8f4e516f 2025-07-22 23:24:26,882 - DEBUG - Response for create_port : {'port': {'name': '30732e3a-6461-4826-ae52-e0c924b3c79a', 'id': '30732e3a-6461-4826-ae52-e0c924b3c79a', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': '156d4143-d1a1-473b-aa68-015b8f4e516f', 'mac_address': '02:30:73:2e:3a:64', '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': '54.227.53.69', 'subnet_id': '422b909c-da54-4ac9-8829-39f66d39f6b6'}], 'security_groups': ['e5d8e974-0bbd-49a2-95c5-42cf4ce9c968'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:27,069 - DEBUG - Response for create_port : {'port': {'name': 'b5021e39-5308-49e8-aa9b-7f9f95da6dd4', 'id': 'b5021e39-5308-49e8-aa9b-7f9f95da6dd4', 'tenant_id': '80cb6a187abb40b99ae102a5065a80b7', 'network_id': '156d4143-d1a1-473b-aa68-015b8f4e516f', 'mac_address': '02:b5:02:1e:39:53', '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': '97.168.13.5', 'subnet_id': 'cee3d042-97b2-43a7-b681-f4609090aea5'}], 'security_groups': ['e5d8e974-0bbd-49a2-95c5-42cf4ce9c968'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80cb6a187abb40b99ae102a5065a80b7'}} 2025-07-22 23:24:27,128 - DEBUG - Services list from nova: [, , ] 2025-07-22 23:24:27,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:24:27,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:24:27,921 - INFO - Waiting for VM ctest-vn1-vm1-92955558 to be up.. 2025-07-22 23:24:27,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 23:24:33,061 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:24:33,061 - INFO - VM name : ctest-vn1-vm1-92955558 2025-07-22 23:24:33,148 - DEBUG - VM ctest-vn1-vm1-92955558 ID is 37ea0163-1f4f-4239-ae80-235514678ea4 2025-07-22 23:24:33,168 - DEBUG - VM ctest-vn1-vm1-92955558 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:24:33,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37ea0163-1f4f-4239-ae80-235514678ea4 2025-07-22 23:24:33,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/30732e3a-6461-4826-ae52-e0c924b3c79a 2025-07-22 23:24:36,512 - 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 1011ms') 2025-07-22 23:24:36,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92955558 failed! 2025-07-22 23:24:36,567 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10800161:ctest-vn1-36654121 is 54.227.53.65 and allocation pool is NOT set 2025-07-22 23:24:36,567 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10800161:ctest-vn1-36654121 is 97.168.13.1 and allocation pool is NOT set 2025-07-22 23:24:38,633 - 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=4.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.438/4.185/4.932/0.747 ms') 2025-07-22 23:24:38,633 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92955558 passed 2025-07-22 23:24:38,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:24:38,787 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92955558, IP 54.227.53.69, Port 22 2025-07-22 23:24:38,942 - DEBUG - VM ctest-vn1-vm1-92955558 is ready for SSH connections 2025-07-22 23:24:38,943 - INFO - Waiting for VM ctest-vn1-vm2-57813654 to be up.. 2025-07-22 23:24:39,016 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:24:39,016 - INFO - VM name : ctest-vn1-vm2-57813654 2025-07-22 23:24:39,086 - DEBUG - VM ctest-vn1-vm2-57813654 ID is 5ddb4647-ae92-414c-9da1-f358fbfcc05f 2025-07-22 23:24:39,087 - DEBUG - VM ctest-vn1-vm2-57813654 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:24:39,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5ddb4647-ae92-414c-9da1-f358fbfcc05f 2025-07-22 23:24:39,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b5021e39-5308-49e8-aa9b-7f9f95da6dd4 2025-07-22 23:24:40,414 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.765/3.023/1.258 ms') 2025-07-22 23:24:40,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57813654 passed 2025-07-22 23:24:40,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:24:40,571 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57813654, IP 97.168.13.5, Port 22 2025-07-22 23:24:40,727 - DEBUG - VM ctest-vn1-vm2-57813654 is ready for SSH connections 2025-07-22 23:24:40,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:24:40,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:24:40,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:24:40,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.227.53.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 23:24:40,727 - DEBUG - ping -s 56 -c 3 -W 1 54.227.53.69 2025-07-22 23:24:43,395 - DEBUG - PING 54.227.53.69 (54.227.53.69): 56 data bytes 64 bytes from 54.227.53.69: seq=0 ttl=63 time=4.034 ms 64 bytes from 54.227.53.69: seq=1 ttl=63 time=0.963 ms 64 bytes from 54.227.53.69: seq=2 ttl=63 time=0.867 ms --- 54.227.53.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.954/4.034 ms 2025-07-22 23:24:43,396 - INFO - Ping to IP 54.227.53.69 from VM ctest-vn1-vm2-57813654 passed 2025-07-22 23:24:43,396 - INFO - Detaching port b5021e39-5308-49e8-aa9b-7f9f95da6dd4 from VM ctest-vn1-vm2-57813654 2025-07-22 23:24:43,442 - INFO - Deleting VM ctest-vn1-vm2-57813654 2025-07-22 23:24:43,513 - INFO - Detaching port 30732e3a-6461-4826-ae52-e0c924b3c79a from VM ctest-vn1-vm1-92955558 2025-07-22 23:24:43,545 - INFO - Deleting VM ctest-vn1-vm1-92955558 2025-07-22 23:24:43,780 - DEBUG - Response for delete_port : () 2025-07-22 23:24:43,974 - DEBUG - Response for delete_port : () 2025-07-22 23:24:43,974 - INFO - Deleting VN ctest-vn1-36654121 2025-07-22 23:24:44,122 - DEBUG - Response for deleting network () 2025-07-22 23:24:44,377 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 23:24:44,377 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-07-22 23:24:44,377 - INFO - -------------------------------------------------------------------------------- 2025-07-22 23:24:45,117 - INFO - Deleted project: ctest-TestPorts-10800161, ID : 80cb6a18-7abb-40b9-9ae1-02a5065a80b7