2025-12-22 02:19:33,066 - INFO - Domain Default found not creating
2025-12-22 02:19:33,274 - INFO - Project ctest-TestPorts-36842761 not found, creating it
2025-12-22 02:19:33,827 - INFO - Created Project:ctest-TestPorts-36842761, ID : 6642ab65-e1d0-442d-9ad4-3648f64d1255
2025-12-22 02:19:35,288 - INFO - ================================================================================
2025-12-22 02:19:35,288 - INFO - STARTING TEST : test_ports_bindings
2025-12-22 02:19:35,288 - 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-12-22 02:19:36,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0', '10.20.0.192': '0'}, '10.0.0.19': {'10.20.0.129': '0', '10.20.0.192': '0'}} with
2025-12-22 02:19:36,577 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:19:36,577 - INFO -
2025-12-22 02:19:37,285 - DEBUG - Response for create_network : {'network': {'id': 'a16be695-269a-4149-8d71-c58140accb1c', 'name': 'ctest-vn-71474819', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'project_id': '6642ab65e1d0442d9ad43648f64d1255', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36842761', 'ctest-vn-71474819'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:37,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '30a1ede1-33b6-4160-8527-dc653ff95004', 'name': '', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': 'a16be695-269a-4149-8d71-c58140accb1c', 'ip_version': 4, 'cidr': '177.120.5.128/26', 'allocation_pools': [{'start': '177.120.5.130', 'end': '177.120.5.190'}], 'gateway_ip': '177.120.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.120.5.130', 'tags': [], 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:37,553 - INFO - Created VN ctest-vn-71474819
2025-12-22 02:19:37,570 - DEBUG - VN ctest-vn-71474819 UUID is a16be695-269a-4149-8d71-c58140accb1c
2025-12-22 02:19:37,641 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36842761', 'ctest-vmi-99831517']}
2025-12-22 02:19:37,968 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99831517', 'id': 'cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': 'a16be695-269a-4149-8d71-c58140accb1c', 'mac_address': '02:ca:fd:f2:fd:3d', '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': '177.120.5.131', 'subnet_id': '30a1ede1-33b6-4160-8527-dc653ff95004'}], 'security_groups': ['c2066191-b5c0-49d8-9f5d-2a212b66c443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:37,968 - DEBUG - Created port cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428
2025-12-22 02:19:38,033 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428
2025-12-22 02:19:38,329 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428
2025-12-22 02:19:38,375 - INFO - VMI cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428 verification in API Server passed
2025-12-22 02:19:38,532 - DEBUG - Response for delete_port : ()
2025-12-22 02:19:38,533 - INFO - Deleted port cafdf2fd-3dd7-4c0c-8476-a6bf5ead1428
2025-12-22 02:19:38,533 - INFO - Deleting VN ctest-vn-71474819
2025-12-22 02:19:38,707 - DEBUG - Response for deleting network ()
2025-12-22 02:19:39,998 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:19:39,999 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-12-22 02:19:39,999 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:19:40,004 - INFO - ================================================================================
2025-12-22 02:19:40,004 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-22 02:19:40,005 - 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-12-22 02:19:41,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0', '10.20.0.192': '0'}, '10.0.0.19': {'10.20.0.129': '0', '10.20.0.192': '0'}} with
2025-12-22 02:19:41,308 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:19:41,308 - INFO -
2025-12-22 02:19:41,593 - DEBUG - Response for create_network : {'network': {'id': '71bced80-e8a6-4b90-be90-170db29b6932', 'name': 'ctest-vn1-88065837', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'project_id': '6642ab65e1d0442d9ad43648f64d1255', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36842761', 'ctest-vn1-88065837'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:41,892 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd50ae054-485e-407f-880f-4a0a1d780dd4', 'name': '', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': '71bced80-e8a6-4b90-be90-170db29b6932', 'ip_version': 4, 'cidr': '210.23.178.64/26', 'allocation_pools': [{'start': '210.23.178.66', 'end': '210.23.178.126'}], 'gateway_ip': '210.23.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.23.178.66', 'tags': [], 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:42,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2317617-94b7-44b3-b530-b817a4394899', 'name': '', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': '71bced80-e8a6-4b90-be90-170db29b6932', 'ip_version': 4, 'cidr': '211.204.248.192/26', 'allocation_pools': [{'start': '211.204.248.194', 'end': '211.204.248.254'}], 'gateway_ip': '211.204.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.204.248.194', 'tags': [], 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:42,103 - INFO - Created VN ctest-vn1-88065837
2025-12-22 02:19:42,117 - DEBUG - VN ctest-vn1-88065837 UUID is 71bced80-e8a6-4b90-be90-170db29b6932
2025-12-22 02:19:42,477 - DEBUG - Response for create_port : {'port': {'name': '88d70cf6-8626-438c-88ac-2b4fefd8e208', 'id': '88d70cf6-8626-438c-88ac-2b4fefd8e208', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': '71bced80-e8a6-4b90-be90-170db29b6932', 'mac_address': '02:88:d7:0c:f6:86', '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': '210.23.178.69', 'subnet_id': 'd50ae054-485e-407f-880f-4a0a1d780dd4'}], 'security_groups': ['c2066191-b5c0-49d8-9f5d-2a212b66c443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:42,757 - DEBUG - Response for create_port : {'port': {'name': 'b4e53fb2-9948-4b7a-8988-9d8640045815', 'id': 'b4e53fb2-9948-4b7a-8988-9d8640045815', 'tenant_id': '6642ab65e1d0442d9ad43648f64d1255', 'network_id': '71bced80-e8a6-4b90-be90-170db29b6932', 'mac_address': '02:b4:e5:3f:b2:99', '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': '211.204.248.197', 'subnet_id': 'e2317617-94b7-44b3-b530-b817a4394899'}], 'security_groups': ['c2066191-b5c0-49d8-9f5d-2a212b66c443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6642ab65e1d0442d9ad43648f64d1255'}}
2025-12-22 02:19:42,809 - DEBUG - Services list from nova: [, , , ]
2025-12-22 02:19:43,256 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-1)
2025-12-22 02:19:43,735 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-2)
2025-12-22 02:19:43,735 - INFO - Waiting for VM ctest-vn1-vm1-80808973 to be up..
2025-12-22 02:19:43,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 02:19:48,862 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:19:48,862 - INFO - VM name : ctest-vn1-vm1-80808973
2025-12-22 02:19:48,941 - DEBUG - VM ctest-vn1-vm1-80808973 ID is e3c2c269-b63c-4c29-95d8-d82b1e31016f
2025-12-22 02:19:48,963 - DEBUG - VM ctest-vn1-vm1-80808973 launched on Node an-jenkins-deploy-platform-ansible-os-4918-1
2025-12-22 02:19:49,045 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e3c2c269-b63c-4c29-95d8-d82b1e31016f
2025-12-22 02:19:49,343 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e3c2c269-b63c-4c29-95d8-d82b1e31016f
2025-12-22 02:19:49,375 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/88d70cf6-8626-438c-88ac-2b4fefd8e208
2025-12-22 02:19:52,559 - 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 1021ms')
2025-12-22 02:19:52,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80808973 failed!
2025-12-22 02:19:52,574 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36842761:ctest-vn1-88065837 is 210.23.178.65 and allocation pool is NOT set
2025-12-22 02:19:52,574 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36842761:ctest-vn1-88065837 is 211.204.248.193 and allocation pool is NOT set
2025-12-22 02:19:54,644 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.535/7.955/13.376/5.420 ms')
2025-12-22 02:19:54,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80808973 passed
2025-12-22 02:19:54,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:19:54,718 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80808973, IP 210.23.178.69, Port 22
2025-12-22 02:19:54,786 - 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-12-22 02:19:54,873 - DEBUG - VM ctest-vn1-vm1-80808973 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-22 02:19:59,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:19:59,874 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80808973, IP 210.23.178.69, Port 22
2025-12-22 02:20:00,042 - DEBUG - VM ctest-vn1-vm1-80808973 is ready for SSH connections
2025-12-22 02:20:00,042 - INFO - Waiting for VM ctest-vn1-vm2-18214597 to be up..
2025-12-22 02:20:00,139 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:20:00,139 - INFO - VM name : ctest-vn1-vm2-18214597
2025-12-22 02:20:00,224 - DEBUG - VM ctest-vn1-vm2-18214597 ID is dbfa4bc6-b26f-45ad-b838-be3a2cc9c2a8
2025-12-22 02:20:00,224 - DEBUG - VM ctest-vn1-vm2-18214597 launched on Node an-jenkins-deploy-platform-ansible-os-4918-2
2025-12-22 02:20:00,317 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dbfa4bc6-b26f-45ad-b838-be3a2cc9c2a8
2025-12-22 02:20:00,330 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b4e53fb2-9948-4b7a-8988-9d8640045815
2025-12-22 02:20:01,513 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.991/3.552/1.560 ms')
2025-12-22 02:20:01,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-18214597 passed
2025-12-22 02:20:01,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:20:01,585 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18214597, IP 211.204.248.197, Port 22
2025-12-22 02:20:01,754 - DEBUG - VM ctest-vn1-vm2-18214597 is ready for SSH connections
2025-12-22 02:20:01,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:20:01,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:20:01,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:20:01,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.23.178.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-12-22 02:20:01,754 - DEBUG - ping -s 56 -c 3 -W 1 210.23.178.69
2025-12-22 02:20:04,861 - DEBUG - PING 210.23.178.69 (210.23.178.69): 56 data bytes
64 bytes from 210.23.178.69: seq=0 ttl=63 time=5.884 ms
64 bytes from 210.23.178.69: seq=1 ttl=63 time=1.566 ms
64 bytes from 210.23.178.69: seq=2 ttl=63 time=1.676 ms
--- 210.23.178.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.566/3.042/5.884 ms
2025-12-22 02:20:04,862 - INFO - Ping to IP 210.23.178.69 from VM ctest-vn1-vm2-18214597 passed
2025-12-22 02:20:04,862 - INFO - Detaching port b4e53fb2-9948-4b7a-8988-9d8640045815 from VM ctest-vn1-vm2-18214597
2025-12-22 02:20:04,913 - INFO - Deleting VM ctest-vn1-vm2-18214597
2025-12-22 02:20:04,978 - INFO - Detaching port 88d70cf6-8626-438c-88ac-2b4fefd8e208 from VM ctest-vn1-vm1-80808973
2025-12-22 02:20:05,008 - INFO - Deleting VM ctest-vn1-vm1-80808973
2025-12-22 02:20:05,347 - DEBUG - Response for delete_port : ()
2025-12-22 02:20:05,601 - DEBUG - Response for delete_port : ()
2025-12-22 02:20:05,601 - INFO - Deleting VN ctest-vn1-88065837
2025-12-22 02:20:05,801 - DEBUG - Response for deleting network ()
2025-12-22 02:20:07,125 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:20:07,125 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-12-22 02:20:07,126 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:20:07,888 - INFO - Deleted project: ctest-TestPorts-36842761, ID : 6642ab65-e1d0-442d-9ad4-3648f64d1255