2025-08-22 22:22:35,242 - INFO - Domain Default found not creating 2025-08-22 22:22:35,581 - INFO - Project ctest-TestPorts-73247829 not found, creating it 2025-08-22 22:22:36,147 - INFO - Created Project:ctest-TestPorts-73247829, ID : bec610e7-06d7-4489-ab3f-18989687a671 2025-08-22 22:22:38,350 - INFO - ================================================================================ 2025-08-22 22:22:38,351 - INFO - STARTING TEST : test_ports_bindings 2025-08-22 22:22:38,351 - 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-08-22 22:22:38,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 22:22:38,691 - INFO - Initial checks done. Running the testcase now 2025-08-22 22:22:38,691 - INFO - 2025-08-22 22:22:39,584 - DEBUG - Response for create_network : {'network': {'id': '785325e9-a811-48ca-9a22-744532ec57f3', 'name': 'ctest-vn-20100352', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'project_id': 'bec610e706d74489ab3f18989687a671', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73247829', 'ctest-vn-20100352'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:22:39,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f8c58c2-3a76-4b08-a5f6-005293df1993', 'name': '', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': '785325e9-a811-48ca-9a22-744532ec57f3', 'ip_version': 4, 'cidr': '108.147.174.192/26', 'allocation_pools': [{'start': '108.147.174.194', 'end': '108.147.174.254'}], 'gateway_ip': '108.147.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.147.174.194', 'tags': [], 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:39,816 - INFO - Created VN ctest-vn-20100352 2025-08-22 22:22:39,868 - DEBUG - VN ctest-vn-20100352 UUID is 785325e9-a811-48ca-9a22-744532ec57f3 2025-08-22 22:22:40,003 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73247829', 'ctest-vmi-08908211']} 2025-08-22 22:22:40,428 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08908211', 'id': '3caa7eb7-fef6-4004-8e11-056a6eedadcc', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': '785325e9-a811-48ca-9a22-744532ec57f3', 'mac_address': '02:3c:aa:7e:b7:fe', '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': '108.147.174.195', 'subnet_id': '9f8c58c2-3a76-4b08-a5f6-005293df1993'}], 'security_groups': ['e91728dd-2cde-426f-9167-e091b5e5d10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:40,429 - DEBUG - Created port 3caa7eb7-fef6-4004-8e11-056a6eedadcc 2025-08-22 22:22:40,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3caa7eb7-fef6-4004-8e11-056a6eedadcc 2025-08-22 22:22:40,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3caa7eb7-fef6-4004-8e11-056a6eedadcc 2025-08-22 22:22:40,998 - INFO - VMI 3caa7eb7-fef6-4004-8e11-056a6eedadcc verification in API Server passed 2025-08-22 22:22:41,198 - DEBUG - Response for delete_port : () 2025-08-22 22:22:41,198 - INFO - Deleted port 3caa7eb7-fef6-4004-8e11-056a6eedadcc 2025-08-22 22:22:41,198 - INFO - Deleting VN ctest-vn-20100352 2025-08-22 22:22:41,340 - DEBUG - Response for deleting network () 2025-08-22 22:22:41,664 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 22:22:41,664 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-22 22:22:41,665 - INFO - -------------------------------------------------------------------------------- 2025-08-22 22:22:41,673 - INFO - ================================================================================ 2025-08-22 22:22:41,674 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-22 22:22:41,674 - 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-08-22 22:22:42,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 22:22:42,010 - INFO - Initial checks done. Running the testcase now 2025-08-22 22:22:42,010 - INFO - 2025-08-22 22:22:42,357 - DEBUG - Response for create_network : {'network': {'id': 'b0d79cb7-a597-45ae-8286-1aa11532e886', 'name': 'ctest-vn1-29735746', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'project_id': 'bec610e706d74489ab3f18989687a671', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73247829', 'ctest-vn1-29735746'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:22:42,561 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f90bb475-d808-4c62-a4f6-1a03e4a8939d', 'name': '', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': 'b0d79cb7-a597-45ae-8286-1aa11532e886', 'ip_version': 4, 'cidr': '53.84.186.0/26', 'allocation_pools': [{'start': '53.84.186.2', 'end': '53.84.186.62'}], 'gateway_ip': '53.84.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.84.186.2', 'tags': [], 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:42,795 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc73bc7d-7d51-4a9f-a6a0-d878a76fde52', 'name': '', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': 'b0d79cb7-a597-45ae-8286-1aa11532e886', 'ip_version': 4, 'cidr': '133.14.27.0/26', 'allocation_pools': [{'start': '133.14.27.2', 'end': '133.14.27.62'}], 'gateway_ip': '133.14.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.14.27.2', 'tags': [], 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:42,835 - INFO - Created VN ctest-vn1-29735746 2025-08-22 22:22:42,900 - DEBUG - VN ctest-vn1-29735746 UUID is b0d79cb7-a597-45ae-8286-1aa11532e886 2025-08-22 22:22:43,378 - DEBUG - Response for create_port : {'port': {'name': 'ca95f682-37d2-4bdf-82e0-3f11cf136584', 'id': 'ca95f682-37d2-4bdf-82e0-3f11cf136584', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': 'b0d79cb7-a597-45ae-8286-1aa11532e886', 'mac_address': '02:ca:95:f6:82:37', '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': '53.84.186.5', 'subnet_id': 'f90bb475-d808-4c62-a4f6-1a03e4a8939d'}], 'security_groups': ['e91728dd-2cde-426f-9167-e091b5e5d10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:43,630 - DEBUG - Response for create_port : {'port': {'name': 'fdaeaf34-850a-41e1-8f87-94c429d8e1ab', 'id': 'fdaeaf34-850a-41e1-8f87-94c429d8e1ab', 'tenant_id': 'bec610e706d74489ab3f18989687a671', 'network_id': 'b0d79cb7-a597-45ae-8286-1aa11532e886', 'mac_address': '02:fd:ae:af:34:85', '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': '133.14.27.5', 'subnet_id': 'fc73bc7d-7d51-4a9f-a6a0-d878a76fde52'}], 'security_groups': ['e91728dd-2cde-426f-9167-e091b5e5d10e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bec610e706d74489ab3f18989687a671'}} 2025-08-22 22:22:43,687 - DEBUG - Services list from nova: [, , ] 2025-08-22 22:22:44,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:22:44,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:22:44,684 - INFO - Waiting for VM ctest-vn1-vm1-95425758 to be up.. 2025-08-22 22:22:44,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 22:22:49,893 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:22:49,893 - INFO - VM name : ctest-vn1-vm1-95425758 2025-08-22 22:22:50,000 - DEBUG - VM ctest-vn1-vm1-95425758 ID is ab68ee1d-fec8-42c5-8a66-6b6aca5d4c50 2025-08-22 22:22:50,026 - DEBUG - VM ctest-vn1-vm1-95425758 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:22:50,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ab68ee1d-fec8-42c5-8a66-6b6aca5d4c50 2025-08-22 22:22:50,183 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca95f682-37d2-4bdf-82e0-3f11cf136584 2025-08-22 22:22:53,573 - 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 1033ms') 2025-08-22 22:22:53,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95425758 failed! 2025-08-22 22:22:53,652 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73247829:ctest-vn1-29735746 is 53.84.186.1 and allocation pool is NOT set 2025-08-22 22:22:53,652 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73247829:ctest-vn1-29735746 is 133.14.27.1 and allocation pool is NOT set 2025-08-22 22:22:57,727 - 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=9.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 9.440/9.440/9.440/0.000 ms') 2025-08-22 22:22:57,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95425758 passed 2025-08-22 22:22:57,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:22:57,880 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95425758, IP 53.84.186.5, Port 22 2025-08-22 22:22:58,035 - DEBUG - VM ctest-vn1-vm1-95425758 is ready for SSH connections 2025-08-22 22:22:58,035 - INFO - Waiting for VM ctest-vn1-vm2-86778949 to be up.. 2025-08-22 22:22:58,140 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:22:58,140 - INFO - VM name : ctest-vn1-vm2-86778949 2025-08-22 22:22:58,221 - DEBUG - VM ctest-vn1-vm2-86778949 ID is 53d6758f-4225-4983-a40e-0b8e9ef02f33 2025-08-22 22:22:58,222 - DEBUG - VM ctest-vn1-vm2-86778949 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:22:58,303 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/53d6758f-4225-4983-a40e-0b8e9ef02f33 2025-08-22 22:22:58,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fdaeaf34-850a-41e1-8f87-94c429d8e1ab 2025-08-22 22:22:59,569 - 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=6.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/3.351/6.313/2.962 ms') 2025-08-22 22:22:59,570 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86778949 passed 2025-08-22 22:22:59,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:22:59,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86778949, IP 133.14.27.5, Port 22 2025-08-22 22:22:59,903 - DEBUG - VM ctest-vn1-vm2-86778949 is ready for SSH connections 2025-08-22 22:22:59,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:22:59,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:22:59,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:22:59,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.84.186.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:22:59,904 - DEBUG - ping -s 56 -c 3 -W 1 53.84.186.5 2025-08-22 22:23:02,626 - DEBUG - PING 53.84.186.5 (53.84.186.5): 56 data bytes 64 bytes from 53.84.186.5: seq=0 ttl=63 time=4.594 ms 64 bytes from 53.84.186.5: seq=1 ttl=63 time=1.793 ms 64 bytes from 53.84.186.5: seq=2 ttl=63 time=1.306 ms --- 53.84.186.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.306/2.564/4.594 ms 2025-08-22 22:23:02,627 - INFO - Ping to IP 53.84.186.5 from VM ctest-vn1-vm2-86778949 passed 2025-08-22 22:23:02,627 - INFO - Detaching port fdaeaf34-850a-41e1-8f87-94c429d8e1ab from VM ctest-vn1-vm2-86778949 2025-08-22 22:23:02,702 - INFO - Deleting VM ctest-vn1-vm2-86778949 2025-08-22 22:23:02,775 - INFO - Detaching port ca95f682-37d2-4bdf-82e0-3f11cf136584 from VM ctest-vn1-vm1-95425758 2025-08-22 22:23:02,829 - INFO - Deleting VM ctest-vn1-vm1-95425758 2025-08-22 22:23:03,108 - DEBUG - Response for delete_port : () 2025-08-22 22:23:03,290 - DEBUG - Response for delete_port : () 2025-08-22 22:23:03,290 - INFO - Deleting VN ctest-vn1-29735746 2025-08-22 22:23:03,441 - DEBUG - Response for deleting network () 2025-08-22 22:23:03,732 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 22:23:03,732 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-22 22:23:03,732 - INFO - -------------------------------------------------------------------------------- 2025-08-22 22:23:04,474 - INFO - Deleted project: ctest-TestPorts-73247829, ID : bec610e7-06d7-4489-ab3f-18989687a671