2025-10-16 02:15:49,938 - INFO - Domain Default found not creating 2025-10-16 02:15:50,106 - INFO - Project ctest-TestPorts-88400797 not found, creating it 2025-10-16 02:15:50,573 - INFO - Created Project:ctest-TestPorts-88400797, ID : 018d1149-e2b0-40dc-9132-612b40ca3f55 2025-10-16 02:15:52,075 - INFO - ================================================================================ 2025-10-16 02:15:52,075 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 02:15:52,075 - 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-16 02:15:52,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.253': '0'}} with 2025-10-16 02:15:52,333 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:15:52,333 - INFO - 2025-10-16 02:15:52,925 - DEBUG - Response for create_network : {'network': {'id': 'f55c8ca3-5a56-4718-93af-33326685dc9e', 'name': 'ctest-vn-53478157', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'project_id': '018d1149e2b040dc9132612b40ca3f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88400797', 'ctest-vn-53478157'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:15:53,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '7767e60a-e4e6-4eb2-929b-d4d1c784a48f', 'name': '', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f55c8ca3-5a56-4718-93af-33326685dc9e', 'ip_version': 4, 'cidr': '61.243.11.128/26', 'allocation_pools': [{'start': '61.243.11.130', 'end': '61.243.11.190'}], 'gateway_ip': '61.243.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.243.11.130', 'tags': [], 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:53,144 - INFO - Created VN ctest-vn-53478157 2025-10-16 02:15:53,196 - DEBUG - VN ctest-vn-53478157 UUID is f55c8ca3-5a56-4718-93af-33326685dc9e 2025-10-16 02:15:53,313 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88400797', 'ctest-vmi-50718345']} 2025-10-16 02:15:53,552 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50718345', 'id': '73b1d8eb-4be0-4b09-98ca-030b1febe1e3', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f55c8ca3-5a56-4718-93af-33326685dc9e', 'mac_address': '02:73:b1:d8:eb:4b', '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': '61.243.11.131', 'subnet_id': '7767e60a-e4e6-4eb2-929b-d4d1c784a48f'}], 'security_groups': ['16e74e3a-42f7-4035-9a15-5ae550d62d4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:53,552 - DEBUG - Created port 73b1d8eb-4be0-4b09-98ca-030b1febe1e3 2025-10-16 02:15:53,656 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/73b1d8eb-4be0-4b09-98ca-030b1febe1e3 2025-10-16 02:15:53,970 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/73b1d8eb-4be0-4b09-98ca-030b1febe1e3 2025-10-16 02:15:54,007 - INFO - VMI 73b1d8eb-4be0-4b09-98ca-030b1febe1e3 verification in API Server passed 2025-10-16 02:15:54,108 - DEBUG - Response for delete_port : () 2025-10-16 02:15:54,108 - INFO - Deleted port 73b1d8eb-4be0-4b09-98ca-030b1febe1e3 2025-10-16 02:15:54,109 - INFO - Deleting VN ctest-vn-53478157 2025-10-16 02:15:54,226 - DEBUG - Response for deleting network () 2025-10-16 02:15:54,481 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:15:54,482 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-16 02:15:54,482 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:15:54,485 - INFO - ================================================================================ 2025-10-16 02:15:54,485 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 02:15:54,485 - 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-16 02:15:54,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.253': '0'}} with 2025-10-16 02:15:54,769 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:15:54,769 - INFO - 2025-10-16 02:15:54,952 - DEBUG - Response for create_network : {'network': {'id': 'f966ae23-7064-4b08-9d84-6a1c083121e8', 'name': 'ctest-vn1-63617232', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'project_id': '018d1149e2b040dc9132612b40ca3f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88400797', 'ctest-vn1-63617232'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:15:55,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab2ed65f-b953-4a1e-b0a2-0c19543f2e35', 'name': '', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f966ae23-7064-4b08-9d84-6a1c083121e8', 'ip_version': 4, 'cidr': '56.193.118.0/26', 'allocation_pools': [{'start': '56.193.118.2', 'end': '56.193.118.62'}], 'gateway_ip': '56.193.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.193.118.2', 'tags': [], 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:55,323 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c31649ec-f9c2-4170-bf8c-06f67b750d3f', 'name': '', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f966ae23-7064-4b08-9d84-6a1c083121e8', 'ip_version': 4, 'cidr': '97.4.241.64/26', 'allocation_pools': [{'start': '97.4.241.66', 'end': '97.4.241.126'}], 'gateway_ip': '97.4.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.4.241.66', 'tags': [], 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:55,345 - INFO - Created VN ctest-vn1-63617232 2025-10-16 02:15:55,396 - DEBUG - VN ctest-vn1-63617232 UUID is f966ae23-7064-4b08-9d84-6a1c083121e8 2025-10-16 02:15:55,713 - DEBUG - Response for create_port : {'port': {'name': 'c5143f26-03f5-46d1-ac02-8ff89cb16b6f', 'id': 'c5143f26-03f5-46d1-ac02-8ff89cb16b6f', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f966ae23-7064-4b08-9d84-6a1c083121e8', 'mac_address': '02:c5:14:3f:26: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': '56.193.118.5', 'subnet_id': 'ab2ed65f-b953-4a1e-b0a2-0c19543f2e35'}], 'security_groups': ['16e74e3a-42f7-4035-9a15-5ae550d62d4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:55,887 - DEBUG - Response for create_port : {'port': {'name': '68df230f-b9f1-4efd-a0de-eaac9d58723c', 'id': '68df230f-b9f1-4efd-a0de-eaac9d58723c', 'tenant_id': '018d1149e2b040dc9132612b40ca3f55', 'network_id': 'f966ae23-7064-4b08-9d84-6a1c083121e8', 'mac_address': '02:68:df:23:0f:b9', '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': '97.4.241.69', 'subnet_id': 'c31649ec-f9c2-4170-bf8c-06f67b750d3f'}], 'security_groups': ['16e74e3a-42f7-4035-9a15-5ae550d62d4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '018d1149e2b040dc9132612b40ca3f55'}} 2025-10-16 02:15:55,948 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:15:56,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1) 2025-10-16 02:15:56,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1) 2025-10-16 02:15:56,756 - INFO - Waiting for VM ctest-vn1-vm1-67747457 to be up.. 2025-10-16 02:15:56,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:16:01,891 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:16:01,891 - INFO - VM name : ctest-vn1-vm1-67747457 2025-10-16 02:16:01,972 - DEBUG - VM ctest-vn1-vm1-67747457 ID is a1a29303-4576-4ec2-8fe8-a369afee5237 2025-10-16 02:16:01,992 - DEBUG - VM ctest-vn1-vm1-67747457 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1 2025-10-16 02:16:02,075 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/a1a29303-4576-4ec2-8fe8-a369afee5237 2025-10-16 02:16:02,084 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/c5143f26-03f5-46d1-ac02-8ff89cb16b6f 2025-10-16 02:16:05,338 - 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 1010ms') 2025-10-16 02:16:05,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67747457 failed! 2025-10-16 02:16:05,396 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88400797:ctest-vn1-63617232 is 56.193.118.1 and allocation pool is NOT set 2025-10-16 02:16:05,396 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88400797:ctest-vn1-63617232 is 97.4.241.65 and allocation pool is NOT set 2025-10-16 02:16:09,461 - 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=7.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.730/7.730/7.730/0.000 ms') 2025-10-16 02:16:09,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67747457 passed 2025-10-16 02:16:09,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:09,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67747457, IP 56.193.118.5, Port 22 2025-10-16 02:16:09,681 - 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-16 02:16:09,770 - DEBUG - VM ctest-vn1-vm1-67747457 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 02:16:14,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:14,771 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67747457, IP 56.193.118.5, Port 22 2025-10-16 02:16:14,938 - DEBUG - VM ctest-vn1-vm1-67747457 is ready for SSH connections 2025-10-16 02:16:14,938 - INFO - Waiting for VM ctest-vn1-vm2-18931456 to be up.. 2025-10-16 02:16:15,022 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:16:15,022 - INFO - VM name : ctest-vn1-vm2-18931456 2025-10-16 02:16:15,105 - DEBUG - VM ctest-vn1-vm2-18931456 ID is 19d2cd36-cc1f-4d4d-9206-6dc40358ece7 2025-10-16 02:16:15,106 - DEBUG - VM ctest-vn1-vm2-18931456 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1 2025-10-16 02:16:15,205 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/19d2cd36-cc1f-4d4d-9206-6dc40358ece7 2025-10-16 02:16:15,214 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/68df230f-b9f1-4efd-a0de-eaac9d58723c 2025-10-16 02:16:16,450 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.559/2.243/3.928/1.684 ms') 2025-10-16 02:16:16,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18931456 passed 2025-10-16 02:16:16,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:16,604 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18931456, IP 97.4.241.69, Port 22 2025-10-16 02:16:16,763 - DEBUG - VM ctest-vn1-vm2-18931456 is ready for SSH connections 2025-10-16 02:16:16,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:16,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:16,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:16:16,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.193.118.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-16 02:16:16,764 - DEBUG - ping -s 56 -c 3 -W 1 56.193.118.5 2025-10-16 02:16:19,829 - DEBUG - PING 56.193.118.5 (56.193.118.5): 56 data bytes 64 bytes from 56.193.118.5: seq=0 ttl=63 time=4.243 ms 64 bytes from 56.193.118.5: seq=1 ttl=63 time=0.867 ms 64 bytes from 56.193.118.5: seq=2 ttl=63 time=0.859 ms --- 56.193.118.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.989/4.243 ms 2025-10-16 02:16:19,829 - INFO - Ping to IP 56.193.118.5 from VM ctest-vn1-vm2-18931456 passed 2025-10-16 02:16:19,830 - INFO - Detaching port 68df230f-b9f1-4efd-a0de-eaac9d58723c from VM ctest-vn1-vm2-18931456 2025-10-16 02:16:19,900 - INFO - Deleting VM ctest-vn1-vm2-18931456 2025-10-16 02:16:19,967 - INFO - Detaching port c5143f26-03f5-46d1-ac02-8ff89cb16b6f from VM ctest-vn1-vm1-67747457 2025-10-16 02:16:20,008 - INFO - Deleting VM ctest-vn1-vm1-67747457 2025-10-16 02:16:20,255 - DEBUG - Response for delete_port : () 2025-10-16 02:16:20,441 - DEBUG - Response for delete_port : () 2025-10-16 02:16:20,441 - INFO - Deleting VN ctest-vn1-63617232 2025-10-16 02:16:20,600 - DEBUG - Response for deleting network () 2025-10-16 02:16:20,864 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:16:20,864 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-16 02:16:20,864 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:16:21,563 - INFO - Deleted project: ctest-TestPorts-88400797, ID : 018d1149-e2b0-40dc-9132-612b40ca3f55