2025-10-09 02:17:52,659 - INFO - Domain Default found not creating 2025-10-09 02:17:52,831 - INFO - Project ctest-TestPorts-37169772 not found, creating it 2025-10-09 02:17:53,354 - INFO - Created Project:ctest-TestPorts-37169772, ID : ff5688d1-b9ac-4886-83c2-bb04b1a62bd4 2025-10-09 02:17:54,846 - INFO - ================================================================================ 2025-10-09 02:17:54,846 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 02:17:54,846 - 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 02:17:56,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-10-09 02:17:56,118 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:17:56,118 - INFO - 2025-10-09 02:17:56,781 - DEBUG - Response for create_network : {'network': {'id': '53492e00-7e95-4cc6-8cb7-b6e00fa2bf4f', 'name': 'ctest-vn-65603566', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37169772', 'ctest-vn-65603566'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:17:57,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '62dafb19-f019-4f01-9ccb-062ce7e222f3', 'name': '', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': '53492e00-7e95-4cc6-8cb7-b6e00fa2bf4f', 'ip_version': 4, 'cidr': '140.100.110.0/26', 'allocation_pools': [{'start': '140.100.110.2', 'end': '140.100.110.62'}], 'gateway_ip': '140.100.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.100.110.2', 'tags': [], 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:17:57,072 - INFO - Created VN ctest-vn-65603566 2025-10-09 02:17:57,083 - DEBUG - VN ctest-vn-65603566 UUID is 53492e00-7e95-4cc6-8cb7-b6e00fa2bf4f 2025-10-09 02:17:57,157 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37169772', 'ctest-vmi-33146700']} 2025-10-09 02:17:57,437 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33146700', 'id': 'd9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': '53492e00-7e95-4cc6-8cb7-b6e00fa2bf4f', 'mac_address': '02:d9:bb:24:f9:50', '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': '140.100.110.3', 'subnet_id': '62dafb19-f019-4f01-9ccb-062ce7e222f3'}], 'security_groups': ['7ee4e42b-c2a2-4be3-bdd4-8409865867dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:17:57,437 - DEBUG - Created port d9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9 2025-10-09 02:17:57,510 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/d9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9 2025-10-09 02:17:57,822 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/d9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9 2025-10-09 02:17:57,858 - INFO - VMI d9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9 verification in API Server passed 2025-10-09 02:17:58,002 - DEBUG - Response for delete_port : () 2025-10-09 02:17:58,003 - INFO - Deleted port d9bb24f9-5006-4fd5-8bd6-b5f3b908e3f9 2025-10-09 02:17:58,003 - INFO - Deleting VN ctest-vn-65603566 2025-10-09 02:17:58,169 - DEBUG - Response for deleting network () 2025-10-09 02:17:59,471 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 02:17:59,471 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-09 02:17:59,471 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:17:59,485 - INFO - ================================================================================ 2025-10-09 02:17:59,485 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 02:17:59,485 - 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 02:18:00,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-10-09 02:18:00,786 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:18:00,786 - INFO - 2025-10-09 02:18:01,104 - DEBUG - Response for create_network : {'network': {'id': 'c96eaf72-121d-44f2-aa1a-ab9b3748a516', 'name': 'ctest-vn1-77401188', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37169772', 'ctest-vn1-77401188'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:18:01,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '2378e777-960e-4abb-98ea-65b9c7277158', 'name': '', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': 'c96eaf72-121d-44f2-aa1a-ab9b3748a516', 'ip_version': 4, 'cidr': '112.43.192.0/26', 'allocation_pools': [{'start': '112.43.192.2', 'end': '112.43.192.62'}], 'gateway_ip': '112.43.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.43.192.2', 'tags': [], 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:18:01,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d04fb5-0e66-4766-8ce2-43be96f038ef', 'name': '', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': 'c96eaf72-121d-44f2-aa1a-ab9b3748a516', 'ip_version': 4, 'cidr': '47.197.207.0/26', 'allocation_pools': [{'start': '47.197.207.2', 'end': '47.197.207.62'}], 'gateway_ip': '47.197.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.197.207.2', 'tags': [], 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:18:01,707 - INFO - Created VN ctest-vn1-77401188 2025-10-09 02:18:01,721 - DEBUG - VN ctest-vn1-77401188 UUID is c96eaf72-121d-44f2-aa1a-ab9b3748a516 2025-10-09 02:18:02,126 - DEBUG - Response for create_port : {'port': {'name': '48063469-1cb8-4487-810e-bfb15dde7615', 'id': '48063469-1cb8-4487-810e-bfb15dde7615', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': 'c96eaf72-121d-44f2-aa1a-ab9b3748a516', 'mac_address': '02:48:06:34:69:1c', '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': '112.43.192.5', 'subnet_id': '2378e777-960e-4abb-98ea-65b9c7277158'}], 'security_groups': ['7ee4e42b-c2a2-4be3-bdd4-8409865867dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:18:02,463 - DEBUG - Response for create_port : {'port': {'name': '079b2f8e-69e9-4b23-bdf8-37514413c06b', 'id': '079b2f8e-69e9-4b23-bdf8-37514413c06b', 'tenant_id': 'ff5688d1b9ac488683c2bb04b1a62bd4', 'network_id': 'c96eaf72-121d-44f2-aa1a-ab9b3748a516', 'mac_address': '02:07:9b:2f:8e:69', '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': '47.197.207.5', 'subnet_id': '01d04fb5-0e66-4766-8ce2-43be96f038ef'}], 'security_groups': ['7ee4e42b-c2a2-4be3-bdd4-8409865867dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff5688d1b9ac488683c2bb04b1a62bd4'}} 2025-10-09 02:18:02,526 - DEBUG - Services list from nova: [, , , ] 2025-10-09 02:18:03,007 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-2) 2025-10-09 02:18:03,508 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-1) 2025-10-09 02:18:03,508 - INFO - Waiting for VM ctest-vn1-vm1-13198321 to be up.. 2025-10-09 02:18:03,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 02:18:08,673 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:18:08,673 - INFO - VM name : ctest-vn1-vm1-13198321 2025-10-09 02:18:08,871 - DEBUG - VM ctest-vn1-vm1-13198321 ID is 02c76a89-653a-4a59-ad00-a79d9360d07d 2025-10-09 02:18:08,896 - DEBUG - VM ctest-vn1-vm1-13198321 launched on Node an-jenkins-deploy-platform-ansible-os-4252-2 2025-10-09 02:18:08,977 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/02c76a89-653a-4a59-ad00-a79d9360d07d 2025-10-09 02:18:09,278 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/02c76a89-653a-4a59-ad00-a79d9360d07d 2025-10-09 02:18:09,311 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/48063469-1cb8-4487-810e-bfb15dde7615 2025-10-09 02:18:12,476 - 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 1007ms') 2025-10-09 02:18:12,476 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13198321 failed! 2025-10-09 02:18:12,491 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37169772:ctest-vn1-77401188 is 112.43.192.1 and allocation pool is NOT set 2025-10-09 02:18:12,491 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37169772:ctest-vn1-77401188 is 47.197.207.1 and allocation pool is NOT set 2025-10-09 02:18:14,553 - 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=15.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.452/8.363/15.274/6.911 ms') 2025-10-09 02:18:14,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13198321 passed 2025-10-09 02:18:14,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:18:14,635 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13198321, IP 112.43.192.5, Port 22 2025-10-09 02:18:14,809 - DEBUG - VM ctest-vn1-vm1-13198321 is ready for SSH connections 2025-10-09 02:18:14,809 - INFO - Waiting for VM ctest-vn1-vm2-45341315 to be up.. 2025-10-09 02:18:14,908 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:18:14,908 - INFO - VM name : ctest-vn1-vm2-45341315 2025-10-09 02:18:15,000 - DEBUG - VM ctest-vn1-vm2-45341315 ID is 8283392b-0c12-4612-8bfe-5b904b6268e8 2025-10-09 02:18:15,000 - DEBUG - VM ctest-vn1-vm2-45341315 launched on Node an-jenkins-deploy-platform-ansible-os-4252-1 2025-10-09 02:18:15,128 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8283392b-0c12-4612-8bfe-5b904b6268e8 2025-10-09 02:18:15,142 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/079b2f8e-69e9-4b23-bdf8-37514413c06b 2025-10-09 02:18:16,302 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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 = 0.515/2.009/3.503/1.494 ms') 2025-10-09 02:18:16,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-45341315 passed 2025-10-09 02:18:16,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:18:16,370 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45341315, IP 47.197.207.5, Port 22 2025-10-09 02:18:16,535 - DEBUG - VM ctest-vn1-vm2-45341315 is ready for SSH connections 2025-10-09 02:18:16,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:18:16,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:18:16,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:18:16,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.43.192.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 02:18:16,536 - DEBUG - ping -s 56 -c 3 -W 1 112.43.192.5 2025-10-09 02:18:19,500 - DEBUG - PING 112.43.192.5 (112.43.192.5): 56 data bytes 64 bytes from 112.43.192.5: seq=0 ttl=63 time=5.427 ms 64 bytes from 112.43.192.5: seq=1 ttl=63 time=1.260 ms 64 bytes from 112.43.192.5: seq=2 ttl=63 time=1.758 ms --- 112.43.192.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.260/2.815/5.427 ms 2025-10-09 02:18:19,500 - INFO - Ping to IP 112.43.192.5 from VM ctest-vn1-vm2-45341315 passed 2025-10-09 02:18:19,501 - INFO - Detaching port 079b2f8e-69e9-4b23-bdf8-37514413c06b from VM ctest-vn1-vm2-45341315 2025-10-09 02:18:19,568 - INFO - Deleting VM ctest-vn1-vm2-45341315 2025-10-09 02:18:19,642 - INFO - Detaching port 48063469-1cb8-4487-810e-bfb15dde7615 from VM ctest-vn1-vm1-13198321 2025-10-09 02:18:19,677 - INFO - Deleting VM ctest-vn1-vm1-13198321 2025-10-09 02:18:20,033 - DEBUG - Response for delete_port : () 2025-10-09 02:18:20,302 - DEBUG - Response for delete_port : () 2025-10-09 02:18:20,302 - INFO - Deleting VN ctest-vn1-77401188 2025-10-09 02:18:20,528 - DEBUG - Response for deleting network () 2025-10-09 02:18:21,788 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 02:18:21,788 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-10-09 02:18:21,789 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:18:22,527 - INFO - Deleted project: ctest-TestPorts-37169772, ID : ff5688d1-b9ac-4886-83c2-bb04b1a62bd4