2025-11-03 02:17:23,299 - INFO - Domain Default found not creating 2025-11-03 02:17:23,459 - INFO - Project ctest-TestPorts-22045622 not found, creating it 2025-11-03 02:17:24,002 - INFO - Created Project:ctest-TestPorts-22045622, ID : e6abd81c-5894-44b1-88c9-425a975155be 2025-11-03 02:17:25,392 - INFO - ================================================================================ 2025-11-03 02:17:25,392 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 02:17:25,392 - 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-03 02:17:26,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.33': {'10.20.0.17': '0', '10.20.0.193': '0'}} with 2025-11-03 02:17:26,663 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:17:26,663 - INFO - 2025-11-03 02:17:27,361 - DEBUG - Response for create_network : {'network': {'id': 'aca048b7-6118-4563-ac74-7cae5fa949fe', 'name': 'ctest-vn-54954136', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'project_id': 'e6abd81c589444b188c9425a975155be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22045622', 'ctest-vn-54954136'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:17:27,657 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae7d2190-eb82-4290-9c1c-590fcd8182fa', 'name': '', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'aca048b7-6118-4563-ac74-7cae5fa949fe', 'ip_version': 4, 'cidr': '132.17.145.64/26', 'allocation_pools': [{'start': '132.17.145.66', 'end': '132.17.145.126'}], 'gateway_ip': '132.17.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.17.145.66', 'tags': [], 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:27,679 - INFO - Created VN ctest-vn-54954136 2025-11-03 02:17:27,690 - DEBUG - VN ctest-vn-54954136 UUID is aca048b7-6118-4563-ac74-7cae5fa949fe 2025-11-03 02:17:27,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22045622', 'ctest-vmi-15718563']} 2025-11-03 02:17:28,050 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-15718563', 'id': '3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'aca048b7-6118-4563-ac74-7cae5fa949fe', 'mac_address': '02:3e:08:c5:b0:bd', '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': '132.17.145.67', 'subnet_id': 'ae7d2190-eb82-4290-9c1c-590fcd8182fa'}], 'security_groups': ['e419aced-c4ed-428a-a554-9194c6b4d519'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:28,050 - DEBUG - Created port 3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4 2025-11-03 02:17:28,123 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4 2025-11-03 02:17:28,428 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4 2025-11-03 02:17:28,483 - INFO - VMI 3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4 verification in API Server passed 2025-11-03 02:17:28,644 - DEBUG - Response for delete_port : () 2025-11-03 02:17:28,644 - INFO - Deleted port 3e08c5b0-bdaf-4a7e-b163-07b5a3104ba4 2025-11-03 02:17:28,644 - INFO - Deleting VN ctest-vn-54954136 2025-11-03 02:17:28,804 - DEBUG - Response for deleting network () 2025-11-03 02:17:30,092 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:17:30,092 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-11-03 02:17:30,092 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:17:30,094 - INFO - ================================================================================ 2025-11-03 02:17:30,094 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 02:17:30,095 - 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-03 02:17:31,366 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.33': {'10.20.0.17': '0', '10.20.0.193': '0'}} with 2025-11-03 02:17:31,366 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:17:31,366 - INFO - 2025-11-03 02:17:31,674 - DEBUG - Response for create_network : {'network': {'id': 'c0613adb-4ca1-47b6-94c0-ad15004967fd', 'name': 'ctest-vn1-58028766', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'project_id': 'e6abd81c589444b188c9425a975155be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22045622', 'ctest-vn1-58028766'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:17:31,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b890351-319d-4a62-8766-f53181905ea7', 'name': '', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'c0613adb-4ca1-47b6-94c0-ad15004967fd', 'ip_version': 4, 'cidr': '128.92.91.128/26', 'allocation_pools': [{'start': '128.92.91.130', 'end': '128.92.91.190'}], 'gateway_ip': '128.92.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.92.91.130', 'tags': [], 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:32,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '273eb4b7-c0f2-4d55-aee0-c64d23ec8ceb', 'name': '', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'c0613adb-4ca1-47b6-94c0-ad15004967fd', 'ip_version': 4, 'cidr': '65.199.152.192/26', 'allocation_pools': [{'start': '65.199.152.194', 'end': '65.199.152.254'}], 'gateway_ip': '65.199.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.199.152.194', 'tags': [], 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:32,157 - INFO - Created VN ctest-vn1-58028766 2025-11-03 02:17:32,169 - DEBUG - VN ctest-vn1-58028766 UUID is c0613adb-4ca1-47b6-94c0-ad15004967fd 2025-11-03 02:17:32,530 - DEBUG - Response for create_port : {'port': {'name': '5c0e834a-f492-4ef3-9a22-4f19f10e223f', 'id': '5c0e834a-f492-4ef3-9a22-4f19f10e223f', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'c0613adb-4ca1-47b6-94c0-ad15004967fd', 'mac_address': '02:5c:0e:83:4a:f4', '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': '128.92.91.133', 'subnet_id': '4b890351-319d-4a62-8766-f53181905ea7'}], 'security_groups': ['e419aced-c4ed-428a-a554-9194c6b4d519'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:32,835 - DEBUG - Response for create_port : {'port': {'name': '13e7c330-6f9e-44d2-8e6e-d160c56a47e1', 'id': '13e7c330-6f9e-44d2-8e6e-d160c56a47e1', 'tenant_id': 'e6abd81c589444b188c9425a975155be', 'network_id': 'c0613adb-4ca1-47b6-94c0-ad15004967fd', 'mac_address': '02:13:e7:c3:30:6f', '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': '65.199.152.197', 'subnet_id': '273eb4b7-c0f2-4d55-aee0-c64d23ec8ceb'}], 'security_groups': ['e419aced-c4ed-428a-a554-9194c6b4d519'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6abd81c589444b188c9425a975155be'}} 2025-11-03 02:17:32,886 - DEBUG - Services list from nova: [, , , ] 2025-11-03 02:17:33,414 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4597-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4597-1) 2025-11-03 02:17:33,920 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4597-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4597-2) 2025-11-03 02:17:33,920 - INFO - Waiting for VM ctest-vn1-vm1-60634828 to be up.. 2025-11-03 02:17:33,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:17:39,040 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:17:39,041 - INFO - VM name : ctest-vn1-vm1-60634828 2025-11-03 02:17:39,114 - DEBUG - VM ctest-vn1-vm1-60634828 ID is 6a1c11d4-8715-4ab6-a3c4-fbb52206d25b 2025-11-03 02:17:39,135 - DEBUG - VM ctest-vn1-vm1-60634828 launched on Node an-jenkins-deploy-platform-ansible-os-4597-1 2025-11-03 02:17:39,206 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6a1c11d4-8715-4ab6-a3c4-fbb52206d25b 2025-11-03 02:17:39,498 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6a1c11d4-8715-4ab6-a3c4-fbb52206d25b 2025-11-03 02:17:39,528 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5c0e834a-f492-4ef3-9a22-4f19f10e223f 2025-11-03 02:17:42,694 - 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 1006ms') 2025-11-03 02:17:42,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60634828 failed! 2025-11-03 02:17:42,709 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 128.92.91.129 and allocation pool is NOT set 2025-11-03 02:17:42,710 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 65.199.152.193 and allocation pool is NOT set 2025-11-03 02:17:44,774 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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.377/2.326/4.275/1.949 ms') 2025-11-03 02:17:44,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60634828 passed 2025-11-03 02:17:44,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:17:44,844 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60634828, IP 128.92.91.133, Port 22 2025-11-03 02:17:45,002 - DEBUG - VM ctest-vn1-vm1-60634828 is ready for SSH connections 2025-11-03 02:17:45,002 - INFO - Waiting for VM ctest-vn1-vm2-90506973 to be up.. 2025-11-03 02:17:45,091 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:17:45,092 - INFO - VM name : ctest-vn1-vm2-90506973 2025-11-03 02:17:45,170 - DEBUG - VM ctest-vn1-vm2-90506973 ID is 6ce596a3-6672-4fb9-a923-6774e953c31f 2025-11-03 02:17:45,171 - DEBUG - VM ctest-vn1-vm2-90506973 launched on Node an-jenkins-deploy-platform-ansible-os-4597-2 2025-11-03 02:17:45,252 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6ce596a3-6672-4fb9-a923-6774e953c31f 2025-11-03 02:17:45,263 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/13e7c330-6f9e-44d2-8e6e-d160c56a47e1 2025-11-03 02:17:48,441 - 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 1013ms') 2025-11-03 02:17:48,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-90506973 failed! 2025-11-03 02:17:48,454 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 128.92.91.129 and allocation pool is NOT set 2025-11-03 02:17:48,454 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 65.199.152.193 and allocation pool is NOT set 2025-11-03 02:17:52,528 - 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 1009ms') 2025-11-03 02:17:52,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-90506973 failed! 2025-11-03 02:17:52,542 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 128.92.91.129 and allocation pool is NOT set 2025-11-03 02:17:52,542 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22045622:ctest-vn1-58028766 is 65.199.152.193 and allocation pool is NOT set 2025-11-03 02:17:56,627 - 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=4.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 4.348/4.348/4.348/0.000 ms') 2025-11-03 02:17:56,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-90506973 passed 2025-11-03 02:17:56,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:17:56,713 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90506973, IP 65.199.152.197, Port 22 2025-11-03 02:17:56,897 - DEBUG - VM ctest-vn1-vm2-90506973 is ready for SSH connections 2025-11-03 02:17:56,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:17:56,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:17:56,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:17:56,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.92.91.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 02:17:56,898 - DEBUG - ping -s 56 -c 3 -W 1 128.92.91.133 2025-11-03 02:17:59,865 - DEBUG - PING 128.92.91.133 (128.92.91.133): 56 data bytes 64 bytes from 128.92.91.133: seq=0 ttl=63 time=5.960 ms 64 bytes from 128.92.91.133: seq=1 ttl=63 time=1.291 ms 64 bytes from 128.92.91.133: seq=2 ttl=63 time=1.312 ms --- 128.92.91.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.291/2.854/5.960 ms 2025-11-03 02:17:59,865 - INFO - Ping to IP 128.92.91.133 from VM ctest-vn1-vm2-90506973 passed 2025-11-03 02:17:59,865 - INFO - Detaching port 13e7c330-6f9e-44d2-8e6e-d160c56a47e1 from VM ctest-vn1-vm2-90506973 2025-11-03 02:17:59,914 - INFO - Deleting VM ctest-vn1-vm2-90506973 2025-11-03 02:17:59,987 - INFO - Detaching port 5c0e834a-f492-4ef3-9a22-4f19f10e223f from VM ctest-vn1-vm1-60634828 2025-11-03 02:18:00,019 - INFO - Deleting VM ctest-vn1-vm1-60634828 2025-11-03 02:18:00,348 - DEBUG - Response for delete_port : () 2025-11-03 02:18:00,623 - DEBUG - Response for delete_port : () 2025-11-03 02:18:00,623 - INFO - Deleting VN ctest-vn1-58028766 2025-11-03 02:18:00,825 - DEBUG - Response for deleting network () 2025-11-03 02:18:02,114 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:18:02,115 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:32]
2025-11-03 02:18:02,115 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:18:02,860 - INFO - Deleted project: ctest-TestPorts-22045622, ID : e6abd81c-5894-44b1-88c9-425a975155be