2025-11-19 07:55:33,090 - INFO - Domain Default found not creating 2025-11-19 07:55:33,265 - INFO - Project ctest-TestPorts-33802336 not found, creating it 2025-11-19 07:55:33,773 - INFO - Created Project:ctest-TestPorts-33802336, ID : 360c28c8-977e-454d-af5d-8bc819ebecff 2025-11-19 07:55:35,348 - INFO - ================================================================================ 2025-11-19 07:55:35,348 - INFO - STARTING TEST : test_ports_bindings 2025-11-19 07:55:35,348 - 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-11-19 07:55:35,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-19 07:55:35,612 - INFO - Initial checks done. Running the testcase now 2025-11-19 07:55:35,612 - INFO - 2025-11-19 07:55:36,166 - DEBUG - Response for create_network : {'network': {'id': 'ee85aee4-9510-45fe-9d97-f2b9e58d158b', 'name': 'ctest-vn-54881338', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'project_id': '360c28c8977e454daf5d8bc819ebecff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33802336', 'ctest-vn-54881338'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:55:36,391 - DEBUG - Response for create_subnet : {'subnet': {'id': '29426b09-fe46-4b75-9303-fc77c92e4424', 'name': '', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': 'ee85aee4-9510-45fe-9d97-f2b9e58d158b', 'ip_version': 4, 'cidr': '112.118.157.64/26', 'allocation_pools': [{'start': '112.118.157.66', 'end': '112.118.157.126'}], 'gateway_ip': '112.118.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.118.157.66', 'tags': [], 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:36,408 - INFO - Created VN ctest-vn-54881338 2025-11-19 07:55:36,462 - DEBUG - VN ctest-vn-54881338 UUID is ee85aee4-9510-45fe-9d97-f2b9e58d158b 2025-11-19 07:55:36,568 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33802336', 'ctest-vmi-62085368']} 2025-11-19 07:55:36,803 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62085368', 'id': 'bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': 'ee85aee4-9510-45fe-9d97-f2b9e58d158b', 'mac_address': '02:bf:c4:d8:37:6e', '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': '112.118.157.67', 'subnet_id': '29426b09-fe46-4b75-9303-fc77c92e4424'}], 'security_groups': ['33623e60-05eb-4337-8264-2d15ffbaadf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:36,803 - DEBUG - Created port bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2 2025-11-19 07:55:36,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2 2025-11-19 07:55:37,202 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2 2025-11-19 07:55:37,241 - INFO - VMI bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2 verification in API Server passed 2025-11-19 07:55:37,332 - DEBUG - Response for delete_port : () 2025-11-19 07:55:37,332 - INFO - Deleted port bfc4d837-6e21-4d9f-b0aa-7e1b91016ec2 2025-11-19 07:55:37,332 - INFO - Deleting VN ctest-vn-54881338 2025-11-19 07:55:37,433 - DEBUG - Response for deleting network () 2025-11-19 07:55:37,686 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 07:55:37,686 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-19 07:55:37,687 - INFO - -------------------------------------------------------------------------------- 2025-11-19 07:55:37,689 - INFO - ================================================================================ 2025-11-19 07:55:37,689 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-19 07:55:37,689 - 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-11-19 07:55:37,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-19 07:55:37,978 - INFO - Initial checks done. Running the testcase now 2025-11-19 07:55:37,979 - INFO - 2025-11-19 07:55:38,145 - DEBUG - Response for create_network : {'network': {'id': '8ba4205d-4574-4ced-89f4-58dccdf540a0', 'name': 'ctest-vn1-35768739', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'project_id': '360c28c8977e454daf5d8bc819ebecff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33802336', 'ctest-vn1-35768739'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:55:38,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e90f9c64-4208-44fd-8b87-a6c6094fb341', 'name': '', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': '8ba4205d-4574-4ced-89f4-58dccdf540a0', 'ip_version': 4, 'cidr': '46.174.46.192/26', 'allocation_pools': [{'start': '46.174.46.194', 'end': '46.174.46.254'}], 'gateway_ip': '46.174.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.174.46.194', 'tags': [], 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:38,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f670405d-1299-4012-bba7-85b2fa36770b', 'name': '', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': '8ba4205d-4574-4ced-89f4-58dccdf540a0', 'ip_version': 4, 'cidr': '135.115.133.64/26', 'allocation_pools': [{'start': '135.115.133.66', 'end': '135.115.133.126'}], 'gateway_ip': '135.115.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.115.133.66', 'tags': [], 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:38,523 - INFO - Created VN ctest-vn1-35768739 2025-11-19 07:55:38,578 - DEBUG - VN ctest-vn1-35768739 UUID is 8ba4205d-4574-4ced-89f4-58dccdf540a0 2025-11-19 07:55:38,862 - DEBUG - Response for create_port : {'port': {'name': 'c12fe177-2f65-4c73-b4eb-ba8c17473b00', 'id': 'c12fe177-2f65-4c73-b4eb-ba8c17473b00', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': '8ba4205d-4574-4ced-89f4-58dccdf540a0', 'mac_address': '02:c1:2f:e1:77:2f', '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': '46.174.46.197', 'subnet_id': 'e90f9c64-4208-44fd-8b87-a6c6094fb341'}], 'security_groups': ['33623e60-05eb-4337-8264-2d15ffbaadf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:39,024 - DEBUG - Response for create_port : {'port': {'name': '2af4f3a3-8f3c-4b23-8bd3-8fa3632af51c', 'id': '2af4f3a3-8f3c-4b23-8bd3-8fa3632af51c', 'tenant_id': '360c28c8977e454daf5d8bc819ebecff', 'network_id': '8ba4205d-4574-4ced-89f4-58dccdf540a0', 'mac_address': '02:2a:f4:f3:a3:8f', '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': '135.115.133.69', 'subnet_id': 'f670405d-1299-4012-bba7-85b2fa36770b'}], 'security_groups': ['33623e60-05eb-4337-8264-2d15ffbaadf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '360c28c8977e454daf5d8bc819ebecff'}} 2025-11-19 07:55:39,077 - DEBUG - Services list from nova: [, , ] 2025-11-19 07:55:39,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:55:39,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:55:39,789 - INFO - Waiting for VM ctest-vn1-vm1-10985585 to be up.. 2025-11-19 07:55:39,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 07:55:44,895 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:55:44,895 - INFO - VM name : ctest-vn1-vm1-10985585 2025-11-19 07:55:44,966 - DEBUG - VM ctest-vn1-vm1-10985585 ID is f00a0100-7c90-4b30-9fc3-5cd8764ca544 2025-11-19 07:55:44,986 - DEBUG - VM ctest-vn1-vm1-10985585 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:55:45,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f00a0100-7c90-4b30-9fc3-5cd8764ca544 2025-11-19 07:55:45,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c12fe177-2f65-4c73-b4eb-ba8c17473b00 2025-11-19 07:55:48,325 - 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-11-19 07:55:48,325 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10985585 failed! 2025-11-19 07:55:48,382 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33802336:ctest-vn1-35768739 is 46.174.46.193 and allocation pool is NOT set 2025-11-19 07:55:48,382 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33802336:ctest-vn1-35768739 is 135.115.133.65 and allocation pool is NOT set 2025-11-19 07:55:50,451 - 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=4.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 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 = 1.819/3.075/4.331/1.256 ms') 2025-11-19 07:55:50,451 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10985585 passed 2025-11-19 07:55:50,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:50,602 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10985585, IP 46.174.46.197, Port 22 2025-11-19 07:55:50,657 - 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-11-19 07:55:50,735 - DEBUG - VM ctest-vn1-vm1-10985585 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-19 07:55:55,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:55,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10985585, IP 46.174.46.197, Port 22 2025-11-19 07:55:55,901 - DEBUG - VM ctest-vn1-vm1-10985585 is ready for SSH connections 2025-11-19 07:55:55,901 - INFO - Waiting for VM ctest-vn1-vm2-34927515 to be up.. 2025-11-19 07:55:55,974 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:55:55,974 - INFO - VM name : ctest-vn1-vm2-34927515 2025-11-19 07:55:56,044 - DEBUG - VM ctest-vn1-vm2-34927515 ID is f8c8a7be-0e28-448d-81aa-238840da66c2 2025-11-19 07:55:56,044 - DEBUG - VM ctest-vn1-vm2-34927515 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:55:56,128 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8c8a7be-0e28-448d-81aa-238840da66c2 2025-11-19 07:55:56,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2af4f3a3-8f3c-4b23-8bd3-8fa3632af51c 2025-11-19 07:55:57,385 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.558/2.204/3.850/1.646 ms') 2025-11-19 07:55:57,385 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34927515 passed 2025-11-19 07:55:57,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:57,538 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34927515, IP 135.115.133.69, Port 22 2025-11-19 07:55:57,693 - DEBUG - VM ctest-vn1-vm2-34927515 is ready for SSH connections 2025-11-19 07:55:57,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:57,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:57,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:55:57,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.174.46.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:55:57,693 - DEBUG - ping -s 56 -c 3 -W 1 46.174.46.197 2025-11-19 07:56:00,647 - DEBUG - PING 46.174.46.197 (46.174.46.197): 56 data bytes 64 bytes from 46.174.46.197: seq=0 ttl=63 time=3.324 ms 64 bytes from 46.174.46.197: seq=1 ttl=63 time=0.950 ms 64 bytes from 46.174.46.197: seq=2 ttl=63 time=0.873 ms --- 46.174.46.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.715/3.324 ms 2025-11-19 07:56:00,648 - INFO - Ping to IP 46.174.46.197 from VM ctest-vn1-vm2-34927515 passed 2025-11-19 07:56:00,648 - INFO - Detaching port 2af4f3a3-8f3c-4b23-8bd3-8fa3632af51c from VM ctest-vn1-vm2-34927515 2025-11-19 07:56:00,702 - INFO - Deleting VM ctest-vn1-vm2-34927515 2025-11-19 07:56:00,767 - INFO - Detaching port c12fe177-2f65-4c73-b4eb-ba8c17473b00 from VM ctest-vn1-vm1-10985585 2025-11-19 07:56:00,800 - INFO - Deleting VM ctest-vn1-vm1-10985585 2025-11-19 07:56:01,029 - DEBUG - Response for delete_port : () 2025-11-19 07:56:01,215 - DEBUG - Response for delete_port : () 2025-11-19 07:56:01,215 - INFO - Deleting VN ctest-vn1-35768739 2025-11-19 07:56:01,337 - DEBUG - Response for deleting network () 2025-11-19 07:56:01,598 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 07:56:01,598 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-19 07:56:01,598 - INFO - -------------------------------------------------------------------------------- 2025-11-19 07:56:02,306 - INFO - Deleted project: ctest-TestPorts-33802336, ID : 360c28c8-977e-454d-af5d-8bc819ebecff