2025-10-09 14:55:08,306 - INFO - Domain Default found not creating 2025-10-09 14:55:08,441 - INFO - Project ctest-TestPorts-11090903 not found, creating it 2025-10-09 14:55:08,886 - INFO - Created Project:ctest-TestPorts-11090903, ID : 7b6d4486-56da-492c-b358-529cc22551f2 2025-10-09 14:55:10,243 - INFO - ================================================================================ 2025-10-09 14:55:10,243 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 14:55:10,243 - 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-10-09 14:55:10,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2025-10-09 14:55:10,497 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:55:10,497 - INFO - 2025-10-09 14:55:11,040 - DEBUG - Response for create_network : {'network': {'id': '336a1bb3-b125-49ba-adcc-b8c9a6a92a59', 'name': 'ctest-vn-56121587', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'project_id': '7b6d448656da492cb358529cc22551f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11090903', 'ctest-vn-56121587'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:55:11,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deaa1424-62bf-4e40-9b6c-93551a047b3d', 'name': '', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '336a1bb3-b125-49ba-adcc-b8c9a6a92a59', 'ip_version': 4, 'cidr': '104.5.136.64/26', 'allocation_pools': [{'start': '104.5.136.66', 'end': '104.5.136.126'}], 'gateway_ip': '104.5.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.5.136.66', 'tags': [], 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:11,365 - INFO - Created VN ctest-vn-56121587 2025-10-09 14:55:11,415 - DEBUG - VN ctest-vn-56121587 UUID is 336a1bb3-b125-49ba-adcc-b8c9a6a92a59 2025-10-09 14:55:11,517 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11090903', 'ctest-vmi-13970554']} 2025-10-09 14:55:11,825 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13970554', 'id': '20fd2269-9288-4b25-b129-9d645a3b4875', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '336a1bb3-b125-49ba-adcc-b8c9a6a92a59', 'mac_address': '02:20:fd:22:69:92', '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': '104.5.136.67', 'subnet_id': 'deaa1424-62bf-4e40-9b6c-93551a047b3d'}], 'security_groups': ['4f23a00b-a42e-4c58-a80d-a7ac23dad335'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:11,825 - DEBUG - Created port 20fd2269-9288-4b25-b129-9d645a3b4875 2025-10-09 14:55:11,931 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/20fd2269-9288-4b25-b129-9d645a3b4875 2025-10-09 14:55:12,234 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/20fd2269-9288-4b25-b129-9d645a3b4875 2025-10-09 14:55:12,266 - INFO - VMI 20fd2269-9288-4b25-b129-9d645a3b4875 verification in API Server passed 2025-10-09 14:55:12,364 - DEBUG - Response for delete_port : () 2025-10-09 14:55:12,364 - INFO - Deleted port 20fd2269-9288-4b25-b129-9d645a3b4875 2025-10-09 14:55:12,364 - INFO - Deleting VN ctest-vn-56121587 2025-10-09 14:55:12,472 - DEBUG - Response for deleting network () 2025-10-09 14:55:12,728 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:55:12,728 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-09 14:55:12,728 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:55:12,730 - INFO - ================================================================================ 2025-10-09 14:55:12,730 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 14:55:12,730 - 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-10-09 14:55:13,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2025-10-09 14:55:13,017 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:55:13,017 - INFO - 2025-10-09 14:55:13,180 - DEBUG - Response for create_network : {'network': {'id': '39a28cfe-65de-4cfd-aa59-df98fccf50e9', 'name': 'ctest-vn1-70646512', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'project_id': '7b6d448656da492cb358529cc22551f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11090903', 'ctest-vn1-70646512'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:55:13,408 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9aa814c-b710-470a-b7b6-d97c56763374', 'name': '', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '39a28cfe-65de-4cfd-aa59-df98fccf50e9', 'ip_version': 4, 'cidr': '115.208.216.64/26', 'allocation_pools': [{'start': '115.208.216.66', 'end': '115.208.216.126'}], 'gateway_ip': '115.208.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.208.216.66', 'tags': [], 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:13,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '485df3db-0d78-44af-bd22-2cc8d35b0b54', 'name': '', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '39a28cfe-65de-4cfd-aa59-df98fccf50e9', 'ip_version': 4, 'cidr': '206.77.128.64/26', 'allocation_pools': [{'start': '206.77.128.66', 'end': '206.77.128.126'}], 'gateway_ip': '206.77.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.77.128.66', 'tags': [], 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:13,628 - INFO - Created VN ctest-vn1-70646512 2025-10-09 14:55:13,679 - DEBUG - VN ctest-vn1-70646512 UUID is 39a28cfe-65de-4cfd-aa59-df98fccf50e9 2025-10-09 14:55:13,995 - DEBUG - Response for create_port : {'port': {'name': '3295fa67-0b3a-4520-b50c-0a13417e6aca', 'id': '3295fa67-0b3a-4520-b50c-0a13417e6aca', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '39a28cfe-65de-4cfd-aa59-df98fccf50e9', 'mac_address': '02:32:95:fa:67:0b', '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': '115.208.216.69', 'subnet_id': 'f9aa814c-b710-470a-b7b6-d97c56763374'}], 'security_groups': ['4f23a00b-a42e-4c58-a80d-a7ac23dad335'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:14,174 - DEBUG - Response for create_port : {'port': {'name': 'a84adc28-e22a-4d70-8938-6002bb5ffd3e', 'id': 'a84adc28-e22a-4d70-8938-6002bb5ffd3e', 'tenant_id': '7b6d448656da492cb358529cc22551f2', 'network_id': '39a28cfe-65de-4cfd-aa59-df98fccf50e9', 'mac_address': '02:a8:4a:dc:28:e2', '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': '206.77.128.69', 'subnet_id': '485df3db-0d78-44af-bd22-2cc8d35b0b54'}], 'security_groups': ['4f23a00b-a42e-4c58-a80d-a7ac23dad335'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b6d448656da492cb358529cc22551f2'}} 2025-10-09 14:55:14,233 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:55:14,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4265-1) 2025-10-09 14:55:14,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4265-1) 2025-10-09 14:55:14,919 - INFO - Waiting for VM ctest-vn1-vm1-51040307 to be up.. 2025-10-09 14:55:14,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:55:20,026 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:55:20,026 - INFO - VM name : ctest-vn1-vm1-51040307 2025-10-09 14:55:20,095 - DEBUG - VM ctest-vn1-vm1-51040307 ID is 8722e072-a9ce-4703-8689-b00b891b59c3 2025-10-09 14:55:20,114 - DEBUG - VM ctest-vn1-vm1-51040307 launched on Node cn-jenkins-deploy-platform-ansible-os-4265-1 2025-10-09 14:55:20,185 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8722e072-a9ce-4703-8689-b00b891b59c3 2025-10-09 14:55:20,192 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3295fa67-0b3a-4520-b50c-0a13417e6aca 2025-10-09 14:55:23,459 - 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 1030ms') 2025-10-09 14:55:23,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51040307 failed! 2025-10-09 14:55:23,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11090903:ctest-vn1-70646512 is 115.208.216.65 and allocation pool is NOT set 2025-10-09 14:55:23,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11090903:ctest-vn1-70646512 is 206.77.128.65 and allocation pool is NOT set 2025-10-09 14:55:25,572 - 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=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 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.166/2.940/3.715/0.774 ms') 2025-10-09 14:55:25,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51040307 passed 2025-10-09 14:55:25,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:55:25,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51040307, IP 115.208.216.69, Port 22 2025-10-09 14:55:25,870 - DEBUG - VM ctest-vn1-vm1-51040307 is ready for SSH connections 2025-10-09 14:55:25,870 - INFO - Waiting for VM ctest-vn1-vm2-46306191 to be up.. 2025-10-09 14:55:25,947 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:55:25,947 - INFO - VM name : ctest-vn1-vm2-46306191 2025-10-09 14:55:26,033 - DEBUG - VM ctest-vn1-vm2-46306191 ID is 397c711b-b1d9-4bd0-8447-a7e603638d75 2025-10-09 14:55:26,033 - DEBUG - VM ctest-vn1-vm2-46306191 launched on Node cn-jenkins-deploy-platform-ansible-os-4265-1 2025-10-09 14:55:26,114 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/397c711b-b1d9-4bd0-8447-a7e603638d75 2025-10-09 14:55:26,123 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a84adc28-e22a-4d70-8938-6002bb5ffd3e 2025-10-09 14:55:27,362 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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.473/1.567/2.661/1.094 ms') 2025-10-09 14:55:27,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46306191 passed 2025-10-09 14:55:27,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:55:27,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46306191, IP 206.77.128.69, Port 22 2025-10-09 14:55:27,667 - DEBUG - VM ctest-vn1-vm2-46306191 is ready for SSH connections 2025-10-09 14:55:27,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:55:27,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:55:27,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:55:27,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.208.216.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 14:55:27,667 - DEBUG - ping -s 56 -c 3 -W 1 115.208.216.69 2025-10-09 14:55:30,307 - DEBUG - PING 115.208.216.69 (115.208.216.69): 56 data bytes 64 bytes from 115.208.216.69: seq=0 ttl=63 time=3.552 ms 64 bytes from 115.208.216.69: seq=1 ttl=63 time=0.808 ms 64 bytes from 115.208.216.69: seq=2 ttl=63 time=0.843 ms --- 115.208.216.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.734/3.552 ms 2025-10-09 14:55:30,307 - INFO - Ping to IP 115.208.216.69 from VM ctest-vn1-vm2-46306191 passed 2025-10-09 14:55:30,307 - INFO - Detaching port a84adc28-e22a-4d70-8938-6002bb5ffd3e from VM ctest-vn1-vm2-46306191 2025-10-09 14:55:30,354 - INFO - Deleting VM ctest-vn1-vm2-46306191 2025-10-09 14:55:30,416 - INFO - Detaching port 3295fa67-0b3a-4520-b50c-0a13417e6aca from VM ctest-vn1-vm1-51040307 2025-10-09 14:55:30,448 - INFO - Deleting VM ctest-vn1-vm1-51040307 2025-10-09 14:55:30,657 - DEBUG - Response for delete_port : () 2025-10-09 14:55:30,808 - DEBUG - Response for delete_port : () 2025-10-09 14:55:30,808 - INFO - Deleting VN ctest-vn1-70646512 2025-10-09 14:55:30,940 - DEBUG - Response for deleting network () 2025-10-09 14:55:31,196 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:55:31,196 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-09 14:55:31,196 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:55:31,883 - INFO - Deleted project: ctest-TestPorts-11090903, ID : 7b6d4486-56da-492c-b358-529cc22551f2