2025-11-12 03:23:52,376 - INFO - Domain Default found not creating 2025-11-12 03:23:52,509 - INFO - Project ctest-TestPorts-67411098 not found, creating it 2025-11-12 03:23:52,964 - INFO - Created Project:ctest-TestPorts-67411098, ID : d101afe4-f65b-4fb5-8251-b2ccc2cbaeb1 2025-11-12 03:23:54,318 - INFO - ================================================================================ 2025-11-12 03:23:54,318 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 03:23:54,319 - 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-12 03:23:54,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:23:54,576 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:23:54,576 - INFO - 2025-11-12 03:23:55,102 - DEBUG - Response for create_network : {'network': {'id': '4f18e256-34d6-460b-99f5-6e8c8265db1c', 'name': 'ctest-vn-36380766', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67411098', 'ctest-vn-36380766'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:23:55,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ffa88fb-bbd6-4e69-abc1-bd41ffcd8ea5', 'name': '', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': '4f18e256-34d6-460b-99f5-6e8c8265db1c', 'ip_version': 4, 'cidr': '149.198.207.128/26', 'allocation_pools': [{'start': '149.198.207.130', 'end': '149.198.207.190'}], 'gateway_ip': '149.198.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.198.207.130', 'tags': [], 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:55,296 - INFO - Created VN ctest-vn-36380766 2025-11-12 03:23:55,347 - DEBUG - VN ctest-vn-36380766 UUID is 4f18e256-34d6-460b-99f5-6e8c8265db1c 2025-11-12 03:23:55,441 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67411098', 'ctest-vmi-24051470']} 2025-11-12 03:23:55,691 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24051470', 'id': 'b4719230-fa0c-4882-ae0f-63e032cfd01c', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': '4f18e256-34d6-460b-99f5-6e8c8265db1c', 'mac_address': '02:b4:71:92:30:fa', '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': '149.198.207.131', 'subnet_id': '4ffa88fb-bbd6-4e69-abc1-bd41ffcd8ea5'}], 'security_groups': ['12678007-0570-49ba-a085-d152c22b0108'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:55,691 - DEBUG - Created port b4719230-fa0c-4882-ae0f-63e032cfd01c 2025-11-12 03:23:55,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4719230-fa0c-4882-ae0f-63e032cfd01c 2025-11-12 03:23:56,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4719230-fa0c-4882-ae0f-63e032cfd01c 2025-11-12 03:23:56,114 - INFO - VMI b4719230-fa0c-4882-ae0f-63e032cfd01c verification in API Server passed 2025-11-12 03:23:56,196 - DEBUG - Response for delete_port : () 2025-11-12 03:23:56,196 - INFO - Deleted port b4719230-fa0c-4882-ae0f-63e032cfd01c 2025-11-12 03:23:56,196 - INFO - Deleting VN ctest-vn-36380766 2025-11-12 03:23:56,275 - DEBUG - Response for deleting network () 2025-11-12 03:23:56,523 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:23:56,523 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 03:23:56,524 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:23:56,526 - INFO - ================================================================================ 2025-11-12 03:23:56,526 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 03:23:56,526 - 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-12 03:23:56,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:23:56,827 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:23:56,827 - INFO - 2025-11-12 03:23:56,991 - DEBUG - Response for create_network : {'network': {'id': 'dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf', 'name': 'ctest-vn1-15378089', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67411098', 'ctest-vn1-15378089'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:23:57,120 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df9ede56-2ca3-4e98-bada-2e4ec796684a', 'name': '', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': 'dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf', 'ip_version': 4, 'cidr': '50.189.26.128/26', 'allocation_pools': [{'start': '50.189.26.130', 'end': '50.189.26.190'}], 'gateway_ip': '50.189.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.189.26.130', 'tags': [], 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:57,292 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc57a92d-e68c-44cb-a18f-48b4f303f27d', 'name': '', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': 'dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf', 'ip_version': 4, 'cidr': '62.77.102.0/26', 'allocation_pools': [{'start': '62.77.102.2', 'end': '62.77.102.62'}], 'gateway_ip': '62.77.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.77.102.2', 'tags': [], 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:57,309 - INFO - Created VN ctest-vn1-15378089 2025-11-12 03:23:57,359 - DEBUG - VN ctest-vn1-15378089 UUID is dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf 2025-11-12 03:23:57,612 - DEBUG - Response for create_port : {'port': {'name': '6f721135-9086-416a-be59-7cc780892cf0', 'id': '6f721135-9086-416a-be59-7cc780892cf0', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': 'dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf', 'mac_address': '02:6f:72:11:35:90', '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': '50.189.26.133', 'subnet_id': 'df9ede56-2ca3-4e98-bada-2e4ec796684a'}], 'security_groups': ['12678007-0570-49ba-a085-d152c22b0108'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:57,754 - DEBUG - Response for create_port : {'port': {'name': 'deca2356-fc5b-4d55-b031-4b3fbe91f98f', 'id': 'deca2356-fc5b-4d55-b031-4b3fbe91f98f', 'tenant_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1', 'network_id': 'dca4115b-b6df-4d3f-ad13-bbfd7f8e2fdf', 'mac_address': '02:de:ca:23:56:fc', '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': '62.77.102.5', 'subnet_id': 'fc57a92d-e68c-44cb-a18f-48b4f303f27d'}], 'security_groups': ['12678007-0570-49ba-a085-d152c22b0108'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd101afe4f65b4fb58251b2ccc2cbaeb1'}} 2025-11-12 03:23:57,803 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:23:58,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:23:58,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:23:58,440 - INFO - Waiting for VM ctest-vn1-vm1-57505531 to be up.. 2025-11-12 03:23:58,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:24:03,555 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:24:03,555 - INFO - VM name : ctest-vn1-vm1-57505531 2025-11-12 03:24:03,680 - DEBUG - VM ctest-vn1-vm1-57505531 ID is 68b2370b-f2eb-4e56-94b8-ef7b84615baa 2025-11-12 03:24:03,711 - DEBUG - VM ctest-vn1-vm1-57505531 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:24:03,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/68b2370b-f2eb-4e56-94b8-ef7b84615baa 2025-11-12 03:24:03,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6f721135-9086-416a-be59-7cc780892cf0 2025-11-12 03:24:07,211 - 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 1028ms') 2025-11-12 03:24:07,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57505531 failed! 2025-11-12 03:24:07,263 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67411098:ctest-vn1-15378089 is 50.189.26.129 and allocation pool is NOT set 2025-11-12 03:24:07,263 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67411098:ctest-vn1-15378089 is 62.77.102.1 and allocation pool is NOT set 2025-11-12 03:24:09,325 - 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=6.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.30 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 = 3.300/4.672/6.045/1.372 ms') 2025-11-12 03:24:09,325 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57505531 passed 2025-11-12 03:24:09,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:09,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57505531, IP 50.189.26.133, Port 22 2025-11-12 03:24:09,526 - 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-12 03:24:09,596 - DEBUG - VM ctest-vn1-vm1-57505531 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 03:24:14,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:14,597 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57505531, IP 50.189.26.133, Port 22 2025-11-12 03:24:14,750 - DEBUG - VM ctest-vn1-vm1-57505531 is ready for SSH connections 2025-11-12 03:24:14,750 - INFO - Waiting for VM ctest-vn1-vm2-88095938 to be up.. 2025-11-12 03:24:14,811 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:24:14,811 - INFO - VM name : ctest-vn1-vm2-88095938 2025-11-12 03:24:14,870 - DEBUG - VM ctest-vn1-vm2-88095938 ID is a64ed71f-3355-408f-a541-ef6ae611a25c 2025-11-12 03:24:14,870 - DEBUG - VM ctest-vn1-vm2-88095938 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:24:14,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a64ed71f-3355-408f-a541-ef6ae611a25c 2025-11-12 03:24:14,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/deca2356-fc5b-4d55-b031-4b3fbe91f98f 2025-11-12 03:24:16,168 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.549/2.753/1.203 ms') 2025-11-12 03:24:16,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88095938 passed 2025-11-12 03:24:16,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:16,315 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88095938, IP 62.77.102.5, Port 22 2025-11-12 03:24:16,466 - DEBUG - VM ctest-vn1-vm2-88095938 is ready for SSH connections 2025-11-12 03:24:16,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:16,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:16,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:16,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.189.26.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:24:16,467 - DEBUG - ping -s 56 -c 3 -W 1 50.189.26.133 2025-11-12 03:24:19,182 - DEBUG - PING 50.189.26.133 (50.189.26.133): 56 data bytes 64 bytes from 50.189.26.133: seq=0 ttl=63 time=3.764 ms 64 bytes from 50.189.26.133: seq=1 ttl=63 time=0.836 ms 64 bytes from 50.189.26.133: seq=2 ttl=63 time=0.761 ms --- 50.189.26.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.787/3.764 ms 2025-11-12 03:24:19,182 - INFO - Ping to IP 50.189.26.133 from VM ctest-vn1-vm2-88095938 passed 2025-11-12 03:24:19,182 - INFO - Detaching port deca2356-fc5b-4d55-b031-4b3fbe91f98f from VM ctest-vn1-vm2-88095938 2025-11-12 03:24:19,231 - INFO - Deleting VM ctest-vn1-vm2-88095938 2025-11-12 03:24:19,301 - INFO - Detaching port 6f721135-9086-416a-be59-7cc780892cf0 from VM ctest-vn1-vm1-57505531 2025-11-12 03:24:19,343 - INFO - Deleting VM ctest-vn1-vm1-57505531 2025-11-12 03:24:19,557 - DEBUG - Response for delete_port : () 2025-11-12 03:24:19,696 - DEBUG - Response for delete_port : () 2025-11-12 03:24:19,696 - INFO - Deleting VN ctest-vn1-15378089 2025-11-12 03:24:19,803 - DEBUG - Response for deleting network () 2025-11-12 03:24:20,074 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:24:20,075 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-12 03:24:20,075 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:24:20,844 - INFO - Deleted project: ctest-TestPorts-67411098, ID : d101afe4-f65b-4fb5-8251-b2ccc2cbaeb1