2025-10-09 13:35:28,475 - INFO - Domain Default found not creating
2025-10-09 13:35:28,609 - INFO - Project ctest-TestPorts-31476601 not found, creating it
2025-10-09 13:35:29,039 - INFO - Created Project:ctest-TestPorts-31476601, ID : 7373e0f7-21da-4c88-859b-a78f27b73420
2025-10-09 13:35:30,457 - INFO - ================================================================================
2025-10-09 13:35:30,458 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 13:35:30,458 - 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-10-09 13:35:30,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-09 13:35:30,720 - INFO - Initial checks done. Running the testcase now
2025-10-09 13:35:30,720 - INFO -
2025-10-09 13:35:31,269 - DEBUG - Response for create_network : {'network': {'id': '4cc817a8-f254-4e59-a6af-946533c4fce0', 'name': 'ctest-vn-59931981', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'project_id': '7373e0f721da4c88859ba78f27b73420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31476601', 'ctest-vn-59931981'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 13:35:31,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '60cee0cc-9495-4572-8979-59bee86f3cb4', 'name': '', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '4cc817a8-f254-4e59-a6af-946533c4fce0', 'ip_version': 4, 'cidr': '163.45.217.192/26', 'allocation_pools': [{'start': '163.45.217.194', 'end': '163.45.217.254'}], 'gateway_ip': '163.45.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.45.217.194', 'tags': [], 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:31,517 - INFO - Created VN ctest-vn-59931981
2025-10-09 13:35:31,569 - DEBUG - VN ctest-vn-59931981 UUID is 4cc817a8-f254-4e59-a6af-946533c4fce0
2025-10-09 13:35:31,683 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31476601', 'ctest-vmi-44671691']}
2025-10-09 13:35:31,925 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44671691', 'id': '039a5577-30bd-4697-a26c-93c0b4d20c46', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '4cc817a8-f254-4e59-a6af-946533c4fce0', 'mac_address': '02:03:9a:55:77:30', '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': '163.45.217.195', 'subnet_id': '60cee0cc-9495-4572-8979-59bee86f3cb4'}], 'security_groups': ['dc564e46-aad3-4839-ab12-6156ada9c711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:31,925 - DEBUG - Created port 039a5577-30bd-4697-a26c-93c0b4d20c46
2025-10-09 13:35:32,029 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/039a5577-30bd-4697-a26c-93c0b4d20c46
2025-10-09 13:35:32,327 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/039a5577-30bd-4697-a26c-93c0b4d20c46
2025-10-09 13:35:32,361 - INFO - VMI 039a5577-30bd-4697-a26c-93c0b4d20c46 verification in API Server passed
2025-10-09 13:35:32,441 - DEBUG - Response for delete_port : ()
2025-10-09 13:35:32,441 - INFO - Deleted port 039a5577-30bd-4697-a26c-93c0b4d20c46
2025-10-09 13:35:32,442 - INFO - Deleting VN ctest-vn-59931981
2025-10-09 13:35:32,544 - DEBUG - Response for deleting network ()
2025-10-09 13:35:32,798 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:35:32,798 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-09 13:35:32,798 - INFO - --------------------------------------------------------------------------------
2025-10-09 13:35:32,800 - INFO - ================================================================================
2025-10-09 13:35:32,800 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 13:35:32,800 - 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-10-09 13:35:33,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-09 13:35:33,086 - INFO - Initial checks done. Running the testcase now
2025-10-09 13:35:33,086 - INFO -
2025-10-09 13:35:33,260 - DEBUG - Response for create_network : {'network': {'id': '68739c23-d4d0-4711-816e-543ebc58443d', 'name': 'ctest-vn1-56331969', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'project_id': '7373e0f721da4c88859ba78f27b73420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31476601', 'ctest-vn1-56331969'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 13:35:33,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c6bc351-1ad0-4506-a0b7-4ba7d7f0bc7d', 'name': '', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '68739c23-d4d0-4711-816e-543ebc58443d', 'ip_version': 4, 'cidr': '121.117.24.192/26', 'allocation_pools': [{'start': '121.117.24.194', 'end': '121.117.24.254'}], 'gateway_ip': '121.117.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.117.24.194', 'tags': [], 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:33,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e2adbd-c713-4198-a40f-8482990cba02', 'name': '', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '68739c23-d4d0-4711-816e-543ebc58443d', 'ip_version': 4, 'cidr': '116.217.18.128/26', 'allocation_pools': [{'start': '116.217.18.130', 'end': '116.217.18.190'}], 'gateway_ip': '116.217.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.217.18.130', 'tags': [], 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:33,669 - INFO - Created VN ctest-vn1-56331969
2025-10-09 13:35:33,721 - DEBUG - VN ctest-vn1-56331969 UUID is 68739c23-d4d0-4711-816e-543ebc58443d
2025-10-09 13:35:34,029 - DEBUG - Response for create_port : {'port': {'name': '4010048d-c9c9-4823-904e-e50455d6b98f', 'id': '4010048d-c9c9-4823-904e-e50455d6b98f', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '68739c23-d4d0-4711-816e-543ebc58443d', 'mac_address': '02:40:10:04:8d:c9', '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': '121.117.24.197', 'subnet_id': '3c6bc351-1ad0-4506-a0b7-4ba7d7f0bc7d'}], 'security_groups': ['dc564e46-aad3-4839-ab12-6156ada9c711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:34,197 - DEBUG - Response for create_port : {'port': {'name': 'b89f0fce-bf0f-4bd3-b52f-3bb35f701474', 'id': 'b89f0fce-bf0f-4bd3-b52f-3bb35f701474', 'tenant_id': '7373e0f721da4c88859ba78f27b73420', 'network_id': '68739c23-d4d0-4711-816e-543ebc58443d', 'mac_address': '02:b8:9f:0f:ce:bf', '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': '116.217.18.133', 'subnet_id': 'b9e2adbd-c713-4198-a40f-8482990cba02'}], 'security_groups': ['dc564e46-aad3-4839-ab12-6156ada9c711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7373e0f721da4c88859ba78f27b73420'}}
2025-10-09 13:35:34,249 - DEBUG - Services list from nova: [, , ]
2025-10-09 13:35:34,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4260-1)
2025-10-09 13:35:34,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4260-1)
2025-10-09 13:35:34,956 - INFO - Waiting for VM ctest-vn1-vm1-66706245 to be up..
2025-10-09 13:35:35,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 13:35:40,080 - DEBUG - VM is in ACTIVE state now
2025-10-09 13:35:40,080 - INFO - VM name : ctest-vn1-vm1-66706245
2025-10-09 13:35:40,166 - DEBUG - VM ctest-vn1-vm1-66706245 ID is 9db9dc96-b6a5-4d7e-858c-258aa894478a
2025-10-09 13:35:40,187 - DEBUG - VM ctest-vn1-vm1-66706245 launched on Node cn-jenkins-deploy-platform-ansible-os-4260-1
2025-10-09 13:35:40,260 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9db9dc96-b6a5-4d7e-858c-258aa894478a
2025-10-09 13:35:40,270 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4010048d-c9c9-4823-904e-e50455d6b98f
2025-10-09 13:35:43,514 - 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 1015ms')
2025-10-09 13:35:43,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66706245 failed!
2025-10-09 13:35:43,569 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31476601:ctest-vn1-56331969 is 121.117.24.193 and allocation pool is NOT set
2025-10-09 13:35:43,569 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31476601:ctest-vn1-56331969 is 116.217.18.129 and allocation pool is NOT set
2025-10-09 13:35:45,629 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.510/7.160/12.810/5.650 ms')
2025-10-09 13:35:45,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66706245 passed
2025-10-09 13:35:45,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:35:45,781 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66706245, IP 121.117.24.197, Port 22
2025-10-09 13:35:45,936 - DEBUG - VM ctest-vn1-vm1-66706245 is ready for SSH connections
2025-10-09 13:35:45,937 - INFO - Waiting for VM ctest-vn1-vm2-26468246 to be up..
2025-10-09 13:35:46,009 - DEBUG - VM is in ACTIVE state now
2025-10-09 13:35:46,009 - INFO - VM name : ctest-vn1-vm2-26468246
2025-10-09 13:35:46,197 - DEBUG - VM ctest-vn1-vm2-26468246 ID is 359cf1b7-de04-4204-a8bc-5af0baf2d7bd
2025-10-09 13:35:46,198 - DEBUG - VM ctest-vn1-vm2-26468246 launched on Node cn-jenkins-deploy-platform-ansible-os-4260-1
2025-10-09 13:35:46,267 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/359cf1b7-de04-4204-a8bc-5af0baf2d7bd
2025-10-09 13:35:46,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b89f0fce-bf0f-4bd3-b52f-3bb35f701474
2025-10-09 13:35:47,502 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.534 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.534/1.846/3.159/1.312 ms')
2025-10-09 13:35:47,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26468246 passed
2025-10-09 13:35:47,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:35:47,657 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26468246, IP 116.217.18.133, Port 22
2025-10-09 13:35:47,809 - DEBUG - VM ctest-vn1-vm2-26468246 is ready for SSH connections
2025-10-09 13:35:47,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:35:47,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:35:47,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:35:47,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.117.24.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-09 13:35:47,810 - DEBUG - ping -s 56 -c 3 -W 1 121.117.24.197
2025-10-09 13:35:50,483 - DEBUG - PING 121.117.24.197 (121.117.24.197): 56 data bytes
64 bytes from 121.117.24.197: seq=0 ttl=63 time=4.181 ms
64 bytes from 121.117.24.197: seq=1 ttl=63 time=0.962 ms
64 bytes from 121.117.24.197: seq=2 ttl=63 time=0.732 ms
--- 121.117.24.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.732/1.958/4.181 ms
2025-10-09 13:35:50,484 - INFO - Ping to IP 121.117.24.197 from VM ctest-vn1-vm2-26468246 passed
2025-10-09 13:35:50,484 - INFO - Detaching port b89f0fce-bf0f-4bd3-b52f-3bb35f701474 from VM ctest-vn1-vm2-26468246
2025-10-09 13:35:50,530 - INFO - Deleting VM ctest-vn1-vm2-26468246
2025-10-09 13:35:50,589 - INFO - Detaching port 4010048d-c9c9-4823-904e-e50455d6b98f from VM ctest-vn1-vm1-66706245
2025-10-09 13:35:50,621 - INFO - Deleting VM ctest-vn1-vm1-66706245
2025-10-09 13:35:50,832 - DEBUG - Response for delete_port : ()
2025-10-09 13:35:51,002 - DEBUG - Response for delete_port : ()
2025-10-09 13:35:51,002 - INFO - Deleting VN ctest-vn1-56331969
2025-10-09 13:35:51,165 - DEBUG - Response for deleting network ()
2025-10-09 13:35:51,418 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:35:51,418 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-09 13:35:51,418 - INFO - --------------------------------------------------------------------------------
2025-10-09 13:35:52,090 - INFO - Deleted project: ctest-TestPorts-31476601, ID : 7373e0f7-21da-4c88-859b-a78f27b73420