2025-10-22 08:24:05,282 - INFO - Domain Default found not creating 2025-10-22 08:24:05,437 - INFO - Project ctest-TestPorts-93062013 not found, creating it 2025-10-22 08:24:05,911 - INFO - Created Project:ctest-TestPorts-93062013, ID : 3c4991c6-47df-4c74-94e1-62c0b16f1d1f 2025-10-22 08:24:07,321 - INFO - ================================================================================ 2025-10-22 08:24:07,321 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 08:24:07,321 - 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-22 08:24:07,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-22 08:24:07,577 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:24:07,577 - INFO - 2025-10-22 08:24:08,150 - DEBUG - Response for create_network : {'network': {'id': '4df12b9c-86e4-4167-aa72-c4671fe7d4b5', 'name': 'ctest-vn-10903764', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'project_id': '3c4991c647df4c7494e162c0b16f1d1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93062013', 'ctest-vn-10903764'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:24:08,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d866c01-367c-45f5-8509-82a6b9a7dc0b', 'name': '', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': '4df12b9c-86e4-4167-aa72-c4671fe7d4b5', 'ip_version': 4, 'cidr': '13.100.56.192/26', 'allocation_pools': [{'start': '13.100.56.194', 'end': '13.100.56.254'}], 'gateway_ip': '13.100.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.100.56.194', 'tags': [], 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:08,345 - INFO - Created VN ctest-vn-10903764 2025-10-22 08:24:08,403 - DEBUG - VN ctest-vn-10903764 UUID is 4df12b9c-86e4-4167-aa72-c4671fe7d4b5 2025-10-22 08:24:08,520 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93062013', 'ctest-vmi-75563937']} 2025-10-22 08:24:08,761 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75563937', 'id': '5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': '4df12b9c-86e4-4167-aa72-c4671fe7d4b5', 'mac_address': '02:5a:69:f2:ec:61', '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': '13.100.56.195', 'subnet_id': '9d866c01-367c-45f5-8509-82a6b9a7dc0b'}], 'security_groups': ['09cc2be2-039d-4754-8e0f-f9bd8ba466b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:08,761 - DEBUG - Created port 5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7 2025-10-22 08:24:08,867 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7 2025-10-22 08:24:09,166 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7 2025-10-22 08:24:09,204 - INFO - VMI 5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7 verification in API Server passed 2025-10-22 08:24:09,298 - DEBUG - Response for delete_port : () 2025-10-22 08:24:09,298 - INFO - Deleted port 5a69f2ec-61d2-4e4c-86cc-3f2ed61a0ec7 2025-10-22 08:24:09,298 - INFO - Deleting VN ctest-vn-10903764 2025-10-22 08:24:09,412 - DEBUG - Response for deleting network () 2025-10-22 08:24:09,669 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 08:24:09,669 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 08:24:09,669 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:24:09,671 - INFO - ================================================================================ 2025-10-22 08:24:09,671 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 08:24:09,672 - 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-22 08:24:09,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-22 08:24:09,956 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:24:09,956 - INFO - 2025-10-22 08:24:10,139 - DEBUG - Response for create_network : {'network': {'id': 'c481d61e-742a-4d4d-97cb-85d838246091', 'name': 'ctest-vn1-49683834', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'project_id': '3c4991c647df4c7494e162c0b16f1d1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93062013', 'ctest-vn1-49683834'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:24:10,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b3c66c3-9f81-457e-81bf-62247a43fa35', 'name': '', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': 'c481d61e-742a-4d4d-97cb-85d838246091', 'ip_version': 4, 'cidr': '102.75.155.0/26', 'allocation_pools': [{'start': '102.75.155.2', 'end': '102.75.155.62'}], 'gateway_ip': '102.75.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.75.155.2', 'tags': [], 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:10,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0d3d7df-290a-4049-a8f3-c8d7a57a9b91', 'name': '', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': 'c481d61e-742a-4d4d-97cb-85d838246091', 'ip_version': 4, 'cidr': '113.175.223.0/26', 'allocation_pools': [{'start': '113.175.223.2', 'end': '113.175.223.62'}], 'gateway_ip': '113.175.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.175.223.2', 'tags': [], 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:10,487 - INFO - Created VN ctest-vn1-49683834 2025-10-22 08:24:10,539 - DEBUG - VN ctest-vn1-49683834 UUID is c481d61e-742a-4d4d-97cb-85d838246091 2025-10-22 08:24:10,853 - DEBUG - Response for create_port : {'port': {'name': 'aa387e49-6180-421d-902c-04413ebad5e3', 'id': 'aa387e49-6180-421d-902c-04413ebad5e3', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': 'c481d61e-742a-4d4d-97cb-85d838246091', 'mac_address': '02:aa:38:7e:49:61', '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': '102.75.155.5', 'subnet_id': '2b3c66c3-9f81-457e-81bf-62247a43fa35'}], 'security_groups': ['09cc2be2-039d-4754-8e0f-f9bd8ba466b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:11,025 - DEBUG - Response for create_port : {'port': {'name': '0d467ea6-1119-4c7c-a0b9-507108e99ee5', 'id': '0d467ea6-1119-4c7c-a0b9-507108e99ee5', 'tenant_id': '3c4991c647df4c7494e162c0b16f1d1f', 'network_id': 'c481d61e-742a-4d4d-97cb-85d838246091', 'mac_address': '02:0d:46:7e:a6:11', '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': '113.175.223.5', 'subnet_id': 'f0d3d7df-290a-4049-a8f3-c8d7a57a9b91'}], 'security_groups': ['09cc2be2-039d-4754-8e0f-f9bd8ba466b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c4991c647df4c7494e162c0b16f1d1f'}} 2025-10-22 08:24:11,082 - DEBUG - Services list from nova: [, , ] 2025-10-22 08:24:11,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4415-1) 2025-10-22 08:24:11,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4415-1) 2025-10-22 08:24:11,844 - INFO - Waiting for VM ctest-vn1-vm1-48249044 to be up.. 2025-10-22 08:24:11,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 08:24:16,971 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:24:16,971 - INFO - VM name : ctest-vn1-vm1-48249044 2025-10-22 08:24:17,050 - DEBUG - VM ctest-vn1-vm1-48249044 ID is 22e9b628-dc43-48c6-9050-51e0c36182c7 2025-10-22 08:24:17,071 - DEBUG - VM ctest-vn1-vm1-48249044 launched on Node cn-jenkins-deploy-platform-ansible-os-4415-1 2025-10-22 08:24:17,153 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/22e9b628-dc43-48c6-9050-51e0c36182c7 2025-10-22 08:24:17,162 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aa387e49-6180-421d-902c-04413ebad5e3 2025-10-22 08:24:20,420 - 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 1018ms') 2025-10-22 08:24:20,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48249044 failed! 2025-10-22 08:24:20,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93062013:ctest-vn1-49683834 is 102.75.155.1 and allocation pool is NOT set 2025-10-22 08:24:20,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93062013:ctest-vn1-49683834 is 113.175.223.1 and allocation pool is NOT set 2025-10-22 08:24:22,538 - 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=12.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 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 = 2.010/7.227/12.444/5.217 ms') 2025-10-22 08:24:22,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48249044 passed 2025-10-22 08:24:22,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:22,687 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48249044, IP 102.75.155.5, Port 22 2025-10-22 08:24:22,753 - 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-22 08:24:22,838 - DEBUG - VM ctest-vn1-vm1-48249044 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 08:24:27,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:27,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48249044, IP 102.75.155.5, Port 22 2025-10-22 08:24:27,995 - DEBUG - VM ctest-vn1-vm1-48249044 is ready for SSH connections 2025-10-22 08:24:27,995 - INFO - Waiting for VM ctest-vn1-vm2-02207560 to be up.. 2025-10-22 08:24:28,078 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:24:28,078 - INFO - VM name : ctest-vn1-vm2-02207560 2025-10-22 08:24:28,154 - DEBUG - VM ctest-vn1-vm2-02207560 ID is bd7e2811-340a-4835-9041-4f0dbae194f6 2025-10-22 08:24:28,154 - DEBUG - VM ctest-vn1-vm2-02207560 launched on Node cn-jenkins-deploy-platform-ansible-os-4415-1 2025-10-22 08:24:28,226 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bd7e2811-340a-4835-9041-4f0dbae194f6 2025-10-22 08:24:28,235 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0d467ea6-1119-4c7c-a0b9-507108e99ee5 2025-10-22 08:24:29,473 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.790/3.064/1.273 ms') 2025-10-22 08:24:29,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02207560 passed 2025-10-22 08:24:29,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:29,623 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02207560, IP 113.175.223.5, Port 22 2025-10-22 08:24:29,783 - DEBUG - VM ctest-vn1-vm2-02207560 is ready for SSH connections 2025-10-22 08:24:29,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:29,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:29,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:24:29,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.75.155.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 08:24:29,783 - DEBUG - ping -s 56 -c 3 -W 1 102.75.155.5 2025-10-22 08:24:32,456 - DEBUG - PING 102.75.155.5 (102.75.155.5): 56 data bytes 64 bytes from 102.75.155.5: seq=0 ttl=63 time=3.510 ms 64 bytes from 102.75.155.5: seq=1 ttl=63 time=0.897 ms 64 bytes from 102.75.155.5: seq=2 ttl=63 time=1.010 ms --- 102.75.155.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/1.805/3.510 ms 2025-10-22 08:24:32,456 - INFO - Ping to IP 102.75.155.5 from VM ctest-vn1-vm2-02207560 passed 2025-10-22 08:24:32,457 - INFO - Detaching port 0d467ea6-1119-4c7c-a0b9-507108e99ee5 from VM ctest-vn1-vm2-02207560 2025-10-22 08:24:32,521 - INFO - Deleting VM ctest-vn1-vm2-02207560 2025-10-22 08:24:32,602 - INFO - Detaching port aa387e49-6180-421d-902c-04413ebad5e3 from VM ctest-vn1-vm1-48249044 2025-10-22 08:24:32,643 - INFO - Deleting VM ctest-vn1-vm1-48249044 2025-10-22 08:24:32,894 - DEBUG - Response for delete_port : () 2025-10-22 08:24:33,067 - DEBUG - Response for delete_port : () 2025-10-22 08:24:33,068 - INFO - Deleting VN ctest-vn1-49683834 2025-10-22 08:24:33,244 - DEBUG - Response for deleting network () 2025-10-22 08:24:33,500 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 08:24:33,500 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 08:24:33,500 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:24:34,183 - INFO - Deleted project: ctest-TestPorts-93062013, ID : 3c4991c6-47df-4c74-94e1-62c0b16f1d1f