2025-11-24 18:07:15,350 - INFO - Domain Default found not creating
2025-11-24 18:07:15,511 - INFO - Project ctest-TestPorts-40153550 not found, creating it
2025-11-24 18:07:16,034 - INFO - Created Project:ctest-TestPorts-40153550, ID : 194eaafa-c6ec-4331-b265-e3f272f84783
2025-11-24 18:07:17,518 - INFO - ================================================================================
2025-11-24 18:07:17,519 - INFO - STARTING TEST : test_ports_bindings
2025-11-24 18:07:17,519 - 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-24 18:07:17,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-24 18:07:17,772 - INFO - Initial checks done. Running the testcase now
2025-11-24 18:07:17,772 - INFO -
2025-11-24 18:07:18,305 - DEBUG - Response for create_network : {'network': {'id': 'd4a9c08b-1e50-44f2-befa-e2b07b22644e', 'name': 'ctest-vn-49856910', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'project_id': '194eaafac6ec4331b265e3f272f84783', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40153550', 'ctest-vn-49856910'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 18:07:18,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f99430c-42df-4a8d-86b0-09a3c5df8fe1', 'name': '', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'd4a9c08b-1e50-44f2-befa-e2b07b22644e', 'ip_version': 4, 'cidr': '33.88.73.64/26', 'allocation_pools': [{'start': '33.88.73.66', 'end': '33.88.73.126'}], 'gateway_ip': '33.88.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.88.73.66', 'tags': [], 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:18,560 - INFO - Created VN ctest-vn-49856910
2025-11-24 18:07:18,611 - DEBUG - VN ctest-vn-49856910 UUID is d4a9c08b-1e50-44f2-befa-e2b07b22644e
2025-11-24 18:07:18,711 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40153550', 'ctest-vmi-59946233']}
2025-11-24 18:07:18,978 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59946233', 'id': '73aa7121-f09e-4052-beb3-ef7caeb9f20b', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'd4a9c08b-1e50-44f2-befa-e2b07b22644e', 'mac_address': '02:73:aa:71:21:f0', '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': '33.88.73.67', 'subnet_id': '8f99430c-42df-4a8d-86b0-09a3c5df8fe1'}], 'security_groups': ['0e8138cf-dd22-48e3-a3fc-9ac3c375bea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:18,978 - DEBUG - Created port 73aa7121-f09e-4052-beb3-ef7caeb9f20b
2025-11-24 18:07:19,087 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/73aa7121-f09e-4052-beb3-ef7caeb9f20b
2025-11-24 18:07:19,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/73aa7121-f09e-4052-beb3-ef7caeb9f20b
2025-11-24 18:07:19,412 - INFO - VMI 73aa7121-f09e-4052-beb3-ef7caeb9f20b verification in API Server passed
2025-11-24 18:07:19,491 - DEBUG - Response for delete_port : ()
2025-11-24 18:07:19,491 - INFO - Deleted port 73aa7121-f09e-4052-beb3-ef7caeb9f20b
2025-11-24 18:07:19,491 - INFO - Deleting VN ctest-vn-49856910
2025-11-24 18:07:19,602 - DEBUG - Response for deleting network ()
2025-11-24 18:07:19,860 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:07:19,860 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-24 18:07:19,860 - INFO - --------------------------------------------------------------------------------
2025-11-24 18:07:19,863 - INFO - ================================================================================
2025-11-24 18:07:19,863 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-24 18:07:19,863 - 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-24 18:07:20,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-24 18:07:20,147 - INFO - Initial checks done. Running the testcase now
2025-11-24 18:07:20,147 - INFO -
2025-11-24 18:07:20,302 - DEBUG - Response for create_network : {'network': {'id': 'f84d0e00-67c3-4acd-ac32-bc8ff412eb68', 'name': 'ctest-vn1-35418579', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'project_id': '194eaafac6ec4331b265e3f272f84783', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40153550', 'ctest-vn1-35418579'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 18:07:20,488 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1542aca-57bb-4653-98f5-ea8fbf6d4242', 'name': '', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'f84d0e00-67c3-4acd-ac32-bc8ff412eb68', 'ip_version': 4, 'cidr': '57.25.108.192/26', 'allocation_pools': [{'start': '57.25.108.194', 'end': '57.25.108.254'}], 'gateway_ip': '57.25.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.25.108.194', 'tags': [], 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:20,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e19d60ca-865f-4b43-8678-a0f324290680', 'name': '', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'f84d0e00-67c3-4acd-ac32-bc8ff412eb68', 'ip_version': 4, 'cidr': '2.191.233.192/26', 'allocation_pools': [{'start': '2.191.233.194', 'end': '2.191.233.254'}], 'gateway_ip': '2.191.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.191.233.194', 'tags': [], 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:20,681 - INFO - Created VN ctest-vn1-35418579
2025-11-24 18:07:20,731 - DEBUG - VN ctest-vn1-35418579 UUID is f84d0e00-67c3-4acd-ac32-bc8ff412eb68
2025-11-24 18:07:21,001 - DEBUG - Response for create_port : {'port': {'name': 'a8504f8a-7af3-4149-8b7f-8987c2b659b9', 'id': 'a8504f8a-7af3-4149-8b7f-8987c2b659b9', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'f84d0e00-67c3-4acd-ac32-bc8ff412eb68', 'mac_address': '02:a8:50:4f:8a:7a', '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': '57.25.108.197', 'subnet_id': 'a1542aca-57bb-4653-98f5-ea8fbf6d4242'}], 'security_groups': ['0e8138cf-dd22-48e3-a3fc-9ac3c375bea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:21,184 - DEBUG - Response for create_port : {'port': {'name': 'dbbffb91-0fad-4279-873c-f17d2e204c49', 'id': 'dbbffb91-0fad-4279-873c-f17d2e204c49', 'tenant_id': '194eaafac6ec4331b265e3f272f84783', 'network_id': 'f84d0e00-67c3-4acd-ac32-bc8ff412eb68', 'mac_address': '02:db:bf:fb:91:0f', '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': '2.191.233.197', 'subnet_id': 'e19d60ca-865f-4b43-8678-a0f324290680'}], 'security_groups': ['0e8138cf-dd22-48e3-a3fc-9ac3c375bea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '194eaafac6ec4331b265e3f272f84783'}}
2025-11-24 18:07:21,242 - DEBUG - Services list from nova: [, , ]
2025-11-24 18:07:21,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1)
2025-11-24 18:07:21,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1)
2025-11-24 18:07:21,975 - INFO - Waiting for VM ctest-vn1-vm1-71378265 to be up..
2025-11-24 18:07:22,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-24 18:07:27,092 - DEBUG - VM is in ACTIVE state now
2025-11-24 18:07:27,092 - INFO - VM name : ctest-vn1-vm1-71378265
2025-11-24 18:07:27,163 - DEBUG - VM ctest-vn1-vm1-71378265 ID is 63f24b28-04d4-48c6-a95d-a6c93e72f58b
2025-11-24 18:07:27,183 - DEBUG - VM ctest-vn1-vm1-71378265 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1
2025-11-24 18:07:27,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/63f24b28-04d4-48c6-a95d-a6c93e72f58b
2025-11-24 18:07:27,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a8504f8a-7af3-4149-8b7f-8987c2b659b9
2025-11-24 18:07:30,507 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2025-11-24 18:07:30,508 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-71378265 failed!
2025-11-24 18:07:30,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40153550:ctest-vn1-35418579 is 57.25.108.193 and allocation pool is NOT set
2025-11-24 18:07:30,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40153550:ctest-vn1-35418579 is 2.191.233.193 and allocation pool is NOT set
2025-11-24 18:07:32,624 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.652/2.860/1.208 ms')
2025-11-24 18:07:32,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-71378265 passed
2025-11-24 18:07:32,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:32,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71378265, IP 57.25.108.197, Port 22
2025-11-24 18:07:32,846 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-24 18:07:32,926 - DEBUG - VM ctest-vn1-vm1-71378265 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 18:07:37,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:37,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71378265, IP 57.25.108.197, Port 22
2025-11-24 18:07:38,095 - DEBUG - VM ctest-vn1-vm1-71378265 is ready for SSH connections
2025-11-24 18:07:38,095 - INFO - Waiting for VM ctest-vn1-vm2-30041019 to be up..
2025-11-24 18:07:38,159 - DEBUG - VM is in ACTIVE state now
2025-11-24 18:07:38,160 - INFO - VM name : ctest-vn1-vm2-30041019
2025-11-24 18:07:38,224 - DEBUG - VM ctest-vn1-vm2-30041019 ID is 303a5df7-5d3b-4500-a33b-41d1b4d3d11b
2025-11-24 18:07:38,224 - DEBUG - VM ctest-vn1-vm2-30041019 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1
2025-11-24 18:07:38,285 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/303a5df7-5d3b-4500-a33b-41d1b4d3d11b
2025-11-24 18:07:38,292 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dbbffb91-0fad-4279-873c-f17d2e204c49
2025-11-24 18:07:39,519 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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 = 0.408/1.881/3.355/1.473 ms')
2025-11-24 18:07:39,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-30041019 passed
2025-11-24 18:07:39,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:39,667 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30041019, IP 2.191.233.197, Port 22
2025-11-24 18:07:39,826 - DEBUG - VM ctest-vn1-vm2-30041019 is ready for SSH connections
2025-11-24 18:07:39,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:39,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:39,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 18:07:39,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.25.108.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 18:07:39,827 - DEBUG - ping -s 56 -c 3 -W 1 57.25.108.197
2025-11-24 18:07:43,527 - DEBUG - PING 57.25.108.197 (57.25.108.197): 56 data bytes
64 bytes from 57.25.108.197: seq=0 ttl=63 time=3.217 ms
64 bytes from 57.25.108.197: seq=1 ttl=63 time=1.065 ms
64 bytes from 57.25.108.197: seq=2 ttl=63 time=0.760 ms
--- 57.25.108.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.760/1.680/3.217 ms
2025-11-24 18:07:43,527 - INFO - Ping to IP 57.25.108.197 from VM ctest-vn1-vm2-30041019 passed
2025-11-24 18:07:43,528 - INFO - Detaching port dbbffb91-0fad-4279-873c-f17d2e204c49 from VM ctest-vn1-vm2-30041019
2025-11-24 18:07:43,590 - INFO - Deleting VM ctest-vn1-vm2-30041019
2025-11-24 18:07:43,665 - INFO - Detaching port a8504f8a-7af3-4149-8b7f-8987c2b659b9 from VM ctest-vn1-vm1-71378265
2025-11-24 18:07:43,712 - INFO - Deleting VM ctest-vn1-vm1-71378265
2025-11-24 18:07:43,962 - DEBUG - Response for delete_port : ()
2025-11-24 18:07:44,130 - DEBUG - Response for delete_port : ()
2025-11-24 18:07:44,130 - INFO - Deleting VN ctest-vn1-35418579
2025-11-24 18:07:44,254 - DEBUG - Response for deleting network ()
2025-11-24 18:07:44,512 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:07:44,512 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-24 18:07:44,513 - INFO - --------------------------------------------------------------------------------
2025-11-24 18:07:45,208 - INFO - Deleted project: ctest-TestPorts-40153550, ID : 194eaafa-c6ec-4331-b265-e3f272f84783