2025-12-18 02:24:38,293 - INFO - Domain Default found not creating 2025-12-18 02:24:38,474 - INFO - Project ctest-TestPorts-39071811 not found, creating it 2025-12-18 02:24:38,980 - INFO - Created Project:ctest-TestPorts-39071811, ID : f1cc03b7-3e10-4211-9672-db127b630033 2025-12-18 02:24:40,592 - INFO - ================================================================================ 2025-12-18 02:24:40,592 - INFO - STARTING TEST : test_ports_bindings 2025-12-18 02:24:40,592 - 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-12-18 02:24:41,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0', '10.20.0.252': '0'}, '10.0.0.129': {'10.20.0.129': '0', '10.20.0.252': '0'}} with 2025-12-18 02:24:41,887 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:24:41,887 - INFO - 2025-12-18 02:24:42,585 - DEBUG - Response for create_network : {'network': {'id': 'c33f0e7f-95b1-497f-bfea-803058365d78', 'name': 'ctest-vn-89074140', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'project_id': 'f1cc03b73e1042119672db127b630033', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39071811', 'ctest-vn-89074140'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:24:42,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '6406d885-a5c8-4718-a523-60d03a354521', 'name': '', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': 'c33f0e7f-95b1-497f-bfea-803058365d78', 'ip_version': 4, 'cidr': '11.40.106.192/26', 'allocation_pools': [{'start': '11.40.106.194', 'end': '11.40.106.254'}], 'gateway_ip': '11.40.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.40.106.194', 'tags': [], 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:42,902 - INFO - Created VN ctest-vn-89074140 2025-12-18 02:24:42,913 - DEBUG - VN ctest-vn-89074140 UUID is c33f0e7f-95b1-497f-bfea-803058365d78 2025-12-18 02:24:43,002 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39071811', 'ctest-vmi-00257782']} 2025-12-18 02:24:43,321 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00257782', 'id': 'acf837ad-238b-4f67-8ddf-e7bff0fb705a', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': 'c33f0e7f-95b1-497f-bfea-803058365d78', 'mac_address': '02:ac:f8:37:ad:23', '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': '11.40.106.195', 'subnet_id': '6406d885-a5c8-4718-a523-60d03a354521'}], 'security_groups': ['dfef4bae-1974-48bb-9b1d-f1d85518a643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:43,321 - DEBUG - Created port acf837ad-238b-4f67-8ddf-e7bff0fb705a 2025-12-18 02:24:43,394 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/acf837ad-238b-4f67-8ddf-e7bff0fb705a 2025-12-18 02:24:43,701 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/acf837ad-238b-4f67-8ddf-e7bff0fb705a 2025-12-18 02:24:43,740 - INFO - VMI acf837ad-238b-4f67-8ddf-e7bff0fb705a verification in API Server passed 2025-12-18 02:24:43,888 - DEBUG - Response for delete_port : () 2025-12-18 02:24:43,888 - INFO - Deleted port acf837ad-238b-4f67-8ddf-e7bff0fb705a 2025-12-18 02:24:43,888 - INFO - Deleting VN ctest-vn-89074140 2025-12-18 02:24:44,083 - DEBUG - Response for deleting network () 2025-12-18 02:24:45,400 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:24:45,400 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-12-18 02:24:45,400 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:24:45,403 - INFO - ================================================================================ 2025-12-18 02:24:45,404 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-18 02:24:45,404 - 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-12-18 02:24:46,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0', '10.20.0.252': '0'}, '10.0.0.129': {'10.20.0.129': '0', '10.20.0.252': '0'}} with 2025-12-18 02:24:46,701 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:24:46,701 - INFO - 2025-12-18 02:24:46,972 - DEBUG - Response for create_network : {'network': {'id': '145248f6-049a-4ee7-9d07-aff404feb08a', 'name': 'ctest-vn1-08637170', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'project_id': 'f1cc03b73e1042119672db127b630033', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39071811', 'ctest-vn1-08637170'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:24:47,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '298f4d31-ee1e-4fca-b9e3-6447dc03683f', 'name': '', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': '145248f6-049a-4ee7-9d07-aff404feb08a', 'ip_version': 4, 'cidr': '183.4.199.128/26', 'allocation_pools': [{'start': '183.4.199.130', 'end': '183.4.199.190'}], 'gateway_ip': '183.4.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.4.199.130', 'tags': [], 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:47,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '74ce7671-70dd-4641-bdc7-4a0fa31100ba', 'name': '', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': '145248f6-049a-4ee7-9d07-aff404feb08a', 'ip_version': 4, 'cidr': '89.247.127.128/26', 'allocation_pools': [{'start': '89.247.127.130', 'end': '89.247.127.190'}], 'gateway_ip': '89.247.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.247.127.130', 'tags': [], 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:47,451 - INFO - Created VN ctest-vn1-08637170 2025-12-18 02:24:47,469 - DEBUG - VN ctest-vn1-08637170 UUID is 145248f6-049a-4ee7-9d07-aff404feb08a 2025-12-18 02:24:47,878 - DEBUG - Response for create_port : {'port': {'name': '7ec9aa4a-b258-4b3e-953e-ca1ffb75aeb5', 'id': '7ec9aa4a-b258-4b3e-953e-ca1ffb75aeb5', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': '145248f6-049a-4ee7-9d07-aff404feb08a', 'mac_address': '02:7e:c9:aa:4a:b2', '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': '183.4.199.133', 'subnet_id': '298f4d31-ee1e-4fca-b9e3-6447dc03683f'}], 'security_groups': ['dfef4bae-1974-48bb-9b1d-f1d85518a643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:48,206 - DEBUG - Response for create_port : {'port': {'name': '0d7d0c6a-03dc-4141-86da-adec94fbf615', 'id': '0d7d0c6a-03dc-4141-86da-adec94fbf615', 'tenant_id': 'f1cc03b73e1042119672db127b630033', 'network_id': '145248f6-049a-4ee7-9d07-aff404feb08a', 'mac_address': '02:0d:7d:0c:6a:03', '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': '89.247.127.133', 'subnet_id': '74ce7671-70dd-4641-bdc7-4a0fa31100ba'}], 'security_groups': ['dfef4bae-1974-48bb-9b1d-f1d85518a643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1cc03b73e1042119672db127b630033'}} 2025-12-18 02:24:48,274 - DEBUG - Services list from nova: [, , , ] 2025-12-18 02:24:48,864 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-1) 2025-12-18 02:24:49,351 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-2) 2025-12-18 02:24:49,352 - INFO - Waiting for VM ctest-vn1-vm1-43511916 to be up.. 2025-12-18 02:24:49,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:24:54,614 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:24:54,615 - INFO - VM name : ctest-vn1-vm1-43511916 2025-12-18 02:24:54,716 - DEBUG - VM ctest-vn1-vm1-43511916 ID is fb4afc81-0583-4fc1-9c1d-9c7bd71ec9fb 2025-12-18 02:24:54,746 - DEBUG - VM ctest-vn1-vm1-43511916 launched on Node an-jenkins-deploy-platform-ansible-os-4903-1 2025-12-18 02:24:54,830 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fb4afc81-0583-4fc1-9c1d-9c7bd71ec9fb 2025-12-18 02:24:55,139 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fb4afc81-0583-4fc1-9c1d-9c7bd71ec9fb 2025-12-18 02:24:55,184 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7ec9aa4a-b258-4b3e-953e-ca1ffb75aeb5 2025-12-18 02:24:58,362 - 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 1011ms') 2025-12-18 02:24:58,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43511916 failed! 2025-12-18 02:24:58,389 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39071811:ctest-vn1-08637170 is 183.4.199.129 and allocation pool is NOT set 2025-12-18 02:24:58,389 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39071811:ctest-vn1-08637170 is 89.247.127.129 and allocation pool is NOT set 2025-12-18 02:25:02,464 - 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=10.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.820/10.820/10.820/0.000 ms') 2025-12-18 02:25:02,464 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43511916 passed 2025-12-18 02:25:02,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:02,535 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43511916, IP 183.4.199.133, Port 22 2025-12-18 02:25:02,601 - 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-12-18 02:25:02,689 - DEBUG - VM ctest-vn1-vm1-43511916 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:25:07,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:07,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43511916, IP 183.4.199.133, Port 22 2025-12-18 02:25:07,862 - DEBUG - VM ctest-vn1-vm1-43511916 is ready for SSH connections 2025-12-18 02:25:07,862 - INFO - Waiting for VM ctest-vn1-vm2-20524730 to be up.. 2025-12-18 02:25:07,969 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:25:07,969 - INFO - VM name : ctest-vn1-vm2-20524730 2025-12-18 02:25:08,082 - DEBUG - VM ctest-vn1-vm2-20524730 ID is 138bf1e4-a9d3-4d52-9035-0383bdb3fa4b 2025-12-18 02:25:08,082 - DEBUG - VM ctest-vn1-vm2-20524730 launched on Node an-jenkins-deploy-platform-ansible-os-4903-2 2025-12-18 02:25:08,192 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/138bf1e4-a9d3-4d52-9035-0383bdb3fa4b 2025-12-18 02:25:08,206 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0d7d0c6a-03dc-4141-86da-adec94fbf615 2025-12-18 02:25:09,390 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/1.912/3.365/1.453 ms') 2025-12-18 02:25:09,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-20524730 passed 2025-12-18 02:25:09,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:09,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20524730, IP 89.247.127.133, Port 22 2025-12-18 02:25:09,630 - DEBUG - VM ctest-vn1-vm2-20524730 is ready for SSH connections 2025-12-18 02:25:09,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:09,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:09,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:25:09,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.4.199.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-18 02:25:09,630 - DEBUG - ping -s 56 -c 3 -W 1 183.4.199.133 2025-12-18 02:25:12,755 - DEBUG - PING 183.4.199.133 (183.4.199.133): 56 data bytes 64 bytes from 183.4.199.133: seq=0 ttl=63 time=6.758 ms 64 bytes from 183.4.199.133: seq=1 ttl=63 time=2.302 ms 64 bytes from 183.4.199.133: seq=2 ttl=63 time=2.117 ms --- 183.4.199.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.117/3.725/6.758 ms 2025-12-18 02:25:12,756 - INFO - Ping to IP 183.4.199.133 from VM ctest-vn1-vm2-20524730 passed 2025-12-18 02:25:12,756 - INFO - Detaching port 0d7d0c6a-03dc-4141-86da-adec94fbf615 from VM ctest-vn1-vm2-20524730 2025-12-18 02:25:12,810 - INFO - Deleting VM ctest-vn1-vm2-20524730 2025-12-18 02:25:12,881 - INFO - Detaching port 7ec9aa4a-b258-4b3e-953e-ca1ffb75aeb5 from VM ctest-vn1-vm1-43511916 2025-12-18 02:25:12,919 - INFO - Deleting VM ctest-vn1-vm1-43511916 2025-12-18 02:25:13,292 - DEBUG - Response for delete_port : () 2025-12-18 02:25:13,586 - DEBUG - Response for delete_port : () 2025-12-18 02:25:13,587 - INFO - Deleting VN ctest-vn1-08637170 2025-12-18 02:25:13,806 - DEBUG - Response for deleting network () 2025-12-18 02:25:15,163 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:25:15,163 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-12-18 02:25:15,163 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:25:15,942 - INFO - Deleted project: ctest-TestPorts-39071811, ID : f1cc03b7-3e10-4211-9672-db127b630033