2025-10-08 13:51:39,111 - INFO - Domain Default found not creating 2025-10-08 13:51:39,284 - INFO - Project ctest-TestPorts-41646252 not found, creating it 2025-10-08 13:51:39,940 - INFO - Created Project:ctest-TestPorts-41646252, ID : e696cbdc-498e-47ee-9981-6d060995e564 2025-10-08 13:51:41,678 - INFO - ================================================================================ 2025-10-08 13:51:41,679 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 13:51:41,679 - 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-08 13:51:42,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 13:51:42,969 - INFO - Initial checks done. Running the testcase now 2025-10-08 13:51:42,969 - INFO - 2025-10-08 13:51:43,661 - DEBUG - Response for create_network : {'network': {'id': '8e07f3a8-22f7-434e-bc8a-4c39cdde13ba', 'name': 'ctest-vn-94516036', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'project_id': 'e696cbdc498e47ee99816d060995e564', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41646252', 'ctest-vn-94516036'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:51:43,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '18ea44d1-3e4a-4b1c-957c-558dc0736754', 'name': '', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': '8e07f3a8-22f7-434e-bc8a-4c39cdde13ba', 'ip_version': 4, 'cidr': '78.141.196.192/26', 'allocation_pools': [{'start': '78.141.196.194', 'end': '78.141.196.254'}], 'gateway_ip': '78.141.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.141.196.194', 'tags': [], 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:44,021 - INFO - Created VN ctest-vn-94516036 2025-10-08 13:51:44,035 - DEBUG - VN ctest-vn-94516036 UUID is 8e07f3a8-22f7-434e-bc8a-4c39cdde13ba 2025-10-08 13:51:44,134 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41646252', 'ctest-vmi-96953713']} 2025-10-08 13:51:44,461 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96953713', 'id': 'decba935-dbaf-4774-9efe-ef80c65e446b', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': '8e07f3a8-22f7-434e-bc8a-4c39cdde13ba', 'mac_address': '02:de:cb:a9:35:db', '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': '78.141.196.195', 'subnet_id': '18ea44d1-3e4a-4b1c-957c-558dc0736754'}], 'security_groups': ['7ccc76e3-d17b-434b-a7de-d586410a7561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:44,461 - DEBUG - Created port decba935-dbaf-4774-9efe-ef80c65e446b 2025-10-08 13:51:44,540 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/decba935-dbaf-4774-9efe-ef80c65e446b 2025-10-08 13:51:44,854 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/decba935-dbaf-4774-9efe-ef80c65e446b 2025-10-08 13:51:44,902 - INFO - VMI decba935-dbaf-4774-9efe-ef80c65e446b verification in API Server passed 2025-10-08 13:51:45,078 - DEBUG - Response for delete_port : () 2025-10-08 13:51:45,078 - INFO - Deleted port decba935-dbaf-4774-9efe-ef80c65e446b 2025-10-08 13:51:45,078 - INFO - Deleting VN ctest-vn-94516036 2025-10-08 13:51:45,305 - DEBUG - Response for deleting network () 2025-10-08 13:51:46,577 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:51:46,577 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-08 13:51:46,578 - INFO - -------------------------------------------------------------------------------- 2025-10-08 13:51:46,581 - INFO - ================================================================================ 2025-10-08 13:51:46,582 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 13:51:46,582 - 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-08 13:51:47,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 13:51:47,870 - INFO - Initial checks done. Running the testcase now 2025-10-08 13:51:47,870 - INFO - 2025-10-08 13:51:48,126 - DEBUG - Response for create_network : {'network': {'id': 'b299c287-9a18-40c5-b48a-160c9704b297', 'name': 'ctest-vn1-98689119', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'project_id': 'e696cbdc498e47ee99816d060995e564', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41646252', 'ctest-vn1-98689119'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:51:48,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b1031d9-3c45-496a-829e-b86940dbccf1', 'name': '', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': 'b299c287-9a18-40c5-b48a-160c9704b297', 'ip_version': 4, 'cidr': '37.94.254.192/26', 'allocation_pools': [{'start': '37.94.254.194', 'end': '37.94.254.254'}], 'gateway_ip': '37.94.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.94.254.194', 'tags': [], 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:48,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c2f11b4-26a3-4a3f-b100-4e06a3c845c8', 'name': '', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': 'b299c287-9a18-40c5-b48a-160c9704b297', 'ip_version': 4, 'cidr': '168.153.4.64/26', 'allocation_pools': [{'start': '168.153.4.66', 'end': '168.153.4.126'}], 'gateway_ip': '168.153.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.153.4.66', 'tags': [], 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:48,683 - INFO - Created VN ctest-vn1-98689119 2025-10-08 13:51:48,698 - DEBUG - VN ctest-vn1-98689119 UUID is b299c287-9a18-40c5-b48a-160c9704b297 2025-10-08 13:51:49,090 - DEBUG - Response for create_port : {'port': {'name': '0e0db92d-6f9f-4b16-aa4c-2ef7a4a011ff', 'id': '0e0db92d-6f9f-4b16-aa4c-2ef7a4a011ff', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': 'b299c287-9a18-40c5-b48a-160c9704b297', 'mac_address': '02:0e:0d:b9:2d: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': '37.94.254.197', 'subnet_id': '0b1031d9-3c45-496a-829e-b86940dbccf1'}], 'security_groups': ['7ccc76e3-d17b-434b-a7de-d586410a7561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:49,397 - DEBUG - Response for create_port : {'port': {'name': '2f6da0c4-7343-4983-a098-84a084645546', 'id': '2f6da0c4-7343-4983-a098-84a084645546', 'tenant_id': 'e696cbdc498e47ee99816d060995e564', 'network_id': 'b299c287-9a18-40c5-b48a-160c9704b297', 'mac_address': '02:2f:6d:a0:c4:73', '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': '168.153.4.69', 'subnet_id': '0c2f11b4-26a3-4a3f-b100-4e06a3c845c8'}], 'security_groups': ['7ccc76e3-d17b-434b-a7de-d586410a7561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e696cbdc498e47ee99816d060995e564'}} 2025-10-08 13:51:49,471 - DEBUG - Services list from nova: [, , , ] 2025-10-08 13:51:49,952 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 13:51:50,485 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-1) 2025-10-08 13:51:50,485 - INFO - Waiting for VM ctest-vn1-vm1-19426964 to be up.. 2025-10-08 13:51:50,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 13:51:55,645 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:51:55,645 - INFO - VM name : ctest-vn1-vm1-19426964 2025-10-08 13:51:55,869 - DEBUG - VM ctest-vn1-vm1-19426964 ID is 78bad10b-59dd-4372-b82e-d68172db0ab3 2025-10-08 13:51:55,905 - DEBUG - VM ctest-vn1-vm1-19426964 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 13:51:56,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/78bad10b-59dd-4372-b82e-d68172db0ab3 2025-10-08 13:51:56,347 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/78bad10b-59dd-4372-b82e-d68172db0ab3 2025-10-08 13:51:56,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0e0db92d-6f9f-4b16-aa4c-2ef7a4a011ff 2025-10-08 13:51:59,560 - 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 1003ms') 2025-10-08 13:51:59,560 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19426964 failed! 2025-10-08 13:51:59,631 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41646252:ctest-vn1-98689119 is 37.94.254.193 and allocation pool is NOT set 2025-10-08 13:51:59,631 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41646252:ctest-vn1-98689119 is 168.153.4.65 and allocation pool is NOT set 2025-10-08 13:52:03,716 - 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 1025ms') 2025-10-08 13:52:03,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19426964 failed! 2025-10-08 13:52:03,733 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41646252:ctest-vn1-98689119 is 37.94.254.193 and allocation pool is NOT set 2025-10-08 13:52:03,734 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41646252:ctest-vn1-98689119 is 168.153.4.65 and allocation pool is NOT set 2025-10-08 13:52:05,805 - 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=169 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.938/85.920/168.902/82.982 ms') 2025-10-08 13:52:05,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19426964 passed 2025-10-08 13:52:05,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:05,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19426964, IP 37.94.254.197, Port 22 2025-10-08 13:52:05,937 - 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-10-08 13:52:06,040 - DEBUG - VM ctest-vn1-vm1-19426964 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 13:52:11,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:11,041 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19426964, IP 37.94.254.197, Port 22 2025-10-08 13:52:11,211 - DEBUG - VM ctest-vn1-vm1-19426964 is ready for SSH connections 2025-10-08 13:52:11,211 - INFO - Waiting for VM ctest-vn1-vm2-61046018 to be up.. 2025-10-08 13:52:11,341 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:52:11,341 - INFO - VM name : ctest-vn1-vm2-61046018 2025-10-08 13:52:11,463 - DEBUG - VM ctest-vn1-vm2-61046018 ID is 4fce9e8d-6140-45ac-a7cd-314de884a051 2025-10-08 13:52:11,463 - DEBUG - VM ctest-vn1-vm2-61046018 launched on Node an-jenkins-deploy-platform-ansible-os-4236-1 2025-10-08 13:52:11,567 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4fce9e8d-6140-45ac-a7cd-314de884a051 2025-10-08 13:52:11,579 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2f6da0c4-7343-4983-a098-84a084645546 2025-10-08 13:52:12,754 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.722/3.042/1.319 ms') 2025-10-08 13:52:12,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-61046018 passed 2025-10-08 13:52:12,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:12,839 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61046018, IP 168.153.4.69, Port 22 2025-10-08 13:52:12,994 - DEBUG - VM ctest-vn1-vm2-61046018 is ready for SSH connections 2025-10-08 13:52:12,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:12,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:12,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:12,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.94.254.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 13:52:12,995 - DEBUG - ping -s 56 -c 3 -W 1 37.94.254.197 2025-10-08 13:52:15,939 - DEBUG - PING 37.94.254.197 (37.94.254.197): 56 data bytes 64 bytes from 37.94.254.197: seq=0 ttl=63 time=5.010 ms 64 bytes from 37.94.254.197: seq=1 ttl=63 time=1.060 ms 64 bytes from 37.94.254.197: seq=2 ttl=63 time=1.305 ms --- 37.94.254.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.458/5.010 ms 2025-10-08 13:52:15,939 - INFO - Ping to IP 37.94.254.197 from VM ctest-vn1-vm2-61046018 passed 2025-10-08 13:52:15,940 - INFO - Detaching port 2f6da0c4-7343-4983-a098-84a084645546 from VM ctest-vn1-vm2-61046018 2025-10-08 13:52:16,000 - INFO - Deleting VM ctest-vn1-vm2-61046018 2025-10-08 13:52:16,105 - INFO - Detaching port 0e0db92d-6f9f-4b16-aa4c-2ef7a4a011ff from VM ctest-vn1-vm1-19426964 2025-10-08 13:52:16,147 - INFO - Deleting VM ctest-vn1-vm1-19426964 2025-10-08 13:52:16,533 - DEBUG - Response for delete_port : () 2025-10-08 13:52:16,879 - DEBUG - Response for delete_port : () 2025-10-08 13:52:16,879 - INFO - Deleting VN ctest-vn1-98689119 2025-10-08 13:52:17,162 - DEBUG - Response for deleting network () 2025-10-08 13:52:18,462 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:52:18,462 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:32]
2025-10-08 13:52:18,462 - INFO - -------------------------------------------------------------------------------- 2025-10-08 13:52:19,337 - INFO - Deleted project: ctest-TestPorts-41646252, ID : e696cbdc-498e-47ee-9981-6d060995e564