2025-10-28 21:32:38,995 - INFO - Domain Default found not creating 2025-10-28 21:32:39,149 - INFO - Project ctest-TestPorts-92187732 not found, creating it 2025-10-28 21:32:39,627 - INFO - Created Project:ctest-TestPorts-92187732, ID : e25e6ef8-7aa0-456a-855f-f7a6ce25e59f 2025-10-28 21:32:41,106 - INFO - ================================================================================ 2025-10-28 21:32:41,107 - INFO - STARTING TEST : test_ports_bindings 2025-10-28 21:32:41,107 - 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-28 21:32:41,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-28 21:32:41,361 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:32:41,361 - INFO - 2025-10-28 21:32:41,946 - DEBUG - Response for create_network : {'network': {'id': '74527860-eaba-4750-a936-06d31a7fa1de', 'name': 'ctest-vn-46169327', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92187732', 'ctest-vn-46169327'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:32:42,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb295556-c10d-4f2e-b127-fdc7c3115b10', 'name': '', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '74527860-eaba-4750-a936-06d31a7fa1de', 'ip_version': 4, 'cidr': '22.131.93.64/26', 'allocation_pools': [{'start': '22.131.93.66', 'end': '22.131.93.126'}], 'gateway_ip': '22.131.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.131.93.66', 'tags': [], 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:42,142 - INFO - Created VN ctest-vn-46169327 2025-10-28 21:32:42,195 - DEBUG - VN ctest-vn-46169327 UUID is 74527860-eaba-4750-a936-06d31a7fa1de 2025-10-28 21:32:42,297 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92187732', 'ctest-vmi-58238453']} 2025-10-28 21:32:42,585 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58238453', 'id': '8848fc9d-5ad9-4780-bbcb-fc85368a4483', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '74527860-eaba-4750-a936-06d31a7fa1de', 'mac_address': '02:88:48:fc:9d:5a', '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': '22.131.93.67', 'subnet_id': 'fb295556-c10d-4f2e-b127-fdc7c3115b10'}], 'security_groups': ['a9fc8825-1d08-4e0b-8795-e0f0721fae89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:42,585 - DEBUG - Created port 8848fc9d-5ad9-4780-bbcb-fc85368a4483 2025-10-28 21:32:42,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8848fc9d-5ad9-4780-bbcb-fc85368a4483 2025-10-28 21:32:43,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8848fc9d-5ad9-4780-bbcb-fc85368a4483 2025-10-28 21:32:43,033 - INFO - VMI 8848fc9d-5ad9-4780-bbcb-fc85368a4483 verification in API Server passed 2025-10-28 21:32:43,124 - DEBUG - Response for delete_port : () 2025-10-28 21:32:43,125 - INFO - Deleted port 8848fc9d-5ad9-4780-bbcb-fc85368a4483 2025-10-28 21:32:43,125 - INFO - Deleting VN ctest-vn-46169327 2025-10-28 21:32:43,225 - DEBUG - Response for deleting network () 2025-10-28 21:32:43,481 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:32:43,481 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-28 21:32:43,481 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:32:43,484 - INFO - ================================================================================ 2025-10-28 21:32:43,484 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-28 21:32:43,484 - 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-28 21:32:43,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-28 21:32:43,773 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:32:43,773 - INFO - 2025-10-28 21:32:43,973 - DEBUG - Response for create_network : {'network': {'id': '30233b51-e231-4d58-b41d-86ae9d0b867d', 'name': 'ctest-vn1-79017000', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92187732', 'ctest-vn1-79017000'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:32:44,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5ac844f-b064-47be-ac92-4f997f2824bb', 'name': '', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '30233b51-e231-4d58-b41d-86ae9d0b867d', 'ip_version': 4, 'cidr': '30.197.64.128/26', 'allocation_pools': [{'start': '30.197.64.130', 'end': '30.197.64.190'}], 'gateway_ip': '30.197.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.197.64.130', 'tags': [], 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:44,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '64fe3b18-8028-42fe-8597-a13450817bc1', 'name': '', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '30233b51-e231-4d58-b41d-86ae9d0b867d', 'ip_version': 4, 'cidr': '137.221.220.64/26', 'allocation_pools': [{'start': '137.221.220.66', 'end': '137.221.220.126'}], 'gateway_ip': '137.221.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.221.220.66', 'tags': [], 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:44,337 - INFO - Created VN ctest-vn1-79017000 2025-10-28 21:32:44,391 - DEBUG - VN ctest-vn1-79017000 UUID is 30233b51-e231-4d58-b41d-86ae9d0b867d 2025-10-28 21:32:44,703 - DEBUG - Response for create_port : {'port': {'name': '36132214-2393-4d96-9447-af2420c80dc6', 'id': '36132214-2393-4d96-9447-af2420c80dc6', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '30233b51-e231-4d58-b41d-86ae9d0b867d', 'mac_address': '02:36:13:22:14:23', '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': '30.197.64.133', 'subnet_id': 'e5ac844f-b064-47be-ac92-4f997f2824bb'}], 'security_groups': ['a9fc8825-1d08-4e0b-8795-e0f0721fae89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:44,896 - DEBUG - Response for create_port : {'port': {'name': 'bfb9537e-1fb7-4dd5-b72e-40ec1c29868b', 'id': 'bfb9537e-1fb7-4dd5-b72e-40ec1c29868b', 'tenant_id': 'e25e6ef87aa0456a855ff7a6ce25e59f', 'network_id': '30233b51-e231-4d58-b41d-86ae9d0b867d', 'mac_address': '02:bf:b9:53:7e:1f', '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': '137.221.220.69', 'subnet_id': '64fe3b18-8028-42fe-8597-a13450817bc1'}], 'security_groups': ['a9fc8825-1d08-4e0b-8795-e0f0721fae89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25e6ef87aa0456a855ff7a6ce25e59f'}} 2025-10-28 21:32:44,953 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:32:45,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:32:45,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:32:45,662 - INFO - Waiting for VM ctest-vn1-vm1-55677976 to be up.. 2025-10-28 21:32:45,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:32:50,790 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:32:50,790 - INFO - VM name : ctest-vn1-vm1-55677976 2025-10-28 21:32:50,896 - DEBUG - VM ctest-vn1-vm1-55677976 ID is e65b6d78-2593-4715-9dbe-eb8922136890 2025-10-28 21:32:50,930 - DEBUG - VM ctest-vn1-vm1-55677976 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:32:51,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e65b6d78-2593-4715-9dbe-eb8922136890 2025-10-28 21:32:51,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/36132214-2393-4d96-9447-af2420c80dc6 2025-10-28 21:32:54,268 - 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 1007ms') 2025-10-28 21:32:54,269 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55677976 failed! 2025-10-28 21:32:54,323 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92187732:ctest-vn1-79017000 is 30.197.64.129 and allocation pool is NOT set 2025-10-28 21:32:54,323 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92187732:ctest-vn1-79017000 is 137.221.220.65 and allocation pool is NOT set 2025-10-28 21:32:56,380 - 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=3.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.726 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 = 0.726/2.196/3.666/1.470 ms') 2025-10-28 21:32:56,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55677976 passed 2025-10-28 21:32:56,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:32:56,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55677976, IP 30.197.64.133, Port 22 2025-10-28 21:32:56,596 - 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-28 21:32:56,665 - DEBUG - VM ctest-vn1-vm1-55677976 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-28 21:33:01,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:01,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55677976, IP 30.197.64.133, Port 22 2025-10-28 21:33:01,823 - DEBUG - VM ctest-vn1-vm1-55677976 is ready for SSH connections 2025-10-28 21:33:01,823 - INFO - Waiting for VM ctest-vn1-vm2-58906970 to be up.. 2025-10-28 21:33:01,899 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:33:01,899 - INFO - VM name : ctest-vn1-vm2-58906970 2025-10-28 21:33:01,974 - DEBUG - VM ctest-vn1-vm2-58906970 ID is 73c8aef1-4684-487a-a729-353c437d55d3 2025-10-28 21:33:01,974 - DEBUG - VM ctest-vn1-vm2-58906970 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:33:02,061 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/73c8aef1-4684-487a-a729-353c437d55d3 2025-10-28 21:33:02,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bfb9537e-1fb7-4dd5-b72e-40ec1c29868b 2025-10-28 21:33:03,311 - 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=4.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/2.279/4.153/1.873 ms') 2025-10-28 21:33:03,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58906970 passed 2025-10-28 21:33:03,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:03,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58906970, IP 137.221.220.69, Port 22 2025-10-28 21:33:03,626 - DEBUG - VM ctest-vn1-vm2-58906970 is ready for SSH connections 2025-10-28 21:33:03,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:03,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:03,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:03,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.197.64.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:03,626 - DEBUG - ping -s 56 -c 3 -W 1 30.197.64.133 2025-10-28 21:33:06,286 - DEBUG - PING 30.197.64.133 (30.197.64.133): 56 data bytes 64 bytes from 30.197.64.133: seq=0 ttl=63 time=3.410 ms 64 bytes from 30.197.64.133: seq=1 ttl=63 time=3.005 ms 64 bytes from 30.197.64.133: seq=2 ttl=63 time=1.133 ms --- 30.197.64.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.133/2.516/3.410 ms 2025-10-28 21:33:06,286 - INFO - Ping to IP 30.197.64.133 from VM ctest-vn1-vm2-58906970 passed 2025-10-28 21:33:06,286 - INFO - Detaching port bfb9537e-1fb7-4dd5-b72e-40ec1c29868b from VM ctest-vn1-vm2-58906970 2025-10-28 21:33:06,340 - INFO - Deleting VM ctest-vn1-vm2-58906970 2025-10-28 21:33:06,446 - INFO - Detaching port 36132214-2393-4d96-9447-af2420c80dc6 from VM ctest-vn1-vm1-55677976 2025-10-28 21:33:06,485 - INFO - Deleting VM ctest-vn1-vm1-55677976 2025-10-28 21:33:06,710 - DEBUG - Response for delete_port : () 2025-10-28 21:33:06,854 - DEBUG - Response for delete_port : () 2025-10-28 21:33:06,854 - INFO - Deleting VN ctest-vn1-79017000 2025-10-28 21:33:06,970 - DEBUG - Response for deleting network () 2025-10-28 21:33:07,224 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:33:07,225 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-28 21:33:07,225 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:33:07,892 - INFO - Deleted project: ctest-TestPorts-92187732, ID : e25e6ef8-7aa0-456a-855f-f7a6ce25e59f