2025-08-11 16:46:15,932 - INFO - Domain Default found not creating
2025-08-11 16:46:16,051 - INFO - Project ctest-TestPorts-61232356 not found, creating it
2025-08-11 16:46:16,470 - INFO - Created Project:ctest-TestPorts-61232356, ID : 697b2f60-aa87-4ca6-bac1-1c3b7778d217
2025-08-11 16:46:17,862 - INFO - ================================================================================
2025-08-11 16:46:17,862 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 16:46:17,862 - 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-11 16:46:18,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-11 16:46:18,112 - INFO - Initial checks done. Running the testcase now
2025-08-11 16:46:18,112 - INFO -
2025-08-11 16:46:18,620 - DEBUG - Response for create_network : {'network': {'id': '89c1bff9-8d00-459c-ab9c-d9a9da7f54ab', 'name': 'ctest-vn-50969829', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'project_id': '697b2f60aa874ca6bac11c3b7778d217', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61232356', 'ctest-vn-50969829'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 16:46:18,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e401070-03d4-4388-8306-e4770b946a23', 'name': '', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': '89c1bff9-8d00-459c-ab9c-d9a9da7f54ab', 'ip_version': 4, 'cidr': '176.52.100.192/26', 'allocation_pools': [{'start': '176.52.100.194', 'end': '176.52.100.254'}], 'gateway_ip': '176.52.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.52.100.194', 'tags': [], 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:18,859 - INFO - Created VN ctest-vn-50969829
2025-08-11 16:46:18,911 - DEBUG - VN ctest-vn-50969829 UUID is 89c1bff9-8d00-459c-ab9c-d9a9da7f54ab
2025-08-11 16:46:19,005 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61232356', 'ctest-vmi-00403622']}
2025-08-11 16:46:19,269 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00403622', 'id': 'b91a8f7e-48e4-4664-9146-95ab95f7304a', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': '89c1bff9-8d00-459c-ab9c-d9a9da7f54ab', 'mac_address': '02:b9:1a:8f:7e:48', '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': '176.52.100.195', 'subnet_id': '5e401070-03d4-4388-8306-e4770b946a23'}], 'security_groups': ['7376dd92-3836-4e58-928e-b5e53742ec1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:19,270 - DEBUG - Created port b91a8f7e-48e4-4664-9146-95ab95f7304a
2025-08-11 16:46:19,371 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b91a8f7e-48e4-4664-9146-95ab95f7304a
2025-08-11 16:46:19,656 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b91a8f7e-48e4-4664-9146-95ab95f7304a
2025-08-11 16:46:19,684 - INFO - VMI b91a8f7e-48e4-4664-9146-95ab95f7304a verification in API Server passed
2025-08-11 16:46:19,758 - DEBUG - Response for delete_port : ()
2025-08-11 16:46:19,758 - INFO - Deleted port b91a8f7e-48e4-4664-9146-95ab95f7304a
2025-08-11 16:46:19,758 - INFO - Deleting VN ctest-vn-50969829
2025-08-11 16:46:19,842 - DEBUG - Response for deleting network ()
2025-08-11 16:46:20,103 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:46:20,104 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-11 16:46:20,104 - INFO - --------------------------------------------------------------------------------
2025-08-11 16:46:20,106 - INFO - ================================================================================
2025-08-11 16:46:20,106 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 16:46:20,106 - 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-11 16:46:20,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-11 16:46:20,400 - INFO - Initial checks done. Running the testcase now
2025-08-11 16:46:20,400 - INFO -
2025-08-11 16:46:20,552 - DEBUG - Response for create_network : {'network': {'id': 'b7eff7f5-6098-4098-9c54-0f2a69b8ebe4', 'name': 'ctest-vn1-81432006', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'project_id': '697b2f60aa874ca6bac11c3b7778d217', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61232356', 'ctest-vn1-81432006'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 16:46:20,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c40b3ea-d20f-4357-9202-4936c911afbc', 'name': '', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': 'b7eff7f5-6098-4098-9c54-0f2a69b8ebe4', 'ip_version': 4, 'cidr': '85.219.242.192/26', 'allocation_pools': [{'start': '85.219.242.194', 'end': '85.219.242.254'}], 'gateway_ip': '85.219.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.219.242.194', 'tags': [], 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:20,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '93b67f7e-c46e-40e5-b614-2b162c90bb93', 'name': '', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': 'b7eff7f5-6098-4098-9c54-0f2a69b8ebe4', 'ip_version': 4, 'cidr': '182.150.181.128/26', 'allocation_pools': [{'start': '182.150.181.130', 'end': '182.150.181.190'}], 'gateway_ip': '182.150.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.150.181.130', 'tags': [], 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:20,895 - INFO - Created VN ctest-vn1-81432006
2025-08-11 16:46:20,947 - DEBUG - VN ctest-vn1-81432006 UUID is b7eff7f5-6098-4098-9c54-0f2a69b8ebe4
2025-08-11 16:46:21,212 - DEBUG - Response for create_port : {'port': {'name': '122697dd-1fb2-4b6b-a2b4-c26042cb53bc', 'id': '122697dd-1fb2-4b6b-a2b4-c26042cb53bc', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': 'b7eff7f5-6098-4098-9c54-0f2a69b8ebe4', 'mac_address': '02:12:26:97:dd: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': '85.219.242.197', 'subnet_id': '4c40b3ea-d20f-4357-9202-4936c911afbc'}], 'security_groups': ['7376dd92-3836-4e58-928e-b5e53742ec1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:21,375 - DEBUG - Response for create_port : {'port': {'name': 'ba379a80-727d-442a-af8e-f2cdc031ff65', 'id': 'ba379a80-727d-442a-af8e-f2cdc031ff65', 'tenant_id': '697b2f60aa874ca6bac11c3b7778d217', 'network_id': 'b7eff7f5-6098-4098-9c54-0f2a69b8ebe4', 'mac_address': '02:ba:37:9a:80:72', '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': '182.150.181.133', 'subnet_id': '93b67f7e-c46e-40e5-b614-2b162c90bb93'}], 'security_groups': ['7376dd92-3836-4e58-928e-b5e53742ec1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '697b2f60aa874ca6bac11c3b7778d217'}}
2025-08-11 16:46:21,423 - DEBUG - Services list from nova: [, , ]
2025-08-11 16:46:21,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1)
2025-08-11 16:46:22,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1)
2025-08-11 16:46:22,092 - INFO - Waiting for VM ctest-vn1-vm1-93437057 to be up..
2025-08-11 16:46:22,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 16:46:27,184 - DEBUG - VM is in ACTIVE state now
2025-08-11 16:46:27,184 - INFO - VM name : ctest-vn1-vm1-93437057
2025-08-11 16:46:27,240 - DEBUG - VM ctest-vn1-vm1-93437057 ID is 56fcfbd5-ce77-47b7-b001-6322ac1dfe49
2025-08-11 16:46:27,255 - DEBUG - VM ctest-vn1-vm1-93437057 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1
2025-08-11 16:46:27,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/56fcfbd5-ce77-47b7-b001-6322ac1dfe49
2025-08-11 16:46:27,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/122697dd-1fb2-4b6b-a2b4-c26042cb53bc
2025-08-11 16:46:30,563 - 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 1020ms')
2025-08-11 16:46:30,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93437057 failed!
2025-08-11 16:46:30,615 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61232356:ctest-vn1-81432006 is 85.219.242.193 and allocation pool is NOT set
2025-08-11 16:46:30,615 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61232356:ctest-vn1-81432006 is 182.150.181.129 and allocation pool is NOT set
2025-08-11 16:46:32,671 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.751 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.751/2.512/4.274/1.761 ms')
2025-08-11 16:46:32,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93437057 passed
2025-08-11 16:46:32,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:32,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93437057, IP 85.219.242.197, Port 22
2025-08-11 16:46:32,878 - 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-08-11 16:46:32,942 - DEBUG - VM ctest-vn1-vm1-93437057 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 16:46:37,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:37,943 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93437057, IP 85.219.242.197, Port 22
2025-08-11 16:46:38,099 - DEBUG - VM ctest-vn1-vm1-93437057 is ready for SSH connections
2025-08-11 16:46:38,099 - INFO - Waiting for VM ctest-vn1-vm2-40345840 to be up..
2025-08-11 16:46:38,163 - DEBUG - VM is in ACTIVE state now
2025-08-11 16:46:38,163 - INFO - VM name : ctest-vn1-vm2-40345840
2025-08-11 16:46:38,225 - DEBUG - VM ctest-vn1-vm2-40345840 ID is 875ce8ae-ed14-48a6-af2c-58231202a885
2025-08-11 16:46:38,225 - DEBUG - VM ctest-vn1-vm2-40345840 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1
2025-08-11 16:46:38,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/875ce8ae-ed14-48a6-af2c-58231202a885
2025-08-11 16:46:38,289 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ba379a80-727d-442a-af8e-f2cdc031ff65
2025-08-11 16:46:39,525 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.312 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.312/1.430/2.549/1.118 ms')
2025-08-11 16:46:39,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40345840 passed
2025-08-11 16:46:39,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:39,671 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40345840, IP 182.150.181.133, Port 22
2025-08-11 16:46:39,822 - DEBUG - VM ctest-vn1-vm2-40345840 is ready for SSH connections
2025-08-11 16:46:39,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:39,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:39,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 16:46:39,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.219.242.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-08-11 16:46:39,822 - DEBUG - ping -s 56 -c 3 -W 1 85.219.242.197
2025-08-11 16:46:42,728 - DEBUG - PING 85.219.242.197 (85.219.242.197): 56 data bytes
64 bytes from 85.219.242.197: seq=0 ttl=63 time=3.526 ms
64 bytes from 85.219.242.197: seq=1 ttl=63 time=0.847 ms
64 bytes from 85.219.242.197: seq=2 ttl=63 time=0.772 ms
--- 85.219.242.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.772/1.715/3.526 ms
2025-08-11 16:46:42,728 - INFO - Ping to IP 85.219.242.197 from VM ctest-vn1-vm2-40345840 passed
2025-08-11 16:46:42,728 - INFO - Detaching port ba379a80-727d-442a-af8e-f2cdc031ff65 from VM ctest-vn1-vm2-40345840
2025-08-11 16:46:42,772 - INFO - Deleting VM ctest-vn1-vm2-40345840
2025-08-11 16:46:42,833 - INFO - Detaching port 122697dd-1fb2-4b6b-a2b4-c26042cb53bc from VM ctest-vn1-vm1-93437057
2025-08-11 16:46:42,871 - INFO - Deleting VM ctest-vn1-vm1-93437057
2025-08-11 16:46:43,083 - DEBUG - Response for delete_port : ()
2025-08-11 16:46:43,218 - DEBUG - Response for delete_port : ()
2025-08-11 16:46:43,218 - INFO - Deleting VN ctest-vn1-81432006
2025-08-11 16:46:43,331 - DEBUG - Response for deleting network ()
2025-08-11 16:46:43,584 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:46:43,584 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-11 16:46:43,584 - INFO - --------------------------------------------------------------------------------
2025-08-11 16:46:44,227 - INFO - Deleted project: ctest-TestPorts-61232356, ID : 697b2f60-aa87-4ca6-bac1-1c3b7778d217