2025-08-14 14:26:31,656 - INFO - Domain Default found not creating 2025-08-14 14:26:31,798 - INFO - Project ctest-TestPorts-43940880 not found, creating it 2025-08-14 14:26:32,244 - INFO - Created Project:ctest-TestPorts-43940880, ID : e59710b5-1758-4da1-943a-803ee2b6f905 2025-08-14 14:26:33,873 - INFO - ================================================================================ 2025-08-14 14:26:33,873 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 14:26:33,873 - 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-14 14:26:34,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:26:34,127 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:26:34,127 - INFO - 2025-08-14 14:26:34,697 - DEBUG - Response for create_network : {'network': {'id': '01771650-2182-4139-b87c-9ec7ea629874', 'name': 'ctest-vn-68310398', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'project_id': 'e59710b517584da1943a803ee2b6f905', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43940880', 'ctest-vn-68310398'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:26:34,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '88bcc7fc-9003-48b1-b1e2-0d92a4dcbcff', 'name': '', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '01771650-2182-4139-b87c-9ec7ea629874', 'ip_version': 4, 'cidr': '141.171.140.0/26', 'allocation_pools': [{'start': '141.171.140.2', 'end': '141.171.140.62'}], 'gateway_ip': '141.171.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.171.140.2', 'tags': [], 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:34,881 - INFO - Created VN ctest-vn-68310398 2025-08-14 14:26:34,933 - DEBUG - VN ctest-vn-68310398 UUID is 01771650-2182-4139-b87c-9ec7ea629874 2025-08-14 14:26:35,036 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43940880', 'ctest-vmi-65054026']} 2025-08-14 14:26:35,309 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65054026', 'id': 'a4730aa0-8a53-48b6-9a9a-4f066f26bb92', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '01771650-2182-4139-b87c-9ec7ea629874', 'mac_address': '02:a4:73:0a:a0:8a', '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': '141.171.140.3', 'subnet_id': '88bcc7fc-9003-48b1-b1e2-0d92a4dcbcff'}], 'security_groups': ['6036549e-4b52-43ef-a8f8-b8011a0ed878'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:35,309 - DEBUG - Created port a4730aa0-8a53-48b6-9a9a-4f066f26bb92 2025-08-14 14:26:35,413 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a4730aa0-8a53-48b6-9a9a-4f066f26bb92 2025-08-14 14:26:35,744 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a4730aa0-8a53-48b6-9a9a-4f066f26bb92 2025-08-14 14:26:35,777 - INFO - VMI a4730aa0-8a53-48b6-9a9a-4f066f26bb92 verification in API Server passed 2025-08-14 14:26:35,912 - DEBUG - Response for delete_port : () 2025-08-14 14:26:35,912 - INFO - Deleted port a4730aa0-8a53-48b6-9a9a-4f066f26bb92 2025-08-14 14:26:35,912 - INFO - Deleting VN ctest-vn-68310398 2025-08-14 14:26:36,045 - DEBUG - Response for deleting network () 2025-08-14 14:26:36,310 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:26:36,310 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-14 14:26:36,310 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:26:36,312 - INFO - ================================================================================ 2025-08-14 14:26:36,313 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 14:26:36,313 - 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-14 14:26:36,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:26:36,611 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:26:36,611 - INFO - 2025-08-14 14:26:36,782 - DEBUG - Response for create_network : {'network': {'id': '877b2b19-d38e-42ac-9ddb-aa897c3fe65a', 'name': 'ctest-vn1-36248713', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'project_id': 'e59710b517584da1943a803ee2b6f905', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43940880', 'ctest-vn1-36248713'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:26:36,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '11a3db85-5827-4476-bb0c-85dba8a4cdc5', 'name': '', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '877b2b19-d38e-42ac-9ddb-aa897c3fe65a', 'ip_version': 4, 'cidr': '77.165.79.64/26', 'allocation_pools': [{'start': '77.165.79.66', 'end': '77.165.79.126'}], 'gateway_ip': '77.165.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.165.79.66', 'tags': [], 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:37,159 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfb6faaa-18b1-4f19-8f5b-ed3ec187a26e', 'name': '', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '877b2b19-d38e-42ac-9ddb-aa897c3fe65a', 'ip_version': 4, 'cidr': '138.162.134.128/26', 'allocation_pools': [{'start': '138.162.134.130', 'end': '138.162.134.190'}], 'gateway_ip': '138.162.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.162.134.130', 'tags': [], 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:37,187 - INFO - Created VN ctest-vn1-36248713 2025-08-14 14:26:37,245 - DEBUG - VN ctest-vn1-36248713 UUID is 877b2b19-d38e-42ac-9ddb-aa897c3fe65a 2025-08-14 14:26:37,549 - DEBUG - Response for create_port : {'port': {'name': 'e10842b8-79f7-416a-8b36-499ed24cd61f', 'id': 'e10842b8-79f7-416a-8b36-499ed24cd61f', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '877b2b19-d38e-42ac-9ddb-aa897c3fe65a', 'mac_address': '02:e1:08:42:b8:79', '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': '77.165.79.69', 'subnet_id': '11a3db85-5827-4476-bb0c-85dba8a4cdc5'}], 'security_groups': ['6036549e-4b52-43ef-a8f8-b8011a0ed878'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:37,725 - DEBUG - Response for create_port : {'port': {'name': '9c1f1ca8-0303-434b-80d9-1d8a468927bd', 'id': '9c1f1ca8-0303-434b-80d9-1d8a468927bd', 'tenant_id': 'e59710b517584da1943a803ee2b6f905', 'network_id': '877b2b19-d38e-42ac-9ddb-aa897c3fe65a', 'mac_address': '02:9c:1f:1c:a8:03', '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': '138.162.134.133', 'subnet_id': 'cfb6faaa-18b1-4f19-8f5b-ed3ec187a26e'}], 'security_groups': ['6036549e-4b52-43ef-a8f8-b8011a0ed878'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e59710b517584da1943a803ee2b6f905'}} 2025-08-14 14:26:37,779 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:26:38,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:26:38,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:26:38,478 - INFO - Waiting for VM ctest-vn1-vm1-81318375 to be up.. 2025-08-14 14:26:38,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:26:43,595 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:26:43,595 - INFO - VM name : ctest-vn1-vm1-81318375 2025-08-14 14:26:43,677 - DEBUG - VM ctest-vn1-vm1-81318375 ID is 72474493-4e96-4bdc-a3d2-390efb3119dd 2025-08-14 14:26:43,699 - DEBUG - VM ctest-vn1-vm1-81318375 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:26:43,799 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/72474493-4e96-4bdc-a3d2-390efb3119dd 2025-08-14 14:26:43,809 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e10842b8-79f7-416a-8b36-499ed24cd61f 2025-08-14 14:26:47,075 - 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 1017ms') 2025-08-14 14:26:47,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81318375 failed! 2025-08-14 14:26:47,133 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43940880:ctest-vn1-36248713 is 77.165.79.65 and allocation pool is NOT set 2025-08-14 14:26:47,133 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43940880:ctest-vn1-36248713 is 138.162.134.129 and allocation pool is NOT set 2025-08-14 14:26:51,199 - 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=2 ttl=63 time=7.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.773/7.773/7.773/0.000 ms') 2025-08-14 14:26:51,199 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81318375 passed 2025-08-14 14:26:51,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:26:51,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81318375, IP 77.165.79.69, Port 22 2025-08-14 14:26:51,509 - DEBUG - VM ctest-vn1-vm1-81318375 is ready for SSH connections 2025-08-14 14:26:51,509 - INFO - Waiting for VM ctest-vn1-vm2-34769594 to be up.. 2025-08-14 14:26:51,582 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:26:51,582 - INFO - VM name : ctest-vn1-vm2-34769594 2025-08-14 14:26:51,651 - DEBUG - VM ctest-vn1-vm2-34769594 ID is ff97ebe3-8f82-48cd-8e3f-20254b791db7 2025-08-14 14:26:51,651 - DEBUG - VM ctest-vn1-vm2-34769594 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:26:51,721 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ff97ebe3-8f82-48cd-8e3f-20254b791db7 2025-08-14 14:26:51,729 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9c1f1ca8-0303-434b-80d9-1d8a468927bd 2025-08-14 14:26:52,965 - 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.470 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.470/1.774/3.079/1.304 ms') 2025-08-14 14:26:52,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34769594 passed 2025-08-14 14:26:53,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:26:53,113 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34769594, IP 138.162.134.133, Port 22 2025-08-14 14:26:53,268 - DEBUG - VM ctest-vn1-vm2-34769594 is ready for SSH connections 2025-08-14 14:26:53,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:26:53,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:26:53,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:26:53,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.165.79.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:26:53,269 - DEBUG - ping -s 56 -c 3 -W 1 77.165.79.69 2025-08-14 14:26:55,927 - DEBUG - PING 77.165.79.69 (77.165.79.69): 56 data bytes 64 bytes from 77.165.79.69: seq=0 ttl=63 time=4.396 ms 64 bytes from 77.165.79.69: seq=1 ttl=63 time=0.936 ms 64 bytes from 77.165.79.69: seq=2 ttl=63 time=0.770 ms --- 77.165.79.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/2.034/4.396 ms 2025-08-14 14:26:55,927 - INFO - Ping to IP 77.165.79.69 from VM ctest-vn1-vm2-34769594 passed 2025-08-14 14:26:55,928 - INFO - Detaching port 9c1f1ca8-0303-434b-80d9-1d8a468927bd from VM ctest-vn1-vm2-34769594 2025-08-14 14:26:55,978 - INFO - Deleting VM ctest-vn1-vm2-34769594 2025-08-14 14:26:56,047 - INFO - Detaching port e10842b8-79f7-416a-8b36-499ed24cd61f from VM ctest-vn1-vm1-81318375 2025-08-14 14:26:56,098 - INFO - Deleting VM ctest-vn1-vm1-81318375 2025-08-14 14:26:56,358 - DEBUG - Response for delete_port : () 2025-08-14 14:26:56,508 - DEBUG - Response for delete_port : () 2025-08-14 14:26:56,508 - INFO - Deleting VN ctest-vn1-36248713 2025-08-14 14:26:56,659 - DEBUG - Response for deleting network () 2025-08-14 14:26:56,931 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:26:56,931 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-08-14 14:26:56,931 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:26:57,677 - INFO - Deleted project: ctest-TestPorts-43940880, ID : e59710b5-1758-4da1-943a-803ee2b6f905