2025-12-22 02:07:59,166 - INFO - Domain Default found not creating
2025-12-22 02:07:59,360 - INFO - Project ctest-TestPorts-66302959 not found, creating it
2025-12-22 02:07:59,829 - INFO - Created Project:ctest-TestPorts-66302959, ID : 92e2b9f9-303a-4509-aa3c-fc357b551fa2
2025-12-22 02:08:01,472 - INFO - ================================================================================
2025-12-22 02:08:01,472 - INFO - STARTING TEST : test_ports_bindings
2025-12-22 02:08:01,472 - 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:08:01,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.201': '0'}} with
2025-12-22 02:08:01,748 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:08:01,748 - INFO -
2025-12-22 02:08:02,424 - DEBUG - Response for create_network : {'network': {'id': '47194304-2259-4458-b13c-5917171f7c12', 'name': 'ctest-vn-61941417', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66302959', 'ctest-vn-61941417'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:08:02,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '505ff622-0a54-4242-be77-78742e126c94', 'name': '', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '47194304-2259-4458-b13c-5917171f7c12', 'ip_version': 4, 'cidr': '162.196.43.0/26', 'allocation_pools': [{'start': '162.196.43.2', 'end': '162.196.43.62'}], 'gateway_ip': '162.196.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.196.43.2', 'tags': [], 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:02,603 - INFO - Created VN ctest-vn-61941417
2025-12-22 02:08:02,657 - DEBUG - VN ctest-vn-61941417 UUID is 47194304-2259-4458-b13c-5917171f7c12
2025-12-22 02:08:02,773 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66302959', 'ctest-vmi-89613898']}
2025-12-22 02:08:03,020 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89613898', 'id': 'ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '47194304-2259-4458-b13c-5917171f7c12', 'mac_address': '02:ab:21:dc:62:8a', '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': '162.196.43.3', 'subnet_id': '505ff622-0a54-4242-be77-78742e126c94'}], 'security_groups': ['67a78670-6049-4061-b898-c5428412fb89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:03,020 - DEBUG - Created port ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583
2025-12-22 02:08:03,125 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583
2025-12-22 02:08:03,466 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583
2025-12-22 02:08:03,509 - INFO - VMI ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583 verification in API Server passed
2025-12-22 02:08:03,621 - DEBUG - Response for delete_port : ()
2025-12-22 02:08:03,621 - INFO - Deleted port ab21dc62-8a6c-4f73-afc4-7f9e2b4e7583
2025-12-22 02:08:03,621 - INFO - Deleting VN ctest-vn-61941417
2025-12-22 02:08:03,729 - DEBUG - Response for deleting network ()
2025-12-22 02:08:03,987 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:08:03,987 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-22 02:08:03,987 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:08:03,989 - INFO - ================================================================================
2025-12-22 02:08:03,989 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-22 02:08:03,990 - 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:08:04,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.201': '0'}} with
2025-12-22 02:08:04,274 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:08:04,274 - INFO -
2025-12-22 02:08:04,453 - DEBUG - Response for create_network : {'network': {'id': '402c45c2-556c-4381-b4a5-37ab4de8dd56', 'name': 'ctest-vn1-78689536', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66302959', 'ctest-vn1-78689536'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:08:04,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e29e1264-0cf9-4c25-ae40-51a6d3ab5698', 'name': '', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '402c45c2-556c-4381-b4a5-37ab4de8dd56', 'ip_version': 4, 'cidr': '160.24.34.64/26', 'allocation_pools': [{'start': '160.24.34.66', 'end': '160.24.34.126'}], 'gateway_ip': '160.24.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.24.34.66', 'tags': [], 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:04,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e882b3e-a0b6-4c16-8f43-b4bd86766f26', 'name': '', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '402c45c2-556c-4381-b4a5-37ab4de8dd56', 'ip_version': 4, 'cidr': '203.115.22.192/26', 'allocation_pools': [{'start': '203.115.22.194', 'end': '203.115.22.254'}], 'gateway_ip': '203.115.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.115.22.194', 'tags': [], 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:04,826 - INFO - Created VN ctest-vn1-78689536
2025-12-22 02:08:04,881 - DEBUG - VN ctest-vn1-78689536 UUID is 402c45c2-556c-4381-b4a5-37ab4de8dd56
2025-12-22 02:08:05,189 - DEBUG - Response for create_port : {'port': {'name': '8d675d86-7071-4a5f-87f8-3bdb976328ce', 'id': '8d675d86-7071-4a5f-87f8-3bdb976328ce', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '402c45c2-556c-4381-b4a5-37ab4de8dd56', 'mac_address': '02:8d:67:5d:86:70', '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': '160.24.34.69', 'subnet_id': 'e29e1264-0cf9-4c25-ae40-51a6d3ab5698'}], 'security_groups': ['67a78670-6049-4061-b898-c5428412fb89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:05,402 - DEBUG - Response for create_port : {'port': {'name': 'dfbec45e-dbcd-46ad-b31b-a6572eb9da7f', 'id': 'dfbec45e-dbcd-46ad-b31b-a6572eb9da7f', 'tenant_id': '92e2b9f9303a4509aa3cfc357b551fa2', 'network_id': '402c45c2-556c-4381-b4a5-37ab4de8dd56', 'mac_address': '02:df:be:c4:5e:db', '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': '203.115.22.197', 'subnet_id': '1e882b3e-a0b6-4c16-8f43-b4bd86766f26'}], 'security_groups': ['67a78670-6049-4061-b898-c5428412fb89'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92e2b9f9303a4509aa3cfc357b551fa2'}}
2025-12-22 02:08:05,478 - DEBUG - Services list from nova: [, , ]
2025-12-22 02:08:05,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1)
2025-12-22 02:08:06,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1)
2025-12-22 02:08:06,345 - INFO - Waiting for VM ctest-vn1-vm1-40371259 to be up..
2025-12-22 02:08:06,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 02:08:11,473 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:08:11,473 - INFO - VM name : ctest-vn1-vm1-40371259
2025-12-22 02:08:11,552 - DEBUG - VM ctest-vn1-vm1-40371259 ID is e61dd481-6d07-48a0-bf88-15753a2269b7
2025-12-22 02:08:11,572 - DEBUG - VM ctest-vn1-vm1-40371259 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1
2025-12-22 02:08:11,651 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e61dd481-6d07-48a0-bf88-15753a2269b7
2025-12-22 02:08:11,660 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8d675d86-7071-4a5f-87f8-3bdb976328ce
2025-12-22 02:08:14,907 - 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 1010ms')
2025-12-22 02:08:14,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40371259 failed!
2025-12-22 02:08:14,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66302959:ctest-vn1-78689536 is 160.24.34.65 and allocation pool is NOT set
2025-12-22 02:08:14,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66302959:ctest-vn1-78689536 is 203.115.22.193 and allocation pool is NOT set
2025-12-22 02:08:19,035 - 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 1012ms')
2025-12-22 02:08:19,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40371259 failed!
2025-12-22 02:08:19,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66302959:ctest-vn1-78689536 is 160.24.34.65 and allocation pool is NOT set
2025-12-22 02:08:19,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66302959:ctest-vn1-78689536 is 203.115.22.193 and allocation pool is NOT set
2025-12-22 02:08:21,157 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/2.096/3.796/1.700 ms')
2025-12-22 02:08:21,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40371259 passed
2025-12-22 02:08:21,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:08:21,305 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40371259, IP 160.24.34.69, Port 22
2025-12-22 02:08:21,471 - DEBUG - VM ctest-vn1-vm1-40371259 is ready for SSH connections
2025-12-22 02:08:21,471 - INFO - Waiting for VM ctest-vn1-vm2-60554203 to be up..
2025-12-22 02:08:21,557 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:08:21,557 - INFO - VM name : ctest-vn1-vm2-60554203
2025-12-22 02:08:21,636 - DEBUG - VM ctest-vn1-vm2-60554203 ID is ad018a4c-c04e-453d-80f6-6c3f4cf8b9d6
2025-12-22 02:08:21,636 - DEBUG - VM ctest-vn1-vm2-60554203 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1
2025-12-22 02:08:21,716 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ad018a4c-c04e-453d-80f6-6c3f4cf8b9d6
2025-12-22 02:08:21,725 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/dfbec45e-dbcd-46ad-b31b-a6572eb9da7f
2025-12-22 02:08:22,963 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.937/3.472/1.534 ms')
2025-12-22 02:08:22,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60554203 passed
2025-12-22 02:08:23,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:08:23,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60554203, IP 203.115.22.197, Port 22
2025-12-22 02:08:23,273 - DEBUG - VM ctest-vn1-vm2-60554203 is ready for SSH connections
2025-12-22 02:08:23,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:08:23,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:08:23,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:08:23,274 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.24.34.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-12-22 02:08:23,274 - DEBUG - ping -s 56 -c 3 -W 1 160.24.34.69
2025-12-22 02:08:25,984 - DEBUG - PING 160.24.34.69 (160.24.34.69): 56 data bytes
64 bytes from 160.24.34.69: seq=0 ttl=63 time=3.860 ms
64 bytes from 160.24.34.69: seq=1 ttl=63 time=1.156 ms
64 bytes from 160.24.34.69: seq=2 ttl=63 time=1.054 ms
--- 160.24.34.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.054/2.023/3.860 ms
2025-12-22 02:08:25,984 - INFO - Ping to IP 160.24.34.69 from VM ctest-vn1-vm2-60554203 passed
2025-12-22 02:08:25,984 - INFO - Detaching port dfbec45e-dbcd-46ad-b31b-a6572eb9da7f from VM ctest-vn1-vm2-60554203
2025-12-22 02:08:26,039 - INFO - Deleting VM ctest-vn1-vm2-60554203
2025-12-22 02:08:26,113 - INFO - Detaching port 8d675d86-7071-4a5f-87f8-3bdb976328ce from VM ctest-vn1-vm1-40371259
2025-12-22 02:08:26,148 - INFO - Deleting VM ctest-vn1-vm1-40371259
2025-12-22 02:08:26,418 - DEBUG - Response for delete_port : ()
2025-12-22 02:08:26,941 - DEBUG - Response for delete_port : ()
2025-12-22 02:08:26,942 - INFO - Deleting VN ctest-vn1-78689536
2025-12-22 02:08:27,263 - DEBUG - Response for deleting network ()
2025-12-22 02:08:27,531 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:08:27,531 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-22 02:08:27,531 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:08:28,288 - INFO - Deleted project: ctest-TestPorts-66302959, ID : 92e2b9f9-303a-4509-aa3c-fc357b551fa2