2025-11-06 02:22:49,408 - INFO - Domain Default found not creating 2025-11-06 02:22:49,549 - INFO - Project ctest-TestPorts-64653328 not found, creating it 2025-11-06 02:22:50,149 - INFO - Created Project:ctest-TestPorts-64653328, ID : dcc5345a-d7de-4074-8e6d-fb5d4dfbb72e 2025-11-06 02:22:51,596 - INFO - ================================================================================ 2025-11-06 02:22:51,596 - INFO - STARTING TEST : test_ports_bindings 2025-11-06 02:22:51,596 - 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-06 02:22:52,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-11-06 02:22:52,871 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:22:52,871 - INFO - 2025-11-06 02:22:53,610 - DEBUG - Response for create_network : {'network': {'id': '6fa00f11-59b8-4608-874c-58278e125367', 'name': 'ctest-vn-29138166', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64653328', 'ctest-vn-29138166'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:22:53,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '82bba8b6-f68d-4e49-a03c-dc3fd552d88a', 'name': '', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': '6fa00f11-59b8-4608-874c-58278e125367', 'ip_version': 4, 'cidr': '65.238.246.192/26', 'allocation_pools': [{'start': '65.238.246.194', 'end': '65.238.246.254'}], 'gateway_ip': '65.238.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.238.246.194', 'tags': [], 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:53,917 - INFO - Created VN ctest-vn-29138166 2025-11-06 02:22:53,930 - DEBUG - VN ctest-vn-29138166 UUID is 6fa00f11-59b8-4608-874c-58278e125367 2025-11-06 02:22:54,015 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64653328', 'ctest-vmi-57040914']} 2025-11-06 02:22:54,328 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57040914', 'id': '2870e747-aeb2-4f2a-a337-8eb0113351d8', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': '6fa00f11-59b8-4608-874c-58278e125367', 'mac_address': '02:28:70:e7:47:ae', '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': '65.238.246.195', 'subnet_id': '82bba8b6-f68d-4e49-a03c-dc3fd552d88a'}], 'security_groups': ['e2456989-432a-4371-bc4d-2b8afbf26355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:54,329 - DEBUG - Created port 2870e747-aeb2-4f2a-a337-8eb0113351d8 2025-11-06 02:22:54,405 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2870e747-aeb2-4f2a-a337-8eb0113351d8 2025-11-06 02:22:54,719 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2870e747-aeb2-4f2a-a337-8eb0113351d8 2025-11-06 02:22:54,761 - INFO - VMI 2870e747-aeb2-4f2a-a337-8eb0113351d8 verification in API Server passed 2025-11-06 02:22:54,921 - DEBUG - Response for delete_port : () 2025-11-06 02:22:54,921 - INFO - Deleted port 2870e747-aeb2-4f2a-a337-8eb0113351d8 2025-11-06 02:22:54,923 - INFO - Deleting VN ctest-vn-29138166 2025-11-06 02:22:55,104 - DEBUG - Response for deleting network () 2025-11-06 02:22:56,383 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:22:56,383 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-11-06 02:22:56,383 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:22:56,385 - INFO - ================================================================================ 2025-11-06 02:22:56,385 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-06 02:22:56,385 - 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-06 02:22:57,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-11-06 02:22:57,673 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:22:57,673 - INFO - 2025-11-06 02:22:57,950 - DEBUG - Response for create_network : {'network': {'id': 'd697cc69-8b10-409c-95cf-2509843c8451', 'name': 'ctest-vn1-93504053', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64653328', 'ctest-vn1-93504053'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:22:58,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '61294a5d-2470-4245-a218-fefdf1dd34de', 'name': '', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': 'd697cc69-8b10-409c-95cf-2509843c8451', 'ip_version': 4, 'cidr': '33.53.216.192/26', 'allocation_pools': [{'start': '33.53.216.194', 'end': '33.53.216.254'}], 'gateway_ip': '33.53.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.53.216.194', 'tags': [], 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:58,468 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dab6138-6a8b-4936-b7ab-f0c815d8cae4', 'name': '', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': 'd697cc69-8b10-409c-95cf-2509843c8451', 'ip_version': 4, 'cidr': '129.96.113.128/26', 'allocation_pools': [{'start': '129.96.113.130', 'end': '129.96.113.190'}], 'gateway_ip': '129.96.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.96.113.130', 'tags': [], 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:58,494 - INFO - Created VN ctest-vn1-93504053 2025-11-06 02:22:58,510 - DEBUG - VN ctest-vn1-93504053 UUID is d697cc69-8b10-409c-95cf-2509843c8451 2025-11-06 02:22:58,898 - DEBUG - Response for create_port : {'port': {'name': 'fad4ca47-0803-40be-b81c-4e35adb76667', 'id': 'fad4ca47-0803-40be-b81c-4e35adb76667', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': 'd697cc69-8b10-409c-95cf-2509843c8451', 'mac_address': '02:fa:d4:ca:47:08', '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': '33.53.216.197', 'subnet_id': '61294a5d-2470-4245-a218-fefdf1dd34de'}], 'security_groups': ['e2456989-432a-4371-bc4d-2b8afbf26355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:59,202 - DEBUG - Response for create_port : {'port': {'name': '47615608-fa99-4151-9bce-66a2659d4433', 'id': '47615608-fa99-4151-9bce-66a2659d4433', 'tenant_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e', 'network_id': 'd697cc69-8b10-409c-95cf-2509843c8451', 'mac_address': '02:47:61:56:08:fa', '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': '129.96.113.133', 'subnet_id': '2dab6138-6a8b-4936-b7ab-f0c815d8cae4'}], 'security_groups': ['e2456989-432a-4371-bc4d-2b8afbf26355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcc5345ad7de40748e6dfb5d4dfbb72e'}} 2025-11-06 02:22:59,271 - DEBUG - Services list from nova: [, , , ] 2025-11-06 02:22:59,729 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2) 2025-11-06 02:23:00,237 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-1) 2025-11-06 02:23:00,238 - INFO - Waiting for VM ctest-vn1-vm1-26956155 to be up.. 2025-11-06 02:23:00,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:23:05,388 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:23:05,388 - INFO - VM name : ctest-vn1-vm1-26956155 2025-11-06 02:23:05,482 - DEBUG - VM ctest-vn1-vm1-26956155 ID is 6903f7ee-f858-4015-8436-207af2666359 2025-11-06 02:23:05,511 - DEBUG - VM ctest-vn1-vm1-26956155 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2 2025-11-06 02:23:05,596 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6903f7ee-f858-4015-8436-207af2666359 2025-11-06 02:23:05,891 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6903f7ee-f858-4015-8436-207af2666359 2025-11-06 02:23:05,924 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/fad4ca47-0803-40be-b81c-4e35adb76667 2025-11-06 02:23:09,101 - 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 1014ms') 2025-11-06 02:23:09,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26956155 failed! 2025-11-06 02:23:09,122 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64653328:ctest-vn1-93504053 is 33.53.216.193 and allocation pool is NOT set 2025-11-06 02:23:09,123 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64653328:ctest-vn1-93504053 is 129.96.113.129 and allocation pool is NOT set 2025-11-06 02:23:11,186 - 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=13.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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 = 0.531/7.156/13.781/6.625 ms') 2025-11-06 02:23:11,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26956155 passed 2025-11-06 02:23:11,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:11,277 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26956155, IP 33.53.216.197, Port 22 2025-11-06 02:23:11,349 - 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-11-06 02:23:11,436 - DEBUG - VM ctest-vn1-vm1-26956155 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 02:23:16,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:16,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26956155, IP 33.53.216.197, Port 22 2025-11-06 02:23:16,605 - DEBUG - VM ctest-vn1-vm1-26956155 is ready for SSH connections 2025-11-06 02:23:16,606 - INFO - Waiting for VM ctest-vn1-vm2-44783269 to be up.. 2025-11-06 02:23:16,699 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:23:16,699 - INFO - VM name : ctest-vn1-vm2-44783269 2025-11-06 02:23:16,786 - DEBUG - VM ctest-vn1-vm2-44783269 ID is aa4a266b-77c4-4cef-8c40-3ed9f907df51 2025-11-06 02:23:16,786 - DEBUG - VM ctest-vn1-vm2-44783269 launched on Node an-jenkins-deploy-platform-ansible-os-4662-1 2025-11-06 02:23:16,871 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/aa4a266b-77c4-4cef-8c40-3ed9f907df51 2025-11-06 02:23:16,883 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/47615608-fa99-4151-9bce-66a2659d4433 2025-11-06 02:23:18,050 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.843/3.196/1.353 ms') 2025-11-06 02:23:18,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-44783269 passed 2025-11-06 02:23:18,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:18,129 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44783269, IP 129.96.113.133, Port 22 2025-11-06 02:23:18,306 - DEBUG - VM ctest-vn1-vm2-44783269 is ready for SSH connections 2025-11-06 02:23:18,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:18,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:18,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:23:18,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.53.216.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 02:23:18,307 - DEBUG - ping -s 56 -c 3 -W 1 33.53.216.197 2025-11-06 02:23:21,292 - DEBUG - PING 33.53.216.197 (33.53.216.197): 56 data bytes 64 bytes from 33.53.216.197: seq=0 ttl=63 time=5.198 ms 64 bytes from 33.53.216.197: seq=1 ttl=63 time=1.430 ms 64 bytes from 33.53.216.197: seq=2 ttl=63 time=1.711 ms --- 33.53.216.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.430/2.779/5.198 ms 2025-11-06 02:23:21,292 - INFO - Ping to IP 33.53.216.197 from VM ctest-vn1-vm2-44783269 passed 2025-11-06 02:23:21,292 - INFO - Detaching port 47615608-fa99-4151-9bce-66a2659d4433 from VM ctest-vn1-vm2-44783269 2025-11-06 02:23:21,356 - INFO - Deleting VM ctest-vn1-vm2-44783269 2025-11-06 02:23:21,447 - INFO - Detaching port fad4ca47-0803-40be-b81c-4e35adb76667 from VM ctest-vn1-vm1-26956155 2025-11-06 02:23:21,487 - INFO - Deleting VM ctest-vn1-vm1-26956155 2025-11-06 02:23:21,840 - DEBUG - Response for delete_port : () 2025-11-06 02:23:22,113 - DEBUG - Response for delete_port : () 2025-11-06 02:23:22,114 - INFO - Deleting VN ctest-vn1-93504053 2025-11-06 02:23:22,338 - DEBUG - Response for deleting network () 2025-11-06 02:23:23,639 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:23:23,639 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-11-06 02:23:23,639 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:23:24,435 - INFO - Deleted project: ctest-TestPorts-64653328, ID : dcc5345a-d7de-4074-8e6d-fb5d4dfbb72e