2026-05-28 02:27:39,461 - INFO - Domain Default found not creating
2026-05-28 02:27:39,725 - INFO - Project ctest-TestPorts-60661177 not found, creating it
2026-05-28 02:27:40,364 - INFO - Created Project:ctest-TestPorts-60661177, ID : c1b63590-cef8-46fd-a4da-c9236013ca5b
2026-05-28 02:27:42,040 - INFO - ================================================================================
2026-05-28 02:27:42,040 - INFO - STARTING TEST : test_ports_bindings
2026-05-28 02:27:42,040 - 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
2026-05-28 02:27:43,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.49': {'10.20.0.249': '0', '10.20.0.19': '0'}} with
2026-05-28 02:27:43,351 - INFO - Initial checks done. Running the testcase now
2026-05-28 02:27:43,351 - INFO -
2026-05-28 02:27:44,219 - DEBUG - Response for create_network : {'network': {'id': '6c359c66-ce62-46c4-aebd-5137a7539b9c', 'name': 'ctest-vn-34940228', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'project_id': 'c1b63590cef846fda4dac9236013ca5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60661177', 'ctest-vn-34940228'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:27:44,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ba40dfe-d412-48bf-88cc-3198ddac36d2', 'name': '', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '6c359c66-ce62-46c4-aebd-5137a7539b9c', 'ip_version': 4, 'cidr': '192.40.70.64/26', 'allocation_pools': [{'start': '192.40.70.66', 'end': '192.40.70.126'}], 'gateway_ip': '192.40.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.40.70.66', 'tags': [], 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:44,565 - INFO - Created VN ctest-vn-34940228
2026-05-28 02:27:44,577 - DEBUG - VN ctest-vn-34940228 UUID is 6c359c66-ce62-46c4-aebd-5137a7539b9c
2026-05-28 02:27:44,671 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60661177', 'ctest-vmi-39234784']}
2026-05-28 02:27:45,142 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39234784', 'id': '26b2ff5e-b495-4a85-ba7f-1252aff48da7', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '6c359c66-ce62-46c4-aebd-5137a7539b9c', 'mac_address': '02:26:b2:ff:5e:b4', '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': '192.40.70.67', 'subnet_id': '5ba40dfe-d412-48bf-88cc-3198ddac36d2'}], 'security_groups': ['e7951f87-91ac-4185-b937-9ffebc18eeea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:45,143 - DEBUG - Created port 26b2ff5e-b495-4a85-ba7f-1252aff48da7
2026-05-28 02:27:45,227 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/26b2ff5e-b495-4a85-ba7f-1252aff48da7
2026-05-28 02:27:45,536 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/26b2ff5e-b495-4a85-ba7f-1252aff48da7
2026-05-28 02:27:45,572 - INFO - VMI 26b2ff5e-b495-4a85-ba7f-1252aff48da7 verification in API Server passed
2026-05-28 02:27:45,763 - DEBUG - Response for delete_port : ()
2026-05-28 02:27:45,763 - INFO - Deleted port 26b2ff5e-b495-4a85-ba7f-1252aff48da7
2026-05-28 02:27:45,763 - INFO - Deleting VN ctest-vn-34940228
2026-05-28 02:27:45,959 - DEBUG - Response for deleting network ()
2026-05-28 02:27:47,280 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 02:27:47,280 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-05-28 02:27:47,280 - INFO - --------------------------------------------------------------------------------
2026-05-28 02:27:47,283 - INFO - ================================================================================
2026-05-28 02:27:47,283 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-28 02:27:47,283 - 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
2026-05-28 02:27:48,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.49': {'10.20.0.249': '0', '10.20.0.19': '0'}} with
2026-05-28 02:27:48,574 - INFO - Initial checks done. Running the testcase now
2026-05-28 02:27:48,575 - INFO -
2026-05-28 02:27:48,946 - DEBUG - Response for create_network : {'network': {'id': '808d9568-2d92-48ad-891f-2fdde116a4de', 'name': 'ctest-vn1-04503079', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'project_id': 'c1b63590cef846fda4dac9236013ca5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60661177', 'ctest-vn1-04503079'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:27:49,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e562215-54f9-49ba-b94c-3ddb3910dbb8', 'name': '', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '808d9568-2d92-48ad-891f-2fdde116a4de', 'ip_version': 4, 'cidr': '112.111.211.192/26', 'allocation_pools': [{'start': '112.111.211.194', 'end': '112.111.211.254'}], 'gateway_ip': '112.111.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.111.211.194', 'tags': [], 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:49,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a10bd654-d692-48c0-8023-91aa1712c15c', 'name': '', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '808d9568-2d92-48ad-891f-2fdde116a4de', 'ip_version': 4, 'cidr': '54.222.10.0/26', 'allocation_pools': [{'start': '54.222.10.2', 'end': '54.222.10.62'}], 'gateway_ip': '54.222.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.222.10.2', 'tags': [], 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:49,563 - INFO - Created VN ctest-vn1-04503079
2026-05-28 02:27:49,580 - DEBUG - VN ctest-vn1-04503079 UUID is 808d9568-2d92-48ad-891f-2fdde116a4de
2026-05-28 02:27:50,010 - DEBUG - Response for create_port : {'port': {'name': '8f1f39a5-a7dd-46fc-a065-056f7ad0e063', 'id': '8f1f39a5-a7dd-46fc-a065-056f7ad0e063', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '808d9568-2d92-48ad-891f-2fdde116a4de', 'mac_address': '02:8f:1f:39:a5: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': '112.111.211.197', 'subnet_id': '1e562215-54f9-49ba-b94c-3ddb3910dbb8'}], 'security_groups': ['e7951f87-91ac-4185-b937-9ffebc18eeea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:50,327 - DEBUG - Response for create_port : {'port': {'name': '63326dbb-d4a9-4dab-a968-2c97188e9f58', 'id': '63326dbb-d4a9-4dab-a968-2c97188e9f58', 'tenant_id': 'c1b63590cef846fda4dac9236013ca5b', 'network_id': '808d9568-2d92-48ad-891f-2fdde116a4de', 'mac_address': '02:63:32:6d:bb:d4', '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': '54.222.10.5', 'subnet_id': 'a10bd654-d692-48c0-8023-91aa1712c15c'}], 'security_groups': ['e7951f87-91ac-4185-b937-9ffebc18eeea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1b63590cef846fda4dac9236013ca5b'}}
2026-05-28 02:27:50,391 - DEBUG - Services list from nova: [, , , ]
2026-05-28 02:27:51,024 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5841-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5841-1)
2026-05-28 02:27:51,606 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5841-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5841-2)
2026-05-28 02:27:51,606 - INFO - Waiting for VM ctest-vn1-vm1-43797462 to be up..
2026-05-28 02:27:51,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-28 02:27:56,777 - DEBUG - VM is in ACTIVE state now
2026-05-28 02:27:56,777 - INFO - VM name : ctest-vn1-vm1-43797462
2026-05-28 02:27:57,012 - DEBUG - VM ctest-vn1-vm1-43797462 ID is ebd8a4ac-05a1-499c-a057-44e0b71969c9
2026-05-28 02:27:57,056 - DEBUG - VM ctest-vn1-vm1-43797462 launched on Node an-jenkins-deploy-platform-ansible-os-5841-1
2026-05-28 02:27:57,161 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ebd8a4ac-05a1-499c-a057-44e0b71969c9
2026-05-28 02:27:57,464 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ebd8a4ac-05a1-499c-a057-44e0b71969c9
2026-05-28 02:27:57,506 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8f1f39a5-a7dd-46fc-a065-056f7ad0e063
2026-05-28 02:28:00,702 - 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 1029ms')
2026-05-28 02:28:00,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43797462 failed!
2026-05-28 02:28:00,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60661177:ctest-vn1-04503079 is 112.111.211.193 and allocation pool is NOT set
2026-05-28 02:28:00,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60661177:ctest-vn1-04503079 is 54.222.10.1 and allocation pool is NOT set
2026-05-28 02:28:02,789 - 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=8.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/4.578/8.698/4.120 ms')
2026-05-28 02:28:02,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43797462 passed
2026-05-28 02:28:02,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:02,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43797462, IP 112.111.211.197, Port 22
2026-05-28 02:28:02,933 - 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': ''}
2026-05-28 02:28:03,040 - DEBUG - VM ctest-vn1-vm1-43797462 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 02:28:08,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:08,041 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43797462, IP 112.111.211.197, Port 22
2026-05-28 02:28:08,204 - DEBUG - VM ctest-vn1-vm1-43797462 is ready for SSH connections
2026-05-28 02:28:08,204 - INFO - Waiting for VM ctest-vn1-vm2-61890429 to be up..
2026-05-28 02:28:08,308 - DEBUG - VM is in ACTIVE state now
2026-05-28 02:28:08,308 - INFO - VM name : ctest-vn1-vm2-61890429
2026-05-28 02:28:08,412 - DEBUG - VM ctest-vn1-vm2-61890429 ID is 26b772f3-f4c9-46cc-a9d1-50299364cfee
2026-05-28 02:28:08,412 - DEBUG - VM ctest-vn1-vm2-61890429 launched on Node an-jenkins-deploy-platform-ansible-os-5841-2
2026-05-28 02:28:08,518 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/26b772f3-f4c9-46cc-a9d1-50299364cfee
2026-05-28 02:28:08,530 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/63326dbb-d4a9-4dab-a968-2c97188e9f58
2026-05-28 02:28:09,694 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.625 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.625/1.860/3.096/1.235 ms')
2026-05-28 02:28:09,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-61890429 passed
2026-05-28 02:28:09,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:09,769 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61890429, IP 54.222.10.5, Port 22
2026-05-28 02:28:09,939 - DEBUG - VM ctest-vn1-vm2-61890429 is ready for SSH connections
2026-05-28 02:28:09,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:09,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:09,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 02:28:09,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.111.211.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2026-05-28 02:28:09,940 - DEBUG - ping -s 56 -c 3 -W 1 112.111.211.197
2026-05-28 02:28:12,934 - DEBUG - PING 112.111.211.197 (112.111.211.197): 56 data bytes
64 bytes from 112.111.211.197: seq=0 ttl=63 time=5.288 ms
64 bytes from 112.111.211.197: seq=1 ttl=63 time=1.805 ms
64 bytes from 112.111.211.197: seq=2 ttl=63 time=1.780 ms
--- 112.111.211.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.780/2.957/5.288 ms
2026-05-28 02:28:12,934 - INFO - Ping to IP 112.111.211.197 from VM ctest-vn1-vm2-61890429 passed
2026-05-28 02:28:12,934 - INFO - Detaching port 63326dbb-d4a9-4dab-a968-2c97188e9f58 from VM ctest-vn1-vm2-61890429
2026-05-28 02:28:13,010 - INFO - Deleting VM ctest-vn1-vm2-61890429
2026-05-28 02:28:13,115 - INFO - Detaching port 8f1f39a5-a7dd-46fc-a065-056f7ad0e063 from VM ctest-vn1-vm1-43797462
2026-05-28 02:28:13,152 - INFO - Deleting VM ctest-vn1-vm1-43797462
2026-05-28 02:28:13,509 - DEBUG - Response for delete_port : ()
2026-05-28 02:28:13,810 - DEBUG - Response for delete_port : ()
2026-05-28 02:28:13,810 - INFO - Deleting VN ctest-vn1-04503079
2026-05-28 02:28:14,071 - DEBUG - Response for deleting network ()
2026-05-28 02:28:15,394 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 02:28:15,394 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-05-28 02:28:15,394 - INFO - --------------------------------------------------------------------------------
2026-05-28 02:28:16,191 - INFO - Deleted project: ctest-TestPorts-60661177, ID : c1b63590-cef8-46fd-a4da-c9236013ca5b