2025-10-05 07:14:55,150 - INFO - Domain Default found not creating 2025-10-05 07:14:55,304 - INFO - Project ctest-TestPorts-43813694 not found, creating it 2025-10-05 07:14:55,811 - INFO - Created Project:ctest-TestPorts-43813694, ID : ecb572ee-1ee5-4a76-a817-905e06d33e62 2025-10-05 07:14:57,159 - INFO - ================================================================================ 2025-10-05 07:14:57,160 - INFO - STARTING TEST : test_ports_bindings 2025-10-05 07:14:57,160 - 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-05 07:14:57,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-05 07:14:57,407 - INFO - Initial checks done. Running the testcase now 2025-10-05 07:14:57,407 - INFO - 2025-10-05 07:14:57,940 - DEBUG - Response for create_network : {'network': {'id': '813b0932-f7c1-482e-a08d-1d8dc9b0843a', 'name': 'ctest-vn-36495637', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'project_id': 'ecb572ee1ee54a76a817905e06d33e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43813694', 'ctest-vn-36495637'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:14:58,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '816876b7-cf1a-426a-97c3-675453a976f9', 'name': '', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '813b0932-f7c1-482e-a08d-1d8dc9b0843a', 'ip_version': 4, 'cidr': '173.3.203.0/26', 'allocation_pools': [{'start': '173.3.203.2', 'end': '173.3.203.62'}], 'gateway_ip': '173.3.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.3.203.2', 'tags': [], 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:14:58,142 - INFO - Created VN ctest-vn-36495637 2025-10-05 07:14:58,191 - DEBUG - VN ctest-vn-36495637 UUID is 813b0932-f7c1-482e-a08d-1d8dc9b0843a 2025-10-05 07:14:58,298 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43813694', 'ctest-vmi-38093842']} 2025-10-05 07:14:58,514 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38093842', 'id': '940f9144-c9c6-495e-aca8-d8154565d6df', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '813b0932-f7c1-482e-a08d-1d8dc9b0843a', 'mac_address': '02:94:0f:91:44:c9', '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': '173.3.203.3', 'subnet_id': '816876b7-cf1a-426a-97c3-675453a976f9'}], 'security_groups': ['33d4cff8-6b13-4ab9-8743-2f0bf9e841aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:14:58,514 - DEBUG - Created port 940f9144-c9c6-495e-aca8-d8154565d6df 2025-10-05 07:14:58,615 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/940f9144-c9c6-495e-aca8-d8154565d6df 2025-10-05 07:14:58,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/940f9144-c9c6-495e-aca8-d8154565d6df 2025-10-05 07:14:58,933 - INFO - VMI 940f9144-c9c6-495e-aca8-d8154565d6df verification in API Server passed 2025-10-05 07:14:59,007 - DEBUG - Response for delete_port : () 2025-10-05 07:14:59,007 - INFO - Deleted port 940f9144-c9c6-495e-aca8-d8154565d6df 2025-10-05 07:14:59,008 - INFO - Deleting VN ctest-vn-36495637 2025-10-05 07:14:59,089 - DEBUG - Response for deleting network () 2025-10-05 07:14:59,343 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 07:14:59,343 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-05 07:14:59,343 - INFO - -------------------------------------------------------------------------------- 2025-10-05 07:14:59,346 - INFO - ================================================================================ 2025-10-05 07:14:59,346 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-05 07:14:59,346 - 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-05 07:14:59,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-05 07:14:59,639 - INFO - Initial checks done. Running the testcase now 2025-10-05 07:14:59,639 - INFO - 2025-10-05 07:14:59,790 - DEBUG - Response for create_network : {'network': {'id': '0901e7ed-83d8-48ef-b679-02952b130e34', 'name': 'ctest-vn1-95137749', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'project_id': 'ecb572ee1ee54a76a817905e06d33e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43813694', 'ctest-vn1-95137749'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:14:59,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '76c71b24-3a53-4d9b-ac00-64dfddf95c79', 'name': '', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '0901e7ed-83d8-48ef-b679-02952b130e34', 'ip_version': 4, 'cidr': '197.124.226.0/26', 'allocation_pools': [{'start': '197.124.226.2', 'end': '197.124.226.62'}], 'gateway_ip': '197.124.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.124.226.2', 'tags': [], 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:15:00,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5a8d64e-9ed0-46a6-84a9-0911944cb85c', 'name': '', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '0901e7ed-83d8-48ef-b679-02952b130e34', 'ip_version': 4, 'cidr': '169.190.21.192/26', 'allocation_pools': [{'start': '169.190.21.194', 'end': '169.190.21.254'}], 'gateway_ip': '169.190.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.190.21.194', 'tags': [], 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:15:00,132 - INFO - Created VN ctest-vn1-95137749 2025-10-05 07:15:00,183 - DEBUG - VN ctest-vn1-95137749 UUID is 0901e7ed-83d8-48ef-b679-02952b130e34 2025-10-05 07:15:00,464 - DEBUG - Response for create_port : {'port': {'name': '541435e5-a7bf-4c7d-aae5-87607b3f4f75', 'id': '541435e5-a7bf-4c7d-aae5-87607b3f4f75', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '0901e7ed-83d8-48ef-b679-02952b130e34', 'mac_address': '02:54:14:35:e5:a7', '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': '197.124.226.5', 'subnet_id': '76c71b24-3a53-4d9b-ac00-64dfddf95c79'}], 'security_groups': ['33d4cff8-6b13-4ab9-8743-2f0bf9e841aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:15:00,621 - DEBUG - Response for create_port : {'port': {'name': 'e2978aa9-22e0-499c-a867-004d76f28746', 'id': 'e2978aa9-22e0-499c-a867-004d76f28746', 'tenant_id': 'ecb572ee1ee54a76a817905e06d33e62', 'network_id': '0901e7ed-83d8-48ef-b679-02952b130e34', 'mac_address': '02:e2:97:8a:a9:22', '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': '169.190.21.197', 'subnet_id': 'a5a8d64e-9ed0-46a6-84a9-0911944cb85c'}], 'security_groups': ['33d4cff8-6b13-4ab9-8743-2f0bf9e841aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ecb572ee1ee54a76a817905e06d33e62'}} 2025-10-05 07:15:00,670 - DEBUG - Services list from nova: [, , ] 2025-10-05 07:15:00,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:15:01,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:15:01,306 - INFO - Waiting for VM ctest-vn1-vm1-25580022 to be up.. 2025-10-05 07:15:01,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 07:15:06,410 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:15:06,410 - INFO - VM name : ctest-vn1-vm1-25580022 2025-10-05 07:15:06,473 - DEBUG - VM ctest-vn1-vm1-25580022 ID is d736891f-cf75-4e47-b3e3-ba55476b3188 2025-10-05 07:15:06,489 - DEBUG - VM ctest-vn1-vm1-25580022 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:15:06,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d736891f-cf75-4e47-b3e3-ba55476b3188 2025-10-05 07:15:06,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/541435e5-a7bf-4c7d-aae5-87607b3f4f75 2025-10-05 07:15:09,930 - 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 1012ms') 2025-10-05 07:15:09,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25580022 failed! 2025-10-05 07:15:09,983 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43813694:ctest-vn1-95137749 is 197.124.226.1 and allocation pool is NOT set 2025-10-05 07:15:09,983 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43813694:ctest-vn1-95137749 is 169.190.21.193 and allocation pool is NOT set 2025-10-05 07:15:12,042 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.162/2.543/2.924/0.381 ms') 2025-10-05 07:15:12,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25580022 passed 2025-10-05 07:15:12,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:12,191 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25580022, IP 197.124.226.5, Port 22 2025-10-05 07:15:12,342 - DEBUG - VM ctest-vn1-vm1-25580022 is ready for SSH connections 2025-10-05 07:15:12,342 - INFO - Waiting for VM ctest-vn1-vm2-32525656 to be up.. 2025-10-05 07:15:12,405 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:15:12,405 - INFO - VM name : ctest-vn1-vm2-32525656 2025-10-05 07:15:12,464 - DEBUG - VM ctest-vn1-vm2-32525656 ID is 3aa0d6e5-868b-4195-83c6-693a1ca7160a 2025-10-05 07:15:12,464 - DEBUG - VM ctest-vn1-vm2-32525656 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:15:12,523 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3aa0d6e5-868b-4195-83c6-693a1ca7160a 2025-10-05 07:15:12,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e2978aa9-22e0-499c-a867-004d76f28746 2025-10-05 07:15:13,758 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.772/3.113/1.340 ms') 2025-10-05 07:15:13,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32525656 passed 2025-10-05 07:15:13,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:13,907 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32525656, IP 169.190.21.197, Port 22 2025-10-05 07:15:14,058 - DEBUG - VM ctest-vn1-vm2-32525656 is ready for SSH connections 2025-10-05 07:15:14,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:14,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:14,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:14,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.124.226.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:14,059 - DEBUG - ping -s 56 -c 3 -W 1 197.124.226.5 2025-10-05 07:15:16,725 - DEBUG - PING 197.124.226.5 (197.124.226.5): 56 data bytes 64 bytes from 197.124.226.5: seq=0 ttl=63 time=3.519 ms 64 bytes from 197.124.226.5: seq=1 ttl=63 time=0.741 ms 64 bytes from 197.124.226.5: seq=2 ttl=63 time=0.787 ms --- 197.124.226.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.682/3.519 ms 2025-10-05 07:15:16,725 - INFO - Ping to IP 197.124.226.5 from VM ctest-vn1-vm2-32525656 passed 2025-10-05 07:15:16,725 - INFO - Detaching port e2978aa9-22e0-499c-a867-004d76f28746 from VM ctest-vn1-vm2-32525656 2025-10-05 07:15:16,779 - INFO - Deleting VM ctest-vn1-vm2-32525656 2025-10-05 07:15:16,854 - INFO - Detaching port 541435e5-a7bf-4c7d-aae5-87607b3f4f75 from VM ctest-vn1-vm1-25580022 2025-10-05 07:15:16,887 - INFO - Deleting VM ctest-vn1-vm1-25580022 2025-10-05 07:15:17,108 - DEBUG - Response for delete_port : () 2025-10-05 07:15:17,271 - DEBUG - Response for delete_port : () 2025-10-05 07:15:17,271 - INFO - Deleting VN ctest-vn1-95137749 2025-10-05 07:15:17,383 - DEBUG - Response for deleting network () 2025-10-05 07:15:17,639 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 07:15:17,639 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-05 07:15:17,639 - INFO - -------------------------------------------------------------------------------- 2025-10-05 07:15:18,284 - INFO - Deleted project: ctest-TestPorts-43813694, ID : ecb572ee-1ee5-4a76-a817-905e06d33e62