2025-09-08 02:29:42,827 - INFO - Domain Default found not creating 2025-09-08 02:29:43,008 - INFO - Project ctest-TestPorts-37834155 not found, creating it 2025-09-08 02:29:43,663 - INFO - Created Project:ctest-TestPorts-37834155, ID : 55cc3422-c74a-4ea4-9892-a61768bd9fa9 2025-09-08 02:29:45,334 - INFO - ================================================================================ 2025-09-08 02:29:45,334 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 02:29:45,334 - 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-09-08 02:29:46,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.129': '0'}} with 2025-09-08 02:29:46,771 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:29:46,771 - INFO - 2025-09-08 02:29:47,517 - DEBUG - Response for create_network : {'network': {'id': 'd66581be-f768-40d0-83df-cadef19b5e19', 'name': 'ctest-vn-79767707', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'project_id': '55cc3422c74a4ea49892a61768bd9fa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37834155', 'ctest-vn-79767707'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:29:47,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '634a1851-d3a0-4533-9f77-5392f44ea999', 'name': '', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': 'd66581be-f768-40d0-83df-cadef19b5e19', 'ip_version': 4, 'cidr': '63.195.122.192/26', 'allocation_pools': [{'start': '63.195.122.194', 'end': '63.195.122.254'}], 'gateway_ip': '63.195.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.195.122.194', 'tags': [], 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:47,841 - INFO - Created VN ctest-vn-79767707 2025-09-08 02:29:47,859 - DEBUG - VN ctest-vn-79767707 UUID is d66581be-f768-40d0-83df-cadef19b5e19 2025-09-08 02:29:47,936 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37834155', 'ctest-vmi-01520811']} 2025-09-08 02:29:48,236 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01520811', 'id': '82863966-8bc0-4a68-9807-d89940b5a560', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': 'd66581be-f768-40d0-83df-cadef19b5e19', 'mac_address': '02:82:86:39:66:8b', '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': '63.195.122.195', 'subnet_id': '634a1851-d3a0-4533-9f77-5392f44ea999'}], 'security_groups': ['b8dd7660-b39b-4526-9f69-ec4a0538024b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:48,237 - DEBUG - Created port 82863966-8bc0-4a68-9807-d89940b5a560 2025-09-08 02:29:48,311 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/82863966-8bc0-4a68-9807-d89940b5a560 2025-09-08 02:29:48,658 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/82863966-8bc0-4a68-9807-d89940b5a560 2025-09-08 02:29:48,703 - INFO - VMI 82863966-8bc0-4a68-9807-d89940b5a560 verification in API Server passed 2025-09-08 02:29:48,906 - DEBUG - Response for delete_port : () 2025-09-08 02:29:48,906 - INFO - Deleted port 82863966-8bc0-4a68-9807-d89940b5a560 2025-09-08 02:29:48,906 - INFO - Deleting VN ctest-vn-79767707 2025-09-08 02:29:49,083 - DEBUG - Response for deleting network () 2025-09-08 02:29:50,474 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:29:50,474 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-09-08 02:29:50,475 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:29:50,477 - INFO - ================================================================================ 2025-09-08 02:29:50,477 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 02:29:50,477 - 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-09-08 02:29:51,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.129': '0'}} with 2025-09-08 02:29:51,854 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:29:51,854 - INFO - 2025-09-08 02:29:52,113 - DEBUG - Response for create_network : {'network': {'id': '1c878942-9d02-4130-9be2-429bbc022189', 'name': 'ctest-vn1-62683643', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'project_id': '55cc3422c74a4ea49892a61768bd9fa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37834155', 'ctest-vn1-62683643'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:29:52,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bb703a2-8dd5-4bb2-b998-bd36d41d7cff', 'name': '', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': '1c878942-9d02-4130-9be2-429bbc022189', 'ip_version': 4, 'cidr': '107.28.134.192/26', 'allocation_pools': [{'start': '107.28.134.194', 'end': '107.28.134.254'}], 'gateway_ip': '107.28.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.28.134.194', 'tags': [], 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:52,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '6391af6a-1cc3-476e-bd27-35a785410741', 'name': '', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': '1c878942-9d02-4130-9be2-429bbc022189', 'ip_version': 4, 'cidr': '162.193.0.192/26', 'allocation_pools': [{'start': '162.193.0.194', 'end': '162.193.0.254'}], 'gateway_ip': '162.193.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.193.0.194', 'tags': [], 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:52,563 - INFO - Created VN ctest-vn1-62683643 2025-09-08 02:29:52,580 - DEBUG - VN ctest-vn1-62683643 UUID is 1c878942-9d02-4130-9be2-429bbc022189 2025-09-08 02:29:52,987 - DEBUG - Response for create_port : {'port': {'name': '8c8683b1-0e99-44df-b171-0638fa375a63', 'id': '8c8683b1-0e99-44df-b171-0638fa375a63', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': '1c878942-9d02-4130-9be2-429bbc022189', 'mac_address': '02:8c:86:83:b1:0e', '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': '107.28.134.197', 'subnet_id': '5bb703a2-8dd5-4bb2-b998-bd36d41d7cff'}], 'security_groups': ['b8dd7660-b39b-4526-9f69-ec4a0538024b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:53,228 - DEBUG - Response for create_port : {'port': {'name': 'ef3f7698-bd97-4fad-9a6f-aa311dd9d695', 'id': 'ef3f7698-bd97-4fad-9a6f-aa311dd9d695', 'tenant_id': '55cc3422c74a4ea49892a61768bd9fa9', 'network_id': '1c878942-9d02-4130-9be2-429bbc022189', 'mac_address': '02:ef:3f:76:98:bd', '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': '162.193.0.197', 'subnet_id': '6391af6a-1cc3-476e-bd27-35a785410741'}], 'security_groups': ['b8dd7660-b39b-4526-9f69-ec4a0538024b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55cc3422c74a4ea49892a61768bd9fa9'}} 2025-09-08 02:29:53,292 - DEBUG - Services list from nova: [, , , ] 2025-09-08 02:29:53,794 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4041-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4041-1) 2025-09-08 02:29:54,330 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4041-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4041-2) 2025-09-08 02:29:54,330 - INFO - Waiting for VM ctest-vn1-vm1-35528009 to be up.. 2025-09-08 02:29:54,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:29:59,671 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:29:59,671 - INFO - VM name : ctest-vn1-vm1-35528009 2025-09-08 02:29:59,911 - DEBUG - VM ctest-vn1-vm1-35528009 ID is 1fac88fa-c987-4a69-ac53-9db7d3d1ba6e 2025-09-08 02:29:59,955 - DEBUG - VM ctest-vn1-vm1-35528009 launched on Node an-jenkins-deploy-platform-ansible-os-4041-1 2025-09-08 02:30:00,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fac88fa-c987-4a69-ac53-9db7d3d1ba6e 2025-09-08 02:30:00,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fac88fa-c987-4a69-ac53-9db7d3d1ba6e 2025-09-08 02:30:00,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c8683b1-0e99-44df-b171-0638fa375a63 2025-09-08 02:30:03,753 - 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 1031ms') 2025-09-08 02:30:03,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35528009 failed! 2025-09-08 02:30:03,769 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37834155:ctest-vn1-62683643 is 107.28.134.193 and allocation pool is NOT set 2025-09-08 02:30:03,769 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37834155:ctest-vn1-62683643 is 162.193.0.193 and allocation pool is NOT set 2025-09-08 02:30:05,834 - 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=19.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.148/10.294/19.440/9.146 ms') 2025-09-08 02:30:05,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35528009 passed 2025-09-08 02:30:05,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:05,906 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35528009, IP 107.28.134.197, Port 22 2025-09-08 02:30:05,985 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-08 02:30:06,071 - DEBUG - VM ctest-vn1-vm1-35528009 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 02:30:11,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:11,072 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35528009, IP 107.28.134.197, Port 22 2025-09-08 02:30:11,278 - DEBUG - VM ctest-vn1-vm1-35528009 is ready for SSH connections 2025-09-08 02:30:11,279 - INFO - Waiting for VM ctest-vn1-vm2-35263859 to be up.. 2025-09-08 02:30:11,385 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:30:11,386 - INFO - VM name : ctest-vn1-vm2-35263859 2025-09-08 02:30:11,484 - DEBUG - VM ctest-vn1-vm2-35263859 ID is cc7bcd7c-2530-44e4-b02a-c66e3f9591f5 2025-09-08 02:30:11,484 - DEBUG - VM ctest-vn1-vm2-35263859 launched on Node an-jenkins-deploy-platform-ansible-os-4041-2 2025-09-08 02:30:11,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc7bcd7c-2530-44e4-b02a-c66e3f9591f5 2025-09-08 02:30:11,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef3f7698-bd97-4fad-9a6f-aa311dd9d695 2025-09-08 02:30:12,790 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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.159/6.104/11.050/4.945 ms') 2025-09-08 02:30:12,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35263859 passed 2025-09-08 02:30:12,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:12,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35263859, IP 162.193.0.197, Port 22 2025-09-08 02:30:13,067 - DEBUG - VM ctest-vn1-vm2-35263859 is ready for SSH connections 2025-09-08 02:30:13,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:13,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:13,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:30:13,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.28.134.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-08 02:30:13,068 - DEBUG - ping -s 56 -c 3 -W 1 107.28.134.197 2025-09-08 02:30:16,525 - DEBUG - PING 107.28.134.197 (107.28.134.197): 56 data bytes 64 bytes from 107.28.134.197: seq=0 ttl=63 time=11.824 ms 64 bytes from 107.28.134.197: seq=1 ttl=63 time=2.017 ms 64 bytes from 107.28.134.197: seq=2 ttl=63 time=2.714 ms --- 107.28.134.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.017/5.518/11.824 ms 2025-09-08 02:30:16,525 - INFO - Ping to IP 107.28.134.197 from VM ctest-vn1-vm2-35263859 passed 2025-09-08 02:30:16,526 - INFO - Detaching port ef3f7698-bd97-4fad-9a6f-aa311dd9d695 from VM ctest-vn1-vm2-35263859 2025-09-08 02:30:16,597 - INFO - Deleting VM ctest-vn1-vm2-35263859 2025-09-08 02:30:16,676 - INFO - Detaching port 8c8683b1-0e99-44df-b171-0638fa375a63 from VM ctest-vn1-vm1-35528009 2025-09-08 02:30:16,711 - INFO - Deleting VM ctest-vn1-vm1-35528009 2025-09-08 02:30:17,091 - DEBUG - Response for delete_port : () 2025-09-08 02:30:17,454 - DEBUG - Response for delete_port : () 2025-09-08 02:30:17,454 - INFO - Deleting VN ctest-vn1-62683643 2025-09-08 02:30:17,774 - DEBUG - Response for deleting network () 2025-09-08 02:30:19,178 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:30:19,178 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-09-08 02:30:19,179 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:30:19,987 - INFO - Deleted project: ctest-TestPorts-37834155, ID : 55cc3422-c74a-4ea4-9892-a61768bd9fa9