2025-10-27 11:37:12,118 - INFO - Domain Default found not creating 2025-10-27 11:37:12,272 - INFO - Project ctest-TestPorts-51192389 not found, creating it 2025-10-27 11:37:12,731 - INFO - Created Project:ctest-TestPorts-51192389, ID : b1d5198a-4643-4a7f-b42c-04d55f706571 2025-10-27 11:37:14,309 - INFO - ================================================================================ 2025-10-27 11:37:14,309 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 11:37:14,309 - 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-27 11:37:14,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-27 11:37:14,562 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:37:14,562 - INFO - 2025-10-27 11:37:15,158 - DEBUG - Response for create_network : {'network': {'id': '9601034a-62bf-4f8e-b06e-9fdb00efde92', 'name': 'ctest-vn-50410858', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'project_id': 'b1d5198a46434a7fb42c04d55f706571', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51192389', 'ctest-vn-50410858'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:37:15,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c41a4ea4-9955-42f0-b7ec-d4de00d75151', 'name': '', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': '9601034a-62bf-4f8e-b06e-9fdb00efde92', 'ip_version': 4, 'cidr': '35.112.223.64/26', 'allocation_pools': [{'start': '35.112.223.66', 'end': '35.112.223.126'}], 'gateway_ip': '35.112.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.112.223.66', 'tags': [], 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:15,397 - INFO - Created VN ctest-vn-50410858 2025-10-27 11:37:15,448 - DEBUG - VN ctest-vn-50410858 UUID is 9601034a-62bf-4f8e-b06e-9fdb00efde92 2025-10-27 11:37:15,560 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51192389', 'ctest-vmi-02965378']} 2025-10-27 11:37:15,789 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02965378', 'id': '16e71047-9b8a-4583-9828-284b84165888', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': '9601034a-62bf-4f8e-b06e-9fdb00efde92', 'mac_address': '02:16:e7:10:47:9b', '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': '35.112.223.67', 'subnet_id': 'c41a4ea4-9955-42f0-b7ec-d4de00d75151'}], 'security_groups': ['f42d4e1a-e0cb-4902-886e-b9c20425201d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:15,789 - DEBUG - Created port 16e71047-9b8a-4583-9828-284b84165888 2025-10-27 11:37:15,892 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/16e71047-9b8a-4583-9828-284b84165888 2025-10-27 11:37:16,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/16e71047-9b8a-4583-9828-284b84165888 2025-10-27 11:37:16,260 - INFO - VMI 16e71047-9b8a-4583-9828-284b84165888 verification in API Server passed 2025-10-27 11:37:16,345 - DEBUG - Response for delete_port : () 2025-10-27 11:37:16,346 - INFO - Deleted port 16e71047-9b8a-4583-9828-284b84165888 2025-10-27 11:37:16,346 - INFO - Deleting VN ctest-vn-50410858 2025-10-27 11:37:16,444 - DEBUG - Response for deleting network () 2025-10-27 11:37:16,699 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:37:16,699 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 11:37:16,699 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:37:16,703 - INFO - ================================================================================ 2025-10-27 11:37:16,703 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 11:37:16,703 - 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-27 11:37:16,986 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-27 11:37:16,986 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:37:16,986 - INFO - 2025-10-27 11:37:17,170 - DEBUG - Response for create_network : {'network': {'id': 'a28609de-9645-4a80-89f3-04250cfb06ce', 'name': 'ctest-vn1-48470622', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'project_id': 'b1d5198a46434a7fb42c04d55f706571', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51192389', 'ctest-vn1-48470622'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:37:17,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4ec3265-be71-4058-a45f-a06a50e2e51e', 'name': '', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': 'a28609de-9645-4a80-89f3-04250cfb06ce', 'ip_version': 4, 'cidr': '174.155.131.0/26', 'allocation_pools': [{'start': '174.155.131.2', 'end': '174.155.131.62'}], 'gateway_ip': '174.155.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.155.131.2', 'tags': [], 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:17,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c176012-4102-4ac8-a551-f7fed714a662', 'name': '', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': 'a28609de-9645-4a80-89f3-04250cfb06ce', 'ip_version': 4, 'cidr': '199.24.2.128/26', 'allocation_pools': [{'start': '199.24.2.130', 'end': '199.24.2.190'}], 'gateway_ip': '199.24.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.24.2.130', 'tags': [], 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:17,514 - INFO - Created VN ctest-vn1-48470622 2025-10-27 11:37:17,568 - DEBUG - VN ctest-vn1-48470622 UUID is a28609de-9645-4a80-89f3-04250cfb06ce 2025-10-27 11:37:17,867 - DEBUG - Response for create_port : {'port': {'name': '5e5d40aa-0687-42af-92dd-af9f2ee93f59', 'id': '5e5d40aa-0687-42af-92dd-af9f2ee93f59', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': 'a28609de-9645-4a80-89f3-04250cfb06ce', 'mac_address': '02:5e:5d:40:aa:06', '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': '174.155.131.5', 'subnet_id': 'c4ec3265-be71-4058-a45f-a06a50e2e51e'}], 'security_groups': ['f42d4e1a-e0cb-4902-886e-b9c20425201d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:18,036 - DEBUG - Response for create_port : {'port': {'name': '857085f2-5509-4f10-a0d1-6350d25136c0', 'id': '857085f2-5509-4f10-a0d1-6350d25136c0', 'tenant_id': 'b1d5198a46434a7fb42c04d55f706571', 'network_id': 'a28609de-9645-4a80-89f3-04250cfb06ce', 'mac_address': '02:85:70:85:f2:55', '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': '199.24.2.133', 'subnet_id': '7c176012-4102-4ac8-a551-f7fed714a662'}], 'security_groups': ['f42d4e1a-e0cb-4902-886e-b9c20425201d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b1d5198a46434a7fb42c04d55f706571'}} 2025-10-27 11:37:18,094 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:37:18,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:37:18,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:37:18,815 - INFO - Waiting for VM ctest-vn1-vm1-24065921 to be up.. 2025-10-27 11:37:18,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:37:23,932 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:37:23,933 - INFO - VM name : ctest-vn1-vm1-24065921 2025-10-27 11:37:24,017 - DEBUG - VM ctest-vn1-vm1-24065921 ID is 3bea4e90-a831-4b75-a816-9245c2c1ec58 2025-10-27 11:37:24,039 - DEBUG - VM ctest-vn1-vm1-24065921 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:37:24,116 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3bea4e90-a831-4b75-a816-9245c2c1ec58 2025-10-27 11:37:24,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5e5d40aa-0687-42af-92dd-af9f2ee93f59 2025-10-27 11:37:27,380 - 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 1016ms') 2025-10-27 11:37:27,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24065921 failed! 2025-10-27 11:37:27,436 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51192389:ctest-vn1-48470622 is 174.155.131.1 and allocation pool is NOT set 2025-10-27 11:37:27,436 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51192389:ctest-vn1-48470622 is 199.24.2.129 and allocation pool is NOT set 2025-10-27 11:37:31,503 - 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=15.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 15.586/15.586/15.586/0.000 ms') 2025-10-27 11:37:31,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24065921 passed 2025-10-27 11:37:31,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:31,656 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24065921, IP 174.155.131.5, Port 22 2025-10-27 11:37:31,723 - 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-27 11:37:31,802 - DEBUG - VM ctest-vn1-vm1-24065921 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:37:36,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:36,803 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24065921, IP 174.155.131.5, Port 22 2025-10-27 11:37:36,960 - DEBUG - VM ctest-vn1-vm1-24065921 is ready for SSH connections 2025-10-27 11:37:36,960 - INFO - Waiting for VM ctest-vn1-vm2-26976377 to be up.. 2025-10-27 11:37:37,046 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:37:37,046 - INFO - VM name : ctest-vn1-vm2-26976377 2025-10-27 11:37:37,123 - DEBUG - VM ctest-vn1-vm2-26976377 ID is 53c1ac98-b66a-4918-be2b-a6d9f6df8c3b 2025-10-27 11:37:37,123 - DEBUG - VM ctest-vn1-vm2-26976377 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:37:37,197 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/53c1ac98-b66a-4918-be2b-a6d9f6df8c3b 2025-10-27 11:37:37,206 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/857085f2-5509-4f10-a0d1-6350d25136c0 2025-10-27 11:37:38,449 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.760/3.116/1.356 ms') 2025-10-27 11:37:38,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26976377 passed 2025-10-27 11:37:38,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:38,609 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26976377, IP 199.24.2.133, Port 22 2025-10-27 11:37:38,783 - DEBUG - VM ctest-vn1-vm2-26976377 is ready for SSH connections 2025-10-27 11:37:38,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:38,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:38,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:37:38,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.155.131.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:37:38,784 - DEBUG - ping -s 56 -c 3 -W 1 174.155.131.5 2025-10-27 11:37:41,513 - DEBUG - PING 174.155.131.5 (174.155.131.5): 56 data bytes 64 bytes from 174.155.131.5: seq=0 ttl=63 time=3.810 ms 64 bytes from 174.155.131.5: seq=1 ttl=63 time=0.920 ms 64 bytes from 174.155.131.5: seq=2 ttl=63 time=0.953 ms --- 174.155.131.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.894/3.810 ms 2025-10-27 11:37:41,513 - INFO - Ping to IP 174.155.131.5 from VM ctest-vn1-vm2-26976377 passed 2025-10-27 11:37:41,513 - INFO - Detaching port 857085f2-5509-4f10-a0d1-6350d25136c0 from VM ctest-vn1-vm2-26976377 2025-10-27 11:37:41,568 - INFO - Deleting VM ctest-vn1-vm2-26976377 2025-10-27 11:37:41,643 - INFO - Detaching port 5e5d40aa-0687-42af-92dd-af9f2ee93f59 from VM ctest-vn1-vm1-24065921 2025-10-27 11:37:41,683 - INFO - Deleting VM ctest-vn1-vm1-24065921 2025-10-27 11:37:41,933 - DEBUG - Response for delete_port : () 2025-10-27 11:37:42,095 - DEBUG - Response for delete_port : () 2025-10-27 11:37:42,095 - INFO - Deleting VN ctest-vn1-48470622 2025-10-27 11:37:42,244 - DEBUG - Response for deleting network () 2025-10-27 11:37:42,498 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:37:42,499 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-10-27 11:37:42,499 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:37:43,245 - INFO - Deleted project: ctest-TestPorts-51192389, ID : b1d5198a-4643-4a7f-b42c-04d55f706571