2025-10-16 10:40:43,080 - INFO - Domain Default found not creating
2025-10-16 10:40:43,228 - INFO - Project ctest-TestPorts-34406216 not found, creating it
2025-10-16 10:40:43,690 - INFO - Created Project:ctest-TestPorts-34406216, ID : 47079018-c655-4eba-a098-02d53a385711
2025-10-16 10:40:45,272 - INFO - ================================================================================
2025-10-16 10:40:45,272 - INFO - STARTING TEST : test_ports_bindings
2025-10-16 10:40:45,272 - 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-16 10:40:45,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.18': '0'}} with
2025-10-16 10:40:45,525 - INFO - Initial checks done. Running the testcase now
2025-10-16 10:40:45,525 - INFO -
2025-10-16 10:40:46,106 - DEBUG - Response for create_network : {'network': {'id': 'aa33793e-89e4-4551-81da-08b816cc6bb8', 'name': 'ctest-vn-10377452', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'project_id': '47079018c6554ebaa09802d53a385711', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34406216', 'ctest-vn-10377452'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 10:40:46,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a554994b-58a6-4312-8e11-750c17981cce', 'name': '', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'aa33793e-89e4-4551-81da-08b816cc6bb8', 'ip_version': 4, 'cidr': '90.176.17.0/26', 'allocation_pools': [{'start': '90.176.17.2', 'end': '90.176.17.62'}], 'gateway_ip': '90.176.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.176.17.2', 'tags': [], 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:46,317 - INFO - Created VN ctest-vn-10377452
2025-10-16 10:40:46,368 - DEBUG - VN ctest-vn-10377452 UUID is aa33793e-89e4-4551-81da-08b816cc6bb8
2025-10-16 10:40:46,476 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34406216', 'ctest-vmi-33464869']}
2025-10-16 10:40:46,713 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33464869', 'id': '1d855e34-40e7-4862-8dc2-b0759b9d5ed5', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'aa33793e-89e4-4551-81da-08b816cc6bb8', 'mac_address': '02:1d:85:5e:34:40', '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': '90.176.17.3', 'subnet_id': 'a554994b-58a6-4312-8e11-750c17981cce'}], 'security_groups': ['c22721d9-62aa-4fd5-83ed-cdd023f08467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:46,713 - DEBUG - Created port 1d855e34-40e7-4862-8dc2-b0759b9d5ed5
2025-10-16 10:40:46,820 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1d855e34-40e7-4862-8dc2-b0759b9d5ed5
2025-10-16 10:40:47,158 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1d855e34-40e7-4862-8dc2-b0759b9d5ed5
2025-10-16 10:40:47,191 - INFO - VMI 1d855e34-40e7-4862-8dc2-b0759b9d5ed5 verification in API Server passed
2025-10-16 10:40:47,274 - DEBUG - Response for delete_port : ()
2025-10-16 10:40:47,274 - INFO - Deleted port 1d855e34-40e7-4862-8dc2-b0759b9d5ed5
2025-10-16 10:40:47,274 - INFO - Deleting VN ctest-vn-10377452
2025-10-16 10:40:47,372 - DEBUG - Response for deleting network ()
2025-10-16 10:40:47,628 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 10:40:47,628 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-16 10:40:47,628 - INFO - --------------------------------------------------------------------------------
2025-10-16 10:40:47,631 - INFO - ================================================================================
2025-10-16 10:40:47,631 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-16 10:40:47,631 - 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-16 10:40:47,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.18': '0'}} with
2025-10-16 10:40:47,918 - INFO - Initial checks done. Running the testcase now
2025-10-16 10:40:47,918 - INFO -
2025-10-16 10:40:48,093 - DEBUG - Response for create_network : {'network': {'id': 'bee827bf-2683-44c7-a0fd-753a96a5f920', 'name': 'ctest-vn1-05542982', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'project_id': '47079018c6554ebaa09802d53a385711', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34406216', 'ctest-vn1-05542982'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 10:40:48,240 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aec8cbca-6950-4e0e-bf6d-758e2248201a', 'name': '', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'bee827bf-2683-44c7-a0fd-753a96a5f920', 'ip_version': 4, 'cidr': '4.134.56.64/26', 'allocation_pools': [{'start': '4.134.56.66', 'end': '4.134.56.126'}], 'gateway_ip': '4.134.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.134.56.66', 'tags': [], 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:48,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb9a82af-f505-45f3-86dc-f4069edec755', 'name': '', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'bee827bf-2683-44c7-a0fd-753a96a5f920', 'ip_version': 4, 'cidr': '23.153.138.64/26', 'allocation_pools': [{'start': '23.153.138.66', 'end': '23.153.138.126'}], 'gateway_ip': '23.153.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.153.138.66', 'tags': [], 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:48,447 - INFO - Created VN ctest-vn1-05542982
2025-10-16 10:40:48,500 - DEBUG - VN ctest-vn1-05542982 UUID is bee827bf-2683-44c7-a0fd-753a96a5f920
2025-10-16 10:40:48,797 - DEBUG - Response for create_port : {'port': {'name': 'e884150b-f461-44e7-b64a-1995e3096d5e', 'id': 'e884150b-f461-44e7-b64a-1995e3096d5e', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'bee827bf-2683-44c7-a0fd-753a96a5f920', 'mac_address': '02:e8:84:15:0b:f4', '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': '4.134.56.69', 'subnet_id': 'aec8cbca-6950-4e0e-bf6d-758e2248201a'}], 'security_groups': ['c22721d9-62aa-4fd5-83ed-cdd023f08467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:48,977 - DEBUG - Response for create_port : {'port': {'name': 'b1d54d2f-ac3c-4cbc-90f7-3ad01315a518', 'id': 'b1d54d2f-ac3c-4cbc-90f7-3ad01315a518', 'tenant_id': '47079018c6554ebaa09802d53a385711', 'network_id': 'bee827bf-2683-44c7-a0fd-753a96a5f920', 'mac_address': '02:b1:d5:4d:2f:ac', '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': '23.153.138.69', 'subnet_id': 'fb9a82af-f505-45f3-86dc-f4069edec755'}], 'security_groups': ['c22721d9-62aa-4fd5-83ed-cdd023f08467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47079018c6554ebaa09802d53a385711'}}
2025-10-16 10:40:49,033 - DEBUG - Services list from nova: [, , ]
2025-10-16 10:40:49,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1)
2025-10-16 10:40:49,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1)
2025-10-16 10:40:49,777 - INFO - Waiting for VM ctest-vn1-vm1-88584750 to be up..
2025-10-16 10:40:49,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 10:40:54,916 - DEBUG - VM is in ACTIVE state now
2025-10-16 10:40:54,917 - INFO - VM name : ctest-vn1-vm1-88584750
2025-10-16 10:40:55,002 - DEBUG - VM ctest-vn1-vm1-88584750 ID is 4e9fb566-5175-4bd1-9467-dfa691e57a5e
2025-10-16 10:40:55,027 - DEBUG - VM ctest-vn1-vm1-88584750 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1
2025-10-16 10:40:55,110 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4e9fb566-5175-4bd1-9467-dfa691e57a5e
2025-10-16 10:40:55,119 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e884150b-f461-44e7-b64a-1995e3096d5e
2025-10-16 10:40:58,398 - 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 1033ms')
2025-10-16 10:40:58,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88584750 failed!
2025-10-16 10:40:58,452 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34406216:ctest-vn1-05542982 is 4.134.56.65 and allocation pool is NOT set
2025-10-16 10:40:58,452 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34406216:ctest-vn1-05542982 is 23.153.138.65 and allocation pool is NOT set
2025-10-16 10:41:02,522 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 10.438/10.438/10.438/0.000 ms')
2025-10-16 10:41:02,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88584750 passed
2025-10-16 10:41:02,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:02,676 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88584750, IP 4.134.56.69, Port 22
2025-10-16 10:41:02,742 - 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-10-16 10:41:02,820 - DEBUG - VM ctest-vn1-vm1-88584750 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 10:41:07,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:07,821 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88584750, IP 4.134.56.69, Port 22
2025-10-16 10:41:07,983 - DEBUG - VM ctest-vn1-vm1-88584750 is ready for SSH connections
2025-10-16 10:41:07,983 - INFO - Waiting for VM ctest-vn1-vm2-35908491 to be up..
2025-10-16 10:41:08,055 - DEBUG - VM is in ACTIVE state now
2025-10-16 10:41:08,055 - INFO - VM name : ctest-vn1-vm2-35908491
2025-10-16 10:41:08,129 - DEBUG - VM ctest-vn1-vm2-35908491 ID is 8577261d-ec2b-4ef5-97c8-3b60386a2fa9
2025-10-16 10:41:08,129 - DEBUG - VM ctest-vn1-vm2-35908491 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1
2025-10-16 10:41:08,203 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8577261d-ec2b-4ef5-97c8-3b60386a2fa9
2025-10-16 10:41:08,212 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b1d54d2f-ac3c-4cbc-90f7-3ad01315a518
2025-10-16 10:41:09,451 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.402/1.685/2.968/1.283 ms')
2025-10-16 10:41:09,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35908491 passed
2025-10-16 10:41:09,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:09,604 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35908491, IP 23.153.138.69, Port 22
2025-10-16 10:41:09,759 - DEBUG - VM ctest-vn1-vm2-35908491 is ready for SSH connections
2025-10-16 10:41:09,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:09,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:09,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 10:41:09,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.134.56.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-10-16 10:41:09,760 - DEBUG - ping -s 56 -c 3 -W 1 4.134.56.69
2025-10-16 10:41:12,467 - DEBUG - PING 4.134.56.69 (4.134.56.69): 56 data bytes
64 bytes from 4.134.56.69: seq=0 ttl=63 time=4.144 ms
64 bytes from 4.134.56.69: seq=1 ttl=63 time=0.850 ms
64 bytes from 4.134.56.69: seq=2 ttl=63 time=0.926 ms
--- 4.134.56.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.850/1.973/4.144 ms
2025-10-16 10:41:12,467 - INFO - Ping to IP 4.134.56.69 from VM ctest-vn1-vm2-35908491 passed
2025-10-16 10:41:12,467 - INFO - Detaching port b1d54d2f-ac3c-4cbc-90f7-3ad01315a518 from VM ctest-vn1-vm2-35908491
2025-10-16 10:41:12,518 - INFO - Deleting VM ctest-vn1-vm2-35908491
2025-10-16 10:41:12,584 - INFO - Detaching port e884150b-f461-44e7-b64a-1995e3096d5e from VM ctest-vn1-vm1-88584750
2025-10-16 10:41:12,621 - INFO - Deleting VM ctest-vn1-vm1-88584750
2025-10-16 10:41:12,869 - DEBUG - Response for delete_port : ()
2025-10-16 10:41:13,073 - DEBUG - Response for delete_port : ()
2025-10-16 10:41:13,073 - INFO - Deleting VN ctest-vn1-05542982
2025-10-16 10:41:13,223 - DEBUG - Response for deleting network ()
2025-10-16 10:41:13,477 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 10:41:13,477 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-16 10:41:13,477 - INFO - --------------------------------------------------------------------------------
2025-10-16 10:41:14,262 - INFO - Deleted project: ctest-TestPorts-34406216, ID : 47079018-c655-4eba-a098-02d53a385711